1 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4 fanotify_init returns EPERM.
6 2013-09-04 Joseph Myers <joseph@codesourcery.com>
8 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10 (top level): Treat second token from macro or constant entries for
11 allowed headers as allowed.
12 * include/complex.h: Condition internal declarations on
14 * include/fenv.h: Condition include of <stdbool.h> and internal
15 declarations on [!_ISOMAC].
17 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24 * configure.in (--enable-versioning): Remove configure option.
25 (libc_cv_asm_symver_directive): Remove configure test.
26 (libc_cv_ld_version_script_option): Likewise.
27 (VERSIONING): Remove variable and AC_SUBST.
28 (DO_VERSIONING): Remove AC_DEFINE.
29 * configure: Regenerated.
30 * config.h.in (DO_VERSIONING): Remove macro.
31 * Makerules [$(versioning) = yes]: Change conditionals to
32 [$(build-shared) = yes].
33 * config.make.in (versioning): Remove variable.
34 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
35 [$(build-shared) = yes].
36 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38 * elf/Makefile [$(versioning) = yes]: Change conditionals to
39 [$(build-shared) = yes].
40 * extra-lib.mk [$(versioning) = yes]: Likewise.
41 * hurd/Makefile [$(versioning) = yes]: Likewise.
42 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47 [SHARED && !NO_HIDDEN].
48 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50 [SHARED && DO_VERSIONING]: Likewise..
51 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52 [$(build-shared) = yes].
53 * manual/install.texi (--disable-versioning): Remove
55 * INSTALL: Regenerated.
56 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59 [$(build-shared) = yes].
60 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61 * sysdeps/i386/i686/multiarch/strstr-c.c
62 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63 [SHARED && !NO_HIDDEN].
64 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
65 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
66 * sysdeps/powerpc/powerpc32/dl-machine.c
67 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
68 * sysdeps/powerpc/powerpc32/sysdep.h
69 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
70 to [SHARED && PIC && !NO_HIDDEN].
71 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
72 conditional to [SHARED].
74 2013-09-04 Will Newton <will.newton@linaro.org>
76 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
77 * benchtests/bench-string.h: Include bench-timing.h instead
78 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
79 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
80 call to HP_TIMING_DIFF_INIT.
81 * benchtests/bench-memccpy.c: Use bench-timing.h macros
82 instead of hp-timing.h macros.
83 * benchtests/bench-memchr.c: Likewise.
84 * benchtests/bench-memcmp.c: Likewise.
85 * benchtests/bench-memcpy.c: Likewise.
86 * benchtests/bench-memmem.c: Likewise.
87 * benchtests/bench-memmove.c: Likewise.
88 * benchtests/bench-memset.c: Likewise.
89 * benchtests/bench-rawmemchr.c: Likewise.
90 * benchtests/bench-strcasecmp.c: Likewise.
91 * benchtests/bench-strcasestr.c: Likewise.
92 * benchtests/bench-strcat.c: Likewise.
93 * benchtests/bench-strchr.c: Likewise.
94 * benchtests/bench-strcmp.c: Likewise.
95 * benchtests/bench-strcpy.c: Likewise.
96 * benchtests/bench-strcpy_chk.c: Likewise.
97 * benchtests/bench-strlen.c: Likewise.
98 * benchtests/bench-strncasecmp.c: Likewise.
99 * benchtests/bench-strncat.c: Likewise.
100 * benchtests/bench-strncmp.c: Likewise.
101 * benchtests/bench-strncpy.c: Likewise.
102 * benchtests/bench-strnlen.c: Likewise.
103 * benchtests/bench-strpbrk.c: Likewise.
104 * benchtests/bench-strrchr.c: Likewise.
105 * benchtests/bench-strspn.c: Likewise.
106 * benchtests/bench-strstr.c: Likewise.
108 2013-09-04 Will Newton <will.newton@linaro.org>
110 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
112 2013-09-03 Joseph Myers <joseph@codesourcery.com>
115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
116 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
117 * math/libm-test.inc (lgamma_test_data): Add more tests.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
123 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
127 Add strcmp-sse2-unaligned
128 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
130 2013-09-02 Mike Frysinger <vapier@gentoo.org>
132 * Versions.def (libc): Add GLIBC_2.19.
134 2013-09-02 Mike Frysinger <vapier@gentoo.org>
136 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
137 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
139 2013-09-02 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
143 intermediate calculations in recurrence.
144 (__ieee754_ynf): Likewise.
145 * math/libm-test.inc (jn_test_data): Do not allow spurious
146 underflow exception. Add more tests.
147 (yn_test_data): Add more tests.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
151 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
155 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
157 * csu/init-first.c: Fix then/than typos.
158 * locale/programs/ld-collate.c: Likewise.
159 * locale/programs/linereader.h: Likewise.
160 * manual/charset.texi: Likewise.
161 * manual/filesys.texi: Likewise.
162 * manual/stdio.texi: Likewise.
163 * manual/string.texi: Likewise.
164 * stdlib/fmtmsg.c: Likewise.
165 * sysdeps/i386/stpncpy.S: Likewise.
166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
167 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
169 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
171 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
173 * elf/dl-open.c: Fix typos.
174 * iconvdata/gbbig5.c: Likewise.
175 * iconvdata/iso-2022-jp.c: Likewise.
176 * iconv/gconv_int.h: Likewise.
177 * iconv/loop.c: Likewise.
178 * nis/rpcsvc/nis.h: Likewise.
179 * resolv/ns_name.c: Likewise.
180 * stdio-common/vfscanf.c: Likewise.
181 * streams/stropts.h: Likewise.
182 * sunrpc/rpc_thread.c: Likewise.
183 * sysdeps/i386/strpbrk.S: Likewise.
184 * sysdeps/ieee754/k_standard.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
187 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
188 * sysdeps/mach/hurd/profil.c: Likewise.
189 * sysdeps/s390/dl-procinfo.h: Likewise.
190 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
193 * sysdeps/x86_64/dl-trampoline.S: Likewise.
194 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
196 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
198 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
201 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
205 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
209 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
214 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
215 Roland McGrath <roland@hack.frob.com>
217 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
218 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
220 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
222 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
223 __executable_start symbol instead of _start.
225 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
227 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
228 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
230 * sysdeps/gnu/ldsodefs.h: ... this new file.
232 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
233 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
234 instead of ELFOSABI_LINUX.
236 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
237 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
238 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
239 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
241 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
242 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
243 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
245 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
246 (ibm_extended_long_double): Add ieee_nan member.
247 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
248 (do_test): New function.
250 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
252 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
253 functions, renamed from truncdfsf_test, trunctfsf_test,
255 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
257 (do_test): Run all these.
259 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
261 * argp/argp-help.c: Fix typos.
262 * argp/argp-parse.c: Likewise.
263 * debug/backtracesyms.c: Likewise.
264 * elf/elf.h: Likewise.
265 * malloc/malloc.c: Likewise.
266 * nis/nis_print.c: Likewise.
267 * resolv/res_comp.c: Likewise.
268 * stdlib/stdlib.h: Likewise.
269 * sunrpc/clnt_tcp.c: Likewise.
270 * sunrpc/clnt_udp.c: Likewise.
271 * sunrpc/clnt_unix.c: Likewise.
272 * sysdeps/unix/bsd/ptsname.c: Likewise.
273 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
283 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
288 2013-08-27 Mike Frysinger <vapier@gentoo.org>
291 * dlfcn/Makefile (tests): Add bug-dl-leaf.
292 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
293 ($(objpfx)bug-dl-leaf): New rule.
294 ($(objpfx)bug-dl-leaf.so): Likewise.
295 ($(objpfx)bug-dl-leaf.out): Likewise.
296 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
297 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
298 * dlfcn/bug-dl-leaf.c: New test.
299 * dlfcn/bug-dl-leaf-lib.c: Likewise.
300 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
301 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
305 2013-08-27 Roland McGrath <roland@hack.frob.com>
307 * include/netdb.h [!_ISOMAC]:
308 Don't include <tls.h>.
309 (h_errno, __libc_h_errno): Move declaration and macros out of
312 * include/resolv.h [_RESOLV_H_]:
313 Don't include <tls.h>.
314 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
315 * resolv/res_libc.c: Don't include <tls.h>.
316 (_res): Use __attribute__ ((nocommon)) in place of
317 __attribute__ ((section (".bss"))).
319 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
320 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
322 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
324 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
325 only under [SIOCGIFCONF && SIOCGIFNETMASK].
327 * resolv/res_mkquery.c: Include <sys/time.h>.
329 * inet/ifreq.c: Moved to ...
330 * sysdeps/unix/ifreq.c: ... here.
331 * inet/ifreq.c: New file, true stub version.
333 * socket/sa_len.c: New file.
334 * socket/Makefile (aux): Add it.
335 * sysdeps/unix/sysv/linux/Makefile
336 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
337 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
338 and #include <socket/sa_len.c>.
339 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
340 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
343 * bits/socket.h: ... here.
345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
346 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
347 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
349 2013-08-27 Andreas Schwab <schwab@suse.de>
352 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
353 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
354 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
355 * string/test-strcasecmp.c (test_main): Run tests in several
357 * string/test-strncasecmp.c (test_main): Likewise.
359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
360 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
361 to __strcasecmp_nonascii and __strncasecmp_nonascii.
362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
363 (__strncasecmp_ssse3) [PIC]: Likewise.
365 2013-08-26 Roland McGrath <roland@hack.frob.com>
367 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
369 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
370 instead of explicitly declaring xdecrypt.
371 * nis/nss_nis/nis-publickey.c: Likewise.
373 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
376 * nscd/aicache.c: Include res_hconf.h.
377 (addhstaiX): Initialize res_hconf.
379 2013-08-26 Andreas Schwab <schwab@suse.de>
381 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
382 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
384 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
386 * nscd/aicache.c (addhstaiX): Fix indentation.
388 2013-08-25 Mike Frysinger <vapier@gentoo.org>
390 * configure.ac: Quote $build_pt_chown test.
391 * configure: Regenerated.
393 2013-08-23 Joseph Myers <joseph@codesourcery.com>
396 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
397 * math/s_cexpf.c (__cexpf): Likewise.
398 * math/s_cexpl.c (__cexpl): Likewise.
399 * math/libm-test.inc (cexp_test_data): Correct expected return
400 value for NaN + i0. Add another test.
402 2013-08-22 David S. Miller <davem@davemloft.net>
404 * po/ca.po: Update Catalan translation from translation project.
405 * po/uk.po: Add Ukrainian translations from translation project.
407 2013-08-21 Joseph Myers <joseph@codesourcery.com>
410 * math/s_fdim.c (__fdim): Check for infinite arguments if result
411 is infinite, not alongside NaN test.
412 * math/s_fdimf.c (__fdimf): Likewise.
413 * math/s_fdiml.c (__fdiml): Likewise.
414 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
417 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
419 * argp/argp-help.c: Fix typos.
420 * crypt/speeds.c: Likewise.
421 * csu/check_fds.c: Likewise.
422 * elf/dl-load.c: Likewise.
423 * elf/dl-open.c: Likewise.
424 * elf/reldep3.c: Likewise.
425 * elf/reldep.c: Likewise.
426 * elf/sprof.c: Likewise.
427 * iconv/iconv_charmap.c: Likewise.
428 * iconv/skeleton.c: Likewise.
429 * iconv/strtab.c: Likewise.
430 * io/lockf64.c: Likewise.
431 * libio/libioP.h: Likewise.
432 * resolv/gai_notify.c: Likewise.
433 * resolv/ns_name.c: Likewise.
434 * resolv/ns_samedomain.c: Likewise.
435 * resolv/res_send.c: Likewise.
436 * stdlib/random.c: Likewise.
437 * sunrpc/rpc/xdr.h: Likewise.
438 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
440 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
441 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
446 * sysdeps/mach/hurd/check_fds.c: Likewise.
447 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
451 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
452 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
453 * sysdeps/pthread/aio_notify.c: Likewise.
454 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
455 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
456 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
458 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
460 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
462 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
463 version if bit_Slow_SSE4_2 is set.
464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
467 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
471 trampoline stack frame information.
472 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
474 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
475 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
476 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
478 (_libc_vdso_platform_setup): Initialize the signal trampolines.
479 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
481 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
482 interrupting a syscall and set with option SA_SIGINFO.
484 2013-08-20 Joseph Myers <joseph@codesourcery.com>
487 * math/s_cproj.c (__cproj): Only return an infinity if one part of
488 argument is infinite.
489 * math/s_cprojf.c (__cprojf): Likewise.
490 * math/s_cprojl.c (__cprojl): Likewise.
491 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
492 * math/libm-test.inc (cproj_test_data): Add more tests.
494 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
496 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
497 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
498 size. Use __ffs to determine corresponding shift.
500 2013-08-20 Joseph Myers <joseph@codesourcery.com>
501 Roland McGrath <roland@hack.frob.com>
503 * Makefile (INSTALL): Remove trailing blank lines from output of
506 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
508 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
509 Align 32 bit compat elf_greg to 8 bytes.
511 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
513 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
515 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
517 * string/strcoll_l.c (coll_seq): New structure.
518 (get_next_seq_cached): New function.
519 (get_next_seq): New function.
520 (do_compare): New function.
521 (STRCOLL): Use GNU style definition. Simplify implementation
522 by using get_next_seq, get_next_seq_cached and do_compare.
524 2013-08-16 Florian Weimer <fweimer@redhat.com>
528 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
530 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
532 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
533 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
534 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
536 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
537 GETDENTS_64BIT_ALIGNED.
538 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
539 * manual/filesys.texi (Reading/Closing Directory): Document
540 ENAMETOOLONG return value of readdir_r. Recommend readdir more
542 * manual/conf.texi (Limits for Files): Add portability note to
544 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
546 2013-08-13 Andreas Schwab <schwab@suse.de>
549 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
551 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
552 LDBL_MAX_EXP >= 16384]: Add tests for it.
554 2013-08-12 David S. Miller <davem@davemloft.net>
556 * version.h (RELEASE): Set to "development".
557 (VERSION): Set to "2.18.90".
558 * NEWS: Add 2.19 section.
560 2013-08-03 David S. Miller <davem@davemloft.net>
562 * po/ko.po: Update Korean translation from translation project.
564 2013-08-01 David S. Miller <davem@davemloft.net>
566 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
567 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
570 2013-07-30 David S. Miller <davem@davemloft.net>
572 * po/fr.po: Update French translation from translation project.
574 2013-07-28 David S. Miller <davem@davemloft.net>
576 * po/cs.po: Update Czech translation from translation project.
578 * po/sv.po: Update Swedish translation from translation project.
580 2013-07-27 David S. Miller <davem@davemloft.net>
582 * po/eo.po: Update Esperanto translation from translation project.
584 * po/vi.po: Update Vietnamese translation from translation project.
586 * po/de.po: Update German translation from translation project.
588 2013-07-26 David S. Miller <davem@davemloft.net>
590 * po/bg.po: Update Bulgarian translation from translation project.
592 * po/nl.po: Update Dutch translation from translation project.
593 * po/pl.po: Update Polish translation from translation project.
594 * po/ru.po: Update Russian translation from translation project.
596 2013-07-24 David S. Miller <davem@davemloft.net>
598 * po/libc.pot: Update.
600 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
604 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
605 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
606 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
608 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
610 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
612 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
613 Andreas Schwab <schwab@suse.de>
614 Roland McGrath <roland@hack.frob.com>
615 Joseph Myers <joseph@codesourcery.com>
616 Carlos O'Donell <carlos@redhat.com>
619 * config.h.in: Define HAVE_PT_CHOWN.
620 * config.make.in (build-pt-chown): New variable.
621 * configure.in (--enable-pt_chown): New configure option.
622 * configure: Regenerate.
623 * login/Makefile: Include Makeconfig. Build pt_chown only if
624 build-pt-chown is enabled.
625 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
626 pt_chown to fix pty ownership.
627 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
629 * manual/install.texi (Configuring and compiling): Mention
630 --enable-pt_chown. Add @findex for grantpt.
631 * INSTALL: Regenerate.
633 2013-07-20 David S. Miller <davem@davemloft.net>
635 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
636 difference between 32-bit and 64-bit.
638 2013-07-15 Carlos O'Donell <carlos@redhat.com>
641 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
642 Avoid system header dependency with -ffreestanding.
643 ($(objpfx)bits/syscall%d): Likewise.
645 2013-07-13 David S. Miller <davem@davemloft.net>
647 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
648 underflows from atanl/atan2l due to bug 15319.
649 (casinh_test_data): Likewise.
651 2013-07-07 David S. Miller <davem@davemloft.net>
653 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
655 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
657 * sysdeps/i386/fpu/libm-test-ulps: Update.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
662 * configure.in (--enable-lock-elision): Fix message text.
663 * INSTALL: Regenerate.
664 * configure: Regenerate.
666 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
670 2013-07-03 Andreas Jaeger <aj@suse.de>
672 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
674 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
675 (ptrace_peeksiginfo_args): Add.
676 (__ptrace_peeksiginfo_flags): Add.
677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
681 2013-07-03 Allan McRae <allan@archlinux.org>
683 * sysdeps/i386/fpu/libm-test-ulps: Update.
685 2013-07-02 David S. Miller <davem@davemloft.net>
687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
689 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
693 2013-07-02 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
698 2013-07-02 Andi Kleen <ak@linux.intel.com>
700 * config.h.in (ENABLE_LOCK_ELISION): Add.
701 * configure.in (--enable-lock-elision): Add option.
702 * manual/install.texi: Document --enable lock elision.
703 * configure: Regenerate
704 * INSTALL: Regenerate.
706 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
708 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
709 SSE4.2 strcasecmp for libc.a.
710 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
712 2013-07-02 Joseph Myers <joseph@codesourcery.com>
715 * soft-fp/op-common.h (_FP_FMA): New macro.
716 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
717 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
718 (_FP_MUL_MEAT_1_imm): ... here.
719 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
720 (_FP_MUL_MEAT_1_wide): ... here.
721 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
722 (_FP_MUL_MEAT_1_hard): ... here.
723 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
724 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
725 (_FP_MUL_MEAT_2_wide): ... here.
726 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
727 (_FP_MUL_MEAT_2_wide_3mul): ... here.
728 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
729 (_FP_MUL_MEAT_2_gmp): ... here.
730 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
731 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
732 (_FP_MUL_MEAT_4_wide): ... here.
733 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
734 (_FP_MUL_MEAT_4_gmp): ... here.
735 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
736 (_FP_WFRACBITS_DW_S): Likewise.
737 (_FP_WFRACXBITS_DW_S): Likewise.
738 (_FP_HIGHBIT_DW_S): Likewise.
739 (FP_FMA_S): Likewise.
740 (_FP_FRAC_HIGH_DW_S): Likewise.
741 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
742 (_FP_WFRACBITS_DW_D): Likewise.
743 (_FP_WFRACXBITS_DW_D): Likewise.
744 (_FP_HIGHBIT_DW_D): Likewise.
745 (FP_FMA_D): Likewise.
746 (_FP_FRAC_HIGH_DW_D): Likewise.
747 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
748 (_FP_WFRACBITS_DW_E): Likewise.
749 (_FP_WFRACXBITS_DW_E): Likewise.
750 (_FP_HIGHBIT_DW_E): Likewise.
751 (FP_FMA_E): Likewise.
752 (_FP_FRAC_HIGH_DW_E): Likewise.
753 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
754 (_FP_WFRACBITS_DW_Q): Likewise.
755 (_FP_WFRACXBITS_DW_Q): Likewise.
756 (_FP_HIGHBIT_DW_Q): Likewise.
757 (FP_FMA_Q): Likewise.
758 (_FP_FRAC_HIGH_DW_Q): Likewise.
759 * soft-fp/fmasf4.c: New file.
760 * soft-fp/fmadf4.c: Likewise.
761 * soft-fp/fmatf4.c: Likewise.
763 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
766 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
770 (index_Slow_SSE4_2): Likewise.
771 (index_Prefer_PMINUB_for_stringop): Likewise.
772 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
773 bit_Slow_SSE4_2 is set.
774 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
777 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
779 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
780 rtld_global._dl_hwcap2.
781 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
783 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
784 POWER8 feature descriptions defined in _dl_hwcap2.
785 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
786 string handling for POWER8 feature bits.
787 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
788 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
789 _dl_powerpc_cap_flags.
790 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
791 * sysdeps/powerpc/rtld-global-offsets.sym
792 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
793 _dl_hwcap2 in the rtld_global_ro structure.
795 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
797 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
798 hardware capabilities in support of AT_HWCAP2.
799 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
800 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
802 (_dl_show_auxv): Add support for calling _dl_procinfo to display
803 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
804 explicitly the unknown a_type display mechanism is used.
805 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
806 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
808 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
809 to macro prototype for AT_HWCAP2 support.
810 * sysdeps/i386/dl-procinfo.h: Likewise.
811 * sysdeps/s390/dl-procinfo.h: Likewise.
812 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
813 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
814 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
815 return -1 for unknown a_type display fallback.
816 * sysdeps/sparc/dl-procinfo.h: Likewise.
817 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
818 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
820 2013-06-28 Joseph Myers <joseph@codesourcery.com>
822 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
823 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
825 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
828 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
829 mprotect making __stack_prot writable.
831 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
832 Joseph Myers <joseph@codesourcery.com>
834 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
835 as being properly aligned.
837 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
839 * dlfcn/modstatic5.c: New file.
840 * dlfcn/tststatic5.c: New file.
841 * dlfcn/Makefile (tests): Add tststatic5.
842 (tests-static): Likewise.
843 (modules-names): Add modstatic5.
844 (tststatic5-ENV): New variable.
845 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
848 * elf/dl-support.c (_dl_main_map): New variable.
849 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
850 (_dl_nns, _dl_load_adds): Set to 1.
851 (_dl_initial_searchlist): Refer to _dl_main_map.
852 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
853 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
854 call to _dl_get_origin.
855 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
857 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
858 * dlfcn/modstatic3.c: New file.
859 * dlfcn/tststatic3.c: New file.
860 * dlfcn/tststatic4.c: New file.
861 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
862 (tests-static): Likewise.
863 (modules-names): Add modstatic3.
864 (tststatic3-ENV, tststatic4-ENV): New variables.
865 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
866 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
868 2013-06-26 Joseph Myers <joseph@codesourcery.com>
870 * configure.in (CC): Require GCC version 4.4 or later.
871 * configure: Regenerated.
872 * manual/install.texi (Tools for Compilation): Update GCC version
874 * INSTALL: Regenerated.
876 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
879 * string/test-memcmp.c (check2): New.
882 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
884 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
887 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
889 (dl_open_worker) [!SHARED]: ... here.
891 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
893 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
895 2013-06-25 Richard Henderson <rth@redhat.com>
897 * locale/programs/locarchive.c: Include <libc-internal.h>
899 2013-06-25 Joseph Myers <joseph@codesourcery.com>
901 * manual/texinfo.tex: Update to version 2013-06-21.17, with
902 trailing whitespace removed.
904 2013-06-24 Mike Frysinger <vapier@gentoo.org>
907 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
908 * locale/programs/locarchive.c: Include libc-mmap.h.
909 (prepare_address_space): Take two new outputs (the mmap base and len).
910 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
912 (create_archive): Declare new mmap base and len values for
913 prepare_address_space, and store the result in ah.
914 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
915 (enlarge_archive): If ah->mmap_base is not NULL, use that and
916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
917 Declare new mmap base and len values for
918 prepare_address_space, and store the result in new_ah.
919 (open_archive): Declare new mmap base and len values for
920 prepare_address_space, and store the result in ah.
921 (close_archive): If ah->mmap_base is not NULL, use that and
922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
923 * sysdeps/generic/libc-mmap.h: New file.
925 2013-06-24 Mike Frysinger <vapier@gentoo.org>
927 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
928 (ALIGN_UP): Likewise.
929 (PTR_ALIGN_DOWN): Likewise.
930 (PTR_ALIGN_UP): Likewise.
932 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
935 entry mapped to PPC_PLATFORM_POWER8.
936 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
938 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
939 (_dl_string_platform): Add case for exporting platform position for
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
942 search path to sysdeps/powerpc/powerpc32/power8 directory.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
944 search path to sysdeps/powerpc/powerpc64/power8 directory.
945 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
947 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
950 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
952 * INSTALL: Regenerate.
954 * nscd/connections.c (nscd_init): Fix comment.
956 2013-06-22 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
961 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
962 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
964 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
966 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
968 (DL_DST_REQ_STATIC): Remove macro.
970 2013-06-21 Joseph Myers <joseph@codesourcery.com>
973 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
974 with a shift of 0 bits.
976 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
978 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
981 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
984 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
986 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
989 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
990 accepts -fno-tree-loop-distribute-patterns.
991 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
992 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
994 * string/memset.c (memset): Likewise.
995 * string/test-memmove.c (simple_memmove): Disable loop transformation
997 * string/test-memset.c (simple_memset): Likewise.
998 * benchtests/bench-memmove.c (simple_memmove): Likewise.
999 * benchtests/bench-memset.c (simple_memset): Likewise.
1000 * configure: Regenerated.
1002 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1004 * math/test-misc.c (main): Ignore fesetround failure when failures
1005 of subsequent rounding tests would be ignored.
1008 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1009 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1010 * math/fegetenv.c (__fegetenv): Return 0.
1011 * math/fegetexcept.c (fegetexcept): Return 0.
1012 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1014 * math/feholdexcpt.c (feholdexcept): Return 0.
1015 * math/fesetenv.c (__fesetenv): Return 0.
1016 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1017 argument FE_TONEAREST.
1018 * math/feupdateenv.c (__feupdateenv): Return 0.
1019 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1021 2013-06-18 Roland McGrath <roland@hack.frob.com>
1023 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1024 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1025 ($(objpfx)rtld-%.os rules): Use them.
1027 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1032 2013-06-17 Roland McGrath <roland@hack.frob.com>
1034 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1035 length of target pattern, then descending length of dependency pattern.
1036 * configure.in (AWK): Require gawk 3.1.2 or newer.
1037 * manual/install.texi (Tools for Compilation): Say that we do.
1038 * configure: Regenerated.
1040 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1041 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1042 * scripts/sysd-rules.awk: ... this new script.
1043 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1044 than a glob-style pattern.
1046 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1048 * math/test-misc.c (main): Do not treat incorrectly rounded
1049 conversions as failure unless ROUNDING_TESTS passes.
1051 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1054 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1055 restore exception state around main square root computation, then
1056 check for inexactness explicitly.
1058 * math/libm-test.inc (fma_test_data): Add another test.
1060 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1062 * manual/threads.texi (Non-POSIX Extensions): New document
1063 node. Document pthread_getattr_default_np and
1064 pthread_setattr_default_np.
1066 * Versions.def (libpthread): Add GLIBC_2.18.
1067 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1076 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1087 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1090 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1092 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1093 H.J. Lu <hjl.tools@gmail.com>
1096 * sysdeps/x86_64/rtld-memset.c: Remove file.
1097 * sysdeps/x86_64/rtld-memset.S: New file.
1099 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1101 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1102 (test_in_one_mode): Take arguments for whether the rounding mode
1103 is supported for each floating-point type.
1104 (do_test): Pass new arguments to test_in_one_mode using
1107 2013-06-13 Roland McGrath <roland@hack.frob.com>
1109 * posix/tst-waitid.c (do_test): Distinguish different instances of
1110 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1111 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1112 before entering the kernel for waitpid.
1114 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1116 * NEWS: Fix note on clock function precision. Text by Roland
1119 2013-06-13 Roland McGrath <roland@hack.frob.com>
1121 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1122 it into place only when and if the sanity check passes.
1124 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1126 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1127 output for whether conversion result is exact. Take argument
1128 indicating whether type is IBM long double.
1129 (round_for_all): Change need_exact field to ibm_ld.
1130 * stdlib/tst-strtod-round.c (struct exactness): New type.
1131 (struct test): Change bool ld_ok field to struct exactness exact.
1132 (TEST): Update all definitions for change to field.
1133 (tests): Regenerate array contents.
1134 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1135 field value. Check for IBM long double here.
1136 (do_test): Update calls to test_in_one_mode.
1138 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1141 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1142 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1144 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1148 generated by the compiler on loop optimizations.
1149 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1150 general definitions.
1152 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1154 * math/bug-nextafter.c: Include <math-tests.h>.
1155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1157 * math/bug-nexttoward.c: Include <math-tests.h>.
1158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1160 * math/test-misc.c: Include <math-tests.h>.
1161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1164 2013-06-12 Andreas Jaeger <aj@suse.de>
1166 * po/ia.po: Update Interlingua translation from translation
1169 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1171 * include/fenv.h: Include stdbool.h.
1172 (struct rm_ctx): New structure.
1173 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1175 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1176 (SET_RESTORE_ROUNDF): Likewise.
1177 (SET_RESTORE_ROUNDL): Likewise.
1178 (SET_RESTORE_ROUND_NOEX): Likewise.
1179 (SET_RESTORE_ROUND_NOEXF): Likewise.
1180 (SET_RESTORE_ROUND_NOEXL): Likewise.
1181 (SET_RESTORE_ROUND_53BIT): Likewise.
1182 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1183 (libc_feresetround_noexf_ctx): Likewise.
1184 (libc_feresetround_noexl_ctx): Likewise.
1185 (libc_feholdsetround_53bit_ctx): Likewise.
1186 (libc_feresetround_53bit_ctx): Likewise.
1187 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1188 (libc_feholdexcept_setround_sse_ctx): New function.
1189 (libc_fesetenv_sse_ctx): Likewise.
1190 (libc_feupdateenv_sse_ctx): Likewise.
1191 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1192 (libc_feholdexcept_setround_387_ctx): Likewise.
1193 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1194 (libc_feholdsetround_387_prec_ctx): Likewise.
1195 (libc_feholdsetround_387_ctx): Likewise.
1196 (libc_feholdsetround_387_53bit_ctx): Likewise.
1197 (libc_feholdsetround_sse_ctx): Likewise.
1198 (libc_feresetround_sse_ctx): Likewise.
1199 (libc_feresetround_387_ctx): Likewise.
1200 (libc_feupdateenv_387_ctx): Likewise.
1201 (libc_feholdexcept_setroundf_ctx): Define macro.
1202 (libc_fesetenvf_ctx): Likewise.
1203 (libc_feupdateenvf_ctx): Likewise.
1204 (libc_feholdsetroundf_ctx): Likewise.
1205 (libc_feresetroundf_ctx): Likewise.
1206 (libc_feholdexcept_setround_ctx): Likewise.
1207 (libc_fesetenv_ctx): Likewise.
1208 (libc_feupdateenv_ctx): Likewise.
1209 (libc_feholdsetround_ctx): Likewise.
1210 (libc_feresetround_ctx): Likewise.
1211 (libc_feholdexcept_setroundl_ctx): Likewise.
1212 (libc_feupdateenvl_ctx): Likewise.
1213 (libc_feholdsetroundl_ctx): Likewise.
1214 (libc_feresetroundl_ctx): Likewise.
1215 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1216 (libc_feresetround_53bit_ctx): Likewise.
1218 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1220 * locale/iso-639.def: Convert to UTF-8.
1222 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1224 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1225 (EXCEPTION_TESTS_double): Likewise.
1226 (EXCEPTION_TESTS_long_double): Likewise.
1227 (EXCEPTION_TESTS): Likewise.
1228 * math/libm-test.inc (test_exceptions): Only test exceptions if
1229 EXCEPTION_TESTS (FLOAT).
1231 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1233 * benchtests/Makefile (string-bench): Add strcpy_chk and
1235 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1236 * benchtests/bench-stpcpy_chk.c: New file.
1237 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1238 * benchtests/bench-strcpy_chk.c: New file.
1239 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1241 (do_test): Likewise.
1243 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1245 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1246 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1247 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1248 with tabs where appropriate.
1249 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1251 [PPC_PLATFORM_PPC440]: Likewise.
1252 [PPC_PLATFORM_PPC464]: Likewise.
1253 [PPC_PLATFORM_PPC476]: Likewise.
1254 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1255 ppc464, and ppc476 platform strings merging from ports/
1258 2013-06-11 Andreas Schwab <schwab@suse.de>
1261 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1262 (from_ucs4_idx): Regenerate.
1263 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1264 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1265 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1266 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1267 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1268 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1269 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1270 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1271 from FROM_LOOP and TO_LOOP specific macros.
1272 (BODY): Handle combining characters.
1273 * iconvdata/BIG5HKSCS.irreversible: Update.
1274 * iconvdata/BIG5HKSCS.precomposed: New file.
1275 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1277 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1279 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1281 * include/sys/time.h: Fix indentation and add copyright header.
1283 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1284 (do_test): Likewise.
1285 * string/test-memchr.c (do_one_test): Likewise.
1286 (do_test): Likewise.
1287 * string/test-memcmp.c (do_one_test): Likewise.
1288 (do_test): Likewise.
1289 * string/test-memcpy.c (do_one_test): Likewise.
1290 (do_test): Likewise.
1291 * string/test-memmem.c (do_one_test): Likewise.
1292 (do_test): Likewise.
1293 (do_random_tests): Likewise.
1294 * string/test-memmove.c (do_one_test): Likewise.
1295 (do_test): Likewise.
1296 * string/test-memset.c (do_one_test): Likewise.
1297 (do_test): Likewise.
1298 * string/test-rawmemchr.c (do_one_test): Likewise.
1299 (do_test): Likewise.
1300 * string/test-strcasecmp.c (do_one_test): Likewise.
1301 (do_test): Likewise.
1302 * string/test-strcasestr.c (do_one_test): Likewise.
1303 (do_test): Likewise.
1304 * string/test-strcat.c (do_one_test): Likewise.
1305 (do_test): Likewise.
1306 * string/test-strchr.c (do_one_test): Likewise.
1307 (do_test): Likewise.
1308 * string/test-strcmp.c (do_one_test): Likewise.
1309 (do_test): Likewise.
1310 * string/test-strcpy.c (do_one_test): Likewise.
1311 (do_test): Likewise.
1312 * string/test-string.h: Likewise.
1313 (test_init): Likewise.
1314 * string/test-strlen.c (do_one_test): Likewise.
1315 (do_test): Likewise.
1316 * string/test-strncasecmp.c (do_one_test): Likewise.
1317 (do_test): Likewise.
1318 * string/test-strncat.c (do_one_test): Likewise.
1319 (do_test): Likewise.
1320 * string/test-strncmp.c (do_one_test): Likewise.
1321 (do_test_limit): Likewise.
1322 (do_test): Likewise.
1323 * string/test-strncpy.c (do_one_test): Likewise.
1324 (do_test): Likewise.
1325 * string/test-strnlen.c (do_one_test): Likewise.
1326 (do_test): Likewise.
1327 * string/test-strpbrk.c (do_one_test): Likewise.
1328 (do_test): Likewise.
1329 * string/test-strrchr.c (do_one_test): Likewise.
1330 (do_test): Likewise.
1331 * string/test-strspn.c (do_one_test): Likewise.
1332 (do_test): Likewise.
1333 * string/test-strstr.c (do_one_test): Likewise.
1334 (do_test): Likewise.
1336 * benchtests/Makefile (string-bench): Add string benchmarks.
1337 * benchtests/bench-bcopy-ifunc.c: New file.
1338 * benchtests/bench-bcopy.c: New file.
1339 * benchtests/bench-bzero-ifunc.c: New file.
1340 * benchtests/bench-bzero.c: New file.
1341 * benchtests/bench-memccpy-ifunc.c: New file.
1342 * benchtests/bench-memccpy.c: New file.
1343 * benchtests/bench-memchr-ifunc.c: New file.
1344 * benchtests/bench-memchr.c: New file.
1345 * benchtests/bench-memcmp-ifunc.c: New file.
1346 * benchtests/bench-memcmp.c: New file.
1347 * benchtests/bench-memmem-ifunc.c: New file.
1348 * benchtests/bench-memmem.c: New file.
1349 * benchtests/bench-memmove-ifunc.c: New file.
1350 * benchtests/bench-memmove.c: New file.
1351 * benchtests/bench-mempcpy-ifunc.c: New file.
1352 * benchtests/bench-mempcpy.c: New file.
1353 * benchtests/bench-memset-ifunc.c: New file.
1354 * benchtests/bench-memset.c: New file.
1355 * benchtests/bench-rawmemchr-ifunc.c: New file.
1356 * benchtests/bench-rawmemchr.c: New file.
1357 * benchtests/bench-stpcpy-ifunc.c: New file.
1358 * benchtests/bench-stpcpy.c: New file.
1359 * benchtests/bench-stpncpy-ifunc.c: New file.
1360 * benchtests/bench-stpncpy.c: New file.
1361 * benchtests/bench-strcasecmp-ifunc.c: New file.
1362 * benchtests/bench-strcasecmp.c: New file.
1363 * benchtests/bench-strcasestr-ifunc.c: New file.
1364 * benchtests/bench-strcasestr.c: New file.
1365 * benchtests/bench-strcat-ifunc.c: New file.
1366 * benchtests/bench-strcat.c: New file.
1367 * benchtests/bench-strchr-ifunc.c: New file.
1368 * benchtests/bench-strchr.c: New file.
1369 * benchtests/bench-strchrnul-ifunc.c: New file.
1370 * benchtests/bench-strchrnul.c: New file.
1371 * benchtests/bench-strcmp-ifunc.c: New file.
1372 * benchtests/bench-strcmp.c: New file.
1373 * benchtests/bench-strcpy-ifunc.c: New file.
1374 * benchtests/bench-strcpy.c: New file.
1375 * benchtests/bench-strcspn-ifunc.c: New file.
1376 * benchtests/bench-strcspn.c: New file.
1377 * benchtests/bench-strlen-ifunc.c: New file.
1378 * benchtests/bench-strlen.c: New file.
1379 * benchtests/bench-strncasecmp-ifunc.c: New file.
1380 * benchtests/bench-strncasecmp.c: New file.
1381 * benchtests/bench-strncat-ifunc.c: New file.
1382 * benchtests/bench-strncat.c: New file.
1383 * benchtests/bench-strncmp-ifunc.c: New file.
1384 * benchtests/bench-strncmp.c: New file.
1385 * benchtests/bench-strncpy-ifunc.c: New file.
1386 * benchtests/bench-strncpy.c: New file.
1387 * benchtests/bench-strnlen-ifunc.c: New file.
1388 * benchtests/bench-strnlen.c: New file.
1389 * benchtests/bench-strpbrk-ifunc.c: New file.
1390 * benchtests/bench-strpbrk.c: New file.
1391 * benchtests/bench-strrchr-ifunc.c: New file.
1392 * benchtests/bench-strrchr.c: New file.
1393 * benchtests/bench-strspn-ifunc.c: New file.
1394 * benchtests/bench-strspn.c: New file.
1395 * benchtests/bench-strstr-ifunc.c: New file.
1396 * benchtests/bench-strstr.c: New file.
1398 * benchtests/Makefile: Disable parallel execution of targets.
1399 (string-bench): Add memcpy.
1400 (benchset): New variable to store a list of benchmark sets.
1401 (bench-func): Renamed from bench.
1402 (bench-set): New target.
1403 (bench): Depend on bench-func and bench-set.
1404 * benchtests/README: Add section on benchmark sets.
1405 * benchtests/bench-memcpy-ifunc.c: New file.
1406 * benchtests/bench-memcpy.c: New file.
1407 * benchtests/bench-string.h: New file.
1409 2013-06-11 Andreas Schwab <schwab@suse.de>
1412 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1413 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1414 values in the triple.
1415 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1416 terminator in the group key.
1418 2013-06-11 Andreas Jaeger <aj@suse.de>
1420 * po/zh_TW.po: Update Chinese (traditional) translation from
1421 translation project.
1423 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1425 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1426 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1427 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1429 (clock_getcpuclockid): Likewise.
1430 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1431 Add weak_alias and libc_hidden_def.
1432 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1433 * rt/clock_gettime.c (clock_gettime): Rename to
1434 __clock_gettime. Add weak_alias and libc_hidden_def.
1435 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1436 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1437 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1438 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1439 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1441 * rt/clock_settime.c (clock_settime): Rename to
1442 __clock_settime. Add weak_alias and libc_hidden_def.
1443 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1445 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1447 * mach/err_boot.sub: Remove trailing whitespace.
1448 * mach/err_ipc.sub: Likewise.
1449 * mach/err_mach.sub: Likewise.
1451 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1452 (ROUNDING_TESTS_double): Likewise.
1453 (ROUNDING_TESTS_long_double): Likewise.
1454 (ROUNDING_TESTS): Likewise.
1455 * math/libm-test.inc: Include <math-tests.h>.
1456 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1457 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1458 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1459 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1461 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1466 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1468 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1469 otherwise empty TRANS lines.
1470 * sysdeps/gnu/errlist.c: Regenerated.
1472 * catgets/gencat.c (error_print): Use (void) in function
1474 * crypt/crypt_util.c (__init_des): Likewise.
1475 * crypt/speeds.c (Stop): Likewise.
1477 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1478 * inet/ruserpass.c (token): Likewise.
1479 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1480 * intl/localealias.c (extend_alias_table): Likewise.
1481 * intl/plural-exp.c (init_germanic_plural): Likewise.
1482 * libio/fcloseall.c (__fcloseall): Likewise.
1483 * libio/genops.c (_IO_flush_all): Likewise.
1484 (_IO_flush_all_linebuffered): Likewise.
1485 (_IO_cleanup): Likewise.
1486 (_IO_iter_begin): Likewise.
1487 (_IO_iter_end): Likewise.
1488 (_IO_list_lock): Likewise.
1489 (_IO_list_unlock): Likewise.
1490 (_IO_list_resetlock): Likewise.
1491 * libio/getchar.c (getchar): Likewise.
1492 * libio/getchar_u.c (getchar_unlocked): Likewise.
1493 * libio/getwchar.c (getwchar): Likewise.
1494 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1495 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1496 * login/getpt.c (__getpt): Likewise.
1497 * login/tst-utmp.c (main): Likewise.
1498 * malloc/hooks.c (__malloc_check_init): Likewise.
1499 * malloc/malloc.c (__malloc_stats): Likewise.
1500 * malloc/mtrace.c (tr_break): Likewise.
1502 (muntrace): Likewise.
1503 * misc/fstab.c (endfsent): Likewise.
1504 * misc/getclktck.c (__getclktck): Likewise.
1505 * misc/getdtsz.c (__getdtablesize): Likewise.
1506 * misc/gethostid.c (gethostid): Likewise.
1507 * misc/getpagesize.c (__getpagesize): Likewise.
1508 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1509 (__get_nprocs): Likewise.
1510 (__get_phys_pages): Likewise.
1511 (__get_avphys_pages): Likewise.
1512 * misc/getttyent.c (getttyent): Likewise.
1513 (setttyent): Likewise.
1514 (endttyent): Likewise.
1515 * misc/getusershell.c (getusershell): Likewise.
1516 (endusershell): Likewise.
1517 (setusershell): Likewise.
1518 (initshells): Likewise.
1519 * misc/hsearch.c (__hdestroy): Likewise.
1520 * misc/sync.c (sync): Likewise.
1521 * misc/syslog.c (closelog_internal): Likewise.
1522 (closelog): Likewise.
1523 * misc/ttyslot.c (ttyslot): Likewise.
1524 * misc/vhangup.c (vhangup): Likewise.
1525 * posix/fork.c (__fork): Likewise.
1526 * posix/getegid.c (__getegid): Likewise.
1527 * posix/geteuid.c (__geteuid): Likewise.
1528 * posix/getgid.c (__getgid): Likewise.
1529 * posix/getpid.c (__getpid): Likewise.
1530 * posix/getppid.c (__getppid): Likewise.
1531 * posix/getuid.c (__getuid): Likewise.
1532 * posix/pause.c (pause): Likewise.
1533 * posix/setpgrp.c (setpgrp): Likewise.
1534 * posix/setsid.c (__setsid): Likewise.
1535 * posix/test-vfork.c (noop): Likewise.
1536 * resolv/gethnamaddr.c (_endhtent): Likewise.
1537 (_gethtent): Likewise.
1538 (ht_endhostent): Likewise.
1539 (gethostent): Likewise.
1540 (dns_service): Likewise.
1541 * stdlib/drand48.c (drand48): Likewise.
1542 * stdlib/lrand48.c (lrand48): Likewise.
1543 * stdlib/mrand48.c (mrand48): Likewise.
1544 * stdlib/rand.c (rand): Likewise.
1545 * stdlib/random.c (__random): Likewise.
1546 * stdlib/setenv.c (clearenv): Likewise.
1547 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1548 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1549 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1550 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1551 (__get_nprocs): Likewise.
1552 (__get_phys_pages): Likewise.
1553 (__get_avphys_pages): Likewise.
1554 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1555 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1556 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1557 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1558 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1559 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1560 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1561 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1562 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1563 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1564 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1565 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1566 * sysdeps/posix/clock.c (clock): Likewise.
1567 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1568 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1569 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1570 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1571 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1573 (__get_nprocs_conf): Likewise.
1574 (__get_phys_pages): Likewise.
1575 (__get_avphys_pages): Likewise.
1576 * time/clock.c (clock): Likewise.
1577 * time/tzset.c (__tzname_max): Likewise.
1579 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1581 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1582 (__bswap_32): Do not use "register".
1583 * crypt/crypt.c (_ufc_doit_r): Likewise.
1584 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1585 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1586 * gmon/gmon.c (__monstartup): Likewise.
1587 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1588 * hurd/hurdmalloc.c (more_memory): Likewise.
1591 (realloc): Likewise.
1592 (malloc_fork_prepare): Likewise.
1593 (malloc_fork_parent): Likewise.
1594 (malloc_fork_child): Likewise.
1595 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1596 (_svcauth_des): Likewise.
1597 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1598 * inet/inet_net.c (inet_network): Likewise.
1599 * inet/inet_netof.c (inet_netof): Likewise.
1600 * inet/rcmd.c (__validuser2_sa): Likewise.
1601 * io/fts.c (fts_open): Likewise.
1602 (fts_load): Likewise.
1603 (fts_close): Likewise.
1604 (fts_read): Likewise.
1605 (fts_children): Likewise.
1606 (fts_build): Likewise.
1607 (fts_stat): Likewise.
1608 (fts_sort): Likewise.
1609 (fts_alloc): Likewise.
1610 (fts_lfree): Likewise.
1611 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1612 (_IO_file_xsgetn): Likewise.
1613 (_IO_file_xsgetn_mmap): Likewise.
1614 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1615 (_IO_cookie_write): Likewise.
1616 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1617 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1618 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1619 * malloc/obstack.c (_obstack_begin): Likewise.
1620 (_obstack_begin_1): Likewise.
1621 (_obstack_newchunk): Likewise.
1622 (_obstack_allocated_p): Likewise.
1623 (obstack_free): Likewise.
1624 (_obstack_memory_used): Likewise.
1625 * misc/getttyent.c (getttynam): Likewise.
1626 (getttyent): Likewise.
1629 * misc/getusershell.c (initshells): Likewise.
1630 * misc/syslog.c (__vsyslog_chk): Likewise.
1631 * misc/ttyslot.c (ttyslot): Likewise.
1632 * nis/nis_hash.c (__nis_hash): Likewise.
1633 * posix/fnmatch_loop.c (FCT): Likewise.
1634 * posix/getconf.c (print_all): Likewise.
1636 * posix/getopt.c (exchange): Likewise.
1637 * posix/glob.c (globfree): Likewise.
1638 (prefix_array): Likewise.
1639 (__glob_pattern_type): Likewise.
1640 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1641 (NS_GET32): Likewise.
1642 (NS_PUT16): Likewise.
1643 (NS_PUT32): Likewise.
1644 * resolv/gethnamaddr.c (getanswer): Likewise.
1645 (gethostbyname2): Likewise.
1646 (gethostbyaddr): Likewise.
1647 (_gethtent): Likewise.
1648 (_gethtbyname2): Likewise.
1649 (_gethtbyaddr): Likewise.
1650 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1651 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1652 * resolv/res_init.c (__res_vinit): Likewise.
1653 (net_mask): Likewise.
1654 * resolv/res_mkquery.c (outchar): Likewise.
1656 * stdio-common/printf_fp.c (outchar): Likewise.
1658 * stdio-common/printf_fphex.c (outchar): Likewise.
1660 * stdio-common/printf_size.c (outchar): Likewise.
1662 * stdio-common/test_rdwr.c (main): Likewise.
1663 * stdio-common/tfformat.c (matches): Likewise.
1664 * stdio-common/vfprintf.c (outchar): Likewise.
1665 (printf_unknown): Likewise.
1666 (buffered_vfprintf): Likewise.
1667 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1668 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1669 (ReadFile): Likewise.
1670 * stdlib/qsort.c (SWAP): Likewise.
1671 (_quicksort): Likewise.
1672 * stdlib/setenv.c (__add_to_environ): Likewise.
1673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1674 * stdlib/strtol_l.c (__strtol_l): Likewise.
1675 * stdlib/tst-strtod.c (main): Likewise.
1676 * stdlib/tst-strtol.c (main): Likewise.
1677 * stdlib/tst-strtoll.c (main): Likewise.
1678 * string/bits/string2.h (__strcmp_cc): Likewise.
1679 (__strcmp_cg): Likewise.
1680 (__strcspn_c1): Likewise.
1681 (__strcspn_c2): Likewise.
1682 (__strcspn_c3): Likewise.
1683 (__strspn_c1): Likewise.
1684 (__strspn_c2): Likewise.
1685 (__strspn_c3): Likewise.
1686 (__strsep_1c): Likewise.
1687 (__strsep_2c): Likewise.
1688 (__strsep_3c): Likewise.
1689 * string/memccpy.c (__memccpy): Likewise.
1690 * string/stpcpy.c (__stpcpy): Likewise.
1691 * string/strcmp.c (strcmp): Likewise.
1692 * string/strrchr.c (strrchr): Likewise.
1693 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1695 * sysdeps/mach/hurd/getcwd.c
1696 (_hurd_canonicalize_directory_name_internal): Likewise.
1697 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1698 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1699 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1700 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1701 Likewise, in both definitions.
1702 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1704 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1705 64] (__bswap_64): Likewise.
1706 * time/test_time.c (main): Likewise.
1707 * time/tzfile.c (__tzfile_read): Likewise.
1708 (__tzfile_compute): Likewise.
1709 * time/tzset.c (__tzset_parse_tz): Likewise.
1710 (tzset_internal): Likewise.
1711 (compute_change): Likewise.
1712 * wcsmbs/wcscat.c (__wcscat): Likewise.
1713 * wcsmbs/wcschr.c (wcschr): Likewise.
1714 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1715 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1716 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1717 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1718 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1719 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1720 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1721 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1722 * wcsmbs/wmemset.c (wmemset): Likewise.
1724 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1726 * scripts/config.guess: Update to version 2013-05-16.
1727 * scripts/config.sub: Update to version 2013-04-24.
1728 * scripts/install-sh: Update to version 2011-11-20.07.
1729 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1730 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1732 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1734 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1735 * elf/sln.c: Likewise.
1736 * hurd/hurd/ioctl.h: Likewise.
1737 * hurd/hurdmalloc.c: Likewise.
1738 * hurd/xattr.c: Likewise.
1739 * include/shlib-compat.h: Likewise.
1740 * inet/ruserpass.c: Likewise.
1741 * libio/iofgets_u.c: Likewise.
1742 * libio/iofgetws_u.c: Likewise.
1743 * locale/programs/ld-identification.c: Likewise.
1744 * locale/programs/ld-time.c: Likewise.
1745 * mach/msg-destroy.c: Likewise.
1746 * nss/nss_files/files-netgrp.c: Likewise.
1747 * resolv/res_data.c: Likewise.
1748 * soft-fp/op-1.h: Likewise.
1749 * soft-fp/op-2.h: Likewise.
1750 * soft-fp/op-4.h: Likewise.
1751 * soft-fp/op-common.h: Likewise.
1752 * stdio-common/printf_fphex.c: Likewise.
1753 * stdlib/strtod_l.c: Likewise.
1754 * sunrpc/rpc/clnt.h: Likewise.
1755 * sysdeps/generic/framestate.c: Likewise.
1756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1757 * sysdeps/i386/bsd-setjmp.S: Likewise.
1758 * sysdeps/i386/__longjmp.S: Likewise.
1759 * sysdeps/i386/setjmp.S: Likewise.
1760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1761 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1778 * sysdeps/ieee754/support.c: Likewise.
1779 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1780 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1781 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1782 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1783 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1784 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1785 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1786 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1787 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1788 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1789 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1790 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1791 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1793 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1794 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1798 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1800 * posix/transbug.c: Remove executable mode.
1802 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1804 * crypt/speeds.c: Remove trailing whitespace.
1805 * dlfcn/default.c: Likewise.
1806 * elf/ifuncdep2.c: Likewise.
1807 * elf/ifuncmain1.c: Likewise.
1808 * elf/ifuncmain1vis.c: Likewise.
1809 * elf/testobj.h: Likewise.
1810 * elf/tst-stackguard1.c: Likewise.
1811 * gmon/sys/gmon.h: Likewise.
1812 * hurd/hurdmsg.c: Likewise.
1813 * hurd/new-fd.c: Likewise.
1814 * hurd/ports-get.c: Likewise.
1815 * iconvdata/ibm1008_420.c: Likewise.
1816 * inet/tst-getni1.c: Likewise.
1817 * inet/tst-getni2.c: Likewise.
1818 * libio/ioungetc.c: Likewise.
1819 * libio/wfiledoalloc.c: Likewise.
1820 * manual/libm-err-tab.pl: Likewise.
1821 * math/w_dremf.c: Likewise.
1822 * misc/ftruncate.c: Likewise.
1823 * posix/bug-glob2.c: Likewise.
1824 * posix/tst-pcre.c: Likewise.
1825 * posix/wait4.c: Likewise.
1826 * resolv/README: Likewise.
1827 * resolv/res_debug.h: Likewise.
1828 * resolv/tst-inet_ntop.c: Likewise.
1829 * setjmp/bug269-setjmp.c: Likewise.
1830 * soft-fp/extended.h: Likewise.
1831 * soft-fp/op-1.h: Likewise.
1832 * soft-fp/op-2.h: Likewise.
1833 * soft-fp/op-4.h: Likewise.
1834 * soft-fp/op-8.h: Likewise.
1835 * soft-fp/testit.c: Likewise.
1836 * stdio-common/bug16.c: Likewise.
1837 * stdlib/random.c: Likewise.
1838 * sunrpc/rpcsvc/rquota.x: Likewise.
1839 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1868 * sysdeps/ieee754/s_lib_version.c: Likewise.
1869 * sysdeps/mach/hurd/check_fds.c: Likewise.
1870 * sysdeps/mach/hurd/getsockname.c: Likewise.
1871 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1872 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1873 * sysdeps/powerpc/bits/link.h: Likewise.
1874 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1875 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1876 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1877 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1878 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1880 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1881 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1882 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1883 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1884 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1886 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1887 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1888 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1889 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1895 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1898 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1905 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1908 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1909 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1910 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1911 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1912 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1913 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1914 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1915 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1916 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1917 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1919 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1920 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1921 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1922 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1927 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1928 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1929 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1930 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1932 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1936 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1938 * sysdeps/powerpc/sysdep.h: Likewise.
1939 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1940 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1941 * sysdeps/sh/dl-trampoline.S: Likewise.
1942 * sysdeps/sh/memset.S: Likewise.
1943 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1944 * sysdeps/sh/strlen.S: Likewise.
1945 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1946 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1947 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1948 * sysdeps/sparc/sparc32/rem.S: Likewise.
1949 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1950 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1951 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1952 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1953 * sysdeps/sparc/sparc32/urem.S: Likewise.
1954 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1955 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1956 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1957 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1958 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1959 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1960 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1961 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1962 * sysdeps/unix/bsd/times.c: Likewise.
1963 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1964 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1970 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1971 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1974 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1975 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1977 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1978 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1979 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1980 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1981 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1982 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1983 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1984 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1985 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1987 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1988 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1991 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1992 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1993 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1994 * sysdeps/x86_64/strcspn.S: Likewise.
1996 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1998 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1999 generated file. Regenerate properly from gen-translit.pl.
2000 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2001 locale/C-translit.h.
2003 2013-06-05 Andreas Schwab <schwab@suse.de>
2006 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2007 week as 6 instead of -1.
2008 * time/tst-strptime.c (day_tests): Add test case.
2010 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2012 * sysdeps/generic/math_private.h
2013 (libc_feholdexcept_setround_53bit): Replace with
2014 libc_feholdsetround_53bit.
2015 (libc_feupdateenv_53bit): Replace with
2016 libc_feresetround_53bit.
2017 (SET_RESTORE_ROUND_53BIT): Adjust.
2019 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2021 * string/test-strchrnul.c: Add copyright header.
2023 * posix/tst-getaddrinfo4.c: Increase test timeout.
2025 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2028 * math/libm-test.inc (MAX_EXP): Remove
2030 (ulp): Use MIN_EXP - MANT_DIG.
2031 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2033 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2035 * po/be.po: Revert last change.
2036 * po/zh_CN.po: Likewise.
2037 * po/header.pot: Likewise.
2039 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2041 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2042 link-libc-deps to empty as target-specific variable.
2043 * Makerules (link-libc-args): New variable.
2044 (libc-for-link): Likewise.
2045 (link-libc-deps): Likewise.
2046 (lib%.so): Depend on $(link-libc-deps). Link with
2048 (build-module): Link with $(link-libc-args).
2049 (build-module-asneeded): Likewise.
2050 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2052 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2053 target-specific variable.
2054 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2055 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2056 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2058 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2060 ($(objpfx)libpcprofile.so): Likewise.
2061 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2063 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2064 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2067 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2068 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2069 * login/Makefile ($(objpfx)libutil.so): Likewise.
2070 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2071 * math/Makefile ($(objpfx)libm.so): Likewise.
2072 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2073 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2074 variable instead of depending directly on libc.
2075 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2076 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2078 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2080 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2081 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2082 ($(objpfx)libanl.so): Likewise.
2083 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2085 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2087 * sysdeps/i386/fpu/Makefile: Remove file.
2088 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2089 ($(objpfx)libm.so): Remove dependency on ld.so.
2091 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2094 * nis/yp_xdr.c (XDRMAXNAME): Define.
2095 (XDRMAXRECORD): Define.
2096 (xdr_domainname): Use XDRMAXNAME.
2097 (xdr_mapname): Likewise.
2098 (xdr_peername): Likewise.
2099 (xdr_keydat): Use XDRMAXRECORD.
2100 (xdr_valdat): Likewise.
2102 2013-05-30 Jeff Law <law@redhat.com>
2105 * manual/errno.texi (ESTALE): Update to account for more than
2106 just NFS file systems.
2107 * sysdeps/gnu/errlist.c: Regenerated.
2109 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2112 * elf/Makefile (tests): Add tst-null-argv.
2113 (modules-names): Add tst-null-argv-lib.
2114 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2115 (tst-null-argv-ENV): Set environment for tst-null-argv.
2116 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2117 (RTLD_PROGNAME): New macro.
2118 * elf/tst-null-argv.c: New test case.
2119 * elf/tst-null-argv-lib.c: Library for test case.
2120 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2121 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2122 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2123 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2124 * elf/dl-init.c (call_init): Likewise.
2125 (_dl_init): Likewise.
2126 * elf/dl-load.c (print_search_path): Likewise.
2127 (_dl_map_object): Likewise.
2128 * elf/dl-lookup.c (do_lookup_x): Likewise.
2129 (add_dependency): Likewise.
2130 (_dl_lookup_symbol_x): Likewise.
2131 (_dl_debug_bindings): Likewise.
2132 * elf/dl-open.c (_dl_show_scope): Likewise.
2133 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2134 * elf/dl-version.c (match_symbol): Likewise.
2135 (_dl_check_map_versions): Likewise.
2136 * elf/rtld.c (dl_main): Likewise.
2137 (print_unresolved): Use RTLD_PROGNAME.
2138 (print_missing_version): Likewise.
2139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2140 (elf_machine_rela): Likewise.
2141 * sysdeps/powerpc/powerpc32/dl-machine.c
2142 (__process_machine_rela): Likewise.
2143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2156 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2158 * po/be.po: Add descriptive title.
2159 * po/zh_CN.po: Likewise.
2160 * po/header.pot: Likewise.
2162 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2164 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2166 (enlarge_archive): Likewise.
2168 2013-05-28 Ben North <ben@redfrontdoor.org>
2170 * manual/arith.texi (frexp): It is the magnitude of the return
2171 value which lies in [0.5, 1), not the return value itself.
2173 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2177 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2179 * stdio-common/bug26.c (main): Correct fscanf template.
2181 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2182 declare _dl_skip_args.
2184 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2187 * manual/platform.texi: Add missing @end deftypefun.
2189 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2192 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2193 bit of mantissa of 2^16382.
2194 * math/libm-test.inc (hypot_test_data): Add more tests.
2196 * math/libm-test.inc: Add drem and pow10 to list of tested
2198 (pow10_test): New function.
2199 (drem_test): Likewise.
2200 (drem_test_tonearest): Likewise.
2201 (drem_test_towardzero): Likewise.
2202 (drem_test_downward): Likewise.
2203 (drem_test_upward): Likewise.
2204 (main): Call the new functions.
2206 * math/libm-test.inc (finite_test_data): Remove.
2207 (finite_test): Run tests from isfinite_test_data.
2208 (gamma_test_data): Remove.
2209 (gamma_test): Run tests from lgamma_test_data.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2213 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215 * manual/platform.texi: Add PowerPC PPR function set documentation.
2216 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2219 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2221 * math/libm-test.inc (MAX_EXP): Define.
2223 (ulp): New function.
2224 (check_float_internal): Use ULPDIFF.
2225 (cpow_test): Disable failing test.
2226 (check_ulp): Test ulp() implemetnation.
2227 (main): Call check_ulp before starting tests.
2229 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2231 * math/gen-libm-test.pl (generate_testfile): Do not handle
2232 START_DATA and END_DATA.
2233 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2235 (acos_tonearest_test_data): Likewise.
2236 (acos_towardzero_test_data): Likewise.
2237 (acos_downward_test_data): Likewise.
2238 (acos_upward_test_data): Likewise.
2239 (acosh_test_data): Likewise.
2240 (asin_test_data): Likewise.
2241 (asin_tonearest_test_data): Likewise.
2242 (asin_towardzero_test_data): Likewise.
2243 (asin_downward_test_data): Likewise.
2244 (asin_upward_test_data): Likewise.
2245 (asinh_test_data): Likewise.
2246 (atan_test_data): Likewise.
2247 (atanh_test_data): Likewise.
2248 (atan2_test_data): Likewise.
2249 (cabs_test_data): Likewise.
2250 (cacos_test_data): Likewise.
2251 (cacosh_test_data): Likewise.
2252 (carg_test_data): Likewise.
2253 (casin_test_data): Likewise.
2254 (casinh_test_data): Likewise.
2255 (catan_test_data): Likewise.
2256 (catanh_test_data): Likewise.
2257 (cbrt_test_data): Likewise.
2258 (ccos_test_data): Likewise.
2259 (ccosh_test_data): Likewise.
2260 (ceil_test_data): Likewise.
2261 (cexp_test_data): Likewise.
2262 (cimag_test_data): Likewise.
2263 (clog_test_data): Likewise.
2264 (clog10_test_data): Likewise.
2265 (conj_test_data): Likewise.
2266 (copysign_test_data): Likewise.
2267 (cos_test_data): Likewise.
2268 (cos_tonearest_test_data): Likewise.
2269 (cos_towardzero_test_data): Likewise.
2270 (cos_downward_test_data): Likewise.
2271 (cos_upward_test_data): Likewise.
2272 (cosh_test_data): Likewise.
2273 (cosh_tonearest_test_data): Likewise.
2274 (cosh_towardzero_test_data): Likewise.
2275 (cosh_downward_test_data): Likewise.
2276 (cosh_upward_test_data): Likewise.
2277 (cpow_test_data): Likewise.
2278 (cproj_test_data): Likewise.
2279 (creal_test_data): Likewise.
2280 (csin_test_data): Likewise.
2281 (csinh_test_data): Likewise.
2282 (csqrt_test_data): Likewise.
2283 (ctan_test_data): Likewise.
2284 (ctan_tonearest_test_data): Likewise.
2285 (ctan_towardzero_test_data): Likewise.
2286 (ctan_downward_test_data): Likewise.
2287 (ctan_upward_test_data): Likewise.
2288 (ctanh_test_data): Likewise.
2289 (ctanh_tonearest_test_data): Likewise.
2290 (ctanh_towardzero_test_data): Likewise.
2291 (ctanh_downward_test_data): Likewise.
2292 (ctanh_upward_test_data): Likewise.
2293 (erf_test_data): Likewise.
2294 (erfc_test_data): Likewise.
2295 (exp_test_data): Likewise.
2296 (exp_tonearest_test_data): Likewise.
2297 (exp_towardzero_test_data): Likewise.
2298 (exp_downward_test_data): Likewise.
2299 (exp_upward_test_data): Likewise.
2300 (exp10_test_data): Likewise.
2301 (exp2_test_data): Likewise.
2302 (expm1_test_data): Likewise.
2303 (fabs_test_data): Likewise.
2304 (fdim_test_data): Likewise.
2305 (finite_test_data): Likewise.
2306 (floor_test_data): Likewise.
2307 (fma_test_data): Likewise.
2308 (fma_towardzero_test_data): Likewise.
2309 (fma_downward_test_data): Likewise.
2310 (fma_upward_test_data): Likewise.
2311 (fmax_test_data): Likewise.
2312 (fmin_test_data): Likewise.
2313 (fmod_test_data): Likewise.
2314 (fpclassify_test_data): Likewise.
2315 (frexp_test_data): Likewise.
2316 (gamma_test_data): Likewise.
2317 (hypot_test_data): Likewise.
2318 (ilogb_test_data): Likewise.
2319 (isfinite_test_data): Likewise.
2320 (isgreater_test_data): Likewise.
2321 (isgreaterequal_test_data): Likewise.
2322 (isinf_test_data): Likewise.
2323 (isless_test_data): Likewise.
2324 (islessequal_test_data): Likewise.
2325 (islessgreater_test_data): Likewise.
2326 (isnan_test_data): Likewise.
2327 (isnormal_test_data): Likewise.
2328 (issignaling_test_data): Likewise.
2329 (isunordered_test_data): Likewise.
2330 (j0_test_data): Likewise.
2331 (j1_test_data): Likewise.
2332 (jn_test_data): Likewise.
2333 (ldexp_test_data): Likewise.
2334 (lgamma_test_data): Likewise.
2335 (lrint_test_data): Likewise.
2336 (lrint_tonearest_test_data): Likewise.
2337 (lrint_towardzero_test_data): Likewise.
2338 (lrint_downward_test_data): Likewise.
2339 (lrint_upward_test_data): Likewise.
2340 (llrint_test_data): Likewise.
2341 (llrint_tonearest_test_data): Likewise.
2342 (llrint_towardzero_test_data): Likewise.
2343 (llrint_downward_test_data): Likewise.
2344 (llrint_upward_test_data): Likewise.
2345 (log_test_data): Likewise.
2346 (log10_test_data): Likewise.
2347 (log1p_test_data): Likewise.
2348 (log2_test_data): Likewise.
2349 (logb_test_data): Likewise.
2350 (logb_downward_test_data): Likewise.
2351 (lround_test_data): Likewise.
2352 (llround_test_data): Likewise.
2353 (modf_test_data): Likewise.
2354 (nearbyint_test_data): Likewise.
2355 (nextafter_test_data): Likewise.
2356 (nexttoward_test_data): Likewise.
2357 (pow_test_data): Likewise.
2358 (pow_tonearest_test_data): Likewise.
2359 (pow_towardzero_test_data): Likewise.
2360 (pow_downward_test_data): Likewise.
2361 (pow_upward_test_data): Likewise.
2362 (remainder_test_data): Likewise.
2363 (remainder_tonearest_test_data): Likewise.
2364 (remainder_towardzero_test_data): Likewise.
2365 (remainder_downward_test_data): Likewise.
2366 (remainder_upward_test_data): Likewise.
2367 (remquo_test_data): Likewise.
2368 (rint_test_data): Likewise.
2369 (rint_tonearest_test_data): Likewise.
2370 (rint_towardzero_test_data): Likewise.
2371 (rint_downward_test_data): Likewise.
2372 (rint_upward_test_data): Likewise.
2373 (round_test_data): Likewise.
2374 (scalb_test_data): Likewise.
2375 (scalbn_test_data): Likewise.
2376 (scalbln_test_data): Likewise.
2377 (signbit_test_data): Likewise.
2378 (sin_test_data): Likewise.
2379 (sin_tonearest_test_data): Likewise.
2380 (sin_towardzero_test_data): Likewise.
2381 (sin_downward_test_data): Likewise.
2382 (sin_upward_test_data): Likewise.
2383 (sincos_test_data): Likewise.
2384 (sinh_test_data): Likewise.
2385 (sinh_tonearest_test_data): Likewise.
2386 (sinh_towardzero_test_data): Likewise.
2387 (sinh_downward_test_data): Likewise.
2388 (sinh_upward_test_data): Likewise.
2389 (sqrt_test_data): Likewise.
2390 (tan_test_data): Likewise.
2391 (tan_tonearest_test_data): Likewise.
2392 (tan_towardzero_test_data): Likewise.
2393 (tan_downward_test_data): Likewise.
2394 (tan_upward_test_data): Likewise.
2395 (tanh_test_data): Likewise.
2396 (tgamma_test_data): Likewise.
2397 (trunc_test_data): Likewise.
2398 (y0_test_data): Likewise.
2399 (y1_test_data): Likewise.
2400 (yn_test_data): Likewise.
2401 (significand_test_data): Likewise.
2403 * math/gen-libm-test.pl (@functions): Remove variable.
2404 (generate_testfile): Don't handle START and END lines.
2405 * math/libm-test.inc (START): New macro.
2407 (END_COMPLEX): Likewise.
2408 (acos_test): Use END macro without arguments.
2409 (acos_test_tonearest): Likewise.
2410 (acos_test_towardzero): Likewise.
2411 (acos_test_downward): Likewise.
2412 (acos_test_upward): Likewise.
2413 (acosh_test): Likewise.
2414 (asin_test): Likewise.
2415 (asin_test_tonearest): Likewise.
2416 (asin_test_towardzero): Likewise.
2417 (asin_test_downward): Likewise.
2418 (asin_test_upward): Likewise.
2419 (asinh_test): Likewise.
2420 (atan_test): Likewise.
2421 (atanh_test): Likewise.
2422 (atan2_test): Likewise.
2423 (cabs_test): Likewise.
2424 (cacos_test): Use END_COMPLEX macro without arguments.
2425 (cacosh_test): Likewise.
2426 (carg_test): Use END macro without arguments.
2427 (casin_test): Use END_COMPLEX macro without arguments.
2428 (casinh_test): Likewise.
2429 (catan_test): Likewise.
2430 (catanh_test): Likewise.
2431 (cbrt_test): Use END macro without arguments.
2432 (ccos_test): Use END_COMPLEX macro without arguments.
2433 (ccosh_test): Likewise.
2434 (ceil_test): Use END macro without arguments.
2435 (cexp_test): Use END_COMPLEX macro without arguments.
2436 (cimag_test): Use END macro without arguments.
2437 (clog_test): Use END_COMPLEX macro without arguments.
2438 (clog10_test): Likewise.
2439 (conj_test): Likewise.
2440 (copysign_test): Use END macro without arguments.
2441 (cos_test): Likewise.
2442 (cos_test_tonearest): Likewise.
2443 (cos_test_towardzero): Likewise.
2444 (cos_test_downward): Likewise.
2445 (cos_test_upward): Likewise.
2446 (cosh_test): Likewise.
2447 (cosh_test_tonearest): Likewise.
2448 (cosh_test_towardzero): Likewise.
2449 (cosh_test_downward): Likewise.
2450 (cosh_test_upward): Likewise.
2451 (cpow_test): Use END_COMPLEX macro without arguments.
2452 (cproj_test): Likewise.
2453 (creal_test): Use END macro without arguments.
2454 (csin_test): Use END_COMPLEX macro without arguments.
2455 (csinh_test): Likewise.
2456 (csqrt_test): Likewise.
2457 (ctan_test): Likewise.
2458 (ctan_test_tonearest): Likewise.
2459 (ctan_test_towardzero): Likewise.
2460 (ctan_test_downward): Likewise.
2461 (ctan_test_upward): Likewise.
2462 (ctanh_test): Likewise.
2463 (ctanh_test_tonearest): Likewise.
2464 (ctanh_test_towardzero): Likewise.
2465 (ctanh_test_downward): Likewise.
2466 (ctanh_test_upward): Likewise.
2467 (erf_test): Use END macro without arguments.
2468 (erfc_test): Likewise.
2469 (exp_test): Likewise.
2470 (exp_test_tonearest): Likewise.
2471 (exp_test_towardzero): Likewise.
2472 (exp_test_downward): Likewise.
2473 (exp_test_upward): Likewise.
2474 (exp10_test): Likewise.
2475 (exp2_test): Likewise.
2476 (expm1_test): Likewise.
2477 (fabs_test): Likewise.
2478 (fdim_test): Likewise.
2479 (finite_test): Likewise.
2480 (floor_test): Likewise.
2481 (fma_test): Likewise.
2482 (fma_test_towardzero): Likewise.
2483 (fma_test_downward): Likewise.
2484 (fma_test_upward): Likewise.
2485 (fmax_test): Likewise.
2486 (fmin_test): Likewise.
2487 (fmod_test): Likewise.
2488 (fpclassify_test): Likewise.
2489 (frexp_test): Likewise.
2490 (gamma_test): Likewise.
2491 (hypot_test): Likewise.
2492 (ilogb_test): Likewise.
2493 (isfinite_test): Likewise.
2494 (isgreater_test): Likewise.
2495 (isgreaterequal_test): Likewise.
2496 (isinf_test): Likewise.
2497 (isless_test): Likewise.
2498 (islessequal_test): Likewise.
2499 (islessgreater_test): Likewise.
2500 (isnan_test): Likewise.
2501 (isnormal_test): Likewise.
2502 (issignaling_test): Likewise.
2503 (isunordered_test): Likewise.
2504 (j0_test): Likewise.
2505 (j1_test): Likewise.
2506 (jn_test): Likewise.
2507 (ldexp_test): Likewise.
2508 (lgamma_test): Likewise.
2509 (lrint_test): Likewise.
2510 (lrint_test_tonearest): Likewise.
2511 (lrint_test_towardzero): Likewise.
2512 (lrint_test_downward): Likewise.
2513 (lrint_test_upward): Likewise.
2514 (llrint_test): Likewise.
2515 (llrint_test_tonearest): Likewise.
2516 (llrint_test_towardzero): Likewise.
2517 (llrint_test_downward): Likewise.
2518 (llrint_test_upward): Likewise.
2519 (log_test): Likewise.
2520 (log10_test): Likewise.
2521 (log1p_test): Likewise.
2522 (log2_test): Likewise.
2523 (logb_test): Likewise.
2524 (logb_test_downward): Likewise.
2525 (lround_test): Likewise.
2526 (llround_test): Likewise.
2527 (modf_test): Likewise.
2528 (nearbyint_test): Likewise.
2529 (nextafter_test): Likewise.
2530 (nexttoward_test): Likewise.
2531 (pow_test): Likewise.
2532 (pow_test_tonearest): Likewise.
2533 (pow_test_towardzero): Likewise.
2534 (pow_test_downward): Likewise.
2535 (pow_test_upward): Likewise.
2536 (remainder_test): Likewise.
2537 (remainder_test_tonearest): Likewise.
2538 (remainder_test_towardzero): Likewise.
2539 (remainder_test_downward): Likewise.
2540 (remainder_test_upward): Likewise.
2541 (remquo_test): Likewise.
2542 (rint_test): Likewise.
2543 (rint_test_tonearest): Likewise.
2544 (rint_test_towardzero): Likewise.
2545 (rint_test_downward): Likewise.
2546 (rint_test_upward): Likewise.
2547 (round_test): Likewise.
2548 (scalb_test): Likewise.
2549 (scalbn_test): Likewise.
2550 (scalbln_test): Likewise.
2551 (signbit_test): Likewise.
2552 (sin_test): Likewise.
2553 (sin_test_tonearest): Likewise.
2554 (sin_test_towardzero): Likewise.
2555 (sin_test_downward): Likewise.
2556 (sin_test_upward): Likewise.
2557 (sincos_test): Likewise.
2558 (sinh_test): Likewise.
2559 (sinh_test_tonearest): Likewise.
2560 (sinh_test_towardzero): Likewise.
2561 (sinh_test_downward): Likewise.
2562 (sinh_test_upward): Likewise.
2563 (sqrt_test): Likewise.
2564 (tan_test): Likewise.
2565 (tan_test_tonearest): Likewise.
2566 (tan_test_towardzero): Likewise.
2567 (tan_test_downward): Likewise.
2568 (tan_test_upward): Likewise.
2569 (tanh_test): Likewise.
2570 (tgamma_test): Likewise.
2571 (trunc_test): Likewise.
2572 (y0_test): Likewise.
2573 (y1_test): Likewise.
2574 (yn_test): Likewise.
2575 (significand_test): Likewise.
2577 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2580 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2582 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2585 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2586 __ppc_mdoio and __ppc_mdoom.
2587 * manual/platform.texi: Document new functions __ppc_yield,
2588 __ppc_mdoio and __ppc_mdoom.
2590 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2592 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2593 (main): Mention "tls" pseudo-hwcap is legacy.
2594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2596 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2598 * math/gen-libm-test.pl (parse_args): Output only string of
2599 arguments as text for test name, not full call or descriptions of
2600 tests for extra outputs.
2601 (generate_testfile): Do not pass function name to parse_args.
2602 Generate this_func variable from START.
2603 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2605 (struct test_ff_f_data): Likewise.
2606 (test_ff_f_data_nexttoward): Likewise.
2607 (struct test_fi_f_data): Likewise.
2608 (struct test_fl_f_data): Likewise.
2609 (struct test_if_f_data): Likewise.
2610 (struct test_fff_f_data): Likewise.
2611 (struct test_c_f_data): Likewise.
2612 (struct test_f_f1_data): Likewise. Remove field extra_name.
2613 (struct test_fF_f1_data): Likewise.
2614 (struct test_ffI_f1_data): Likewise.
2615 (struct test_c_c_data): Rename test_name field to arg_str.
2616 (struct test_cc_c_data): Likewise.
2617 (struct test_f_i_data): Likewise.
2618 (struct test_ff_i_data): Likewise.
2619 (struct test_f_l_data): Likewise.
2620 (struct test_f_L_data): Likewise.
2621 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2623 (COMMON_TEST_SETUP): New macro.
2624 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2625 (COMMON_TEST_CLEANUP): Likewise.
2626 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2627 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2629 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2630 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2632 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2633 (RUN_TEST_fff_f): Take argument string. Call new setup and
2635 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2636 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2638 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2639 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2641 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2642 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2644 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2645 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2647 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2648 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2650 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2651 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2653 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2654 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2656 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2657 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2659 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2660 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2662 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2663 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2665 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2666 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2668 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2669 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2671 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2672 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2674 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2675 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2677 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2678 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2680 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2682 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2684 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2685 to _sifields.sigfault.
2686 (si_addr_lsb): Define new macro.
2687 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2691 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2694 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2696 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2698 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2701 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2703 * math/gen-libm-test.pl (parse_args): Do not include expected
2704 result in test name.
2705 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2707 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2709 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2712 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2714 * benchtests/Makefile: Sort function entries.
2716 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2717 tanh, asinh, acosh, atanh.
2718 * benchtests/acos-inputs: New file.
2719 * benchtests/acosh-inputs: New file.
2720 * benchtests/asin-inputs: New file.
2721 * benchtests/asinh-inputs: New file.
2722 * benchtests/atanh-inputs: New file.
2723 * benchtests/cosh-inputs: New file.
2724 * benchtests/log-inputs: New file.
2725 * benchtests/sinh-inputs: New file.
2726 * benchtests/tanh-inputs: New file.
2728 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2731 * posix/tst-getaddrinfo4.c: New test.
2732 * posix/Makefile (tests): Add it.
2734 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2737 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2738 when no services were used.
2739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2740 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2742 2013-05-21 Andreas Schwab <schwab@suse.de>
2745 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2746 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2748 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2749 redundant variable declarations and reallocation of buffer when
2750 parsing as IPv6 address. Always set NSS status when called from
2751 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2752 buffer too small. Correct computation of needed size.
2753 * nss/Makefile (tests): Add test-digits-dots.
2754 * nss/test-digits-dots.c: New test.
2756 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2758 * benchtests/Makefile: Remove instructions for adding
2760 * benchtests/README: New file to explain how to execute and
2761 enhance the benchmark tests.
2763 2013-05-21 Andreas Schwab <schwab@suse.de>
2766 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2767 * setjmp/tst-sigsetjmp.c: New test.
2769 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2771 * sysdeps/x86_64/memset.S (memset): New implementation.
2772 (__bzero): Likewise.
2773 (__memset_tail): New function.
2775 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2777 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2778 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2779 __memcpy_sse2_unaligned ifunc selection.
2780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2781 Add memcpy-sse2-unaligned.S.
2782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2783 Add: __memcpy_sse2_unaligned.
2785 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2789 math_force_eval before restoring floating-point envrionment.
2790 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2795 (__nearbyintl): Use math_force_eval before restoring
2796 floating-point environment.
2797 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2799 * math/gen-libm-test.pl (special_functions): Remove.
2800 (parse_args): Don't handle TEST_extra. Handle functions with no
2802 * math/libm-test.inc (struct test_sincos_data): Replace with
2803 struct test_fFF_11_data.
2804 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2805 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2806 (sincos_test_data): Change element type to struct
2807 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2808 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2809 RUN_TEST_LOOP_sincos.
2810 * math/README.libm-test: Don't mention special handling of
2811 individual functions.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2815 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2816 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2819 * math/gen-libm-test.pl (get_variable): Remove function.
2820 (parse_args): Don't show pointer parameters to call in test
2821 names. Use "extra output N" in test names for extra outputs
2822 rather than naming variables.
2824 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2827 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2828 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2829 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2831 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2833 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2836 * math/gen-libm-test.pl (@tests): Remove variable.
2838 (new_test): Remove function.
2839 (show_exceptions): New function.
2840 (special_functions): Use show_exceptions instead of new_test.
2841 (parse_args): Likewise.
2842 (generate_testfile): Pass only function name in generated call to
2843 print_max_error or print_complex_max_error.
2844 (get_ulps): Do not handle complex tests specially.
2845 (output_test): Rename to ...
2846 (get_all_ulps_for_test): ... this. Return a string rather than
2847 printing to a file. Require ulps to be present.
2848 (output_ulps): Generate arrays rather than #defines.
2849 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2850 (struct ulp_data): New type.
2851 (BUILD_COMPLEX_ULP): Remove macro.
2852 (compare_ulp_data): New function.
2853 (find_ulps): Likewise.
2854 (find_test_ulps): Likewise.
2855 (find_function_ulps): Likewise.
2856 (find_complex_function_ulps): Likewise.
2857 (print_max_error): Determine allowed ulps using
2859 (print_complex_max_error): Determine allowed ulps using
2860 find_complex_function_ulps.
2861 (check_float_internal): Determine max ulps using find_test_ulps.
2862 (check_float): Do not take max_ulp parameter. Update call to
2863 check_float_internal.
2864 (check_complex): Likewise.
2865 (check_int): Do not take max_ulp parameter.
2866 (check_long): Likewise.
2867 (check_bool): Likewise.
2868 (check_longlong): Likewise.
2869 (struct test_f_f_data): Remove max_ulp field.
2870 (struct test_ff_f_data): Likewise.
2871 (struct test_ff_f_data_nexttoward): Likewise.
2872 (struct test_fi_f_data): Likewise.
2873 (struct test_fl_f_data): Likewise.
2874 (struct test_if_f_data): Likewise.
2875 (struct test_fff_f_data): Likewise.
2876 (struct test_c_f_data): Likewise.
2877 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2878 (struct test_fF_f1_data): Likewise.
2879 (struct test_ffI_f1_data): Likewise.
2880 (struct test_c_c_data): Remove max_ulp field.
2881 (struct test_cc_c_data): Likewise.
2882 (struct test_f_i_data): Likewise.
2883 (struct test_ff_i_data): Likewise.
2884 (struct test_f_l_data): Likewise.
2885 (struct test_f_L_data): Likewise.
2886 (struct test_sincos_data): Likewise.
2887 (RUN_TEST_f_f): Do not handle ulps.
2888 (RUN_TEST_LOOP_f_f): Likewise.
2889 (RUN_TEST_2_f): Likewise.
2890 (RUN_TEST_LOOP_2_f): Likewise.
2891 (RUN_TEST_fff_f): Likewise.
2892 (RUN_TEST_LOOP_fff_f): Likewise.
2893 (RUN_TEST_c_f): Likewise.
2894 (RUN_TEST_LOOP_c_f): Likewise.
2895 (RUN_TEST_f_f1): Likewise.
2896 (RUN_TEST_LOOP_f_f1): Likewise.
2897 (RUN_TEST_fF_f1): Likewise.
2898 (RUN_TEST_LOOP_fF_f1): Likewise.
2899 (RUN_TEST_fI_f1): Likewise.
2900 (RUN_TEST_LOOP_fI_f1): Likewise.
2901 (RUN_TEST_ffI_f1): Likewise.
2902 (RUN_TEST_LOOP_ffI_f1): Likewise.
2903 (RUN_TEST_c_c): Likewise.
2904 (RUN_TEST_LOOP_c_c): Likewise.
2905 (RUN_TEST_cc_c): Likewise.
2906 (RUN_TEST_LOOP_cc_c): Likewise.
2907 (RUN_TEST_f_i): Likewise.
2908 (RUN_TEST_LOOP_f_i): Likewise.
2909 (RUN_TEST_f_i_tg): Likewise.
2910 (RUN_TEST_LOOP_f_i_tg): Likewise.
2911 (RUN_TEST_ff_i_tg): Likewise.
2912 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2913 (RUN_TEST_f_b): Likewise.
2914 (RUN_TEST_LOOP_f_b): Likewise.
2915 (RUN_TEST_f_b_tg): Likewise.
2916 (RUN_TEST_LOOP_f_b_tg): Likewise.
2917 (RUN_TEST_f_l): Likewise.
2918 (RUN_TEST_LOOP_f_l): Likewise.
2919 (RUN_TEST_f_L): Likewise.
2920 (RUN_TEST_LOOP_f_L): Likewise.
2921 (RUN_TEST_sincos): Likewise.
2922 (RUN_TEST_LOOP_sincos): Likewise.
2924 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2928 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2929 main case of finite arguments, set rounding mode to FE_TONEAREST
2930 and discard exceptions.
2931 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2933 (remainder_tonearest_test_data): New variable.
2934 (remainder_test_tonearest): New function.
2935 (remainder_towardzero_test_data): New variable.
2936 (remainder_test_towardzero): New function.
2937 (remainder_downward_test_data): New variable.
2938 (remainder_test_downward): New function.
2939 (remainder_upward_test_data): New variable.
2940 (remainder_test_upward): New function.
2941 (main): Call the new test functions.
2943 * math/libm-test.inc (struct test_f_f1_data): Remove field
2945 (struct test_fF_f1_data): Likewise.
2946 (struct test_ffI_f1_data): Likewise.
2947 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2948 based on value of EXTRA_EXPECTED.
2949 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2950 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2951 EXTRA_VAR based on value of EXTRA_EXPECTED.
2952 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2953 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2954 EXTRA_VAR based on value of EXTRA_EXPECTED.
2955 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2956 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2957 EXTRA_VAR based on value of EXTRA_EXPECTED.
2958 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2959 * math/gen-libm-test.pl (parse_args): Don't output initializers
2960 for extra output values.
2962 * math/libm-test.inc (check_int): Expect result to be exactly
2963 equal to expected value and do not handle ulps.
2964 (check_long): Likewise.
2965 (check_longlong): Likewise.
2967 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2969 (cimag_test_data): Likewise.
2970 (conj_test_data): Likewise.
2971 (copysign_test_data): Likewise.
2972 (cproj_test_data): Likewise.
2973 (creal_test_data): Likewise.
2974 (fabs_test_data): Likewise.
2975 (fdim_test_data): Likewise.
2976 (finite_test_data): Likewise.
2977 (floor_test_data): Likewise.
2978 (fmax_test_data): Likewise.
2979 (fmin_test_data): Likewise.
2980 (fmod_test_data): Likewise.
2981 (fpclassify_test_data): Likewise.
2982 (frexp_test_data): Likewise.
2983 (ilogb_test_data): Likewise.
2984 (isfinite_test_data): Likewise.
2985 (isgreater_test_data): Likewise.
2986 (isgreaterequal_test_data): Likewise.
2987 (isinf_test_data): Likewise.
2988 (isless_test_data): Likewise.
2989 (islessequal_test_data): Likewise.
2990 (islessgreater_test_data): Likewise.
2991 (isnan_test_data): Likewise.
2992 (isnormal_test_data): Likewise.
2993 (issignaling_test_data): Likewise.
2994 (isunordered_test_data): Likewise.
2995 (ldexp_test_data): Likewise.
2996 (lrint_test_data): Likewise.
2997 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2998 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2999 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3000 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3001 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3002 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3004 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3005 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3006 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3007 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3009 (lrint_downward_test_data): Test for "inexact" exceptions.
3010 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3011 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3012 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3014 (lrint_upward_test_data): Test for "inexact" exceptions.
3015 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3017 (llrint_test_data): Test for "inexact" exceptions.
3018 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3019 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3020 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3021 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3022 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3023 (llrint_downward_test_data): Test for "inexact" exceptions.
3024 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3025 (llrint_upward_test_data): Test for "inexact" exceptions.
3026 (logb_test_data): Likewise.
3027 (logb_downward_test_data): Likewise.
3028 (nextafter_test_data): Likewise.
3029 (nexttoward_test_data): Likewise.
3030 (remainder_test_data): Likewise.
3031 (remquo_test_data): Likewise.
3032 (scalbn_test_data): Likewise.
3033 (scalbln_test_data): Likewise.
3034 (signbit_test_data): Likewise.
3035 (sqrt_test_data): Likewise.
3036 (significand_test_data): Likewise.
3038 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3041 * benchtests/bench-modf.c (struct args): Mark arg0 as
3043 * scripts/bench.pl: Mark members of struct args as volatile.
3045 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3049 negative infinity on POWER6 or lower.
3050 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3052 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3055 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3056 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3057 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3058 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3059 (_FP_SETQNAN): New macro.
3060 (_FP_SETQNAN_SEMIRAW): Likewise.
3061 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3062 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3063 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3064 (FP_EXTEND): Use _FP_FRAC_SNANP.
3065 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3066 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3068 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3070 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3073 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3075 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3076 with DIVIDE_BY_ZERO_EXCEPTION.
3077 (gamma_test_data): Likewise.
3078 (lgamma_test_data): Likewise.
3079 (log_test_data): Likewise.
3080 (log10_test_data): Likewise.
3081 (log2_test_data): Likewise.
3082 (tgamma_test_data): Likewise.
3084 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3085 (acos_test_tonearest): Likewise.
3086 (acos_test_towardzero): Likewise.
3087 (acos_test_downward): Likewise.
3088 (acos_test_upward): Likewise.
3089 (acosh_test): Likewise.
3090 (asin_test): Likewise.
3091 (asin_test_tonearest): Likewise.
3092 (asin_test_towardzero): Likewise.
3093 (asin_test_downward): Likewise.
3094 (asin_test_upward): Likewise.
3095 (asinh_test): Likewise.
3096 (atan_test): Likewise.
3097 (atanh_test): Likewise.
3098 (atan2_test): Likewise.
3099 (cabs_test): Likewise.
3100 (cacos_test): Likewise.
3101 (cacosh_test): Likewise.
3102 (casin_test): Likewise.
3103 (casinh_test): Likewise.
3104 (catan_test): Likewise.
3105 (catanh_test): Likewise.
3106 (cbrt_test): Likewise.
3107 (ccos_test): Likewise.
3108 (ccosh_test): Likewise.
3109 (cexp_test): Likewise.
3110 (clog_test): Likewise.
3111 (clog10_test): Likewise.
3112 (cos_test): Likewise.
3113 (cos_test_tonearest): Likewise.
3114 (cos_test_towardzero): Likewise.
3115 (cos_test_downward): Likewise.
3116 (cos_test_upward): Likewise.
3117 (cosh_test): Likewise.
3118 (cosh_test_tonearest): Likewise.
3119 (cosh_test_towardzero): Likewise.
3120 (cosh_test_downward): Likewise.
3121 (cosh_test_upward): Likewise.
3122 (cpow_test): Likewise.
3123 (csin_test): Likewise.
3124 (csinh_test): Likewise.
3125 (csqrt_test): Likewise.
3126 (ctan_test): Likewise.
3127 (ctan_test_tonearest): Likewise.
3128 (ctan_test_towardzero): Likewise.
3129 (ctan_test_downward): Likewise.
3130 (ctan_test_upward): Likewise.
3131 (ctanh_test): Likewise.
3132 (ctanh_test_tonearest): Likewise.
3133 (ctanh_test_towardzero): Likewise.
3134 (ctanh_test_downward): Likewise.
3135 (ctanh_test_upward): Likewise.
3136 (erf_test): Likewise.
3137 (erfc_test): Likewise.
3138 (exp_test): Likewise.
3139 (exp_test_tonearest): Likewise.
3140 (exp_test_towardzero): Likewise.
3141 (exp_test_downward): Likewise.
3142 (exp_test_upward): Likewise.
3143 (exp10_test): Likewise.
3144 (exp2_test): Likewise.
3145 (expm1_test): Likewise.
3146 (fmod_test): Likewise.
3147 (gamma_test): Likewise.
3148 (hypot_test): Likewise.
3149 (j0_test): Likewise.
3150 (j1_test): Likewise.
3151 (jn_test): Likewise.
3152 (lgamma_test): Likewise.
3153 (log_test): Likewise.
3154 (log10_test): Likewise.
3155 (log1p_test): Likewise.
3156 (log2_test): Likewise.
3157 (logb_test_downward): Likewise.
3158 (pow_test): Likewise.
3159 (pow_test_tonearest): Likewise.
3160 (pow_test_towardzero): Likewise.
3161 (pow_test_downward): Likewise.
3162 (pow_test_upward): Likewise.
3163 (remainder_test): Likewise.
3164 (remquo_test): Likewise.
3165 (sin_test): Likewise.
3166 (sin_test_tonearest): Likewise.
3167 (sin_test_towardzero): Likewise.
3168 (sin_test_downward): Likewise.
3169 (sin_test_upward): Likewise.
3170 (sincos_test): Likewise.
3171 (sinh_test): Likewise.
3172 (sinh_test_tonearest): Likewise.
3173 (sinh_test_towardzero): Likewise.
3174 (sinh_test_downward): Likewise.
3175 (sinh_test_upward): Likewise.
3176 (sqrt_test): Likewise.
3177 (tan_test): Likewise.
3178 (tan_test_tonearest): Likewise.
3179 (tan_test_towardzero): Likewise.
3180 (tan_test_downward): Likewise.
3181 (tan_test_upward): Likewise.
3182 (tanh_test): Likewise.
3183 (tgamma_test): Likewise.
3184 (y0_test): Likewise.
3185 (y1_test): Likewise.
3186 (yn_test): Likewise.
3188 * math/gen-libm-test.pl (adjust_arg): Remove function.
3189 (special_function): Remove argument $in_func. Only handle
3190 generating output for tables of tests, not inside functions.
3191 (parse_args): Likewise.
3192 (generate_testfile): Remove variable $in_func. Update call to
3194 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3195 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3196 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3197 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3198 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3199 (MAX_VALUE_INIT): Rename macro to max_value.
3200 (MIN_VALUE_INIT): Rename macro to min_value.
3201 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3202 (plus_zero): Remove variable.
3203 (minus_zero): Likewise.
3204 (plus_infty): Likewise.
3205 (minus_infty): Likewise.
3206 (qnan_value): Likewise.
3207 (max_value): Likewise.
3208 (min_value): Likewise.
3209 (min_subnorm_value): Likewise.
3211 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3213 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3214 uint64_t or uint32_t usage.
3215 * crypt/sha256-block.c: Likewise.
3216 * crypt/sha256-crypt.c: Likewise.
3217 * crypt/sha256.c: Likewise.
3218 * crypt/sha512-block.c: Likewise.
3219 * crypt/sha512-crypt.c: Likewise.
3220 * crypt/sha512.c: Likewise.
3221 * debug/backtrace-tst.c: Likewise.
3222 * debug/pcprofiledump.c: Likewise.
3223 * elf/cache.c: Likewise.
3224 * elf/dl-cache.c: Likewise.
3225 * elf/dl-misc.c: Likewise.
3226 * elf/dl-profile.c: Likewise.
3227 * elf/dl-support.c: Likewise.
3228 * elf/ldconfig.c: Likewise.
3229 * elf/sprof.c: Likewise.
3230 * iconv/dummy-repertoire.c: Likewise.
3231 * iconv/iconv_charmap.c: Likewise.
3232 * iconv/skeleton.c: Likewise.
3233 * iconvdata/8bit-generic.c: Likewise.
3234 * iconvdata/cp737.h: Likewise.
3235 * iconvdata/cp775.h: Likewise.
3236 * iconvdata/ibm1008.h: Likewise.
3237 * iconvdata/ibm1025.h: Likewise.
3238 * iconvdata/ibm1046.h: Likewise.
3239 * iconvdata/ibm1097.h: Likewise.
3240 * iconvdata/ibm1112.h: Likewise.
3241 * iconvdata/ibm1122.h: Likewise.
3242 * iconvdata/ibm1123.h: Likewise.
3243 * iconvdata/ibm1124.h: Likewise.
3244 * iconvdata/ibm1129.h: Likewise.
3245 * iconvdata/ibm1130.h: Likewise.
3246 * iconvdata/ibm1132.h: Likewise.
3247 * iconvdata/ibm1133.h: Likewise.
3248 * iconvdata/ibm1137.h: Likewise.
3249 * iconvdata/ibm1140.h: Likewise.
3250 * iconvdata/ibm1141.h: Likewise.
3251 * iconvdata/ibm1142.h: Likewise.
3252 * iconvdata/ibm1143.h: Likewise.
3253 * iconvdata/ibm1144.h: Likewise.
3254 * iconvdata/ibm1145.h: Likewise.
3255 * iconvdata/ibm1146.h: Likewise.
3256 * iconvdata/ibm1147.h: Likewise.
3257 * iconvdata/ibm1148.h: Likewise.
3258 * iconvdata/ibm1149.h: Likewise.
3259 * iconvdata/ibm1153.h: Likewise.
3260 * iconvdata/ibm1154.h: Likewise.
3261 * iconvdata/ibm1155.h: Likewise.
3262 * iconvdata/ibm1156.h: Likewise.
3263 * iconvdata/ibm1157.h: Likewise.
3264 * iconvdata/ibm1158.h: Likewise.
3265 * iconvdata/ibm1160.h: Likewise.
3266 * iconvdata/ibm1161.h: Likewise.
3267 * iconvdata/ibm1162.h: Likewise.
3268 * iconvdata/ibm1163.h: Likewise.
3269 * iconvdata/ibm1164.h: Likewise.
3270 * iconvdata/ibm1166.h: Likewise.
3271 * iconvdata/ibm1167.h: Likewise.
3272 * iconvdata/ibm12712.h: Likewise.
3273 * iconvdata/ibm1390.h: Likewise.
3274 * iconvdata/ibm1399.h: Likewise.
3275 * iconvdata/ibm16804.h: Likewise.
3276 * iconvdata/ibm4517.h: Likewise.
3277 * iconvdata/ibm4899.h: Likewise.
3278 * iconvdata/ibm4909.h: Likewise.
3279 * iconvdata/ibm4971.h: Likewise.
3280 * iconvdata/ibm5347.h: Likewise.
3281 * iconvdata/ibm803.h: Likewise.
3282 * iconvdata/ibm856.h: Likewise.
3283 * iconvdata/ibm901.h: Likewise.
3284 * iconvdata/ibm902.h: Likewise.
3285 * iconvdata/ibm9030.h: Likewise.
3286 * iconvdata/ibm9066.h: Likewise.
3287 * iconvdata/ibm921.h: Likewise.
3288 * iconvdata/ibm922.h: Likewise.
3289 * iconvdata/ibm9448.h: Likewise.
3290 * iconvdata/isiri-3342.h: Likewise.
3291 * iconvdata/jis0201.h: Likewise.
3292 * include/link.h: Likewise.
3293 * include/netdb.h: Likewise.
3294 * inet/check_native.c: Likewise.
3295 * inet/check_pf.c: Likewise.
3296 * inet/getipv4sourcefilter.c: Likewise.
3297 * inet/getnameinfo.c: Likewise.
3298 * inet/getsourcefilter.c: Likewise.
3299 * inet/htonl.c: Likewise.
3300 * inet/setipv4sourcefilter.c: Likewise.
3301 * inet/setsourcefilter.c: Likewise.
3302 * inet/test-inet6_opt.c: Likewise.
3303 * inet/tst-network.c: Likewise.
3304 * locale/C-collate.c: Likewise.
3305 * locale/C-ctype.c: Likewise.
3306 * locale/C-time.c: Likewise.
3307 * locale/C-translit.h: Likewise.
3308 * locale/loadarchive.c: Likewise.
3309 * locale/programs/3level.h: Likewise.
3310 * locale/programs/charmap.c: Likewise.
3311 * locale/programs/charmap.h: Likewise.
3312 * locale/programs/ld-address.c: Likewise.
3313 * locale/programs/ld-collate.c: Likewise.
3314 * locale/programs/ld-ctype.c: Likewise.
3315 * locale/programs/ld-identification.c: Likewise.
3316 * locale/programs/ld-measurement.c: Likewise.
3317 * locale/programs/ld-messages.c: Likewise.
3318 * locale/programs/ld-monetary.c: Likewise.
3319 * locale/programs/ld-name.c: Likewise.
3320 * locale/programs/ld-numeric.c: Likewise.
3321 * locale/programs/ld-paper.c: Likewise.
3322 * locale/programs/ld-telephone.c: Likewise.
3323 * locale/programs/ld-time.c: Likewise.
3324 * locale/programs/linereader.c: Likewise.
3325 * locale/programs/locale.c: Likewise.
3326 * locale/programs/locarchive.c: Likewise.
3327 * locale/programs/locfile.h: Likewise.
3328 * locale/programs/repertoire.c: Likewise.
3329 * locale/programs/simple-hash.c: Likewise.
3330 * locale/programs/simple-hash.h: Likewise.
3331 * malloc/memusage.c: Likewise.
3332 * malloc/memusagestat.c: Likewise.
3333 * nis/nis_defaults.c: Likewise.
3334 * nis/nis_hash.c: Likewise.
3335 * nis/nis_print.c: Likewise.
3336 * nis/nis_xdr.c: Likewise.
3337 * nscd/connections.c: Likewise.
3338 * nscd/hstcache.c: Likewise.
3339 * nscd/nscd_gethst_r.c: Likewise.
3340 * nscd/nscd_getserv_r.c: Likewise.
3341 * nscd/nscd_helper.c: Likewise.
3342 * nscd/servicescache.c: Likewise.
3343 * nss/makedb.c: Likewise.
3344 * nss/nss_db/db-XXX.c: Likewise.
3345 * nss/nss_db/db-initgroups.c: Likewise.
3346 * nss/nss_db/db-netgrp.c: Likewise.
3347 * nss/nss_files/files-network.c: Likewise.
3348 * nss/nss_files/files-parse.c: Likewise.
3349 * posix/bug-regex5.c: Likewise.
3350 * posix/fnmatch_loop.c: Likewise.
3351 * posix/regcomp.c: Likewise.
3352 * posix/regexec.c: Likewise.
3353 * posix/tst-rfc3484-2.c: Likewise.
3354 * posix/tst-rfc3484-3.c: Likewise.
3355 * posix/tst-rfc3484.c: Likewise.
3356 * resolv/nss_dns/dns-canon.c: Likewise.
3357 * resolv/nss_dns/dns-network.c: Likewise.
3358 * resolv/res_init.c: Likewise.
3359 * resolv/res_mkquery.c: Likewise.
3360 * resolv/tst-aton.c: Likewise.
3361 * stdlib/cxa_atexit.c: Likewise.
3362 * stdlib/cxa_finalize.c: Likewise.
3363 * stdlib/gen-fpioconst.c: Likewise.
3364 * stdlib/strtol_l.c: Likewise.
3365 * string/tst-endian.c: Likewise.
3366 * sunrpc/auth_des.c: Likewise.
3367 * sunrpc/clnt_udp.c: Likewise.
3368 * sunrpc/rtime.c: Likewise.
3369 * sunrpc/svcauth_des.c: Likewise.
3370 * sunrpc/xdr.c: Likewise.
3371 * sunrpc/xdr_intXX_t.c: Likewise.
3372 * sunrpc/xdr_rec.c: Likewise.
3373 * sysdeps/generic/ldconfig.h: Likewise.
3374 * sysdeps/generic/ldsodefs.h: Likewise.
3375 * sysdeps/generic/memusage.h: Likewise.
3376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3386 * sysdeps/posix/getaddrinfo.c: Likewise.
3387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3389 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3391 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3392 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3393 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3394 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3395 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3397 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3398 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3399 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3400 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3402 * sysdeps/x86_64/dl-tls.h: Likewise.
3403 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3404 * time/alt_digit.c: Likewise.
3405 * time/era.c: Likewise.
3406 * wcsmbs/tst-c16c32-1.c: Likewise.
3408 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3410 * math/libm-test.inc (struct test_sincos_data): New type.
3411 (RUN_TEST_LOOP_sincos): New macro.
3412 (sincos_test_data): New variable.
3413 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3415 2013-05-16 Richard Henderson <rth@redhat.com>
3417 * math/atest-exp2.c (LIMB64): New macro.
3418 (CONSTSZ): New macro.
3419 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3421 (print_mpn_fp): ... to function scope.
3422 (read_mpn_hex): Remove.
3424 (exp2_mpn): Use mp_log2.
3425 (main): Use mp_exp1.
3427 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3429 * math/libm-test.inc: Remove comment about not testing "inexact"
3431 (INEXACT_EXCEPTION): New macro.
3432 (NO_INEXACT_EXCEPTION): Likewise.
3433 (INVALID_EXCEPTION_OK): Update value.
3434 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3435 (OVERFLOW_EXCEPTION_OK): Likewise.
3436 (UNDERFLOW_EXCEPTION_OK): Likewise.
3437 (IGNORE_ZERO_INF_SIGN): Likewise.
3438 (ERRNO_UNCHANGED): Likewise.
3439 (ERRNO_EDOM): Likewise.
3440 (ERRNO_ERANGE): Likewise.
3441 (test_exceptions): Handle testing "inexact" exceptions.
3442 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3443 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3444 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3445 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3447 (rint_towardzero_test_data): Likewise.
3448 (rint_downward_test_data): Likewise.
3449 (rint_upward_test_data): Likewise.
3451 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3452 with OVERFLOW_EXCEPTION.
3453 (exp10_test_data): Likewise.
3454 (exp2_test_data): Likewise.
3455 (expm1_test_data): Likewise.
3456 (lgamma_test_data): Likewise.
3457 (pow_test_data): Likewise.
3458 (tgamma_test_data): Likewise.
3459 (yn_test_data): Remove duplicate test of overflow.
3461 * math/libm-test.inc (struct test_cc_c_data): New type.
3462 (RUN_TEST_LOOP_cc_c): New macro.
3463 (cpow_test_data): New variable.
3464 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3466 * math/libm-test.inc (struct test_f_L_data): New type.
3467 (RUN_TEST_LOOP_f_L): New macro.
3468 (llrint_test_data): New variable.
3469 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3470 (llrint_tonearest_test_data): New variable.
3471 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3472 (llrint_towardzero_test_data): New variable.
3473 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3474 (llrint_downward_test_data): New variable.
3475 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3476 (llrint_upward_test_data): New variable.
3477 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3478 (llround_test_data): New variable.
3479 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3481 2013-05-13 Peter Collingbourne <pcc@google.com>
3483 * math/atest-exp2.c (get_log2): Remove const attribute.
3485 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3487 * math/libm-test.inc (struct test_f_l_data): New type.
3488 (RUN_TEST_LOOP_f_l): New macro.
3489 (lrint_test_data): New variable.
3490 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3491 (lrint_tonearest_test_data): New variable.
3492 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3493 (lrint_towardzero_test_data): New variable.
3494 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3495 (lrint_downward_test_data): New variable.
3496 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3497 (lrint_upward_test_data): New variable.
3498 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3499 (lround_test_data): New variable.
3500 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3502 2013-05-15 Peter Collingbourne <pcc@google.com>
3504 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3505 (EXTRACT_WORDS64) Use where appropriate.
3506 (INSERT_WORDS64) Likewise.
3508 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3509 constraints with x constraints.
3510 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3512 * malloc/obstack.c (_obstack_compat): Add initializer.
3514 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3517 si_trapno and add si_addr_lsb to _sifields.sigfault.
3518 (si_trapno): Remove macro.
3519 (si_addr_lsb): Define new macro.
3520 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3522 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3524 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3525 instead of TEST_f_l.
3526 (llrint_test_tonearest): Likewise.
3527 (llrint_test_towardzero): Likewise.
3528 (llrint_test_downward): Likewise.
3529 (llrint_test_upward): Likewise.
3530 (llround_test): Likewise.
3532 * math/libm-test.inc (struct test_f_i_data): Add comment.
3533 (RUN_TEST_LOOP_f_b): New macro.
3534 (RUN_TEST_LOOP_f_b_tg): Likewise.
3535 (finite_test_data): New variable.
3536 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3537 (isfinite_test_data): New variable.
3538 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3539 (isinf_test_data): New variable.
3540 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3541 (isnan_test_data): New variable.
3542 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3543 (isnormal_test_data): New variable.
3544 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3545 (issignaling_test_data): New variable.
3546 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3547 (signbit_test_data): New variable.
3548 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3550 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3551 with INVALID_EXCEPTION.
3552 (acosh_test_data): Likewise.
3553 (asin_test_data): Likewise.
3554 (atanh_test_data): Likewise.
3555 (fmod_test_data): Likewise.
3556 (log_test_data): Likewise.
3557 (log10_test_data): Likewise.
3558 (log2_test_data): Likewise.
3559 (pow_test_data): Likewise.
3560 (sqrt_test_data): Likewise.
3561 (y0_test_data): Likewise.
3562 (y1_test_data): Likewise.
3563 (yn_test_data): Likewise.
3565 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3568 * math/libm-test.inc (struct test_ff_i_data): New type.
3569 (RUN_TEST_LOOP_ff_i_tg): New macro.
3570 (isgreater_test_data): New variable.
3571 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3572 (isgreaterequal_test_data): New variable.
3573 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3574 (isless_test_data): New variable.
3575 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3576 (islessequal_test_data): New variable.
3577 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3578 (islessgreater_test_data): New variable.
3579 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3580 (isunordered_test_data): New variable.
3581 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3583 2013-05-14 David S. Miller <davem@davemloft.net>
3585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3587 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3589 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3591 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3593 (struct test_f_i_data): Change type of max_ulp to int.
3595 * math/libm-test.inc (test_ffI_f1_data): New type.
3596 (RUN_TEST_LOOP_ffI_f1): New macro.
3597 (remquo_test_data): New variable.
3598 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3600 * setjmp/tst-setjmp-fp.c: New file.
3601 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3602 (link-libm): New variable.
3603 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3605 * math/libm-test.inc (struct test_f_i_data): New type.
3606 (RUN_TEST_LOOP_f_i): New macro.
3607 (RUN_TEST_LOOP_f_i_tg): Likewise.
3608 (fpclassify_test_data): New variable.
3609 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3610 (ilogb_test_data): New variable.
3611 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3613 * math/libm-test.inc (scalbln_test): Correct function name in END
3616 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3617 (RUN_TEST_LOOP_fI_f1): New macro.
3618 (frexp_test_data): New variable.
3619 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3621 * math/libm-test.inc (struct test_fF_f1_data): New type.
3622 (RUN_TEST_LOOP_fF_f1): New macro.
3623 (modf_test_data): New variable.
3624 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3626 * math/libm-test.inc (struct test_f_f1_data): New type.
3627 (RUN_TEST_LOOP_f_f1): New macro.
3628 (gamma_test_data): New variable.
3629 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3630 (lgamma_test_data): New variable.
3631 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3633 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3636 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3637 (main): Comment "tls" pseudo-hwcap.
3639 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3641 * math/libm-test.inc (struct test_fl_f_data): New type.
3642 (RUN_TEST_LOOP_fl_f): New variable.
3643 (scalbln_test_data): New variable.
3644 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3646 * math/libm-test.inc (struct test_fi_f_data): New type.
3647 (RUN_TEST_LOOP_fi_f): New macro.
3648 (ldexp_test_data): New variable.
3649 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3650 (scalbn_test_data): New variable.
3651 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3653 * math/libm-test.inc (struct test_c_f_data): New type.
3654 (RUN_TEST_LOOP_c_f): New macro.
3655 (cabs_test_data): New variable.
3656 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3657 (carg_test_data): New variable.
3658 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3659 (cimag_test_data): New variable.
3660 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3661 (creal_test_data): New variable.
3662 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3664 * math/libm-test.inc (struct test_if_f_data): New type.
3665 (RUN_TEST_LOOP_if_f): New macro.
3666 (jn_test_data): New variable.
3667 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3668 (yn_test_data): New variable.
3669 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3671 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3673 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3676 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3678 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3680 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3681 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3682 (bench-deps): Add bench-timing.h.
3683 * benchtests-bench-skeleton.c: Include bench-timing.h.
3684 (main): Use TIMING_* macros instead of clock_gettime.
3685 * benchtests/bench-timing.h: New file.
3688 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3689 Renamed from _LIB_VERSION.
3690 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3692 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3694 * math/libm-test.inc (struct test_fff_f_data): New type.
3695 (RUN_TEST_LOOP_fff_f): New macro.
3696 (fma_test_data): New variable.
3697 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3698 (fma_towardzero_test_data): New variable.
3699 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3700 (fma_downward_test_data): New variable.
3701 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3702 (fma_upward_test_data): New variable.
3703 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3705 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3706 (struct test_c_c_data): New type.
3707 (RUN_TEST_LOOP_c_c): New macro.
3708 (cacos_test_data): New variable.
3709 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3710 (cacosh_test_data): New variable.
3711 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3712 (casin_test_data): New variable.
3713 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3714 (casinh_test_data): New variable.
3715 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3716 (catan_test_data): New variable.
3717 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3718 (catanh_test_data): New variable.
3719 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3720 (ccos_test_data): New variable.
3721 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3722 (ccosh_test_data): New variable.
3723 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3724 (cexp_test_data): New variable.
3725 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3726 (clog_test_data): New variable.
3727 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3728 (clog10_test_data): New variable.
3729 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3730 (conj_test_data): New variable.
3731 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3732 (cproj_test_data): New variable.
3733 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3734 (csin_test_data): New variable.
3735 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3736 (csinh_test_data): New variable.
3737 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3738 (csqrt_test_data): New variable.
3739 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3740 (ctan_test_data): New variable.
3741 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3742 (ctan_tonearest_test_data): New variable.
3743 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3744 (ctan_towardzero_test_data): New variable.
3745 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3746 (ctan_downward_test_data): New variable.
3747 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3748 (ctan_upward_test_data): New variable.
3749 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3750 (ctanh_test_data): New variable.
3751 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3752 (ctanh_tonearest_test_data): New variable.
3753 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3754 (ctanh_towardzero_test_data): New variable.
3755 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3756 (ctanh_downward_test_data): New variable.
3757 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3758 (ctanh_upward_test_data): New variable.
3759 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3760 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3763 * math/libm-test.inc (struct test_ff_f_data): New type.
3764 (struct test_ff_f_data_nexttoward): Likewise.
3765 (RUN_TEST_LOOP_2_f): New macro.
3766 (RUN_TEST_LOOP_ff_f): Likewise.
3767 (atan2_test_data): New variable.
3768 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3769 (copysign_test_data): New variable.
3770 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3771 (fdim_test_data): New variable.
3772 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3773 (fmax_test_data): New variable.
3774 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3775 (fmin_test_data): New variable.
3776 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3777 (fmod_test_data): New variable.
3778 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3779 (hypot_test_data): New variable.
3780 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3781 (nextafter_test_data): New variable.
3782 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3783 (nexttoward_test_data): New variable.
3784 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3785 (pow_test_data): New variable.
3786 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3787 (pow_tonearest_test_data): New variable.
3788 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3789 (pow_towardzero_test_data): New variable.
3790 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3791 (pow_downward_test_data): New variable.
3792 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3793 (pow_upward_test_data): New variable.
3794 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3795 (remainder_test_data): New variable.
3796 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3797 (scalb_test_data): New variable.
3798 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3803 * math/libm-test.inc (fma_test): Use max_value instead of local
3805 (nextafter_test): Likewise.
3807 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3808 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3809 (acos_downward_test_data): New variable.
3810 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3811 (acos_upward_test_data): New variable.
3812 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3813 (acosh_test_data): New variable.
3814 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3815 (asin_test_data): New variable.
3816 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3817 (asin_tonearest_test_data): New variable.
3818 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3819 (asin_towardzero_test_data): New variable.
3820 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3821 (asin_downward_test_data): New variable.
3822 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3823 (asin_upward_test_data): New variable.
3824 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3825 (asinh_test_data): New variable.
3826 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3827 (atan_test_data): New variable.
3828 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3829 (atanh_test_data): New variable.
3830 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3831 (cbrt_test_data): New variable.
3832 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3833 (ceil_test_data): New variable.
3834 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3835 (cos_test_data): New variable.
3836 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3837 (cos_tonearest_test_data): New variable.
3838 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3839 (cos_towardzero_test_data): New variable.
3840 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3841 (cos_downward_test_data): New variable.
3842 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3843 (cos_upward_test_data): New variable.
3844 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3845 (cosh_test_data): New variable.
3846 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3847 (cosh_tonearest_test_data): New variable.
3848 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3849 (cosh_towardzero_test_data): New variable.
3850 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3851 (cosh_downward_test_data): New variable.
3852 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3853 (cosh_upward_test_data): New variable.
3854 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3855 (erf_test_data): New variable.
3856 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3857 (erfc_test_data): New variable.
3858 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3859 (exp_test_data): New variable.
3860 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3861 (exp_tonearest_test_data): New variable.
3862 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3863 (exp_towardzero_test_data): New variable.
3864 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3865 (exp_downward_test_data): New variable.
3866 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3867 (exp_upward_test_data): New variable.
3868 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3869 (exp10_test_data): New variable.
3870 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3871 (exp2_test_data): New variable.
3872 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3873 (expm1_test_data): New variable.
3874 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3875 (fabs_test_data): New variable.
3876 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3877 (floor_test_data): New variable.
3878 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3879 (j0_test_data): New variable.
3880 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3881 (j1_test_data): New variable.
3882 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3883 (log_test_data): New variable.
3884 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3885 (log10_test_data): New variable.
3886 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3887 (log1p_test_data): New variable.
3888 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3889 (log2_test_data): New variable.
3890 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3891 (logb_test_data): New variable.
3892 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3893 (logb_downward_test_data): New variable.
3894 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3895 (nearbyint_test_data): New variable.
3896 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3897 (rint_test_data): New variable.
3898 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3899 (rint_tonearest_test_data): New variable.
3900 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3901 (rint_towardzero_test_data): New variable.
3902 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3903 (rint_downward_test_data): New variable.
3904 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3905 (rint_upward_test_data): New variable.
3906 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3907 (round_test_data): New variable.
3908 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3909 (sin_test_data): New variable.
3910 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3911 (sin_tonearest_test_data): New variable.
3912 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3913 (sin_towardzero_test_data): New variable.
3914 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3915 (sin_downward_test_data): New variable.
3916 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3917 (sin_upward_test_data): New variable.
3918 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3919 (sinh_test_data): New variable.
3920 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3921 (sinh_tonearest_test_data): New variable.
3922 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3923 (sinh_towardzero_test_data): New variable.
3924 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3925 (sinh_downward_test_data): New variable.
3926 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3927 (sinh_upward_test_data): New variable.
3928 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3929 (sqrt_test_data): New variable.
3930 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3931 (tan_test_data): New variable.
3932 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3933 (tan_tonearest_test_data): New variable.
3934 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3935 (tan_towardzero_test_data): New variable.
3936 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3937 (tan_downward_test_data): New variable.
3938 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3939 (tan_upward_test_data): New variable.
3940 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3941 (tanh_test_data): New variable.
3942 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3943 (tgamma_test_data): New variable.
3944 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3945 (trunc_test_data): New variable.
3946 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3947 (y0_test_data): New variable.
3948 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3949 (y1_test_data): New variable.
3950 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3951 (significand_test_data): New variable.
3952 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3954 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3957 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3959 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3961 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3963 2013-05-10 Andreas Jaeger <aj@suse.de>
3966 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3967 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3969 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3971 * math/gen-libm-test.pl (adjust_arg): New function.
3972 (special_functions): Handle generating output in both functions
3974 (parse_args): Likewise.
3975 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3976 $in_func argument to parse_args.
3977 * math/libm-test.inc (struct test_f_f_data): New type.
3978 (IF_ROUND_INIT_): New macro.
3979 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3980 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3981 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3982 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3983 (ROUND_RESTORE_): Likewise.
3984 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3985 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3986 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3987 (ROUND_RESTORE_FE_UPWARD): Likewise.
3988 (RUN_TEST_LOOP_f_f): New macro.
3989 (acos_test_data): New variable.
3990 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3991 (acos_tonearest_test_data): New variable.
3992 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3994 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3996 * benchtests/bench-skeleton.c (startup): Fix coding style.
3998 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4001 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4002 negative infinity argument.
4003 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4004 negative infinity argument.
4005 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4006 negative infinity argument.
4007 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4010 2013-05-10 Florian Weimer <fweimer@redhat.com>
4012 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4013 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4014 * iconv/iconv_prog.c (main): Likewise.
4015 * locale/programs/charmap-dir.c (charmap_readdir)
4016 (fopen_uncompressed): Likewise.
4017 * locale/programs/locfile.c (siblings_uncached)
4018 (write_locale_data): Use lstat64 instead of lstat.
4019 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4022 2013-05-10 Andreas Jaeger <aj@suse.de>
4025 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4029 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4031 * elf/dl-close.c (_dl_close_worker): Add comments.
4033 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4038 (__ieee754_rem_pio2l): Update comments.
4041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4043 (__ieee754_rem_pio2l): Update comments.
4045 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4046 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4048 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4051 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4052 (M_PI_34_LOG10El): Likewise.
4053 (M_PI2_LOG10El): Likewise.
4054 (M_PI4_LOG10El): Likewise.
4055 (M_PI_LOG10El): Likewise.
4057 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4061 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4063 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4064 (MINUS_ZERO_INIT): Likewise.
4065 (PLUS_INFTY_INIT): Likewise.
4066 (MINUS_INFTY_INIT): Likewise.
4067 (QNAN_VALUE_INIT): Likewise.
4068 (MAX_VALUE_INIT): Likewise.
4069 (MIN_VALUE_INIT): Likewise.
4070 (MIN_SUBNORM_VALUE_INIT): Likewise.
4071 (plus_zero): Initialize with PLUS_ZERO_INIT.
4072 (minus_zero): Initialize with MINUS_ZERO_INIT.
4073 (plus_infty): Initialize with PLUS_INFTY_INIT.
4074 (minus_infty): Initialize with MINUS_INFTY_INIT.
4075 (qnan_value): Initialize with QNAN_VALUE_INIT.
4076 (max_value): Initialize with MAX_VALUE_INIT.
4077 (min_value): Initialize with MIN_VALUE_INIT.
4078 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4080 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4081 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4082 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4083 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4085 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4086 (RUN_TEST_2_f): Likewise.
4087 (RUN_TEST_ff_f): Likewise.
4088 (RUN_TEST_fi_f): Likewise.
4089 (RUN_TEST_fl_f): Likewise.
4090 (RUN_TEST_fff_f): Likewise.
4091 (RUN_TEST_c_f): Likewise.
4092 (RUN_TEST_f_f1): Likewise.
4093 (RUN_TEST_fF_f1): Likewise.
4094 (RUN_TEST_fI_f1): Likewise.
4095 (RUN_TEST_ffI_f1): Likewise.
4096 (RUN_TEST_c_c): Likewise.
4097 (RUN_TEST_cc_c): Likewise.
4098 (RUN_TEST_f_i): Likewise.
4099 (RUN_TEST_f_i_tg): Likewise.
4100 (RUN_TEST_ff_i_tg): Likewise.
4101 (RUN_TEST_f_b): Likewise.
4102 (RUN_TEST_f_b_tg): Likewise.
4103 (RUN_TEST_f_l): Likewise.
4104 (RUN_TEST_f_L): Likewise.
4105 (RUN_TEST_sincos): Likewise.
4106 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4107 whether to show exceptions. Do not include ");\n" in return
4109 (special_functions): Output call to RUN_TEST_sincos instead of
4110 check_float calls. Update calls to new_test.
4111 (parse_args): Output call to single RUN_TEST_* macro instead of
4112 check_* calls and other assignments. Update calls to new_test.
4118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4119 input to result for tgamma overflow.
4120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4121 (gamma_coeff): New variable.
4122 (NCOEFF): New macro.
4123 (gamma_positive): New function.
4124 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4125 underflow here. Use gamma_positive instead of exp (lgamma) for
4127 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4128 (gamma_coeff): New variable.
4129 (NCOEFF): New macro.
4130 (gammaf_positive): New function.
4131 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4132 underflow here. Use gamma_positive instead of exp (lgamma) for
4134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4135 (gamma_coeff): New variable.
4136 (NCOEFF): New macro.
4137 (gammal_positive): New function.
4138 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4139 underflow here. Use gamma_positive instead of exp (lgamma) for
4141 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4142 (gamma_coeff): New variable.
4143 (NCOEFF): New macro.
4144 (gammal_positive): New function.
4145 (__ieee754_gammal_r): Handle positive infinity, overflow and
4146 underflow here. Handle NaN the same as positive infinity. Remove
4147 check x < 0xffffffff for negative integers. Use gamma_positive
4148 instead of exp (lgamma) for other arguments.
4149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4150 (gamma_coeff): New variable.
4151 (NCOEFF): New macro.
4152 (gammal_positive): New function.
4153 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4154 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4159 * sysdeps/generic/math_private.h (__gamma_productf): New
4161 (__gamma_product): Likewise.
4162 (__gamma_productl): Likewise.
4163 * math/Makefile (libm-calls): Add gamma_product.
4164 * math/libm-test.inc (tgamma_test): Add more tests.
4165 * sysdeps/i386/fpu/libm-test-ulps: Update.
4166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4168 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4170 * benchtests/bench-skeleton.c (main): Preheat CPU.
4172 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4174 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4176 2013-05-07 Roland McGrath <roland@hack.frob.com>
4178 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4179 and _dl_skip_args_internal.
4181 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4183 * manual/message.texi (Message Translation): Talk about users.
4184 Message to key mapping impacts design.
4186 2013-05-06 Roland McGrath <roland@hack.frob.com>
4188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4190 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4192 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4193 * sysdeps/wordsize-64/glob64.c: ... here.
4195 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4196 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4199 * debug/getlogin_r_chk.c: Moved to ...
4200 * login/getlogin_r_chk.c: ... here.
4201 * debug/Makefile (routines): Move getlogin_r_chk to ...
4202 * login/Makefile (routines): ... here.
4203 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4204 * login/Versions (libc: GLIBC_2.4): ... here.
4206 * io/poll.c (__poll): Renamed from poll.
4207 Add libc_hidden_def.
4208 (poll): Define as weak alias.
4210 * debug/ptsname_r_chk.c: Moved to ...
4211 * login/ptsname_r_chk.c: ... here.
4212 * debug/Makefile (routines): Move ptsname_r_chk to ...
4213 * login/Makefile (routines): ... here.
4214 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4215 * login/Versions (libc: GLIBC_2.4): ... here.
4217 * posix/getlogin.c: Moved to ...
4218 * login/getlogin.c: ... here.
4219 * posix/getlogin_r.c: Moved to ...
4220 * login/getlogin_r.c: ... here.
4221 * posix/getlogin_r.c: Moved to ...
4222 * login/getlogin_r.c: ... here.
4223 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4224 * login/Makefile (routines): ... here.
4225 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4226 * login/Versions (libc: GLIBC_2.0): ... here.
4228 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4229 (setrlimit): Define as weak alias.
4231 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4232 Call __ names for open, ftruncate, and close.
4233 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4234 (truncate): Define as weak alias.
4236 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4238 * math/gen-libm-test.pl (parse_args): Initialize x before each
4239 test of frexp, modf and remquo.
4241 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4244 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4252 2013-05-06 Roland McGrath <roland@hack.frob.com>
4254 * elf/dl-writev.h: New file.
4255 * elf/dl-misc.c: Include it.
4256 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4257 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4259 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4261 * math/libm-test.inc (noXFails): Remove variable.
4262 (noXPasses): Likewise.
4263 (BUILD_COMPLEX_INT): Remove macro.
4264 (print_screen): Remove xfail argument.
4265 (print_screen_max_error): Likewise.
4266 (update_stats): Likewise.
4267 (print_max_error): Likewise. Update calls to other affected
4269 (print_complex_max_error): Likewise.
4270 (test_single_exception): Update calls to print_screen.
4271 (test_single_errno): Likewise.
4272 (check_float_internal): Remove xfail argument. Update calls to
4273 other affected functions.
4274 (check_float): Likewise.
4275 (check_complex): Likewise.
4276 (check_int): Likewise.
4277 (check_long): Likewise.
4278 (check_bool): Likewise.
4279 (check_longlong): Likewise.
4280 (main): Don't print noXFails and noXPasses.
4281 * math/gen-libm-test.pl (top level): Don't mention expected
4282 failure handling in comment.
4283 (new_test): Don't handle expected failures.
4284 (parse_args): Don't mention expected failure handling in comment.
4285 (generate_testfile): Don't handle expected failures.
4286 (parse_ulps): Likewise.
4287 (print_ulps_file): Likewise.
4288 (get_failure): Remove function.
4289 (output_test): Don't handle expected failures.
4290 * make/README.libm-test: Don't mention expected failure handling.
4292 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4293 (minus_zero): Likewise.
4294 (plus_infty): Likewise.
4295 (minus_infty): Likewise.
4296 (qnan_value): Likewise.
4297 (max_value): Likewise.
4298 (min_value): Likewise.
4299 (min_subnorm_value): Likewise.
4300 (initialize): Do not initialize those variables dynamically.
4302 2013-05-03 Roland McGrath <roland@hack.frob.com>
4304 * io/open.c (__open_2): Moved to ...
4305 * io/open_2.c: ... this new file.
4306 * io/open64.c (__open64_2): Moved to ...
4307 * io/open64_2.c: ... this new file.
4308 * io/openat.c (__openat_2): Moved to ...
4309 * io/openat_2.c: ... this new file.
4310 * io/openat64.c (__openat64_2): Moved to ...
4311 * io/openat64_2.c: ... this new file.
4312 * io/Makefile (routines): Add them.
4313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4314 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4315 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4316 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4317 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4318 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4319 (__openat64): Add hidden_ver.
4320 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4321 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4323 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4324 Separately conditionalize setting of GLRO(dl_sysinfo) so
4325 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4326 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4328 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4333 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4334 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4335 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4336 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4337 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4339 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4341 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4344 * math/libm-test.inc (hypot_test): Do not use
4345 IGNORE_ZERO_INF_SIGN.
4347 2013-05-03 Andreas Jaeger <aj@suse.de>
4349 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4351 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4352 (PF_MAX): Adjust for VSOCK change.
4354 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4358 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4361 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4362 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4363 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4365 2013-05-02 David S. Miller <davem@davemloft.net>
4367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4369 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4371 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4373 2013-05-01 Roland McGrath <roland@hack.frob.com>
4375 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4377 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4380 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4381 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4382 Use __attribute__ ((__gnu_inline__)).
4383 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4384 Don't use __attribute__ ((__gnu_inline__)).
4386 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4389 * math/s_catan.c (__catan): Handle small real or imaginary part of
4390 input specially to avoid spurious underflow.
4391 * math/s_catanf.c (__catanf): Likewise.
4392 * math/s_catanh.c (__catanh): Likewise.
4393 * math/s_catanhf.c (__catanhf): Likewise.
4394 * math/s_catanhl.c (__catanhl): Likewise.
4395 * math/s_catanl.c (__catanl): Likewise.
4396 * math/libm-test.inc (catan_test): Add more tests.
4397 (catanh_test): Likewise.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4405 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4408 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4409 accurately for denominator in atan2.
4410 * math/s_catanf.c (__catanf): Likewise.
4411 * math/s_catanh.c (__catanh): Likewise.
4412 * math/s_catanhf.c (__catanhf): Likewise.
4413 * math/s_catanhl.c (__catanhl): Likewise.
4414 * math/s_catanl.c (__catanl): Likewise.
4415 * math/libm-test.inc (catan_test): Add more tests.
4416 (catanh_test): Likewise.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4422 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4424 * benchtests/Makefile (bench): Remove slow benchmarks.
4425 * benchtests/atan-inputs: Add slow benchmark inputs.
4426 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4427 (BENCH_FUNC): Accept variant offset.
4429 * benchtests/bench-skeleton.c (main): Run benchmark for each
4431 * benchtests/cos-inputs: Add slow benchmark inputs.
4432 * benchtests/exp-inputs: Likewise.
4433 * benchtests/pow-inputs: Likewise.
4434 * benchtests/sin-inputs: Likewise.
4435 * benchtests/slowatan-inputs: Remove.
4436 * benchtests/slowatan.c: Remove.
4437 * benchtests/slowcos-inputs: Remove.
4438 * benchtests/slowcos.c: Remove.
4439 * benchtests/slowexp-inputs: Remove.
4440 * benchtests/slowexp.c: Remove.
4441 * benchtests/slowpow-inputs: Remove.
4442 * benchtests/slowpow.c: Remove.
4443 * benchtests/slowsin-inputs: Remove.
4444 * benchtests/slowsin.c: Remove.
4445 * benchtests/slowtan-inputs: Remove.
4446 * benchtests/slowtan.c: Remove.
4447 * benchtests/tan-inputs: Add slow benchmark inputs.
4448 * scripts/bench.pl: Parse comments and directives.
4450 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4452 ($(objpfx)bench-%.c): Remove *-ITER.
4453 * benchtests/bench-modf.c: Remove definition of ITER.
4454 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4455 (main): Loop for DURATION seconds instead of fixed number of
4457 * scripts/bench.pl: Don't expect iterations in parameters.
4459 2013-04-29 Roland McGrath <roland@hack.frob.com>
4461 * io/fchdir.c (__fchdir): Renamed from fchdir.
4462 (fchdir): Define as weak alias.
4464 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4466 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4467 (ERRNO_EDOM): Likewise.
4468 (ERRNO_ERANGE): Likewise.
4469 (noErrnoTests): New variable.
4470 (init_max_error): Set errno to 0.
4471 (test_single_errno): New function.
4472 (test_errno): Likewise.
4473 (check_float_internal): Call test_errno. Set errno to 0.
4474 (check_complex): Refer to errno tests in comment.
4475 (check_int): Call test_errno. Set errno to 0.
4476 (check_long): Likewise.
4477 (check_bool): Likewise.
4478 (check_longlong): Likewise.
4479 (cos_test): Use ERRNO_* flags for errno tests instead of
4481 (expm1_test): Likewise.
4482 (fmod_test): Likewise.
4483 (ilogb_test): Likewise.
4484 (lgamma_test): Likewise.
4485 (pow_test): Likewise.
4486 (remainder_test): Likewise.
4487 (sin_test): Likewise.
4488 (tan_test): Likewise.
4489 (yn_test): Likewise.
4490 (initialize): Set errno to 0.
4491 (main): Print number of errno tests.
4492 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4494 2013-04-29 Andreas Jaeger <aj@suse.de>
4497 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4501 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4502 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4506 * stdlib/random.c (__initstate): Return NULL if
4510 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4511 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4514 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4518 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4520 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4521 of individual tests.
4522 (casin_test): Likewise.
4523 (casinh_test): Likewise.
4525 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4528 * math/s_catan.c (__catan): Handle arguments with large real or
4529 imaginary part separately without squaring.
4530 * math/s_catanf.c (__catanf): Likewise.
4531 * math/s_catanh.c (__catanh): Likewise.
4532 * math/s_catanhf.c (__catanhf): Likewise.
4533 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4535 (__catanhl): Handle arguments with large real or imaginary part
4536 separately without squaring.
4537 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4539 (__catanl): Handle arguments with large real or imaginary part
4540 separately without squaring.
4541 * math/libm-test.inc (catan_test): Add more tests.
4542 (catanh_test): Likewise.
4543 * sysdeps/i386/fpu/libm-test-ulps: Update.
4544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546 2013-04-27 Andreas Jaeger <aj@suse.de>
4549 * stdlib/stdlib.h: Update guards for qecvt.
4550 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4553 2013-04-27 Allan McRae <allan@archlinux.org>
4555 * sysdeps/i386/fpu/libm-test-ulps: Update.
4557 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4560 * math/s_catan.c: Include <float.h>.
4561 (__catan): Ensure underflow exception occurs for underflowed
4563 * math/s_catanf.c: Include <float.h>.
4564 (__catanf): Ensure underflow exception occurs for underflowed
4566 * math/s_catanh.c: Include <float.h>.
4567 (__catanh): Ensure underflow exception occurs for underflowed
4569 * math/s_catanhf.c: Include <float.h>.
4570 (__catanhf): Ensure underflow exception occurs for underflowed
4572 * math/s_catanhl.c: Include <float.h>.
4573 (__catanhl): Ensure underflow exception occurs for underflowed
4575 * math/s_catanl.c: Include <float.h>.
4576 (__catanl): Ensure underflow exception occurs for underflowed
4578 * math/libm-test.inc (catan_test): Add more tests.
4579 (catanh_test): Likewise.
4582 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4584 * math/s_ccoshf.c (__ccoshf): Likewise.
4585 * math/s_ccoshl.c (__ccoshl): Likewise.
4586 * math/s_csin.c (__csin): Likewise.
4587 * math/s_csinf.c (__csinf): Likewise.
4588 * math/s_csinh.c (__csinh): Likewise.
4589 * math/s_csinhf.c (__csinhf): Likewise.
4590 * math/s_csinhl.c (__csinhl): Likewise.
4591 * math/s_csinl.c (__csinl): Likewise.
4592 * math/libm-test.inc (ccos_test): Add more tests.
4593 (ccosh_test): Likewise.
4594 (csin_test): Likewise.
4595 (csinh_test): Likewise.
4597 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4600 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4601 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4602 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4603 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4604 powerpc/power5+/fpu folders.
4605 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4608 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4612 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4614 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4615 additions to variable.
4616 [$(config-machine) = x86_64] (modules-names): Likewise.
4617 ($(objpfx)tst-audit3): Remove dependency.
4618 ($(objpfx)tst-audit3.out): Likewise.
4619 ($(objpfx)tst-audit4): Likewise.
4620 ($(objpfx)tst-audit4.out): Likewise.
4621 ($(objpfx)tst-audit5): Likewise.
4622 ($(objpfx)tst-audit5.out): Likewise.
4623 ($(objpfx)tst-audit6): Likewise.
4624 ($(objpfx)tst-audit6.out): Likewise.
4625 ($(objpfx)tst-audit7): Likewise.
4626 ($(objpfx)tst-audit7.out): Likewise.
4627 (tst-audit3-ENV): Remove variable.
4628 (tst-audit4-ENV): Likewise.
4629 (tst-audit5-ENV): Likewise.
4630 (tst-audit6-ENV): Likewise.
4631 (tst-audit7-ENV): Likewise.
4632 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4633 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4634 addition to variable.
4635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4637 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4640 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4641 tst-audit3, tst-audit4 and tst-audit5.
4642 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4643 tst-audit6 and tst-audit7.
4644 [$(subdir) = elf] (modules-names): Add audit modules for those
4646 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4647 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4648 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4649 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4650 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4651 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4652 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4653 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4654 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4655 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4656 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4657 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4658 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4659 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4660 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4661 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4663 [$(subdir) = elf && $(config-cflags-avx) = yes]
4664 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4665 [$(subdir) = elf && $(config-cflags-avx) = yes]
4666 (CFLAGS-tst-auditmod4a.c): Likewise.
4667 [$(subdir) = elf && $(config-cflags-avx) = yes]
4668 (CFLAGS-tst-auditmod4b.c): Likewise.
4669 [$(subdir) = elf && $(config-cflags-avx) = yes]
4670 (CFLAGS-tst-auditmod6b.c): Likewise.
4671 [$(subdir) = elf && $(config-cflags-avx) = yes]
4672 (CFLAGS-tst-auditmod6c.c): Likewise.
4673 [$(subdir) = elf && $(config-cflags-avx) = yes]
4674 (CFLAGS-tst-auditmod7b.c): Likewise.
4675 * elf/tst-audit3.c: Move to ...
4676 * sysdeps/x86_64/tst-audit3.c: ... here.
4677 * elf/tst-audit4.c: Move to ...
4678 * sysdeps/x86_64/tst-audit4.c: ... here.
4679 * elf/tst-audit5.c: Move to ...
4680 * sysdeps/x86_64/tst-audit5.c: ... here.
4681 * elf/tst-audit6.c: Move to ...
4682 * sysdeps/x86_64/tst-audit6.c: ... here.
4683 * elf/tst-audit7.c: Move to ...
4684 * sysdeps/x86_64/tst-audit7.c: ... here.
4685 * elf/tst-auditmod3a.c: Move to ...
4686 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4687 * elf/tst-auditmod3b.c: Move to ...
4688 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4689 * elf/tst-auditmod4a.c: Move to ...
4690 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4691 * elf/tst-auditmod4b.c: Move to ...
4692 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4693 * elf/tst-auditmod5a.c: Move to ...
4694 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4695 * elf/tst-auditmod5b.c: Move to ...
4696 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4697 * elf/tst-auditmod6a.c: Move to ...
4698 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4699 * elf/tst-auditmod6b.c: Move to ...
4700 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4701 * elf/tst-auditmod6c.c: Move to ...
4702 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4703 * elf/tst-auditmod7a.c: Move to ...
4704 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4705 * elf/tst-auditmod7b.c: Move to ...
4706 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4708 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4711 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4712 define unconditionally.
4713 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4714 define unconditionally.
4715 (INT8_C, INT16_C, etc.): Likewise.
4717 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4719 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4720 __ehdr_start with hidden visibility.
4722 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4724 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4726 * math/libm-test.inc (cos_test): Use accurate hex constants.
4727 (sincost_test): Likewise.
4729 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4731 * math/libm-test.inc (catan_test): Add more tests.
4732 (catanh_test): Likewise.
4734 * math/s_catanf.c (__catanf): Use suffixed floating-point
4736 * math/s_catanhf.c (__catanhf): Likewise.
4737 * math/s_catanhl.c (__catanhl): Likewise.
4738 * math/s_catanl.c (__catanl): Likewise.
4741 * math/s_catan.c (__catan): Calculate imaginary part of result
4742 with log1p not log unless computing log of number close to 0.
4743 * math/s_catanf.c (__catanf): Likewise.
4744 * math/s_catanl.c (__catanl): Likewise.
4745 * math/s_catanh.c (__catanh): Calculate real part of result with
4746 log1p not log unless computing log of number close to 0.
4747 * math/s_catanhf.c (__catanhf): Likewise.
4748 * math/s_catanhl.c (__catanhl): Likewise.
4749 * math/libm-test.inc (catan_test): Add more tests.
4750 (catanh_test): Likewise.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4756 * benchtests/Makefile: Mention files in which fast and slow
4757 paths of math functions are implemented.
4759 2013-04-23 Roland McGrath <roland@hack.frob.com>
4761 * sysdeps/posix/timespec_get.c: New file.
4763 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4767 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4769 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4770 powerpc/power5/fpu folders.
4771 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4772 * benchtests/Makefile: Add modf testcase.
4773 * benchtests/bench-modf.c: New file: Benchmark test for mo
4775 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4778 * time/Makefile (tests): Add tst-strptime-whitespace.
4779 * time/strptime_l.c (get_number): Use ISSPACE.
4780 (__strptime_internal): Likewise.
4781 * time/tst-strptime-whitespace.c: New test case.
4783 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4785 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4787 (_nss_files_init): Set it here.
4789 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4792 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4795 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4797 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4799 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4804 2013-04-21 David S. Miller <davem@davemloft.net>
4806 * po/ru.po: Update Russion translation from translation project.
4808 2013-04-17 Adam Conrad <adconrad@0c3.net>
4810 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4813 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4815 * configure.in: Remove i386 configure warning. Remove i386 case.
4816 * configure: Regenerate.
4817 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4818 Add example to error message.
4819 * sysdeps/i386/configure: Regenerate.
4821 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4825 * benchtests/cos-inputs: New file.
4826 * benchtests/slowcos-inputs: New file.
4827 * benchtests/slowcos.c: New file.
4828 * benchtests/slowtan-inputs: New file.
4829 * benchtests/slowtan.c: New file.
4830 * benchtests/tan-inputs: New file.
4832 2013-04-16 Roland McGrath <roland@hack.frob.com>
4834 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4837 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4839 * benchtests/Makefile: Include cppflags-iterator.mk to add
4840 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4842 * Makefile.in (bench-clean): New target.
4843 * benchtests/Makefile (bench-clean): Likewise.
4845 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4847 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4849 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4851 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4853 2013-04-15 Andreas Schwab <schwab@suse.de>
4855 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4857 * nscd/pwdcache.c (cache_addpw): Likewise.
4858 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4861 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4863 * benchtests/Makefile (bench): Write all output to
4864 bench-out.tmp together.
4866 2013-04-15 Andreas Schwab <schwab@suse.de>
4868 * nscd/nscd.c (main): Don't fork again after closing files.
4870 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4872 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4874 * benchtests/Rules (bench-deps): Collect dependencies into a
4875 single variable. Add Makefile to dependencies.
4876 ($(objpfx)bench-%.c): Depend on bench-deps.
4878 2013-04-12 Roland McGrath <roland@hack.frob.com>
4879 Xavier Roche <roche+kml2@exalead.com>
4882 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4883 just that it's a file descriptor.
4884 * manual/llio.texi (Synchronizing AIO Operations): Update description
4885 for EBADF error from aio_fsync.
4887 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4889 * Rules (bench): Move target definition...
4890 * benchtests/Makefile: ... here.
4892 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4894 * math/libm-test.inc (cos_test): Fix PI/2 test.
4895 (sincos_test): Likewise.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4897 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4899 2013-04-11 Andreas Schwab <schwab@suse.de>
4902 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4903 accept exponent character only when digits were seen.
4904 * stdio-common/Makefile (tests): Add bug26.
4905 * stdio-common/bug26.c: New file.
4908 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4911 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4913 * Makeconfig (rtld-prefix): Define built linker prefix.
4914 * Rules (run-bench): Use it.
4915 * math/Makefile (run-regen-ulps): Likewise.
4917 * Rules (bench): Remove eval.
4919 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4920 Roland McGrath <roland@hack.frob.com>
4921 Ondrej Bilka <neleai@seznam.cz>
4924 * time/getdate.c: Include ctype.h and alloca.h.
4925 (__getdate_r): Trim leading and trailing spaces of input.
4926 * time/tst-getdate.c (tests): Add tests with leading and
4929 2013-04-08 Roland McGrath <roland@hack.frob.com>
4932 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4933 when computing value.
4935 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4937 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4938 Use testrun.sh to run libm tests.
4941 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4943 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4946 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4948 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4950 * Makefile.in (regen-ulps): New target.
4951 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4952 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4953 [ifneq (no,$(PERL)] (regen-ulps): New target.
4954 [ifeq (no,$(PERL)] (regen-ulps): New target.
4955 * math/libm-test.inc (ulps_file_name): Define.
4956 (output_dir): New variable.
4957 (options): Add "output-dir" option.
4958 (parse_opt): Handle 'o' case.
4959 (main): If output_dir is non-NULL use it as a prefix
4961 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4963 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4966 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4967 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4968 fail configure if __sync_val_compare_and_swap is not inlined.
4969 * sysdeps/i386/configure: Regenerate.
4970 * configure.in: Build for i686 when configured for i386.
4971 * configure: Regenerate.
4972 * README: Remove i386 reference.
4974 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4976 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4979 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4981 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4982 (lmsnanval): New variables.
4983 (F): Add conversion tests.
4984 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4985 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4987 * stdio-common/tstdiomisc.c (F): Properly collect individual
4991 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4992 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4993 Instead, use input NaN values or generate a qNaN by arithmetic
4994 operation. Also fix bugs to comply with the standard.
4995 * math/libm-test.inc (remainder_test): Add more tests.
4998 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5000 input NaN values or generate a qNaN by arithmetic operation.
5002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5005 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5008 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5011 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5013 * math/s_cexpf.c (__cexpf): Likewise.
5014 * math/s_cexpl.c (__cexpl): Likewise.
5015 * math/libm-test.inc (cexp_test): Add more tests.
5017 2013-04-03 Andreas Schwab <schwab@suse.de>
5020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5021 order arrays from heap if bigger than alloca cutoff.
5023 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5025 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5026 (SNAN_TESTS_double): Refer to GCC PR56831.
5027 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5030 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5032 * Rules (bench): Move bench.out after the run is complete.
5034 * Rules (bench): Echo currently running benchmark.
5036 * benchtests/Makefile (bench): Add atan and slowatan.
5037 * benchtests/atan-inputs: New file.
5038 * benchtests/slowatan-inputs: New file.
5039 * benchtests/slowatan.c: New file.
5041 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5046 * sysdeps/unix/sysv/linux/kernel-features.h
5047 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5048 __ASSUME_XFS_RESTRICTED_CHOWN.
5049 * sysdeps/unix/sysv/linux/pathconf.c
5050 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5051 Save and restore errno.
5053 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5056 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5057 arguments using __kernel_casinh.
5058 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5059 arguments using __kernel_casinhf.
5060 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5061 arguments using __kernel_casinhl.
5062 * math/libm-test.inc (cacosh_test): Add more tests.
5063 * sysdeps/i386/fpu/libm-test-ulps: Update.
5064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5066 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5068 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5071 * bench/Makefile (bench): Add sin and slowsin.
5072 * benchtests/sin-inputs: New file.
5073 * benchtests/slowsin-inputs: New file.
5074 * benchtests/slowsin.c: New file.
5076 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5077 (bench): Add slowexp and slowpow.
5078 (exp-ITER): Increase iterations.
5079 (pow-ITER): Likewise.
5080 * benchtests/exp-inputs: Change input.
5081 * benchtests/pow-inputs: Likewise.
5082 * benchtests/slowexp-inputs: New file.
5083 * benchtests/slowexp.c: New file.
5084 * benchtests/slowpow-inputs: New file.
5085 * benchtests/slowpow.c: New file.
5087 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5091 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5092 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5093 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5094 * benchtests/Makefile: Add rint benchtest.
5095 * benchtests/rint-inputs: Input for rint benchtest.
5097 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5099 * Versions.def (libm): Add GLIBC_2.18.
5100 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5101 hidden libm prototypes.
5102 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5103 * math/Makefile (libm-calls): Add s_issignaling.
5104 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5105 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5106 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5108 * math/math.h [__USE_GNU] (issignaling): New macro.
5109 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5110 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5115 * manual/arith.texi (issignaling): New section.
5116 * manual/libm-err-tab.pl (@all_functions): Update comment.
5117 * math/gen-libm-test.pl (parse_args): Apply special handling for
5119 * math/libm-test.inc (print_float, issignaling_test): New
5121 (check_float_internal): Add issignaling checks.
5122 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5124 * sysdeps/powerpc/math-tests.h: New file.
5125 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5127 * math/test-snan.c (TEST_FUNC): Likewise.
5129 2013-03-30 David S. Miller <davem@davemloft.net>
5131 * po/de.po: Update from translation team.
5133 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5136 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5137 imaginary part less than 1.0 and real part less than 0.5
5139 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5140 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5141 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5142 (cacos_test): Add more tests.
5143 (casin_test): Likewise.
5144 (casinh_test): Likewise.
5145 * sysdeps/i386/fpu/libm-test-ulps: Update.
5146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5148 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5150 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5153 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5154 (__pow_mp): Replace ONE and MONE with their values.
5155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5157 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5158 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5159 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5162 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5164 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5165 (__pow_mp): Replace ZERO and MZERO with their values.
5166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5170 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5171 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5174 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5176 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5178 2013-03-28 Roland McGrath <roland@hack.frob.com>
5180 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5181 Declare with __attribute__ ((weak)).
5182 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5183 Call __call_tls_dtors only if it's not NULL.
5185 2013-03-28 Roland McGrath <roland@hack.frob.com>
5187 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5188 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5189 magic __ehdr_start linker symbol if it's defined.
5190 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5191 them up here if it was already done.
5193 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5194 (_dl_aux_init): Use const in cast when setting it.
5195 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5196 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5197 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5199 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5201 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5202 * csu/libc-tls.c: Nor here.
5203 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5205 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5206 (__libc_message): Never call vsyslog.
5208 2013-03-28 Alan Modra <amodra@gmail.com>
5210 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5212 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5215 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5222 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5225 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5226 Don't add gid passed as argument.
5228 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5230 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5234 imaginary part between 1.0 and 1.5 and real part less than 0.5
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-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5246 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5250 (__dbl_mp): Likewise.
5251 (add_magnitudes): Likewise.
5252 (sub_magnitudes): Likewise.
5260 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5262 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5263 (__dubcos): Likewise.
5264 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5265 (__ieee754_acos): Likewise.
5266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5269 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5272 (my_log2): Likewise.
5273 (checkint): Likewise.
5274 * sysdeps/ieee754/dbl-64/e_remainder.c
5275 (__ieee754_remainder): Likewise.
5276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5281 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5283 MANTISSA_STORE_T to store computations on mantissa. Use
5284 macros for rounding and division.
5286 (__dbl_mp): Likewise.
5287 (add_magnitudes): Likewise.
5288 (sub_magnitudes): Likewise.
5291 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5292 powers of two in terms of TWOPOW macro.
5293 (mp_no): Make type of mantissa as MANTISSA_T.
5294 [!RADIXI]: Define RADIXI.
5295 [!TWO52]: Define TWO52.
5296 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5298 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5300 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5301 llroundl symbol when building for PPC32.
5303 2013-03-24 Mark H Weaver <mhw@netris.org>
5305 * manual/arith.texi (Normalization Functions): Fix prototypes for
5306 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5308 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5312 high value to check if expl overflow.
5313 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5314 to check for underflow and overflow.
5315 * math/libm-test.inc: Add exp test.
5317 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5320 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5323 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5325 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5328 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5330 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5331 wrap blocks consisting of several statements.
5333 * sysdeps/generic/math-tests.h: New file.
5334 * sysdeps/i386/fpu/math-tests.h: Likewise.
5335 * math/test-snan.c: Include it.
5336 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5338 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5341 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5342 (__ieee754_j0l): Do not improve calculations using cos of twice
5343 input for inputs above LDBL_MAX / 2.0L.
5344 (__ieee754_y0l): Likewise.
5345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5346 (__ieee754_j1l): Do not improve calculations using cos of twice
5347 input for inputs above LDBL_MAX / 2.0L.
5348 (__ieee754_y1l): Likewise.
5349 * math/libm-test.inc (j0_test): Add another test.
5350 (j1_test): Likewise.
5351 (y0_test): Likewise.
5352 (y1_test): Likewise.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5357 * Rules ($(objpfx)bench-%.c): Include code from a C source
5360 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5363 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5364 imaginary part 1.0 and real part less than 0.5 specially.
5365 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5366 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5367 * math/libm-test.inc (cacos_test): Add more tests.
5368 (casin_test): Likewise.
5369 (casinh_test): Likewise.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5373 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5376 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5378 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5380 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5381 * config.make.in (config-cflags-sse4): Remove variable.
5382 (config-cflags-avx): Likewise.
5383 (config-cflags-sse2avx): Likewise.
5384 (config-cflags-novzeroupper): Likewise.
5385 (config-asflags-i686): Likewise.
5386 (have-mfma4): Likewise.
5387 (have-as-vis3): Likewise.
5389 * configure.in (MIG): Do not AC_SUBST.
5390 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5391 (libc_cv_cc_sse4): Do not AC_SUBST.
5392 (libc_cv_cc_avx): Likewise.
5393 (libc_cv_cc_sse2avx): Likewise.
5394 (libc_cv_cc_novzeroupper): Likewise.
5395 (libc_cv_cc_fma4): Likewise.
5396 (libc_cv_as_i686): Likewise.
5397 (libc_cv_sparc_as_vis3): Likewise.
5398 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5400 (config-asflags-i686): Likewise.
5401 (config-cflags-avx): Likewise.
5402 (config-cflags-sse2avx): Likewise.
5403 (have-mfma4): Likewise.
5404 (config-cflags-novzeroupper): Likewise.
5405 * sysdeps/mach/configure.in (MIG): Likewise.
5406 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5407 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5409 (config-cflags-avx): Likewise.
5410 (config-cflags-sse2avx): Likewise.
5411 (have-mfma4): Likewise.
5412 (config-cflags-novzeroupper): Likewise.
5413 * configure: Regenerated.
5414 * sysdeps/i386/configure: Likewise.
5415 * sysdeps/mach/configure: Likewise.
5416 * sysdeps/sparc/configure: Likewise.
5417 * sysdeps/x86_64/configure: Likewise.
5419 2013-03-20 Roland McGrath <roland@hack.frob.com>
5422 * locale/programs/localedef.c (options): Put N_ translation marker
5423 on argument names, not just descriptions.
5425 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5427 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5429 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5432 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5434 2013-03-19 Roland McGrath <roland@hack.frob.com>
5436 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5437 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5438 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5439 [!BEFORE_ABORT] (before_abort): New function.
5440 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5441 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5442 (writev_for_fatal): New function.
5443 (WRITEV_FOR_FATAL): New macro; call that.
5444 (backtrace_and_maps): New function.
5445 (BEFORE_ABORT): New macro; call that.
5446 (struct str_list): Type removed.
5447 (__libc_message, __libc_fatal): Functions removed.
5448 Include <sysdeps/posix/libc_fatal.c> instead.
5450 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5452 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5454 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5457 2013-03-19 Andreas Schwab <schwab@suse.de>
5459 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5460 * sysdeps/gnu/configure: Regenerate.
5462 * configure.in: Substitute libc_cv_rtlddir.
5463 * configure: Regenerate.
5464 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5465 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5466 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5467 * elf/Makefile (install-others, CFLAGS-interp.c)
5468 (ldso_install, common-ldd-rewrite): Likewise.
5469 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5470 $(inst_slibdir)/$(rtld-installed-name).
5471 * scripts/rellns-sh: Add -p option.
5472 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5475 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5477 * manual/nptl.texi: Renamed to ...
5478 * manual/threads.texi: ... this.
5479 * manual/Makefile (chapters): Update.
5481 2013-03-18 Roland McGrath <roland@hack.frob.com>
5484 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5485 on argument names, not just descriptions.
5486 * malloc/memusagestat.c (options): Likewise.
5487 * nss/getent.c (options): Likewise.
5489 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5492 * iconv/iconv_prog.c (options): Put N_ translation marker
5493 on argument names, not just descriptions.
5494 * iconv/iconvconfig.c (options): Likewise.
5496 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5498 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5499 implementation which is faster on all x86_64 architectures.
5500 Tested on AMD, Intel Nehalem, SNB, IVB.
5501 * sysdeps/x86_64/strnlen.S: Likewise.
5503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5504 Remove all multiarch strlen and strnlen versions.
5505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5506 Remove strlen and strnlen related parts.
5508 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5512 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5513 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5514 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5515 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5516 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5517 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5519 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5521 * manual/memory.texi (Malloc Tunable Parameters):
5522 Sort parameters alphabetically. Add comments for missing entries.
5524 2013-03-17 David S. Miller <davem@davemloft.net>
5526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5528 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5532 for arguments at most half maximum finite value.
5533 * math/libm-test.inc (j0_test): Add more tests.
5534 (j1_test): Likewise.
5535 (y0_test): Likewise.
5536 (y1_test): Likewise.
5537 * sysdeps/i386/fpu/libm-test-ulps: Update.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5542 1 / x and functions P and Q for arguments above 0x1p256L.
5543 (__ieee754_y0l): Likewise.
5544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5545 (__ieee754_y1l): Likewise.
5546 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5547 (j1_test): Likewise.
5548 (y0_test): Likewise.
5549 (y1_test): Likewise.
5551 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5553 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5556 2013-03-15 Roland McGrath <roland@hack.frob.com>
5558 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5559 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5560 zero since it's initialized to EXEC_PAGESIZE.
5562 * sysdeps/unix/sysv/linux/ldsodefs.h
5563 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5564 * sysdeps/generic/ldsodefs.h: ... here.
5566 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5568 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5570 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5572 * math/test-snan.c: Renamed from
5573 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5574 * math/Makefile (tests): Add test-snan.
5575 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5578 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5579 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5581 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5582 __builtin_nan family of functions.
5583 * math/libm-test.inc (initialize): Initialize qnan_value with
5584 __builtin_nan family of functions.
5585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5587 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5589 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5590 storage class. Initialize qNaN_var and sNaN_var with
5591 __builtin_nan and __builtin_nans families of functions,
5594 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5595 (sqrt_test): Remove duplicate test with qNaN input.
5596 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5597 (round_test, signbit_test, significand_test): Note missing +/-Inf
5598 as well as qNaN tests.
5600 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5601 qNaN_var. Fix a few strings, too.
5602 * math/libm-test.inc (nan_value): Rename to qnan_value.
5603 * math/gen-libm-test.pl (%beautify): Adjust to that.
5604 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5605 * math/test-misc.c (main): Likewise.
5606 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5607 to __qnan_bytes, and __qnan_union, respectively.
5608 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5610 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5611 and lqnanval, respectively.
5612 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5613 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5614 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5615 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5617 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5618 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5621 * math/test-misc.c (main): Fix copy'n'pastos.
5622 * misc/tst-efgcvt.c (special): Likewise.
5624 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5625 Remove declarations.
5627 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5629 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5630 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5631 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5632 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5634 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5637 macro to return vdso values correctly in IFUNC implementations.
5638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5639 Optimization by using IFUNC.
5641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5642 Richard Henderson <rth@redhat.com>
5643 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5645 * Makefile.in (bench): New target.
5646 * NEWS: Mention the benchmark framework.
5647 * Rules (bench): Likewise.
5648 (binaries-bench): Generate binaries for functions to
5650 * benchtests/Makefile: New makefile for benchmark tests.
5651 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5653 * benchtests/exp-inputs: New input file for EXP function.
5654 * benchtests/pow-inputs: New input file for POW function.
5655 * scripts/bench.pl: New script to generate source files for
5658 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5660 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5661 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5662 computations on mantissa. Use macros for rounding and
5665 (__dbl_mp): Likewise.
5666 (add_magnitudes): Likewise.
5667 (sub_magnitudes): Likewise.
5670 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5671 powers of two in terms of TWOPOW macro.
5672 (mp_no): Make type of mantissa as MANTISSA_T.
5673 [!RADIXI]: Define RADIXI.
5674 [!TWO52]: Define TWO52.
5675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5677 * manual/nptl.texi (cindex): Modify threads to pthreads.
5679 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5681 * sysdeps/x86_64/preconfigure: Regenerated.
5683 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5686 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5688 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5689 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5691 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5692 * math/libm-test.inc (j0_test): Do not allow one spurious
5693 underflow exception.
5694 (y1_test): Likewise.
5696 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5698 * manual/Makefile (chapters): Add nptl.
5699 * manual/debug.texi (Debugging Support): Add link to Threads
5701 * manual/nptl.texi: New file.
5703 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5705 2013-03-14 Petr Baudis <pasky@ucw.cz>
5707 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5708 for non-NULL pointer before the memory validity test. Pointed
5709 out by Holger Brunck <holger.brunck@keymile.com>.
5711 2013-03-13 Andreas Schwab <schwab@suse.de>
5713 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5716 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5718 * timezone/zic.c: Update from tzcode 2013b.
5720 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5722 * manual/install.texi (Configuring and compiling):
5723 Mention i686 and i586.
5724 * INSTALL: Regenerate.
5726 2013-03-12 Roland McGrath <roland@hack.frob.com>
5728 * sysdeps/init_array/elf-init.c: New file.
5730 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5731 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5733 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5734 __gmon_start__ as global, but as static with a .preinit_array pointer.
5735 * sysdeps/init_array/gmon-start.c: New file. Use that.
5736 * sysdeps/init_array/crti.S: New file, empty except for comments.
5737 * sysdeps/init_array/crtn.S: Likewise.
5739 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5741 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5744 Remove Prefer_SSE_for_memop.
5745 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5746 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5747 HAS_PREFER_SSE_FOR_MEMOP.
5748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5751 Remove bzero, memset ifunc support.
5752 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5753 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5754 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5755 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5757 2013-03-11 Andreas Schwab <schwab@suse.de>
5760 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5763 (GLIBC_2.16): Remove pthread_atfork.
5765 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5767 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5768 (ptestcases.h): Likewise.
5770 2013-03-08 Roland McGrath <roland@hack.frob.com>
5772 * Makeconfig ($(common-objpfx)config.status): Depend on
5773 sysdeps/*/preconfigure{,.in} too.
5775 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5777 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5778 (__free_hook): Use void * instead of __malloc_ptr_t.
5779 (__malloc_hook): Likewise.
5780 (__realloc_hook): Likewise.
5781 (__memalign_hook): Likewise.
5782 (__after_morecore_hook): Likewise.
5783 * malloc/arena.c (save_malloc_hook): Likewise.
5784 (save_free_hook): Likewise.
5785 * malloc/hooks.c (malloc_hook_ini): Likewise.
5786 (realloc_hook_ini): Likewise.
5787 (memalign_hook_ini): Likewise.
5788 * malloc/malloc.c (malloc_hook_ini): Likewise.
5789 (realloc_hook_ini): Likewise.
5790 (memalign_hook_ini): Likewise.
5791 (__free_hook): Likewise.
5792 (__malloc_hook): Likewise.
5793 (__realloc_hook): Likewise.
5794 (__memalign_hook): Likewise.
5795 (__libc_malloc): Likewise.
5796 (__libc_free): Likewise.
5797 (__libc_realloc): Likewise.
5798 (__libc_memalign): Likewise.
5799 (__libc_valloc): Likewise.
5800 (__libc_pvalloc): Likewise.
5801 (__libc_calloc): Likewise.
5802 (__posix_memalign): Likewise.
5803 * malloc/morecore.c (__sbrk): Likewise.
5804 (__default_morecore): Likewise.
5806 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5808 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5809 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5812 * malloc/malloc.h (__malloc_size_t): Remove macro.
5813 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5815 (old_memalign_hook): Likewise.
5816 (old_realloc_hook): Likewise.
5817 (struct hdr): Likewise.
5819 (mallochook): Likewise.
5820 (memalignhook): Likewise.
5821 (reallochook): Likewise.
5822 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5823 (tr_old_realloc_hook): Likewise.
5824 (tr_old_memalign_hook): Likewise.
5825 (tr_mallochook): Likewise.
5826 (tr_reallochook): Likewise.
5827 (tr_memalignhook): Likewise.
5829 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5832 default_ldbl_pack and using as default implementation.
5833 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5835 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5836 redundant definition.
5837 (ldbl_insert_mantissa): Likewise.
5838 (ldbl_canonicalize): Likewise.
5839 (ldbl_nearbyint): Likewise.
5840 (ldbl_pack): Rename to ldbl_pack_ppc.
5841 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5842 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5843 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5845 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5848 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5849 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5850 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5853 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5854 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5856 2013-03-07 Andreas Jaeger <aj@suse.de>
5858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5861 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5863 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5864 Include mpa.h and declare __MPEXP.
5865 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5867 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5868 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5870 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5873 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5874 (__slowpow): Use long double EXPL and LOGL functions to
5876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5877 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5878 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5880 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5884 intermediate variable to calculate exponent.
5886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5890 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5891 [!NO__SQR]: Define __sqr.
5892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5893 and NO__SQR. Remove all code except __mul and __sqr. Include
5894 sysdeps/ieee754/dbl-64/mpa.c.
5895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5898 * posix/Makefile (tests): Add tst-pathconf.
5899 * posix/tst-pathconf.c: New test case.
5900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5904 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5906 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5908 2013-03-06 Andreas Jaeger <aj@suse.de>
5910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5911 definition via __MAP_ANONYMOUS.
5913 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5914 it's not part of Linux headers.
5916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5917 (MAP_HUGE_MASK): Define.
5919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5925 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5932 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5933 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5935 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5936 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5943 Handle f2fs and efivarfs.
5945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5948 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5949 (EFIVARFS_MAGIC): Add.
5950 (F2FS_LINK_MAX): Add.
5952 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5954 * stdio-common/vfprintf.c: Replace __builtin_expect with
5957 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5960 * sysdeps/generic/bp-sym.h: Remove file.
5961 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5963 <bp-sym.h> and <bp-asm.h>.
5964 (__longjmp): Don't use BP_SYM.
5965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5967 (memcpy): Don't use BP_SYM.
5968 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5969 <bp-sym.h> and <bp-asm.h>.
5970 (memcpy): Don't use BP_SYM.
5971 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5973 (memcpy): Don't use BP_SYM.
5974 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5976 (memset): Don't use BP_SYM.
5977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5979 (__bzero): Don't use BP_SYM.
5980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5982 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5983 <bp-sym.h> and <bp-asm.h>.
5984 (memcmp): Don't use BP_SYM. Remove comment about bounded
5986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5987 <bp-sym.h> and <bp-asm.h>.
5988 (memcpy): Don't use BP_SYM.
5989 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5990 <bp-sym.h> and <bp-asm.h>.
5991 (memset): Don't use BP_SYM.
5992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5994 (__bzero): Don't use BP_SYM.
5995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5998 <bp-sym.h> and <bp-asm.h>.
5999 (strncmp): Don't use BP_SYM. Remove comment about bounded
6001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6002 <bp-sym.h> and <bp-asm.h>.
6003 (memcpy): Don't use BP_SYM.
6004 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6005 <bp-sym.h> and <bp-asm.h>.
6006 (memset): Don't use BP_SYM.
6007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6009 (__bzero): Don't use BP_SYM.
6010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6013 <bp-sym.h> and <bp-asm.h>.
6014 (__memchr): Don't use BP_SYM.
6015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6016 <bp-sym.h> and <bp-asm.h>.
6017 (memcmp): Don't use BP_SYM. Remove comment about bounded
6019 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6020 <bp-sym.h> and <bp-asm.h>.
6021 (memcpy): Don't use BP_SYM.
6022 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6023 <bp-sym.h> and <bp-asm.h>.
6024 (__mempcpy): Don't use BP_SYM.
6025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6026 <bp-sym.h> and <bp-asm.h>.
6027 (__memrchr): Don't use BP_SYM.
6028 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6029 <bp-sym.h> and <bp-asm.h>.
6030 (memset): Don't use BP_SYM.
6031 (__bzero): Likewise.
6032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6033 <bp-sym.h> and <bp-asm.h>.
6034 (__rawmemchr): Don't use BP_SYM.
6035 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6036 <bp-sym.h> and <bp-asm.h>.
6037 (__STRCMP): Don't use BP_SYM.
6038 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6039 <bp-sym.h> and <bp-asm.h>.
6040 (strchr): Don't use BP_SYM.
6041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6042 <bp-sym.h> and <bp-asm.h>.
6043 (__strchrnul): Don't use BP_SYM.
6044 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6045 <bp-sym.h> and <bp-asm.h>.
6046 (strlen): Don't use BP_SYM.
6047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6048 <bp-sym.h> and <bp-asm.h>.
6049 (strncmp): Don't use BP_SYM. Remove comment about bounded
6051 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6052 <bp-sym.h> and <bp-asm.h>.
6053 (__strnlen): Don't use BP_SYM.
6054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6055 <bp-sym.h> and <bp-asm.h>.
6056 (__GI__setjmp): Don't use BP_SYM.
6057 (_setjmp): Likewise.
6058 (__sigsetjmp): Likewise.
6059 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6060 (L(start_addresses)): Don't use BP_SYM.
6062 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6064 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6065 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6066 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6067 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6068 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6070 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6071 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6072 about bounded pointers.
6073 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6074 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6075 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6077 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6078 about bounded pointers. Remove GKM FIXME comments.
6079 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6080 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6082 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6083 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6084 Remove GKM FIXME comments.
6085 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6086 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6087 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6089 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6090 about bounded pointers. Remove GKM FIXME comment.
6091 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6093 (strncmp): Don't use BP_SYM. Remove comment about bounded
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6096 <bp-sym.h> and <bp-asm.h>.
6097 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6099 <bp-sym.h> and <bp-asm.h>.
6100 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6103 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6105 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6108 2013-03-05 David S. Miller <davem@davemloft.net>
6110 * po/es.po: Update from translation team.
6112 2013-03-05 Andreas Jaeger <aj@suse.de>
6114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6115 <bits/mman-linux.h>.
6116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6119 <bits/mman-linux.h> to end of file.
6120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6122 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6123 <bits/mman-linux.h> to end of file.
6124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6127 <bits/mman-linux.h> to end of file.
6129 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6130 (MCL_CURRENT, MCL_FUTURE): Define here.
6132 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6139 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6142 fourth parameter needed for rt_sigprocmask syscall.
6143 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6144 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6146 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6147 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6148 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6150 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6153 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6154 comment about bounded pointers.
6155 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6156 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6158 2013-03-04 Andreas Jaeger <aj@suse.de>
6160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6164 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6170 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6174 __ieee754_sqrl instead of __sqrl.
6176 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6178 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6179 * sysdeps/powerpc/fpu_control.h: ... here.
6180 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6181 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6182 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6183 * sysdeps/powerpc/bits/mathinline.h: ... here.
6185 2013-03-01 Roland McGrath <roland@hack.frob.com>
6187 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6188 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6189 to just [NEED_DL_SYSINFO_DSO].
6190 * elf/dl-support.c: Likewise.
6191 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6192 * elf/rtld.c (dl_main): Likewise.
6193 * elf/setup-vdso.h (setup_vdso): Likewise.
6194 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6195 * sysdeps/unix/sysv/linux/dl-sysdep.c
6196 (_dl_discover_osversion): Likewise.
6198 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6200 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6201 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6203 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6205 * NEWS: Mention libm performance improvements and non-x86 PI
6208 * csu/libc-start.c (__pthread_initialize_minimal): Change
6210 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6212 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6215 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6217 <bp-sym.h> and <bp-asm.h>.
6218 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6219 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6221 (memcpy): Don't use BP_SYM.
6222 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6224 (__mpn_add_n): Don't use BP_SYM.
6225 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6226 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6228 (__mpn_addmul_1): Don't use BP_SYM.
6229 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6230 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6232 (_setjmp): Don't use BP_SYM.
6233 (__novmx_setjmp): Likewise.
6234 (__GI__setjmp): Likewise.
6235 (__vmx_setjmp): Likewise.
6236 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6238 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6239 (__bzero): Don't use BP_SYM.
6240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6242 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6243 <bp-sym.h> and <bp-asm.h>.
6244 (memcpy): Don't use BP_SYM.
6245 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6246 <bp-sym.h> and <bp-asm.h>.
6247 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6249 <bp-sym.h> and <bp-asm.h>.
6250 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6251 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6253 (__mpn_lshift): Don't use BP_SYM.
6254 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6255 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6257 (memset): Don't use BP_SYM.
6258 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6259 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6260 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6262 (__mpn_mul_1): Don't use BP_SYM.
6263 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6264 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6265 <bp-sym.h> and <bp-asm.h>.
6266 (memcmp): Don't use BP_SYM.
6267 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6268 <bp-sym.h> and <bp-asm.h>.
6269 (memcpy): Don't use BP_SYM.
6270 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6271 <bp-sym.h> and <bp-asm.h>.
6272 (memset): Don't use BP_SYM.
6273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6274 <bp-sym.h> and <bp-asm.h>.
6275 (strncmp): Don't use BP_SYM.
6276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6277 <bp-sym.h> and <bp-asm.h>.
6278 (memcpy): Don't use BP_SYM.
6279 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6280 <bp-sym.h> and <bp-asm.h>.
6281 (memset): Don't use BP_SYM.
6282 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6283 <bp-sym.h> and <bp-asm.h>.
6284 (__memchr): Don't use BP_SYM.
6285 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6286 <bp-sym.h> and <bp-asm.h>.
6287 (memcmp): Don't use BP_SYM.
6288 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6289 <bp-sym.h> and <bp-asm.h>.
6290 (memcpy): Don't use BP_SYM.
6291 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6292 <bp-sym.h> and <bp-asm.h>.
6293 (__mempcpy): Don't use BP_SYM.
6294 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6295 <bp-sym.h> and <bp-asm.h>.
6296 (__memrchr): Don't use BP_SYM.
6297 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6298 <bp-sym.h> and <bp-asm.h>.
6299 (memset): Don't use BP_SYM.
6300 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6301 <bp-sym.h> and <bp-asm.h>.
6302 (__rawmemchr): Don't use BP_SYM.
6303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6304 <bp-sym.h> and <bp-asm.h>.
6305 (__STRCMP): Don't use BP_SYM.
6306 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6307 <bp-sym.h> and <bp-asm.h>.
6308 (strchr): Don't use BP_SYM.
6309 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6310 <bp-sym.h> and <bp-asm.h>.
6311 (__strchrnul): Don't use BP_SYM.
6312 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6313 <bp-sym.h> and <bp-asm.h>.
6314 (strlen): Don't use BP_SYM.
6315 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6316 <bp-sym.h> and <bp-asm.h>.
6317 (strncmp): Don't use BP_SYM.
6318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6319 <bp-sym.h> and <bp-asm.h>.
6320 (__strnlen): Don't use BP_SYM.
6321 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6323 (__mpn_rshift): Don't use BP_SYM.
6324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6325 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6326 <bp-sym.h> and <bp-asm.h>.
6327 (__sigsetjmp): Don't use BP_SYM.
6328 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6329 (L(start_addresses)): Don't use BP_SYM.
6331 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6333 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6334 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6335 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6336 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6338 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6339 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6340 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6341 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6343 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6345 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6346 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6348 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6350 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6351 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6352 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6354 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6356 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6358 (strncmp): Don't use BP_SYM,
6359 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6361 (__mpn_sub_n): Don't use BP_SYM.
6362 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6363 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6365 (__mpn_submul_1): Don't use BP_SYM.
6366 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6371 <bp-sym.h> and <bp-asm.h>.
6372 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6375 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6378 Use ZK to minimize writes to Z.
6379 (sub_magnitudes): Simplify code a bit.
6380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6381 Use ZK to minimize writes to Z.
6382 (sub_magnitudes): Simplify code a bit.
6384 2013-02-27 Roland McGrath <roland@hack.frob.com>
6386 * csu/gmon-start.c: Add special exception to license text.
6388 2013-02-27 Richard Henderson <rth@redhat.com>
6390 * scripts/config.guess: Update from config.git.
6391 * scripts/config.sub: Likewise.
6393 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6397 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6399 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6401 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6403 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6405 2013-02-26 Roland McGrath <roland@hack.frob.com>
6407 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6408 [$(build-shared = yes].
6410 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6412 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6413 (__mul): Reduce iterations for calculating mantissa.
6415 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6417 (__mpranred): Likewise.
6420 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6421 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6423 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6425 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6426 Define __attribute__.
6428 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6430 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6432 * posix/regex_internal.h (__attribute): Remove.
6433 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6434 (re_string_context_at): Likewise.
6435 (bitset_not): Use __attribute__ and mark function as possibly
6437 (bitset_merge): Likewise.
6438 (bitset_mask): Likewise.
6439 (re_string_char_size_at): Likewise.
6440 (re_string_wchar_at): Likewise.
6441 (re_string_elem_size_at): Likewise.
6443 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6445 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6454 (__dbl_mp): Likewise.
6455 (add_magnitudes): Likewise.
6456 (sub_magnitudes): Likewise.
6460 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6463 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6466 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6470 up changes with default code.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6474 2013-02-24 Allan McRae <allan@archlinux.org>
6476 * manual/socket.texi (The Internet Namespace): Order menu items
6477 to match that in the file.
6479 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6480 node listing of the info page menu.
6482 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6485 * sysdeps/i386/bp-asm.h: Remove file.
6486 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6487 (PARMS): Do not use macros from bp-asm.h.
6491 (__mpn_add_n): Do not use BP_SYM
6492 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6494 (PARMS): Do not use macros from bp-asm.h.
6497 (__mpn_addmul_1): Do not use BP_SYM
6498 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6500 (PARMS): Do not use macros from bp-asm.h.
6502 (_setjmp): Likewise. Do not use BP_SYM.
6503 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6505 (PARMS): Do not use macros from bp-asm.h.
6507 (setjmp): Likewise. Do not use BP_SYM.
6508 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6510 (PARMS): Do not use macros from bp-asm.h.
6511 (__frexp): Do not use BP_SYM.
6513 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6515 (PARMS): Do not use macros from bp-asm.h.
6516 (__frexpf): Do not use BP_SYM.
6518 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6520 (PARMS): Do not use macros from bp-asm.h.
6521 (__frexpl): Do not use BP_SYM.
6523 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6525 (PARMS): Do not use macros from bp-asm.h.
6526 (__remquo): Do not use BP_SYM.
6528 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6530 (PARMS): Do not use macros from bp-asm.h.
6531 (__remquof): Do not use BP_SYM.
6532 (remquof): Likewise.
6533 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6535 (PARMS): Do not use macros from bp-asm.h.
6536 (__remquol): Do not use BP_SYM.
6537 (remquol): Likewise.
6538 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6540 (PARMS): Do not use macros from bp-asm.h.
6543 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6544 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6546 (PARMS): Do not use macros from bp-asm.h.
6547 (strlen): Do not use BP_SYM.
6548 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6550 (PARMS): Do not use macros from bp-asm.h.
6554 (__mpn_add_n): Do not use BP_SYM.
6555 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6557 (PARMS): Do not use macros from bp-asm.h.
6560 (__mpn_addmul_1): Do not use BP_SYM.
6561 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6564 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6566 (PARMS): Do not use macros from bp-asm.h.
6569 (__mpn_lshift): Do not use BP_SYM.
6570 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6572 (PARMS): Do not use macros from bp-asm.h.
6576 (memcpy): Likewise. Do not use BP_SYM.
6577 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6578 libc_hidden_def and weak_alias.
6579 (mempcpy): Do not use BP_SYM in weak_alias.
6580 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6582 (PARMS): Do not use macros from bp-asm.h.
6585 [!BZERO_P] (CHR): Likewise.
6586 (memset): Likewise. Do not use BP_SYM.
6587 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6589 (PARMS): Do not use macros from bp-asm.h.
6592 (__mpn_mul_1): Do not use BP_SYM.
6593 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6595 (PARMS): Do not use macros from bp-asm.h.
6598 (__mpn_rshift): Do not use BP_SYM.
6599 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6601 (PARMS): Do not use macros from bp-asm.h.
6604 (strchr): Likewise. Do not use BP_SYM.
6605 (index): Do not use BP_SYM in weak_alias.
6606 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6608 (PARMS): Do not use macros from bp-asm.h.
6611 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6612 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6614 (PARMS): Do not use macros from bp-asm.h.
6615 (strlen): Do not use BP_SYM.
6616 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6618 (PARMS): Do not use macros from bp-asm.h.
6622 (__mpn_sub_n): Do not use BP_SYM.
6623 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6625 (PARMS): Do not use macros from bp-asm.h.
6628 (__mpn_submul_1): Do not use BP_SYM.
6629 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6631 (PARMS): Do not use macros from bp-asm.h.
6635 (__mpn_add_n): Do not use BP_SYM.
6636 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6639 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6641 (PARMS): Do not use macros from bp-asm.h.
6644 (memcmp): Do not use BP_SYM.
6645 (bcmp): Do not use BP_SYM in weak_alias.
6646 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6648 (PARMS): Do not use macros from bp-asm.h.
6652 (memcpy): Likewise. Do not use BP_SYM.
6653 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6655 (PARMS): Do not use macros from bp-asm.h.
6659 (memmove): Likewise. Do not use BP_SYM.
6660 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6662 (PARMS): Do not use macros from bp-asm.h.
6666 (__mempcpy): Likewise. Do not use BP_SYM.
6667 (mempcpy): Do not use BP_SYM in weak_alias.
6668 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6670 (PARMS): Do not use macros from bp-asm.h.
6673 [!BZERO_P] (CHR): Likewise.
6674 (memset): Likewise. Do not use BP_SYM.
6675 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6677 (PARMS): Do not use macros from bp-asm.h.
6679 (strcmp): Do not use BP_SYM.
6680 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6682 (PARMS): Do not use macros from bp-asm.h.
6685 [USE_AS_STRTOK_R] (SAVE): Likewise.
6686 (FUNCTION): Likewise. Do not use BP_SYM.
6687 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6689 (strtok_r): Likewise.
6690 (__GI___strtok_r): Likewise.
6691 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6692 (PARMS): Do not use macros from bp-asm.h.
6695 (__mpn_lshift): Do not use BP_SYM.
6696 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6697 (PARMS): Do not use macros from bp-asm.h.
6700 (__memchr): Do not use BP_SYM.
6701 (memchr): Do not use BP_SYM in weak_alias.
6702 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6703 (PARMS): Do not use macros from bp-asm.h.
6706 (memcmp): Do not use BP_SYM.
6707 (bcmp): Do not use BP_SYM in weak_alias.
6708 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6709 (PARMS): Do not use macros from bp-asm.h.
6712 (__mpn_mul_1): Do not use BP_SYM.
6713 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6715 (PARMS): Do not use macros from bp-asm.h.
6718 (__rawmemchr): Do not use BP_SYM.
6719 (rawmemchr): Do not use BP_SYM in weak_alias.
6720 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6721 (PARMS): Do not use macros from bp-asm.h.
6724 (__mpn_rshift): Do not use BP_SYM.
6725 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6726 (PARMS): Do not use macros from bp-asm.h.
6728 (__sigsetjmp): Likewise. Do not use BP_SYM.
6729 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6730 (_start): Do not use BP_SYM.
6731 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6732 (PARMS): Do not use macros from bp-asm.h.
6735 (__stpcpy): Likewise. Do not use BP_SYM.
6736 (stpcpy): Do not use BP_SYM in weak_alias.
6737 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6739 (PARMS): Do not use macros from bp-asm.h.
6743 (__stpncpy): Likewise. Do not use BP_SYM.
6744 (stpncpy): Do not use BP_SYM in weak_alias.
6745 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6746 (PARMS): Do not use macros from bp-asm.h.
6749 (strchr): Likewise. Do not use BP_SYM.
6750 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6752 (PARMS): Do not use macros from bp-asm.h.
6755 (__strchrnul): Likewise. Do not use BP_SYM.
6756 (strchrnul): Do not use BP_SYM in weak_alias.
6757 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6759 (PARMS): Do not use macros from bp-asm.h.
6761 (strcspn): Do not use BP_SYM.
6762 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6764 (PARMS): Do not use macros from bp-asm.h.
6767 (strpbrk): Likewise. Do not use BP_SYM.
6768 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6770 (PARMS): Do not use macros from bp-asm.h.
6773 (strrchr): Likewise. Do not use BP_SYM.
6774 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6775 (PARMS): Do not use macros from bp-asm.h.
6777 (strspn): Do not use BP_SYM.
6778 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6779 (PARMS): Do not use macros from bp-asm.h.
6783 (FUNCTION): Likewise. Do not use BP_SYM.
6784 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6786 (strtok_r): Likewise.
6787 (__GI___strtok_r): Likewise.
6788 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6789 (PARMS): Do not use macros from bp-asm.h.
6793 (__mpn_sub_n): Do not use BP_SYM.
6794 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6796 (PARMS): Do not use macros from bp-asm.h.
6799 (__mpn_submul_1): Do not use BP_SYM.
6800 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6802 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6804 (PARMS): Do not use macros from bp-asm.h.
6809 (__clone): Do not use BP_SYM.
6810 (clone): Do not use BP_SYM in weak_alias.
6811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6813 (PARMS): Do not use macros from bp-asm.h.
6815 (__mmap64): Do not use BP_SYM.
6816 (mmap64): Do not use BP_SYM in weak_alias.
6817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6818 <bp-sym.h> and <bp-asm.h>.
6819 (PARMS): Do not use macros from bp-asm.h.
6820 (__posix_fadvise64_l64): Do not use BP_SYM.
6821 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6822 (PARMS): Do not use macros from bp-asm.h.
6824 (semtimedop): Do not use BP_SYM.
6825 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6828 2013-02-21 Allan McRae <allan@archlinux.org>
6830 * manual/message.texi (Charset conversion in gettext):
6831 Move @end statement to beginning of line.
6833 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6840 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6845 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6847 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6848 tail-call to the resolved function if pltexit isn't needed.
6850 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6853 or Y being zero as being unlikely.
6854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6857 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6859 * manual/nss.texi (System Databases and Name Service Switch):
6860 Remove frobnicate @pxref.
6862 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6864 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6865 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6867 2013-02-20 Petr Machata <pmachata@redhat.com>
6869 * elf/elf.h (R_ARM_TARGET1): New macro.
6870 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6871 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6872 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6873 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6874 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6875 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6876 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6877 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6878 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6879 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6880 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6881 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6882 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6883 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6884 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6885 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6886 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6887 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6888 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6889 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6890 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6891 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6892 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6893 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6894 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6895 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6896 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6897 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6898 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6899 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6900 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6901 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6902 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6903 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6904 (R_ARM_THM_GOT_BREL12): Likewise.
6905 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6906 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6907 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6908 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6909 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6910 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6911 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6912 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6913 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6915 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6918 __attribute_used__ to __attribute__ ((unused)).
6920 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6922 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6928 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6933 (ENTER): Remove both macro definitions.
6935 (CHECK_BOUNDS_LOW): Likewise.
6936 (CHECK_BOUNDS_HIGH): Likewise.
6937 (CHECK_BOUNDS_BOTH): Likewise.
6938 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6939 (RETURN_BOUNDED_POINTER): Likewise.
6940 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6941 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6942 (POP_ERRNO_LOCATION_RETURN): Likewise.
6943 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6945 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6948 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6949 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6950 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6951 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6952 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6953 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6954 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6955 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6956 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6957 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6958 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6960 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6963 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6966 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6967 * sysdeps/i386/i586/memset.S (memset): Likewise.
6968 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6969 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6970 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6973 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6974 Change uses of L(2) to L(out).
6975 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6976 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6977 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6978 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6979 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6981 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6982 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6984 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6985 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6986 (RETURN): Do not use macro LEAVE.
6987 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6988 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6989 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6990 * sysdeps/i386/i686/memset.S (memset): Likewise.
6991 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6992 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6993 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6994 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6996 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6997 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6998 L(1_2) and L(1_3) into L(1).
6999 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7000 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7001 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7002 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7003 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7004 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7005 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7007 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7009 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7011 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7012 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7013 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7014 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7015 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7016 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7017 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7018 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7019 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7020 * sysdeps/i386/strspn.S (strspn): Likewise.
7021 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7023 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7024 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7025 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7026 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7028 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7030 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7032 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7034 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7036 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7039 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7041 * math/atest-exp.c (exp_mpn): Remove ROUND.
7042 * math/atest-exp2.c (exp_mpn): Likewise.
7043 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7045 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7046 * stdlib/tst-tls-atexit-lib.c: Likewise.
7047 * stdlib/tst-tls-atexit.c: Likewise.
7049 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7051 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7052 and __attribute_alloc_size__.
7054 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7056 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7057 __attribute_alloc_size__.
7058 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7059 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7061 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7063 * include/programs/xmalloc.h: New file.
7064 * catgets/gencat.c: Include it.
7065 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7066 * elf/pldd.c: Likewise.
7067 * iconv/iconv_charmap.c: Likewise.
7068 * iconv/iconvconfig.c: Likewise.
7069 * iconv/strtab.c: Likewise.
7070 * locale/programs/locale.c: Likewise.
7071 * locale/programs/localedef.h: Likewise.
7072 * locale/programs/simple-hash.c: Likewise.
7073 * nscd/nscd.h: Likewise.
7074 * nss/makedb.c: Likewise.
7075 * sysdeps/generic/ldconfig.h: Likewise.
7077 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7079 * Versions.def: Add GLIBC_2.18.
7080 * include/link.h (struct link_map): New member l_tls_dtor_count.
7081 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7082 (__call_tls_dtors): Likewise.
7083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7084 __cxa_thread_atexit_impl.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7101 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7102 (tests): Add test case tst-tls-atexit.
7103 (modules-names): Add shared library for tst-tls-atexit.
7104 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7105 (GLIBC_PRIVATE): Add __call_tls_dtors.
7106 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7108 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7109 * stdlib/tst-tls-atexit.c: New test case.
7110 * stdlib/tst-tls-atexit-lib.c: New test case.
7112 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7114 * elf/Versions (ld): Add _dl_find_dso_for_object.
7115 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7116 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7117 (dl_open_worker): Use _dl_find_dso_for_object.
7118 * elf/dl-sym.c (do_sym): Likewise.
7119 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7121 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7123 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7124 Syntactic changes only.
7125 (_dl_runtime_profile): Do a tail-call to the resolved function.
7127 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7130 * sysdeps/x86_64/bp-asm.h: Remove file.
7131 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7132 <bp-sym.h> and <bp-asm.h>.
7133 (__clone): Do not use BP_SYM.
7134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7135 <bp-sym.h> and <bp-asm.h>.
7136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7137 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7139 (_setjmp): Do not use BP_SYM.
7140 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7142 (setjmp): Do not use BP_SYM.
7143 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7145 (mempcpy): Do not use BP_SYM in weak_alias.
7146 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7148 (strchr): Do not use BP_SYM.
7149 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7151 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7152 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7153 (_start): Do not use BP_SYM.
7154 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7156 (strcat): Do not use BP_SYM.
7157 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7159 (STRCMP): Do not use BP_SYM.
7160 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7162 (STRCPY): Do not use BP_SYM.
7163 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7165 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7167 (FUNCTION): Do not use BP_SYM.
7168 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7170 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7172 2013-02-17 Andreas Jaeger <aj@suse.de>
7174 * time/Versions: Sort entries.
7175 * string/Versions: Likewise.
7176 * resolv/Versions: Likewise.
7177 * posix/Versions: Likewise.
7178 * iconv/Versions: Likewise.
7179 * elf/Versions: Likewise.
7180 * wcsmbs/Versions: Likewise.
7182 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7184 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7185 loop termination condition.
7187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7188 variable to calculate EZ.
7191 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7192 the lower precision input.
7194 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7197 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7198 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7199 (run-via-rtld-prefix): Do not handle %-bp tests.
7200 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7201 (all-object-suffixes): Remove .ob.
7202 (bppfx): Remove variable.
7203 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7204 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7205 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7206 [$(build-bounded) = yes] (libtype.ob): Likewise.
7207 * Makerules (elide-routines.ob): Remove variable.
7208 (do-tests-clean): Do not handle *-bp.out.
7209 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7210 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7211 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7212 (tests): Do not include $(tests-bp.out).
7213 (xtests): Do not include $(xtests-bp.out).
7214 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7215 [$(build-bounded) = yes] ($(addprefix
7216 $(objpfx),$(binaries-bounded))): Remove rule.
7217 ($(objpfx)%-bp.out): Remove rule.
7218 * config.make.in (build-bounded): Remove variable.
7219 * crypt/Makefile [$(build-bounded) = yes]
7220 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7221 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7223 [$(build-bounded) = yes] (install-lib): Likewise.
7224 [$(build-bounded) = yes] (generated): Likewise.
7225 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7227 * intl/Makefile [$(build-bounded) = yes]
7228 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7229 * math/Makefile [$(build-bounded) = yes]
7230 ($(tests:%=$(objpfx)%-bp): Likewise.
7231 * misc/Makefile [$(build-bounded) = yes]
7232 ($(objpfx)tst-tsearch-bp): Likewise.
7233 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7234 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7236 * string/Makefile (o-objects.ob): Remove variable.
7237 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7238 (CFLAGS-.ob): Remove variable.
7239 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7240 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7241 both definitions of variable.
7242 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7243 (ASFLAGS-.ob): Remove variable.
7245 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7248 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7249 Remove __BOUNDED_POINTERS__ from condition.
7250 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7251 * string/bits/string2.h [!__NO_STRING_INLINES &&
7252 !__BOUNDED_POINTERS__]: Likewise.
7253 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7255 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7256 Remove conditional code.
7257 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7258 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7259 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7263 * csu/libc-start.c: Do not include <bp-sym.h>.
7264 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7265 * elf/dl-open.c: Do not include <bp-sym.h>.
7266 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7267 * math/fegetenv.c: Do not include <bp-sym.h>.
7268 (fegetenv): Do not use BP_SYM in versioned symbols.
7269 * nptl/sysdeps/pthread/bits/libc-lockP.h
7270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7273 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7275 (__pthread_mutex_destroy): Likewise.
7276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7277 (__pthread_mutex_lock): Likewise.
7278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7279 (__pthread_mutex_trylock): Likewise.
7280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7281 (__pthread_mutex_unlock): Likewise.
7282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7283 (__pthread_mutexattr_init): Likewise.
7284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7285 (__pthread_mutexattr_destroy): Likewise.
7286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7287 (__pthread_mutexattr_settype): Likewise.
7288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7289 (__pthread_rwlock_init): Likewise.
7290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7291 (__pthread_rwlock_destroy): Likewise.
7292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7293 (__pthread_rwlock_rdlock): Likewise.
7294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7295 (__pthread_rwlock_tryrdlock): Likewise.
7296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7297 (__pthread_rwlock_wrlock): Likewise.
7298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7299 (__pthread_rwlock_trywrlock): Likewise.
7300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7301 (__pthread_rwlock_unlock): Likewise.
7302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7303 (__pthread_key_create): Likewise.
7304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7305 (__pthread_setspecific): Likewise.
7306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7307 (__pthread_getspecific): Likewise.
7308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7311 (_pthread_cleanup_push_defer): Likewise.
7312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7313 (_pthread_cleanup_pop_restore): Likewise.
7314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7315 (pthread_setcancelstate): Likewise.
7316 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7318 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7319 (memchr): Do not use BP_SYM in weak_alias.
7320 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7321 (fegetenv): Do not use BP_SYM in versioned symbols.
7322 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7323 (fesetenv): Do not use BP_SYM in versioned symbols.
7324 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7325 (feupdateenv): Do not use BP_SYM in versioned symbols.
7326 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7327 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7328 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7329 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7330 (open64): Do not use BP_SYM in weak_alias.
7331 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7332 (fegetenv): Do not use BP_SYM in versioned symbols.
7333 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7334 (fesetenv): Do not use BP_SYM in versioned symbols.
7335 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7336 (feupdateenv): Do not use BP_SYM in versioned symbols.
7337 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7338 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7339 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7340 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7341 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7342 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7343 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7345 (__libc_start_main): Do not use BP_SYM.
7347 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7350 redundant return line.
7354 (sub_magnitudes): Likewise.
7360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7364 (sub_magnitudes): Likewise.
7371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7374 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7377 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7378 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7380 of __mul for squares.
7381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7388 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7391 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7393 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7394 prototype or function definition. Rename ubp_* variables and
7395 parameters. Remove argv definitions conditional on
7396 [__BOUNDED_POINTERS__].
7397 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7398 * elf/dl-runtime.c (_dl_fixup): Likewise.
7399 * include/set-hooks.h (RUN_HOOK): Likewise.
7400 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7402 * string/strcpy.c (strcpy): Do not use __unbounded.
7403 * sysdeps/generic/frame.h (struct layout): Likewise.
7404 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7405 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7406 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7407 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7408 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7409 (__backtrace): Likewise.
7410 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7412 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7413 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7414 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7416 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7417 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7418 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7419 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7420 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7421 Do not use __unbounded.
7422 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7423 Rename __unboundedrlimits parameter to rlimits in prototype.
7424 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7425 Do not use __unbounded.
7426 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7428 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7429 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7430 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7432 __ptrvalue or __unbounded.
7433 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7434 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7436 (__new_msgctl): Do not use __ptrvalue.
7437 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7439 (__libc_msgrcv): Do not use __ptrvalue.
7440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7441 startup_info): Do not use __unbounded.
7442 (__libc_start_main): Likewise. Rename ubp_* variables and
7443 parameters. Remove argv definitions conditional on
7444 [__BOUNDED_POINTERS__].
7445 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7447 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7451 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7453 (__new_shmctl): Do not use __ptrvalue.
7454 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7455 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7457 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7458 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7459 (__libc_sigaction): Likewise.
7460 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7463 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7465 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7467 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7469 * string/mempcpy.c: Implement by calling memcpy.
7471 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7479 values in the mantissa.
7481 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7482 minimize writes to Z.
7483 (sub_magnitudes): Simplify code a bit.
7485 2013-02-12 Roland McGrath <roland@hack.frob.com>
7487 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7488 from the message. The linker prefixes all warnings with that already.
7490 2013-02-12 Andreas Schwab <schwab@suse.de>
7493 * posix/regexec.c (extend_buffers): Add parameter min_len.
7494 (check_matching): Pass minimum needed length.
7495 (clean_state_log_if_needed): Likewise.
7496 (get_subexp): Likewise.
7497 * posix/Makefile (tests): Add bug-regex34.
7498 (bug-regex34-ENV): Define.
7499 * posix/bug-regex34.c: New file.
7502 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7503 elements compare against the byte sequence of it, not its name.
7504 * posix/Makefile (tests): Add bug-regex35.
7505 (bug-regex35-ENV): Define.
7506 * posix/bug-regex35.c: New file.
7508 2013-02-11 Tom de Vries <tom@codesourcery.com>
7510 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7512 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7513 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7514 (CHECK_EOL): Add undef.
7516 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7518 * bits/stdlib-bsearch.h: New file.
7519 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7520 * stdlib/stdlib.h: Likewise.
7522 2013-02-11 Roland McGrath <roland@hack.frob.com>
7524 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7525 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7527 * manual/search.texi (Array Search Function): Add missing const in
7529 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7530 declaration to use rlim_t.
7531 (Basic Scheduling Functions): Remove erroneous const from
7532 sched_getparam prototype. Remove erroneous * from
7533 sched_get_priority_max and sched_get_priority_min prototypes.
7534 (Resource Usage): Fix summary @comment on vtimes to refer to
7535 sys/vtimes.h rather than vtimes.h.
7536 Add missing *s in vtimes prototype.
7537 (Limits on Resources): Fix ulimit prototype to return long int.
7538 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7539 prototypes to use long int rather than double.
7540 (BSD Random): Fix initstate and setstate to use char *, not void *.
7541 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7542 prototype to make second argument 'struct aiocb64 *const[]'.
7543 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7544 (Status of AIO Operations): Remove erroneous const in aio_return and
7545 aio_return64 prototypes.
7546 (Synchronizing I/O): Fix sync prototype to return void.
7547 * manual/startup.texi (Suboptions): Remove an erroneous const in
7548 getsubopt prototype.
7549 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7550 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7551 use size_t rather than int.
7552 (Scanning All Users): Likewise for getpwent_r.
7553 (Setting Groups): Add missing const to setgroups prototype.
7554 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7555 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7556 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7557 'const void *' rather than 'const char *'.
7558 (Host Address Functions): Likewise for inet_ntop.
7559 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7560 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7561 ssize_t for return value.
7562 (Sending Data): Likewise for send, sendto, sendmsg.
7563 (Socket Option Functions): Add a missing const in setsockopt prototype.
7564 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7565 use wchar_t for the argument.
7566 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7567 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7569 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7570 double/float/long double for second argument.
7571 Fix return types of significand, significandf, significandl.
7572 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7573 argument in fchmod prototype.
7574 (File Owner): Use uid_t and gid_t in fchown prototype.
7575 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7576 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7577 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7578 use 'const struct dirent **' as argument types to CMP function pointer
7580 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7581 (File Times): Fix summary magic @comment for struct utimbuf and utime
7582 to refer to utime.h, not time.h.
7583 * manual/string.texi (Argz Functions): Add missing const in
7584 argz_extract and argz_next prototypes.
7585 (Finding Tokens in a String): Likewise for basename.
7586 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7587 (Copying and Concatenation): Fix typo in wmemmove prototype.
7588 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7589 (Signal Stack): Remove erroneous const in sigstack prototype.
7590 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7592 (Simple Calendar Time): Likewise for stime.
7593 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7595 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7596 say sys/sysctl.h instead.
7597 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7598 and vsyslog prototypes.
7600 2013-02-11 Tom de Vries <tom@codesourcery.com>
7602 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7605 2013-02-11 Roland McGrath <roland@hack.frob.com>
7607 * misc/sys/mman.h: Fix typo in mremap comment.
7609 2013-02-08 Roland McGrath <roland@hack.frob.com>
7611 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7612 the '\0' terminator.
7614 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7617 * debug/segfault.c: Don't include <bp-checks.h>.
7618 * sysdeps/generic/bp-checks.h: Remove file.
7619 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7620 (__GETDENTS): Don't use CHECK_N.
7621 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7622 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7623 (__getgroups): Don't use CHECK_N.
7624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7625 (setgroups): Don't use CHECK_N.
7626 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7627 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7628 (__libc_msgrcv): Don't use CHECK_N.
7629 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7630 (__libc_msgsnd): Don't use CHECK_N.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7633 (__libc_pread): Don't use CHECK_N.
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7635 include <bp-checks.h>.
7636 (__libc_pread64): Don't use CHECK_N.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7638 include <bp-checks.h>.
7639 (__libc_pwrite): Don't use CHECK_N.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7641 include <bp-checks.h>.
7642 (__libc_pwrite64): Don't use CHECK_N.
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7645 (__libc_pread): Don't use CHECK_N.
7646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7647 include <bp-checks.h>.
7648 (__libc_pread64): Don't use CHECK_N.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7650 include <bp-checks.h>.
7651 (__libc_pwrite): Don't use CHECK_N.
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7653 include <bp-checks.h>.
7654 (__libc_pwrite64): Don't use CHECK_N.
7655 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7656 (do_pread): Don't use CHECK_N.
7657 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7658 (do_pread64): Don't use CHECK_N.
7659 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7660 (do_pwrite): Don't use CHECK_N.
7661 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7662 (do_pwrite64): Don't use CHECK_N.
7663 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7664 (__libc_readv): Don't use CHECK_N.
7665 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7666 (semop): Don't use CHECK_N.
7667 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7669 (semtimedop): Don't use CHECK_N.
7670 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7671 (__libc_pread): Don't use CHECK_N.
7672 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7674 (__libc_pread64): Don't use CHECK_N.
7675 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7677 (__libc_pwrite): Don't use CHECK_N.
7678 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7680 (__libc_pwrite64): Don't use CHECK_N.
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7683 (__libc_msgrcv): Don't use CHECK_N.
7684 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7685 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7686 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7687 (__libc_writev): Don't use CHECK_N.
7689 2013-02-08 Roland McGrath <roland@hack.frob.com>
7691 * string/strcpy.c: Removed unused variable.
7693 * Makeconfig (+sysdep-includes): Define with := rather than =.
7694 Use an existing include/ subdir of each sysdeps dir before it.
7696 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7698 * nscd/connection.c (register_traced_file): Comment function.
7699 [HAVE_INOTIFY] (union __inev): Define.
7700 [HAVE_INOTIFY] (inotify_check_files): New function.
7701 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7702 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7704 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7708 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7709 loaded if not already and that a failure is permanent.
7711 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7714 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7715 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7717 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7721 (CHECK_1_NULL_OK): Likewise.
7722 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7723 (__fxstat): Do not use CHECK_1.
7724 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7726 (___fxstat64): Do not use CHECK_1.
7727 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7729 (__fxstatat): Do not use CHECK_1.
7730 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7732 (__fxstatat64): Do not use CHECK_1.
7733 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7735 (__fxstat): Do not use CHECK_1.
7736 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7738 (__fxstatat): Do not use CHECK_1.
7739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7741 (__getresgid): Do not use CHECK_1.
7742 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7744 (__getresuid): Do not use CHECK_1.
7745 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7747 (__lxstat): Do not use CHECK_1.
7748 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7750 (__old_msgctl): Do not use CHECK_1.
7751 (__new_msgctl): Likewise.
7752 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7754 (__new_setrlimit): Do not use CHECK_1.
7755 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7757 (__old_shmctl): Do not use CHECK_1.
7758 (__new_shmctl): Likewise.
7759 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7761 (__xstat): Do not use CHECK_1.
7762 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7763 (__lxstat): Do not use CHECK_1.
7764 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7766 (___lxstat64): Do not use CHECK_1.
7767 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7768 (__old_msgctl): Do not use CHECK_1.
7769 (__new_msgctl): Likewise.
7770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7772 (__gettimeofday): Do not use CHECK_1.
7773 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7774 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7775 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7777 (__gettimeofday): Do not use CHECK_1.
7778 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7779 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7780 (__new_shmctl): Do not use CHECK_1.
7781 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7783 (do_sigtimedwait): Do not use CHECK_1.
7784 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7786 (do_sigwaitinfo): Do not use CHECK_1.
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7789 (msgctl): Do not use CHECK_1.
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7792 (shmctl): Do not use CHECK_1.
7793 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7794 (ustat): Do not use CHECK_1.
7795 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7797 (__fxstat): Do not use CHECK_1.
7798 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7800 (__fxstatat): Do not use CHECK_1.
7801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7803 (__lxstat): Do not use CHECK_1.
7804 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7806 (__xstat): Do not use CHECK_1.
7807 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7808 (__xstat): Do not use CHECK_1.
7809 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7810 (___xstat64): Do not use CHECK_1.
7813 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7815 (CHECK_BOUNDS_HIGH): Likewise.
7816 * string/strcpy.c: Do not include <bp-checks.h>.
7817 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7819 2013-02-07 Roland McGrath <roland@hack.frob.com>
7821 * nscd/nscd-client.h (__nscd_drop_map_ref):
7822 Add __attribute__ ((unused)).
7823 * nis/nss-nisplus.h (niserr2nss): Likewise.
7825 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7826 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7828 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7829 Remove inline keyword.
7830 * include/rounding-mode.h (round_away): Likewise.
7831 * libio/wfileops.c (adjust_wide_data): Likewise.
7832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7833 (__m128i_strloadu_tolower): Likewise.
7834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7835 (__m128i_strloadu_tolower): Likewise.
7836 * time/mktime.c (ydhms_diff): Likewise.
7837 * locale/elem-hash.h (elem_hash): Likewise.
7838 * locale/setlocale.c (setdata): Likewise.
7839 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7840 (re_string_wchar_at): Likewise.
7841 (bitset_not, bitset_merge, bitset_mask): Likewise.
7842 [!(__GNUC__ > 3)] (inline): Remove macro.
7843 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7844 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7845 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7846 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7847 * string/memcmp.c (memcmp_bytes): Likewise.
7848 * locale/programs/locarchive.c (compute_hashval): Likewise.
7849 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7850 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7851 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7852 * nss/getent.c (print_rpc, print_protocols): Likewise.
7853 (print_passwd, print_group, print_aliases): Likewise.
7854 * nis/nss-nisplus.h (niserr2nss): Likewise.
7855 * nscd/connections.c (restart_p): Likewise.
7856 Change return type to bool.
7858 2013-02-05 Roland McGrath <roland@hack.frob.com>
7860 * Makeconfig (all-Depend-files): Add existing
7861 $(sorted-subdirs:=/Depend) files.
7862 (all-subdirs): Remove nss.
7863 * sysdeps/unix/inet/Subdirs: Add it here instead.
7864 * hesiod/Depend: New file.
7866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7867 instead of calling alloca.
7869 * io/lseek.c (__lseek): Rename to __libc_lseek.
7870 Define __lseek as an alias.
7872 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7874 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7876 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7877 else clause and remove check for non-standard endianness.
7879 2013-02-04 David S. Miller <davem@davemloft.net>
7881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7883 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7886 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7887 (__ubp_memchr): Remove prototype.
7888 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7889 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7890 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7891 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7892 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7894 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7895 (__ubp_memchr): Likewise.
7896 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7897 (__ubp_memchr): Likewise.
7898 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7899 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7900 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7901 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7904 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7905 (__getcwd): Do not use CHECK_STRING.
7906 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7908 (__real_chown): Do not use CHECK_STRING.
7909 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7911 (fchownat): Do not use CHECK_STRING.
7912 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7914 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7916 (__lchown): Do not use CHECK_STRING.
7917 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7918 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7919 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7920 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7922 include <bp-checks.h>.
7923 (truncate64): Do not use CHECK_STRING.
7924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7926 (__real_chown): Do not use CHECK_STRING.
7927 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7929 (__lchown): Do not use CHECK_STRING.
7930 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7932 (__chown): Do not use CHECK_STRING.
7933 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7935 (truncate64): Do not use CHECK_STRING.
7936 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7938 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7939 (__xmknod): Do not use CHECK_STRING.
7940 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7942 (__xmknodat): Do not use CHECK_STRING.
7943 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7944 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7946 2013-02-04 Andreas Schwab <schwab@suse.de>
7949 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7950 * include/netdb.h: Likewise for h_errno.
7951 * elf/tst-stackguard1.c: Include <tls.h>.
7953 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7955 * elf/link.h (struct link_map): Extend the l_addr comment.
7956 * include/link.h (struct link_map): Likewise.
7958 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7961 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7962 (BOUNDED_1): Remove macro.
7963 * debug/backtrace.c: Don't include <bp-checks.h>.
7964 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7965 (__backtrace): Likewise.
7966 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7968 (__backtrace): Don't use BOUNDED_1.
7969 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7971 (__backtrace): Don't use BOUNDED_1.
7972 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7973 (__backtrace): Don't use BOUNDED_1.
7974 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7975 (shmat): Don't use BOUNDED_N.
7977 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7980 * sysdeps/generic/bp-start.h: Remove file.
7981 * csu/libc-start.c: Don't include <bp-start.h>.
7982 (LIBC_START_MAIN): Set up __environ directly instead of using
7983 INIT_ARGV_and_ENVIRON.
7984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7988 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7990 (CHECK_FCNTL): Likewise.
7991 (CHECK_N_PAGES): Likewise.
7994 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7996 (CHECK_SIGSET_NULL_OK): Likewise.
7997 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7999 (sigpending): Don't use CHECK_SIGSET.
8000 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8002 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8003 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8005 (do_sigsuspend): Don't use CHECK_SIGSET.
8006 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8008 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8009 (do_sigwait): Don't use CHECK_SIGSET.
8010 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8013 include <bp-checks.h>.
8014 (sigpending): Don't use CHECK_SIGSET.
8015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8016 include <bp-checks.h>.
8017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8018 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8020 (sigpending): Don't use CHECK_SIGSET.
8021 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8026 * sysdeps/generic/bp-semctl.h: Remove file.
8027 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8028 <bp-checks.h> and <bp-semctl.h>.
8029 (__old_semctl): Don't use CHECK_SEMCTL.
8030 (__new_semctl): Likewise.
8031 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8033 (__old_semctl): Don't use CHECK_SEMCTL.
8034 (__new_semctl): Likewise.
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8036 <bp-checks.h> and <bp-semctl.h>.
8037 (__old_semctl): Don't use CHECK_SEMCTL.
8038 (__new_semctl): Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8040 <bp-checks.h> and <bp-semctl.h>.
8041 (semctl): Don't use CHECK_SEMCTL.
8044 * Makerules (elide-bp-thunks): Remove variable.
8045 (elide-routines.oS): Don't use $(elide-bp-thunks).
8046 (elide-routines.os): Likewise.
8047 (elide-routines.o): Likewise.
8048 (elide-routines.op): Likewise.
8049 (elide-routines.og): Likewise.
8050 (objects): Don't use $(bp-thunks).
8051 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8053 (common-generated): Do not add s-proto-bp.d.
8054 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8057 Do not generate makefile rules for bounded-pointer thunks.
8058 * sysdeps/generic/bp-thunks.h: Remove file.
8059 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8060 * sysdeps/unix/s-proto-bp.S: Likewise.
8063 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8064 parts of result separately when argument is not close to line from
8065 -i to i and one part of argument is small.
8066 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8067 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8068 * math/libm-test.inc (cacos_test): Add more tests.
8069 (casin_test): Likewise.
8070 (casinh_test): Likewise.
8071 * sysdeps/i386/fpu/libm-test-ulps: Update.
8072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074 2013-01-31 David S. Miller <davem@davemloft.net>
8076 * po/de.po: Update from translation team.
8078 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8080 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8082 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8084 * configure.in (_AC_PROG_CC_C89): New definition.
8085 * configure: Regenerate.
8087 * configure.in (AC_PROG_CPP): New definition.
8088 * configure: Regenerate.
8090 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8092 * debug/tst-backtrace.h: New file.
8093 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8094 (ret): Remove variable.
8096 (FAIL): Remove macro.
8097 (NO_INLINE): Likewise.
8098 (fn1): Use match function instead of strstr.
8099 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8100 (ret): Remove variable.
8102 (FAIL): Remove macro.
8103 (NO_INLINE): Likewise.
8104 (fn): Use match function instead of strstr.
8105 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8106 (ret): Remove variable.
8108 (FAIL): Remove macro.
8109 (NO_INLINE): Likewise.
8110 (handle_signal): Use match function instead of strstr.
8111 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8112 (ret): Remove variable.
8114 (FAIL): Remove macro.
8115 (NO_INLINE): Likewise.
8116 (handle_signal): Use match function instead of strstr.
8118 2013-01-23 Roland McGrath <roland@hack.frob.com>
8120 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8122 2013-01-23 David S. Miller <davem@davemloft.net>
8124 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8125 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8126 argument of CAS if possible.
8127 * sysdeps/sparc/sparc64/bits/atomic.h
8128 (__arch_compare_and_exchange_val_32_acq): Likewise.
8129 (__arch_compare_and_exchange_val_64_acq): Likewise.
8131 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8133 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8134 * sysdeps/posix/ulimit.c: ... this.
8136 * sysdeps/unix/bsd/ulimit.c: Remove file.
8138 2013-01-23 Adam Conrad <adconrad@0c3.net>
8140 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8141 (LDFLAGS-tst-array5): Likewise.
8143 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8146 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8147 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8148 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8149 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8151 2013-01-21 David S. Miller <davem@davemloft.net>
8153 * sysdeps/sparc/backtrace.c: New file.
8154 * sysdeps/sparc/sparc32/backtrace.h: New file.
8155 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8156 * sysdeps/sparc/sparc64/backtrace.h: New file.
8157 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8158 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8161 2013-01-21 Andreas Schwab <schwab@suse.de>
8164 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8167 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8173 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8174 Mark Mitchell <mark@codesourcery.com>
8175 Tom de Vries <tom@codesourcery.com>
8176 Paul Pluzhnikov <ppluzhnikov@google.com>
8178 * debug/tst-backtrace2.c: New file.
8179 * debug/tst-backtrace3.c: Likewise.
8180 * debug/tst-backtrace4.c: Likewise.
8181 * debug/tst-backtrace5.c: Likewise.
8182 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8183 (CFLAGS-tst-backtrace3.c): Likewise.
8184 (CFLAGS-tst-backtrace4.c): Likewise.
8185 (CFLAGS-tst-backtrace5.c): Likewise.
8186 (LDFLAGS-tst-backtrace2): Likewise.
8187 (LDFLAGS-tst-backtrace3): Likewise.
8188 (LDFLAGS-tst-backtrace4): Likewise.
8189 (LDFLAGS-tst-backtrace5): Likewise.
8190 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8191 tst-backtrace4 and tst-backtrace5.
8193 2013-01-18 Anton Blanchard <anton@samba.org>
8194 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8196 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8197 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8198 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8199 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8201 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8202 "+r" and remove output regs list as redundant. Add explicit inline
8203 asm to specify register of return val to work around compiler codegen
8204 bug. Remove (int) cast on return value. Add return type parameter to
8205 use in macro so that this macro does not truncate return value for
8207 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8208 pass to INTERNAL_VSYSCALL_NCS.
8209 (INLINE_VSYSCALL): Add 'long int' as return type to
8210 INTERNAL_VSYSCALL_NCS macro invocation.
8211 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8212 INTERNAL_VSYSCALL_NCS macro invocation.
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8215 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8218 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8219 Fix application of SIMD FP exception mask.
8221 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8222 mp_no from a power of two.
8223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8224 __mpexp_twomm1. Use __pow_mp.
8226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8229 2013-01-17 David S. Miller <davem@davemloft.net>
8231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8233 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8236 * include/complex.h: Condition contents on [!_COMPLEX_H].
8237 (__kernel_casinhf): New prototype.
8238 (__kernel_casinh): Likewise.
8239 (__kernel_casinhl): Likewise.
8240 * math/Makefile (libm_calls): Add k_casinh.
8241 * math/k_casinh.c: New file.
8242 * math/k_casinhf.c: Likewise.
8243 * math/k_casinhl.c: Likewise.
8244 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8245 finite nonzero arguments.
8246 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8247 finite nonzero arguments.
8248 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8249 finite nonzero arguments.
8250 * math/s_casinh.c: Do not include <float.h>.
8251 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8252 * math/s_casinhf.c: Do not include <float.h>.
8253 (__casinhf): Move code for finite nonzero arguments to
8255 * math/s_casinhl.c: Do not include <float.h>.
8256 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8258 (__casinhl): Move code for finite nonzero arguments to
8260 * math/libm-test.inc (cacos_test): Add more tests.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8264 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8266 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8267 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8268 [!HAVE_MREMAP]: Remove [defined linux] case.
8269 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8271 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8273 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8275 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8277 * elf/elf.h (R_386_SIZE32): New relocation.
8278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8280 (elf_machine_rela): Likewise.
8281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8282 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8284 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8286 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8287 (FP_FAST_FMA): Do not define.
8288 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8289 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8290 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8291 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8292 !_SOFT_FLOAT]: Likewise.
8293 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8297 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8299 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8300 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8301 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8304 2013-01-16 Andreas Schwab <schwab@suse.de>
8307 * include/stdlib.h (__mktemp): Add declaration.
8308 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8309 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8311 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8313 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8315 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8316 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8317 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8319 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8320 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8322 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8324 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8325 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8328 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8329 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8331 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8333 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8335 2013-01-15 David S. Miller <davem@davemloft.net>
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8338 trunc{,f} to libm-sysdep_routes.
8339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8349 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8350 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8351 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8353 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8354 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8357 nearbyint{,f} to libm-sysdep_routes.
8358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8375 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8376 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8379 libc_feholdexcept and libc_fesetenv.
8381 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8383 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8385 2013-01-14 David S. Miller <davem@davemloft.net>
8387 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8388 (SPARC_ASM_VIS2_IFUNC): Likewise.
8389 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8391 use of 'siam' instruction.
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8425 routines to libm-sysdep_routines.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8429 fdim/fdimf to libm-sysdep_routines.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8438 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8439 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8440 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8441 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8443 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8448 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8453 local variable MPTWO.
8454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8457 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8459 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8462 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8464 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8466 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8468 * manual/pattern.texi (glob_t): Document gl_flags.
8469 (glob64_t): Likewise.
8471 2013-01-11 David S. Miller <davem@davemloft.net>
8473 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8474 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8475 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8476 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8477 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8478 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8479 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8480 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8481 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8482 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8483 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8484 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8485 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8487 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8488 sparc V9 rather than using V8 code.
8489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8492 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8494 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8497 2013-01-11 Roland McGrath <roland@hack.frob.com>
8499 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8500 not in the main loop.
8501 * configure: Regenerated.
8503 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8505 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8506 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8508 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8509 [!__GLIBC_HAVE_LONG_LONG] case.
8510 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8511 condition to just #else.
8512 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8513 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8514 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8515 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8517 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8518 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8519 #elif condition to just #else.
8520 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8521 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8522 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8523 #elif condition to just #else.
8525 2013-01-11 Steve Ellcey <sellcey@mips.com>
8527 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8528 (EF_MIPS_ARCH_64): Fix value.
8529 (EF_MIPS_ARCH_32R2): New.
8530 (EF_MIPS_ARCH_64R2): New.
8532 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8534 * Makeconfig (+link-pie-before-libc): New.
8535 (+link-pie-after-libc): Likewise.
8536 (+link-pie-tests): Likewise.
8537 (+link-pie): Rewritten.
8538 (link-before-libc): Remove $(config-LDFLAGS).
8539 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8540 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8541 (config-LDFLAGS): Renamed to ...
8542 (rtld-LDFLAGS): This.
8543 (rtld-tests-LDFLAGS): New macro.
8544 (link-libc-rpath-link): Likewise.
8545 (link-libc-tests-rpath-link): Likewise.
8546 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8547 (link-libc): Prepand $(link-libc-rpath-link).
8548 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8549 (test-program-prefix): New macro.
8550 (test-via-rtld-prefix): Likewise.
8551 (test-program-cmd): Likewise.
8552 (host-test-program-cmd): Likewise.
8553 * Makefile ($(common-objpfx)testrun.sh): Replace
8554 $(run-program-prefix) with $(test-program-prefix).
8555 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8557 ($(common-objpfx)shlib.lds): Likewise.
8558 (build-module-helper): Likewise.
8559 ($(common-objpfx)format.lds): Likewise.
8560 * Rules (binaries-pie-tests): New.
8561 (binaries-pie-notests): Likewise.
8562 (binaries-pie): Rewritten.
8563 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8564 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8565 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8566 (make-test-out): Replace $(host-built-program-cmd) with
8567 $(host-test-program-cmd).
8568 * config.make.in (build-hardcoded-path-in-tests): New variable.
8569 * configure.in (--enable-hardcoded-path-in-tests): New configure
8571 (hardcoded_path_in_tests): New AC_SUBST.
8572 * configure: Regenerated.
8573 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8574 $(built-program-cmd) with $(test-program-cmd).
8575 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8576 (test_program_cmd): This.
8577 * elf/Makefile ($(objpfx)order.out): Run test with
8578 $(test-program-prefix).
8579 ($(objpfx)order2.out): Likewise.
8580 ($(objpfx)tst-initorder.out): Likewise.
8581 ($(objpfx)tst-initorder2.out): Likewise.
8582 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8583 $(test-program-cmd).
8584 ($(objpfx)tst-array1-static.out): Likewise.
8585 ($(objpfx)tst-array2.out): Likewise.
8586 ($(objpfx)tst-array3.out): Likewise.
8587 ($(objpfx)tst-array4.out): Likewise.
8588 ($(objpfx)tst-array5.out): Likewise.
8589 ($(objpfx)tst-array5-static.out): Likewise.
8590 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8591 $(test-program-cmd).
8592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8593 $(run-program-prefix) with $(test-program-prefix).
8594 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8595 (test_program_prefix): This.
8596 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8597 $(run-program-prefix) with $(test-program-prefix).
8598 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8599 (test_program_prefix): This.
8600 * iconvdata/tst-tables.sh: Likewise.
8601 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8602 $(run-program-prefix) with $(test-program-prefix).
8603 ($(objpfx)tst-translit.out): Likewise.
8604 ($(objpfx)tst-gettext2.out): Likewise.
8605 ($(objpfx)tst-gettext4.out): Likewise.
8606 ($(objpfx)tst-gettext6.out): Likewise.
8607 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8608 (test_program_prefix): This.
8609 * intl/tst-gettext2.sh: Likewise.
8610 * intl/tst-gettext4.sh Likewise.
8611 * intl/tst-gettext6.sh: Likewise.
8612 * intl/tst-translit.sh: Likewise.
8613 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8614 with $(test-program-cmd).
8615 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8616 $(run-program-prefix) with $(test-program-prefix).
8617 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8618 (test_program_prefix): This.
8619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8620 $(run-program-prefix) with $(test-program-prefix).
8621 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8622 (test_program_prefix): This.
8623 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8624 * posix/Makefile ($(objpfx)globtest.out): Replace
8625 $(run-via-rtld-prefix) and $(test-wrapper) with
8626 $(test-program-prefix) and $(test-via-rtld-prefix).
8627 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8628 $(test-program-prefix).
8629 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8630 $(host-test-program-cmd).
8631 (tst-spawn-ARGS): Likewise.
8632 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8633 $(test-program-prefix).
8634 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8635 (test_via_rtld_prefix): This.
8636 (test_wrapper): Renamed to ...
8637 (test_program_prefix): This.
8638 (run_program_prefix): Replaced by test_program_prefix.
8639 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8640 (test_program_prefix): This.
8641 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8642 with $(host-test-program-cmd).
8643 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8644 $(run-program-prefix) with $(test-program-prefix).
8645 ($(objpfx)tst-printf.out): Likewise.
8646 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8647 $(test-program-cmd).
8648 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8649 (test_program_prefix): This.
8650 * stdio-common/tst-unbputc.sh: Likewise.
8651 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8652 $(run-program-prefix) with $(test-program-prefix).
8653 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8654 (test_program_prefix): This.
8655 * string/Makefile ($(objpfx)tst-svc.out): Replace
8656 $(built-program-cmd) with $(test-program-cmd).
8658 2013-01-11 Andreas Jaeger <aj@suse.de>
8661 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8662 value. Sync with Linux 3.7.
8664 2013-01-10 David S. Miller <davem@davemloft.net>
8666 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8667 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8668 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8670 2013-01-10 Roland McGrath <roland@hack.frob.com>
8672 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8674 * configure: Regenerated.
8676 2013-01-10 David S. Miller <davem@davemloft.net>
8678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8679 sparc V9 rather than using V8 code.
8680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8683 2013-01-10 Roland McGrath <roland@hack.frob.com>
8685 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8686 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8687 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8688 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8689 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8690 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8691 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8692 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8693 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8694 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8695 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8696 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8697 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8698 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8699 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8700 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8701 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8702 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8703 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8704 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8705 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8706 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8707 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8708 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8709 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8710 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8711 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8713 2013-01-10 David S. Miller <davem@davemloft.net>
8715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8717 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8719 * posix/Makefile (tests-static): New variable.
8720 (tests): Add $(tests-static).
8721 (tst-exec-static-ARGS): New variable.
8722 (tst-spawn-static-ARGS): Likewise.
8723 * posix/tst-exec-static.c: New file.
8724 * posix/tst-spawn-static.c: Likewise.
8725 * posix/tst-exec.c: Support run directly.
8726 * posix/tst-spawn.c: Likewise.
8728 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8730 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8732 * math/bits/mathcalls.h (llrint): Likewise.
8733 (llround): Likewise.
8734 * stdlib/stdlib.h (struct drand48_data): Likewise.
8735 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8736 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8737 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8739 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8741 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8742 (elf_greg_t): Likewise.
8743 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8744 (__jmp_buf): Likewise.
8745 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8747 (llrint): Likewise, for all definitions.
8748 (llrintl): Likewise.
8750 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8751 Remove [__GNUC__] condition.
8752 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8753 condition to just [__USE_ISOC99].
8754 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8756 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8759 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8760 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8762 (_POSIX_V6_ILP32_OFF32): Likewise.
8763 (_XBS5_ILP32_OFF32): Likewise.
8764 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8765 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8767 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8769 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8772 doubles __mpexp_twomm1. Adjust usage.
8773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8776 2013-01-10 Andreas Schwab <schwab@suse.de>
8779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8780 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8782 2013-01-09 David S. Miller <davem@davemloft.net>
8785 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8786 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8787 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8788 TCP_FASTOPEN): Define.
8789 (tcp_repair_opt): New structure.
8790 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8792 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8793 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8794 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8795 (tcp_cookie_transactions): New structure.
8797 2013-01-09 Anton Blanchard <anton@samba.org>
8799 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8800 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8801 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8804 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8806 * include/features.h (__USE_ANSI): Remove.
8808 2013-01-09 Roland McGrath <roland@hack.frob.com>
8810 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8812 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8814 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8816 * sysdeps/s390/fpu/libm-test-ulps: Update.
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8820 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8825 (__mp_dbl): Likewise.
8826 (__dbl_mp): Likewise.
8827 (add_magnitudes): Likewise.
8828 (sub_magnitudes): Likewise.
8834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8839 (__mp_dbl): Likewise.
8840 (__dbl_mp): Likewise.
8841 (add_magnitudes): Likewise.
8842 (sub_magnitudes): Likewise.
8848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8853 (__mp_dbl): Likewise.
8854 (__dbl_mp): Likewise.
8855 (add_magnitudes): Likewise.
8856 (sub_magnitudes): Likewise.
8863 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8865 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8866 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8867 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8868 2 && __USE_EXTERN_INLINES]: Likewise.
8870 2013-01-08 Andreas Jaeger <aj@suse.de>
8873 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8875 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8876 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8878 2013-01-07 Anton Blanchard <anton@samba.org>
8880 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8881 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8882 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8883 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8884 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8885 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8886 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8894 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8900 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8901 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8903 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8904 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8905 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8906 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8907 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8909 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8910 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8918 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8920 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8922 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8924 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8926 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8927 (__MALLOC_PMT): Likewise.
8928 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8929 [__GNUC__], only on [_LIBC].
8930 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8931 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8932 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8933 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8934 forward declaration.
8935 (realloc_hook_ini): Likewise.
8936 (memalign_hook_ini): Likewise.
8937 (__libc_memalign): Do not use __MALLOC_PMT in variable
8939 (__libc_valloc): Likewise.
8940 (__libc_pvalloc): Likewise.
8941 (__libc_calloc): Likewise.
8942 (__posix_memalign): Likewise.
8945 * math/s_casinh.c: Include <float.h>.
8946 (__casinh): Do not do computation with squaring and square root
8947 for large arguments.
8948 * math/s_casinhf.c: Include <float.h>.
8949 (__casinhf): Do not do computation with squaring and square root
8950 for large arguments.
8951 * math/s_casinhl.c: Include <float.h>.
8952 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8953 (__casinhl): Do not do computation with squaring and square root
8954 for large arguments.
8955 * math/libm-test.inc (casin_test): Add more tests.
8956 (casinh_test): Likewise.
8957 * sysdeps/i386/fpu/libm-test-ulps: Update.
8958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8960 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8963 (__x86_64_raw_data_cache_size): Likewise.
8964 (__x86_64_data_cache_size_half): Likewise.
8965 (__x86_64_raw_data_cache_size_half): Likewise.
8966 (__x86_64_shared_cache_size): Likewise.
8967 (__x86_64_raw_shared_cache_size): Likewise.
8968 (__x86_64_shared_cache_size_half): Likewise.
8969 (__x86_64_raw_shared_cache_size_half): Likewise.
8970 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8972 (__x86_data_cache_size): This.
8973 (__x86_64_raw_data_cache_size): Renamed to ...
8974 (__x86_raw_data_cache_size): This.
8975 (__x86_64_data_cache_size_half): Renamed to ...
8976 (__x86_data_cache_size_half): This.
8977 (__x86_64_raw_data_cache_size_half): Renamed to ...
8978 (__x86_raw_data_cache_size_half): This.
8979 (__x86_64_shared_cache_size): Renamed to ...
8980 (__x86_shared_cache_size): This.
8981 (__x86_64_raw_shared_cache_size): Renamed to ...
8982 (__x86_raw_shared_cache_size): This.
8983 (__x86_64_shared_cache_size_half): Renamed to ...
8984 (__x86_shared_cache_size_half): This.
8985 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8986 (__x86_raw_shared_cache_size_half): This.
8987 * sysdeps/x86_64/memcpy.S: Updated.
8988 * sysdeps/x86_64/memset.S: Likewise.
8989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8993 2013-01-04 David S. Miller <davem@davemloft.net>
8995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8997 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8999 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9000 1 to avoid redefinition warning.
9001 (__USE_GNU): Don't define.
9002 (init_signaling_nan): Protoize.
9004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9006 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9008 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9010 (__cpymn): Likewise.
9011 (norm): Remove commented code.
9013 (__mp_dbl): Likewise.
9015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9016 (__cpymn): Likewise.
9017 (norm): Remove commented code.
9019 (__mp_dbl): Likewise.
9022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9023 mp_no value for 1.0 and 2.0.
9024 (norm): Use RADIXI instead of radixi.d.
9026 (__mul): Use 0.0 instead of zero.d.
9027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9028 mp_no value for 1.0 and 2.0.
9029 (norm): Use RADIXI instead of radixi.d.
9031 (__mul): Use 0.0 instead of zero.d.
9033 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9036 * math/s_casinh.c (__casinh): Reduce finite argument to first
9037 quadrant then set signs of results at the end.
9038 * math/s_casinhf.c (__casinhf): Likewise.
9039 * math/s_casinhl.c (__casinhl): Likewise.
9040 * math/libm-test.inc (casin_test): Add more tests.
9041 (casinh_test): Likewise.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9045 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9047 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9049 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9051 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9054 (__mp_dbl): Likewise.
9057 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9058 and adjust the header comment.
9060 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9061 variable name from declaration.
9063 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9066 Initialize COMMON_CPUID_INDEX_7 element.
9067 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9068 (CPUID_RTM): Likewise.
9069 (HAS_RTM): Likewise.
9070 (COMMON_CPUID_INDEX_7): New enum.
9072 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9075 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9076 size is zero, record memory as freed.
9078 2013-01-03 Andreas Jaeger <aj@suse.de>
9080 * po/ia.po: Add new Interlingua translation.
9082 2012-01-03 Allan McRae <allan@archlinux.org>
9084 * locale/programs/localedef.c: Fix description of '--posix' flag.
9086 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9088 * NEWS: Update dates in second copyright notice.
9089 * README: Update copyright dates in example.
9090 * manual/libc.texinfo: Update copyright dates.
9091 * scripts/test-installation.pl: Update copyright date in --version
9094 * hurd/ctty-input.c: Fix copyright notice formatting.
9095 * hurd/ctty-output.c: Likewise.
9096 * hurd/dtable.c: Likewise.
9097 * hurd/hurd-raise.c: Likewise.
9098 * hurd/hurdprio.c: Likewise.
9099 * hurd/msgportdemux.c: Likewise.
9100 * misc/sys/file.h: Likewise.
9101 * misc/sys/ioctl.h: Likewise.
9102 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9103 * sysdeps/mach/hurd/chdir.c: Likewise.
9104 * sysdeps/mach/hurd/fchdir.c: Likewise.
9105 * sysdeps/mach/hurd/rename.c: Likewise.
9106 * sysdeps/mach/hurd/rmdir.c: Likewise.
9107 * sysdeps/mach/hurd/seekdir.c: Likewise.
9108 * sysdeps/mach/hurd/setsid.c: Likewise.
9109 * sysdeps/posix/wait3.c: Likewise.
9111 * All files with FSF copyright notices: Update copyright dates
9112 using scripts/update-copyrights.
9113 * intl/plural.c: Regenerated.
9114 * locale/programs/charmap-kw.h: Likewise.
9115 * locale/programs/locfile-kw.h: Likewise.
9117 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9119 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9122 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9123 calculation loop and add branch prediction.
9125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9126 check access beyond bounds of m1np.
9128 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9130 (__inv): Remove local variable MPTWO to use the global
9132 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9136 MP3HALFS static const.
9138 2013-01-01 David S. Miller <davem@davemloft.net>
9140 * po/ca.po: Update from translation team.
9142 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9144 * scripts/update-copyrights: New file.
9145 * Makeconfig: Reformat copyright notice.
9146 * ctype/ctype.h: Likewise.
9147 * debug/swprintf_chk.c: Likewise.
9148 * elf/dl-cache.c: Likewise.
9149 * elf/dl-debug.c: Likewise.
9150 * elf/dl-object.c: Likewise.
9151 * grp/initgroups.c: Likewise.
9152 * hurd/Makefile: Likewise.
9153 * hurd/hurd/signal.h: Likewise.
9154 * hurd/hurdfault.c: Likewise.
9155 * hurd/hurdioctl.c: Likewise.
9156 * hurd/hurdlookup.c: Likewise.
9157 * hurd/intr-msg.c: Likewise.
9158 * iconv/gconv_open.c: Likewise.
9159 * libio/swprintf.c: Likewise.
9160 * locale/lc-ctype.c: Likewise.
9161 * locale/nl_langinfo.c: Likewise.
9162 * mach/Machrules: Likewise.
9163 * mach/Makefile: Likewise.
9164 * malloc/obstack.h: Likewise.
9165 * manual/Makefile: Likewise.
9166 * manual/tsort.awk: Likewise.
9167 * misc/bits/stab.def: Likewise.
9168 * nis/nis_print_group_entry.c: Likewise.
9169 * nis/nis_table.c: Likewise.
9170 * nis/nss_compat/compat-pwd.c: Likewise.
9171 * nis/nss_compat/compat-spwd.c: Likewise.
9172 * po/Makefile: Likewise.
9173 * posix/fnmatch.c: Likewise.
9174 * posix/regex.h: Likewise.
9175 * resolv/Makefile: Likewise.
9176 * resolv/nss_dns/dns-network.c: Likewise.
9177 * resolv/res_hconf.c: Likewise.
9178 * scripts/gen-sorted.awk: Likewise.
9179 * soft-fp/soft-fp.h: Likewise.
9180 * stdio-common/printf.h: Likewise.
9181 * stdlib/monetary.h: Likewise.
9182 * stdlib/random.c: Likewise.
9183 * stdlib/random_r.c: Likewise.
9184 * sysdeps/generic/Makefile: Likewise.
9185 * sysdeps/gnu/Makefile: Likewise.
9186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9214 * sysdeps/mach/hurd/errnos.awk: Likewise.
9215 * sysdeps/mach/hurd/fork.c: Likewise.
9216 * sysdeps/mach/hurd/getcwd.c: Likewise.
9217 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9218 * sysdeps/mach/hurd/mmap.c: Likewise.
9219 * sysdeps/mach/hurd/utimes.c: Likewise.
9220 * sysdeps/mach/hurd/xmknod.c: Likewise.
9221 * sysdeps/posix/profil.c: Likewise.
9222 * sysdeps/posix/readdir_r.c: Likewise.
9223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9224 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9225 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9226 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9228 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9233 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9234 * sysdeps/pthread/lio_listio.c: Likewise.
9235 * sysdeps/sparc/dl-procinfo.h: Likewise.
9236 * sysdeps/unix/i386/sysdep.S: Likewise.
9237 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9238 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9239 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9240 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9242 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9243 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9244 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9245 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9246 * sysdeps/wordsize-32/divdi3.c: Likewise.
9247 * time/sys/time.h: Likewise.
9248 * wcsmbs/Makefile: Likewise.
9250 2013-01-01 David S. Miller <davem@davemloft.net>
9252 * po/fr.po: Update from translation team.
9254 * catgets/gencat.c: Update copyright year.
9255 * csu/version.c: Likewise.
9256 * debug/catchsegv.sh: Likewise.
9257 * debug/pcprofiledump.c: Likewise.
9258 * debug/xtrace.sh: Likewise.
9259 * elf/ldconfig.c: Likewise.
9260 * elf/ldd.bash.in: Likewise.
9261 * elf/pldd.c: Likewise.
9262 * elf/sotruss.ksh: Likewise.
9263 * elf/sprof.c: Likewise.
9264 * iconv/iconv_prog.c: Likewise.
9265 * iconv/iconvconfig.c: Likewise.
9266 * locale/programs/locale.c: Likewise.
9267 * locale/programs/localedef.c: Likewise.
9268 * login/programs/pt_chown.c: Likewise.
9269 * malloc/memusage.sh: Likewise.
9270 * malloc/memusagestat.c: Likewise.
9271 * malloc/mtrace.pl: Likewise.
9272 * nscd/nscd.c: Likewise.
9273 * nss/getent.c: Likewise.
9274 * nss/makedb.c: Likewise.
9275 * posix/getconf.c: Likewise.
9277 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9279 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9282 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9284 * math/bits/mathcalls.h (modf): Use __nonnull.
9286 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9289 (split): Use macro CN instead of the bare value.
9290 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9293 instead of the bare value.
9296 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9300 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9302 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9304 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9306 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9307 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9309 2012-12-28 Andreas Jaeger <aj@suse.de>
9311 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9312 values are from Linux 3.7.
9314 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9315 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9317 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9319 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9324 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9325 variables with preprocessor constants.
9326 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9327 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9328 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9330 2012-12-27 Bruno Haible <bruno@clisp.org>
9333 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9336 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9339 and use variable directly.
9340 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9342 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9344 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9349 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9350 include directive. Remove local variable MPONE.
9351 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9355 2012-12-25 David S. Miller <davem@davemloft.net>
9357 * version.h (RELEASE): Set to "development".
9358 (VERSION): Set to "2.17.90".
9359 * NEWS: Add 2.18 section.
9361 2012-12-21 David S. Miller <davem@davemloft.net>
9363 * po/hr.po: Update from translation team.
9365 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9367 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9369 2012-12-19 Steve Ellcey <sellcey@mips.com>
9371 * NEWS: Mention new memcpy for MIPS.
9373 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9375 * manual/contrib.texi (Contributors): Spelling correction.
9377 2012-12-15 David S. Miller <davem@davemloft.net>
9379 * po/ru.po: Update from translation team.
9381 2012-12-13 David S. Miller <davem@davemloft.net>
9383 * NEWS: Mention IFUNC testsuite enhancements.
9385 * po/pl.po: Update from translation team.
9386 * po/bg.po: Likewise.
9388 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9389 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9391 2012-12-11 David S. Miller <davem@davemloft.net>
9393 * po/sv.po: Update from translation team.
9395 * po/vi.po: Update from translation team.
9397 * po/cs.po: Update from translation team.
9399 * po/de.po: Update from translation team.
9400 * po/eo.po: Likewise.
9401 * po/nl.po: Likewise.
9403 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9406 * manual/argp.texi (Argp Helper Functions): Move node to follow
9410 * manual/conf.texi (Limits on File System Capacity): Mention if
9411 terminating null is included in the max size.
9413 2012-12-10 Andreas Jaeger <aj@suse.de>
9415 * po/cs.po: Update from translation team.
9417 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9419 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9420 void pointer and cast to uintptr_t.
9421 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9423 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9424 * sysdeps/s390/s390-64/memset.S: Likewise.
9426 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9429 * menual/message.texi (Message Translation): Fix typos.
9430 (Helper programs for gettext): Likewise.
9432 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9435 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9438 2012-12-07 David S. Miller <davem@davemloft.net>
9440 * po/libc.pot: Update.
9442 2012-12-07 Richard Henderson <rth@redhat.com>
9445 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9446 normal/normal case to before the switch.
9447 (_FP_DIV): Likewise.
9449 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9450 Mike Frysinger <vapier@gentoo.org>
9452 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9453 check for __NR_fadvise64_64.
9455 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9457 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9458 0, not just to plain "0" as a statement.
9459 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9462 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9464 * NEWS: Use sourceware.org in Bugzilla URL.
9466 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9469 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9471 * stdio-common/tst-put-error.c (do_test): Add newline to the
9472 padded test to ensure flush.
9474 2012-12-05 Jeff Law <law@redhat.com>
9476 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9478 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9480 * README: Don't refer to ports add-on as distributed separately.
9481 Mention AArch64 in list of systems supported in the ports add-on.
9483 * LICENSES: Add more non-FSF copyright and license notices.
9485 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9488 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9490 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9491 10000 as width of padded output.
9493 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9497 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9498 variable LX with __attribute__ ((unused)).
9499 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9501 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9504 with __attribute__ ((unused)).
9506 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9508 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9510 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9512 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9513 (CFLAGS-nldbl-acos.c): New variable.
9514 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9515 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9516 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9517 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9518 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9519 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9520 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9521 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9522 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9523 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9524 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9525 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9526 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9527 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9528 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9529 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9530 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9531 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9532 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9533 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9534 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9535 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9536 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9537 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9538 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9539 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9540 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9541 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9542 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9543 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9544 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9545 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9546 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9547 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9548 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9549 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9550 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9551 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9552 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9553 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9554 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9555 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9556 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9557 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9558 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9559 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9560 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9561 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9562 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9563 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9564 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9565 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9566 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9567 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9568 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9569 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9570 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9571 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9572 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9573 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9574 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9575 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9576 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9577 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9578 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9579 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9580 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9581 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9582 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9583 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9584 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9585 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9586 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9587 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9588 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9589 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9590 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9591 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9592 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9593 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9594 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9595 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9596 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9597 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9598 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9599 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9600 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9601 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9602 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9603 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9604 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9605 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9606 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9607 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9608 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9609 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9610 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9613 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9617 whole low double instead of just low 47 bits when splitting values
9620 2012-12-03 Allan McRae <allan@archlinux.org>
9622 * manual/stdio.texi (Predefined Printf Handlers): Remove
9623 @hsep and @vsep usage.
9625 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9627 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9628 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9630 2012-12-03 Jeff Law <law@redhat.com>
9632 * time/sys/time.h (settimeofday): Do not mark TV argument
9635 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9637 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9638 when currently writing and seek to current position when not.
9639 * libio/Makefile (tests): Remove bug-fclose1.
9640 * libio/bug-fclose1.c: Delete.
9642 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9644 * manual/arith.texi (feenableexcept): Fix typo.
9645 (fedisableexcept): Likewise.
9647 2012-11-30 Roland McGrath <roland@hack.frob.com>
9649 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9650 second, differently-typed declaration, rather than a cast.
9652 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9654 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9655 * include/rpc/svc.h: ... here.
9657 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9660 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9661 depending n and resplen2 to catch cases where answer
9664 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9666 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9667 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9669 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9673 2012-11-29 Roland McGrath <roland@hack.frob.com>
9675 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9677 2012-11-28 Jeff Law <law@redhat.com>
9680 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9681 dataset_temporary. Track alloca usage into alloca_used.
9682 If dataset is large allocate and release it via malloc/free.
9684 2012-06-04 Florian Weimer <fweimer@redhat.com>
9687 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9689 2012-11-28 David S. Miller <davem@davemloft.net>
9691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9693 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9697 of pi/2 rounded to nearest to 64 bits.
9698 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9700 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9703 2012-11-28 Jeff Law <law@redhat.com>
9704 Martin Osvald <mosvald@redhat.com>
9707 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9708 * sunrpc/svc.c: Include time.h.
9709 (__svc_accept_failed): New function.
9710 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9711 any reason other than EINTR, call __svc_accept_failed.
9712 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9713 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9715 2012-11-28 Andreas Schwab <schwab@suse.de>
9717 * scripts/abilist.awk: Also handle indirect functions in .opd
9720 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9723 * sysdeps/x86/fpu/powl_helper.c: New file.
9724 * sysdeps/x86/fpu/Makefile: Likewise.
9725 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9727 (__ieee754_powl): Use __powl_helper for finite arguments except
9728 integer exponents below 8.
9729 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9731 (__ieee754_powl): Use __powl_helper for finite arguments except
9732 integer exponents below 8.
9733 * math/libm-test.inc (pow_test): Add more tests and enable some
9734 previously disabled tests.
9735 * sysdeps/i386/fpu/libm-test-ulps: Update.
9736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9738 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9739 Carlos O'Donell <carlos_odonell@mentor.com>
9741 * nss/makedb.c (is_prime): Assert that input is odd and greater
9742 than 4. Note that fact in a comment too.
9743 (next_prime): Add 4 to input.
9745 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9748 * libio/Makefile (tests): Add test case tst-fwrite-error.
9749 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9750 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9751 * libio/tst-fwrite-error.c: New test case.
9753 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9755 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9756 before casting to void *.
9757 * include/libc-internal.h (__pointer_type): New macro.
9758 (__integer_if_pointer_type_sub): Likewise.
9759 (__integer_if_pointer_type): Likewise.
9760 (cast_to_integer): Likewise.
9761 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9762 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9763 before casting to atomic64_t.
9764 (atomic_exchange_acq): Likewise.
9765 (__arch_exchange_and_add_body): Likewise.
9766 (__arch_add_body): Likewise.
9767 (atomic_add_negative): Likewise.
9768 (atomic_add_zero): Likewise.
9770 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9772 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9773 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9774 (add_fdes): Likewise.
9775 (linear_search_fdes): Likewise.
9776 (binary_search_unencoded_fdes): Likewise.
9778 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9780 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9782 2012-11-24 Adam Conrad <adconrad@0c3.net>
9784 * configure.in: Autodetect C++ header directories.
9785 * configure: Regenerated.
9787 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9789 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9791 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9795 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9797 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9798 LDBL_MANT_DIG == 106]: Disable some tests.
9799 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9801 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9806 input for small inputs. Return +/- pi/2 for large inputs.
9807 * math/libm-test.inc (atan_test): Add more tests.
9809 * sysdeps/generic/unwind-dw2-fde-glibc.c
9810 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9811 __attribute__ ((unused)).
9814 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9815 x * y if x and y are nonzero and z is zero.
9818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9819 nonzero exponents with absolute value below 0x1p-117 to +/-
9823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9824 up arguments below 2**-450, not just those below 2**-500.
9825 * math/libm-test.inc (hypot_test): Add another test.
9828 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9829 Return a+b for ratio over 2**120, not 2**60.
9830 * math/libm-test.inc (hypot_test): Add another test.
9832 * math/libm-test.inc (clog_test): Use
9833 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9834 (clog10_test): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9839 2012-11-22 Andreas Schwab <schwab@suse.de>
9841 * sysdeps/i386/fpu/libm-test-ulps: Update.
9843 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9845 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9846 printf output with newline.
9848 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9851 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9852 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9853 -z nodlopen, -z initfirst and -z execstack support.
9854 * configure: Regenerated.
9856 * elf/elf.h (DF_1_NODIRECT): New macro.
9857 (DF_1_IGNMULDEF): Likewise.
9858 (DF_1_NOKSYMS): Likewise.
9859 (DF_1_NOHDR): Likewise.
9860 (DF_1_EDITED): Likewise.
9861 (DF_1_NORELOC): Likewise.
9862 (DF_1_SYMINTPOSE): Likewise.
9863 (DF_1_GLOBAUDIT): Likewise.
9864 (DF_1_SINGLETON): Likewise.
9865 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9866 DT_1_SUPPORTED_MASK bits.
9867 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9869 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9871 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9873 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9875 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9878 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9879 (sendmmsg): Move declarations...
9880 * socket/sys/socket.h: ... here.
9881 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9882 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9884 * socket/recvmmsg.c: ... this new file.
9885 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9886 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9887 definition of __sendmmsg hidden.
9888 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9889 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9890 Move ENOSYS stub into and include it from...
9891 * socket/sendmmsg.c: ... this new file.
9892 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9893 (sysdep_routines): Move recvmmsg and sendmmsg...
9894 * socket/Makefile (routines): ... here.
9895 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9896 (GLIBC_PRIVATE): Add __sendmmsg.
9897 * include/sys/socket.h (__sendmmsg): Add declarations.
9898 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9901 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9904 variable I1 with __attribute__ ((unused)).
9905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9907 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9909 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9910 DUMMY variables with __attribute__ ((unused)).
9912 * bits/byteswap.h: Include <bits/types.h>.
9913 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9915 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9917 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9918 string_t. Do not manually set errno.
9919 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9920 length with __strnlen. Make sure to both set errno and return it on
9923 2012-11-19 David S. Miller <davem@davemloft.net>
9925 With help from Joseph Myers.
9926 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9927 very large arguments properly.
9928 * math/libm-test.inc (atan_test): New tests.
9929 (atan2_test): New tests.
9930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9933 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9936 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9939 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9940 [POSIX] (EADDRNOTAVAIL): Likewise.
9941 [POSIX] (EAFNOSUPPORT): Likewise.
9942 [POSIX] (EALREADY): Likewise.
9943 [POSIX] (ECONNABORTED): Likewise.
9944 [POSIX] (ECONNREFUSED): Likewise.
9945 [POSIX] (ECONNRESET): Likewise.
9946 [POSIX] (EDESTADDRREQ): Likewise.
9947 [POSIX] (EDQUOT): Likewise.
9948 [POSIX] (EHOSTUNREACH): Likewise.
9949 [POSIX] (EIDRM): Likewise.
9950 [POSIX] (EISCONN): Likewise.
9951 [POSIX] (ELOOP): Likewise.
9952 [POSIX] (EMULTIHOP): Likewise.
9953 [POSIX] (ENETDOWN): Likewise.
9954 [POSIX] (ENETUNREACH): Likewise.
9955 [POSIX] (ENOBUFS): Likewise.
9956 [POSIX] (ENODATA): Likewise.
9957 [POSIX] (ENOLINK): Likewise.
9958 [POSIX] (ENOMSG): Likewise.
9959 [POSIX] (ENOPROTOOPT): Likewise.
9960 [POSIX] (ENOSR): Likewise.
9961 [POSIX] (ENOSTR): Likewise.
9962 [POSIX] (ENOTCONN): Likewise.
9963 [POSIX] (ENOTSOCK): Likewise.
9964 [POSIX] (EOPNOTSUPP): Likewise.
9965 [POSIX] (EOVERFLOW): Likewise.
9966 [POSIX] (EPROTO): Likewise.
9967 [POSIX] (EPROTONOSUPPORT): Likewise.
9968 [POSIX] (EPROTOTYPE): Likewise.
9969 [POSIX] (ESTALE): Likewise.
9970 [POSIX] (ETIME): Likewise.
9971 [POSIX] (ETXTBSY): Likewise.
9972 [POSIX] (EWOULDBLOCK): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9974 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9975 [POSIX] (SEEK_CUR): Likewise.
9976 [POSIX] (SEEK_END): Likewise.
9977 [POSIX || UNIX98] (mode_t): Do not require.
9978 [POSIX] (off_t): Likewise.
9979 [POSIX] (pid_t): Likewise.
9980 [POSIX] (sys/stat.h): Do not allow header.
9981 [POSIX] (unistd.h): Likewise.
9982 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9983 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9984 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9985 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9987 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9988 sigevent): Specify elements.
9989 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9991 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9992 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9994 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9995 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9996 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9997 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9998 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9999 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10000 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10002 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10003 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10004 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10005 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10006 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10015 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10016 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10017 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10018 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10020 Specify lower bound on value.
10021 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10022 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10026 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10027 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10028 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10030 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10032 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10049 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10051 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10058 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10063 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10070 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10071 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10072 specify as optional.
10073 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10077 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10078 [XPG3] (NL_LANGMAX): Likewise.
10079 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10080 [POSIX || XPG3] (NL_NMAX): Likewise.
10081 [POSIX || XPG3] (NL_SETMAX): Likewise.
10082 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10083 [XPG3] (NZERO): Likewise.
10084 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10085 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10086 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10087 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10088 (REG_ERANGE): Expect.
10089 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10091 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10092 Use (void) in prototype.
10093 [POSIX] (*_t): Allow.
10094 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10095 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10096 (WRDE_BADVAL): Expect.
10098 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10100 [XPG3 || XPG4] (O_RSYNC): Likewise.
10101 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10103 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10104 [XPG3 || XPG4] (sigqueue): Likewise.
10105 [XPG3 || XPG4] (sigtimedwait): Likewise.
10106 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10107 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10108 [XPG3 || XPG4] (vsnprintf): Likewise.
10109 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10111 [XPG3 || XPG4] (blksize_t): Likewise.
10112 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10114 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10115 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10116 [XPG3 || XPG4] (struct itimerspec): Likewise.
10117 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10118 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10119 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10120 [XPG3 || XPG4] (clockid_t): Likewise.
10121 [XPG3 || XPG4] (timer_t): Likewise.
10122 [XPG3 || XPG4] (clock_getres): Likewise.
10123 [XPG3 || XPG4] (clock_gettime): Likewise.
10124 [XPG3 || XPG4] (clock_settime): Likewise.
10125 [XPG3 || XPG4] (nanosleep): Likewise.
10126 [XPG3 || XPG4] (timer_create): Likewise.
10127 [XPG3 || XPG4] (timer_delete): Likewise.
10128 [XPG3 || XPG4] (timer_gettime): Likewise.
10129 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10130 [XPG3 || XPG4] (timer_settime): Likewise.
10131 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10132 [XPG3 || XPG4] (getlogin_r): Likewise.
10133 [XPG3 || XPG4] (pread): Likewise.
10134 [XPG3 || XPG4] (pthread_atfork): Likewise.
10135 [XPG3 || XPG4] (pwrite): Likewise.
10138 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10141 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10143 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10144 finalizing MALLSTREAM.
10146 * sysdeps/mach/hurd/syncfs.c: New file.
10148 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10151 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10152 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10154 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10155 (_nss_dns_gethostbyname4_r): Likewise.
10156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10157 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10159 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10162 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10164 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10166 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10167 * elf/cache.c (print_entry): Print ",AArch64" for
10170 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10171 * elf/cache.c (print_entry): Print ",hard-float" for
10174 2012-11-18 David S. Miller <davem@davemloft.net>
10176 With help from Joseph Myers.
10177 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10179 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10181 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10182 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10185 * math/libm-test.inc (y0_test): New tests.
10186 (y1_test): New tests.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10191 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10193 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10195 * configure: Regenerated.
10197 2012-11-17 David S. Miller <davem@davemloft.net>
10200 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10201 nonzero exponents with absolute value below 0x1p-128 to +/-
10204 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10206 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10208 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10210 * posix/getconf-speclist.c: New file.
10211 * posix/posix-envs.def: Likewise.
10212 * posix/confstr.c (START_ENV_GROUP): New macro.
10213 (END_ENV_GROUP): Likewise.
10214 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10215 (KNOWN_PRESENT_ENV_STRING): Likewise.
10216 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10217 (UNKNOWN_ENVIRONMENT): Likewise.
10218 (confstr): Include posix-envs.def instead of handling
10219 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10220 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10221 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10222 (END_ENV_GROUP): Likewise.
10223 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10224 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10225 (UNKNOWN_ENVIRONMENT): Likewise.
10226 (__sysconf): Include posix-envs.def instead of handling associated
10227 cases directly here.
10228 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10229 preprocessing getconf-speclist.c rather than running getconf or
10230 generating empty file.
10232 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10234 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10236 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10239 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10241 2012-11-16 David S. Miller <davem@davemloft.net>
10243 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10244 smaller than LDBL_EPSILON/2.0L, just return xm1.
10246 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10248 * elf/tst-array1.c (init): Set constructor priority to 1000.
10249 (fini): Set destructor priority to 1000.
10250 * elf/tst-array2dep.c: Likewise.
10252 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10255 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10256 (_IO_new_file_xsputn): Also return EOF if none of the input
10257 data was written when overflow failed.
10258 * libio/iopadn.c (_IO_padn): Likewise.
10259 * libio/iowpadn.c (_IO_wpadn): Likewise.
10260 * stdio-common/tst-put-error.c: Add copyright notice.
10261 (do_test): Add case for printing padded string.
10262 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10263 _IO_padn returned error.
10264 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10265 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10268 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10270 * libio/libioP.h: Add comment note that the references to C++
10271 bits are now obsolete.
10273 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10275 * math/libm-test.inc (check_complex): Use asprintf.
10277 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10279 * debug/pcprofiledump.c (print_version): Update copyright year.
10280 * malloc/memusagestat.c (print_version): Likewise.
10282 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10285 * elf/Makefile (tests): Add tst-audit8.
10286 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10287 ($(objpfx)tst-audit8.out): New target.
10288 (tst-audit8-ENV): New variable.
10289 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10290 audit if l_reloc_result is NULL.
10291 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10292 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10293 * elf/tst-audit8.c: New file.
10295 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10297 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10298 * misc/Makefile (CFLAGS-select.c): Define.
10299 * posix/Makefile (CFLAGS-pause.c): Define.
10301 2012-11-13 David S. Miller <davem@davemloft.net>
10303 * crypt/Makefile: Move test targets after toplevel Rules
10304 inclusion. Grab any necessary sysdep routines when linking.
10305 * crypt/md5.c (md5_process_block): Remove define, we will always
10306 name it __md5_process_block.
10307 (md5_finish_ctx): Update md5_process_block call.
10308 (md5_stream): Likewise.
10309 (md5_process_bytes): Likewise.
10310 (md5_process_block): Rename to __md5_process_block and move to ...
10311 * crypt/md5-block.c: ... here.
10312 * crypt/sha256.c (sha256_process_block): Move to ...
10313 * crypt/sha256-block.c: ... here.
10314 * crypt/sha512.c (sha512_process_block): Move to ...
10315 * crypt/sha512-block.c: ... here.
10316 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10318 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10319 * sysdeps/sparc/sparc64/multiarch/Makefile
10320 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10322 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10325 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10326 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10327 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10328 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10329 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10330 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10331 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10332 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10336 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10338 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10340 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10342 * timezone/tzselect.ksh: Update from tzcode git revision
10343 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10344 * timezone/zdump.c: Likewise.
10345 * timezone/zic.c: Likewise.
10346 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10347 in TZVERSION setting, not $(PKGVERSION).
10348 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10349 REPORT_BUGS_TO settings.
10352 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10355 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10357 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10358 detection to immediately after _FP_ROUND().
10359 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10362 2012-11-11 David S. Miller <davem@davemloft.net>
10364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10366 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10367 __close rather than their public counterparts.
10369 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10371 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10373 [UNIX98] (sem_timedwait): Do not expect.
10374 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10375 [XPG4 || UNIX98] (sockatmark): Do not expect.
10376 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10377 (clock_getcpuclockid): Do not expect.
10378 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10379 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10381 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10382 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10383 [UNIX98] (vwscanf): Likewise.
10384 [UNIX98] (vswscanf): Likewise.
10386 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10388 * timezone/version.h: Remove file.
10389 * timezone/README: Do not refer to version.h.
10390 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10391 $(objpfx)version.h.
10392 ($(objpfx)zdump.o): Likewise.
10393 ($(objpfx)version.h): New target.
10395 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10397 * timezone/README: Don't mention modification to tzselect.ksh.
10398 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10399 work on unmodified tzselect.ksh. Substitute version numbers in
10402 * Makefile (format-me): Remove.
10403 (INSTALL): Adjust indentation. Use commands directly instead of
10404 using $(format-me).
10406 * aclocal.m4 (ACX_PKGVERSION): New macro.
10407 (ACX_BUGURL): Likewise.
10408 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10409 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10410 (REPORT_BUGS_TO): Likewise.
10411 * configure: Regenerated.
10412 * config.h.in (PKGVERSION): New macro.
10413 (REPORT_BUGS_TO): Likewise.
10414 * config.make.in (PKGVERSION): New variable.
10415 (PKGVERSION_TEXI): Likewise.
10416 (REPORT_BUGS_TO): Likewise.
10417 (REPORT_BUGS_TEXI): Likewise.
10418 * Makefile (format-me): Use -I$(common-objpfx)manual.
10419 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10420 ($(common-objpfx)manual/%): New target.
10421 (manual/%): Remove target.
10422 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10423 (print_version): Use PKGVERSION.
10424 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10425 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10426 and REPORT_BUGS_TO.
10427 ($(objpfx)xtrace): Likewise.
10428 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10429 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10430 (print_version): Use PKGVERSION.
10431 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10432 (do_version): Use PKGVERSION.
10433 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10435 (common-ldd-rewrite): Likewise.
10436 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10437 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10438 (print_version): Use PKGVERSION.
10439 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10440 * elf/pldd.c (argp_program_bug_address): Remove variable.
10441 (more_help): New function.
10442 (argp): Use more_help.
10443 (print_version): Use PKGVERSION.
10444 * elf/sln.c (main): Use PKGVERSION.
10445 (usage): Use REPORT_BUGS_TO.
10446 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10447 (top level): Use PKGVERSION.
10448 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10449 (print_version): Use PKGVERSION.
10450 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10451 (print_version): Use PKGVERSION.
10452 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10453 (print_version): Use PKGVERSION.
10454 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10455 (print_version): Use PKGVERSION.
10456 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10457 (print_version): Use PKGVERSION.
10458 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10459 (print_version): Use PKGVERSION.
10460 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10462 ($(objpfx)memusage): Likewise.
10463 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10464 (do_version): Use PKGVERSION.
10465 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10466 (print_version): Use PKGVERSION.
10467 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10468 ($PKGVERSION): New variable.
10469 ($REPORT_BUGS_TO): Likewise.
10470 (usage): Use $REPORT_BUGS_TO.
10471 (top level): Use $PKGVERSION.
10472 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10473 ($(objpfx)pkgvers.texi): New rule.
10474 ($(objpfx)stamp-pkgvers): Likewise.
10475 * manual/install.texi: Include pkgvers.texi.
10476 (--with-pkgversion): Document new configure option.
10477 (--with-bugurl): Likewise.
10478 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10479 than necessarily for this particular distribution. Use
10480 REPORT_BUGS_TO for where to report bugs.
10481 * INSTALL: Regenerated.
10482 * manual/libc.texinfo: Include pkgvers.texi.
10483 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10484 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10485 (print_version): Use PKGVERSION.
10486 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10487 (print_version): Use PKGVERSION.
10488 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10489 (print_version): Use PKGVERSION.
10490 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10491 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10493 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10494 (print_version): Use PKGVERSION.
10495 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10496 (print_version): Use PKGVERSION.
10497 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10500 * timezone/checktab.awk: Update from tzcode 2012i.
10501 * timezone/ialloc.c: Likewise.
10502 * timezone/private.h: Likewise.
10503 * timezone/scheck.c: Likewise.
10504 * timezone/tzfile.h: Likewise.
10505 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10506 (TZVERSION): Hardcode tzcode version number.
10507 * timezone/zdump.c: Update from tzcode 2012i.
10508 * timezone/zic.c: Likewise.
10509 * timezone/version.h: New file.
10510 * timezone/README: Describe version.h. Update upstream location.
10513 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10514 (mktemp): Enable declaration.
10515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10532 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10533 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10534 for copies of such integer values.
10535 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10536 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10538 2012-11-09 Andreas Jaeger <aj@suse.de>
10540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10541 definitions and declarations that are provided by
10542 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10544 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10547 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10548 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10551 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10553 * elf/elf.h: Update comment before AArch64 relocations.
10555 2012-11-07 David S. Miller <davem@davemloft.net>
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10559 (__start_context): Declare.
10560 (__makecontext_ret): Delete.
10561 (__makecontext): Hook up __start_context instead of
10563 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10564 (sysdep_routines): Add __start_context when in stdlib.
10566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10568 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10569 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10570 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10572 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10573 (READELF): New variable. Use it instead of hardcoded "readelf".
10575 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10578 * sysdeps/x86/Makefile: Here.
10579 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10580 * sysdeps/x86/tst-xmmymm.sh: This.
10582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10584 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10586 [UNIX98] (pthread_barrier_t): Do not expect.
10587 [UNIX98] (pthread_barrierattr_t): Likewise.
10588 [UNIX98] (pthread_spinlock_t): Likewise.
10589 [UNIX98] (pthread_barrier_destroy): Likewise.
10590 [UNIX98] (pthread_barrier_init): Likewise.
10591 [UNIX98] (pthread_barrier_wait): Likewise.
10592 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10593 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10594 [UNIX98] (pthread_barrierattr_init): Likewise.
10595 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10596 [UNIX98] (pthread_getcpuclockid): Likewise.
10597 [UNIX98] (pthread_mutex_timedlock): Likewise.
10598 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10599 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10600 [UNIX98] (pthread_sigmask): Likewise.
10601 [UNIX98] (pthread_spin_destroy): Likewise.
10602 [UNIX98] (pthread_spin_init): Likewise.
10603 [UNIX98] (pthread_spin_lock): Likewise.
10604 [UNIX98] (pthread_spin_trylock): Likewise.
10605 [UNIX98] (pthread_spin_unlock): Likewise.
10606 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10608 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10609 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10610 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10611 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10612 [XPG3 || XPG4] (pthread_key_t): Likewise.
10613 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10614 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10615 [XPG3 || XPG4] (pthread_once_t): Likewise.
10616 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10617 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10619 [XPG3 || XPG4] (pthread_t): Likewise.
10621 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10623 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10625 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10626 Change function return type to int.
10628 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10629 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10630 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10631 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10632 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10633 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10634 [!POSIX] (posix_madvise): Likewise.
10635 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10637 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10638 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10639 (mode_t): Likewise.
10640 (posix_mem_offset): Likewise.
10641 (posix_typed_mem_get_info): Likewise.
10642 (posix_typed_mem_open): Likewise.
10644 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10645 Change condition to [XOPEN2K8].
10647 * conform/conformtest.pl: Preprocess allow-header data with -x c
10648 instead of from stdin.
10649 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10650 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10651 [C99-based standards] (cerfc): Likewise.
10652 [C99-based standards] (cexp2): Likewise.
10653 [C99-based standards] (cexpm1): Likewise.
10654 [C99-based standards] (clog10): Likewise.
10655 [C99-based standards] (clog1p): Likewise.
10656 [C99-based standards] (clog2): Likewise.
10657 [C99-based standards] (clgamma): Likewise.
10658 [C99-based standards] (ctgamma): Likewise.
10659 [C99-based standards] (cerff): Likewise.
10660 [C99-based standards] (cerfcf): Likewise.
10661 [C99-based standards] (cexp2f): Likewise.
10662 [C99-based standards] (cexpm1f): Likewise.
10663 [C99-based standards] (clog10f): Likewise.
10664 [C99-based standards] (clog1pf): Likewise.
10665 [C99-based standards] (clog2f): Likewise.
10666 [C99-based standards] (clgammaf): Likewise.
10667 [C99-based standards] (ctgammaf): Likewise.
10668 [C99-based standards] (cerfl): Likewise.
10669 [C99-based standards] (cerfcl): Likewise.
10670 [C99-based standards] (cexp2l): Likewise.
10671 [C99-based standards] (cexpm1l): Likewise.
10672 [C99-based standards] (clog10l): Likewise.
10673 [C99-based standards] (clog1pl): Likewise.
10674 [C99-based standards] (clog2l): Likewise.
10675 [C99-based standards] (clgammal): Likewise.
10676 [C99-based standards] (ctgammal): Likewise.
10677 * conform/data/inttypes.h-data [C99-based standards]: Include
10678 stdint.h-data. Remove all expectations for stdint.h contents.
10679 [C99-based standards] (PRI*): Do not allow.
10680 [C99-based standards] (SCN*): Likewise.
10681 [C99-based standards] (*_t): Likewise.
10682 [C99-based-standards] (PRId8): Expect macro.
10683 [C99-based-standards] (PRIi8): Likewise.
10684 [C99-based-standards] (PRIo8): Likewise.
10685 [C99-based-standards] (PRIu8): Likewise.
10686 [C99-based-standards] (PRIx8): Likewise.
10687 [C99-based-standards] (PRIX8): Likewise.
10688 [C99-based-standards] (SCNd8): Likewise.
10689 [C99-based-standards] (SCNi8): Likewise.
10690 [C99-based-standards] (SCNo8): Likewise.
10691 [C99-based-standards] (SCNu8): Likewise.
10692 [C99-based-standards] (SCNx8): Likewise.
10693 [C99-based-standards] (PRIdLEAST8): Likewise.
10694 [C99-based-standards] (PRIiLEAST8): Likewise.
10695 [C99-based-standards] (PRIoLEAST8): Likewise.
10696 [C99-based-standards] (PRIuLEAST8): Likewise.
10697 [C99-based-standards] (PRIxLEAST8): Likewise.
10698 [C99-based-standards] (PRIXLEAST8): Likewise.
10699 [C99-based-standards] (SCNdLEAST8): Likewise.
10700 [C99-based-standards] (SCNiLEAST8): Likewise.
10701 [C99-based-standards] (SCNoLEAST8): Likewise.
10702 [C99-based-standards] (SCNuLEAST8): Likewise.
10703 [C99-based-standards] (SCNxLEAST8): Likewise.
10704 [C99-based-standards] (PRIdFAST8): Likewise.
10705 [C99-based-standards] (PRIiFAST8): Likewise.
10706 [C99-based-standards] (PRIoFAST8): Likewise.
10707 [C99-based-standards] (PRIuFAST8): Likewise.
10708 [C99-based-standards] (PRIxFAST8): Likewise.
10709 [C99-based-standards] (PRIXFAST8): Likewise.
10710 [C99-based-standards] (SCNdFAST8): Likewise.
10711 [C99-based-standards] (SCNiFAST8): Likewise.
10712 [C99-based-standards] (SCNoFAST8): Likewise.
10713 [C99-based-standards] (SCNuFAST8): Likewise.
10714 [C99-based-standards] (SCNxFAST8): Likewise.
10715 [C99-based-standards] (PRId16): Likewise.
10716 [C99-based-standards] (PRIi16): Likewise.
10717 [C99-based-standards] (PRIo16): Likewise.
10718 [C99-based-standards] (PRIu16): Likewise.
10719 [C99-based-standards] (PRIx16): Likewise.
10720 [C99-based-standards] (PRIX16): Likewise.
10721 [C99-based-standards] (SCNd16): Likewise.
10722 [C99-based-standards] (SCNi16): Likewise.
10723 [C99-based-standards] (SCNo16): Likewise.
10724 [C99-based-standards] (SCNu16): Likewise.
10725 [C99-based-standards] (SCNx16): Likewise.
10726 [C99-based-standards] (PRIdLEAST16): Likewise.
10727 [C99-based-standards] (PRIiLEAST16): Likewise.
10728 [C99-based-standards] (PRIoLEAST16): Likewise.
10729 [C99-based-standards] (PRIuLEAST16): Likewise.
10730 [C99-based-standards] (PRIxLEAST16): Likewise.
10731 [C99-based-standards] (PRIXLEAST16): Likewise.
10732 [C99-based-standards] (SCNdLEAST16): Likewise.
10733 [C99-based-standards] (SCNiLEAST16): Likewise.
10734 [C99-based-standards] (SCNoLEAST16): Likewise.
10735 [C99-based-standards] (SCNuLEAST16): Likewise.
10736 [C99-based-standards] (SCNxLEAST16): Likewise.
10737 [C99-based-standards] (PRIdFAST16): Likewise.
10738 [C99-based-standards] (PRIiFAST16): Likewise.
10739 [C99-based-standards] (PRIoFAST16): Likewise.
10740 [C99-based-standards] (PRIuFAST16): Likewise.
10741 [C99-based-standards] (PRIxFAST16): Likewise.
10742 [C99-based-standards] (PRIXFAST16): Likewise.
10743 [C99-based-standards] (SCNdFAST16): Likewise.
10744 [C99-based-standards] (SCNiFAST16): Likewise.
10745 [C99-based-standards] (SCNoFAST16): Likewise.
10746 [C99-based-standards] (SCNuFAST16): Likewise.
10747 [C99-based-standards] (SCNxFAST16): Likewise.
10748 [C99-based-standards] (PRId32): Likewise.
10749 [C99-based-standards] (PRIi32): Likewise.
10750 [C99-based-standards] (PRIo32): Likewise.
10751 [C99-based-standards] (PRIu32): Likewise.
10752 [C99-based-standards] (PRIx32): Likewise.
10753 [C99-based-standards] (PRIX32): Likewise.
10754 [C99-based-standards] (SCNd32): Likewise.
10755 [C99-based-standards] (SCNi32): Likewise.
10756 [C99-based-standards] (SCNo32): Likewise.
10757 [C99-based-standards] (SCNu32): Likewise.
10758 [C99-based-standards] (SCNx32): Likewise.
10759 [C99-based-standards] (PRIdLEAST32): Likewise.
10760 [C99-based-standards] (PRIiLEAST32): Likewise.
10761 [C99-based-standards] (PRIoLEAST32): Likewise.
10762 [C99-based-standards] (PRIuLEAST32): Likewise.
10763 [C99-based-standards] (PRIxLEAST32): Likewise.
10764 [C99-based-standards] (PRIXLEAST32): Likewise.
10765 [C99-based-standards] (SCNdLEAST32): Likewise.
10766 [C99-based-standards] (SCNiLEAST32): Likewise.
10767 [C99-based-standards] (SCNoLEAST32): Likewise.
10768 [C99-based-standards] (SCNuLEAST32): Likewise.
10769 [C99-based-standards] (SCNxLEAST32): Likewise.
10770 [C99-based-standards] (PRIdFAST32): Likewise.
10771 [C99-based-standards] (PRIiFAST32): Likewise.
10772 [C99-based-standards] (PRIoFAST32): Likewise.
10773 [C99-based-standards] (PRIuFAST32): Likewise.
10774 [C99-based-standards] (PRIxFAST32): Likewise.
10775 [C99-based-standards] (PRIXFAST32): Likewise.
10776 [C99-based-standards] (SCNdFAST32): Likewise.
10777 [C99-based-standards] (SCNiFAST32): Likewise.
10778 [C99-based-standards] (SCNoFAST32): Likewise.
10779 [C99-based-standards] (SCNuFAST32): Likewise.
10780 [C99-based-standards] (SCNxFAST32): Likewise.
10781 [C99-based-standards] (PRId64): Likewise.
10782 [C99-based-standards] (PRIi64): Likewise.
10783 [C99-based-standards] (PRIo64): Likewise.
10784 [C99-based-standards] (PRIu64): Likewise.
10785 [C99-based-standards] (PRIx64): Likewise.
10786 [C99-based-standards] (PRIX64): Likewise.
10787 [C99-based-standards] (SCNd64): Likewise.
10788 [C99-based-standards] (SCNi64): Likewise.
10789 [C99-based-standards] (SCNo64): Likewise.
10790 [C99-based-standards] (SCNu64): Likewise.
10791 [C99-based-standards] (SCNx64): Likewise.
10792 [C99-based-standards] (PRIdLEAST64): Likewise.
10793 [C99-based-standards] (PRIiLEAST64): Likewise.
10794 [C99-based-standards] (PRIoLEAST64): Likewise.
10795 [C99-based-standards] (PRIuLEAST64): Likewise.
10796 [C99-based-standards] (PRIxLEAST64): Likewise.
10797 [C99-based-standards] (PRIXLEAST64): Likewise.
10798 [C99-based-standards] (SCNdLEAST64): Likewise.
10799 [C99-based-standards] (SCNiLEAST64): Likewise.
10800 [C99-based-standards] (SCNoLEAST64): Likewise.
10801 [C99-based-standards] (SCNuLEAST64): Likewise.
10802 [C99-based-standards] (SCNxLEAST64): Likewise.
10803 [C99-based-standards] (PRIdFAST64): Likewise.
10804 [C99-based-standards] (PRIiFAST64): Likewise.
10805 [C99-based-standards] (PRIoFAST64): Likewise.
10806 [C99-based-standards] (PRIuFAST64): Likewise.
10807 [C99-based-standards] (PRIxFAST64): Likewise.
10808 [C99-based-standards] (PRIXFAST64): Likewise.
10809 [C99-based-standards] (SCNdFAST64): Likewise.
10810 [C99-based-standards] (SCNiFAST64): Likewise.
10811 [C99-based-standards] (SCNoFAST64): Likewise.
10812 [C99-based-standards] (SCNuFAST64): Likewise.
10813 [C99-based-standards] (SCNxFAST64): Likewise.
10814 [C99-based-standards] (PRIdMAX): Likewise.
10815 [C99-based-standards] (PRIiMAX): Likewise.
10816 [C99-based-standards] (PRIoMAX): Likewise.
10817 [C99-based-standards] (PRIuMAX): Likewise.
10818 [C99-based-standards] (PRIxMAX): Likewise.
10819 [C99-based-standards] (PRIXMAX): Likewise.
10820 [C99-based-standards] (SCNdMAX): Likewise.
10821 [C99-based-standards] (SCNiMAX): Likewise.
10822 [C99-based-standards] (SCNoMAX): Likewise.
10823 [C99-based-standards] (SCNuMAX): Likewise.
10824 [C99-based-standards] (SCNxMAX): Likewise.
10825 [C99-based-standards] (PRIdPTR): Likewise.
10826 [C99-based-standards] (PRIiPTR): Likewise.
10827 [C99-based-standards] (PRIoPTR): Likewise.
10828 [C99-based-standards] (PRIuPTR): Likewise.
10829 [C99-based-standards] (PRIxPTR): Likewise.
10830 [C99-based-standards] (PRIXPTR): Likewise.
10831 [C99-based-standards] (SCNdPTR): Likewise.
10832 [C99-based-standards] (SCNiPTR): Likewise.
10833 [C99-based-standards] (SCNoPTR): Likewise.
10834 [C99-based-standards] (SCNuPTR): Likewise.
10835 [C99-based-standards] (SCNxPTR): Likewise.
10836 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10838 * conform/data/stdint.h-data: Update comments to clarify
10840 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10842 [C99-based standards] (INT8_MAX): Likewise.
10843 [C99-based standards] (INT16_MIN): Likewise.
10844 [C99-based standards] (INT16_MAX): Likewise.
10845 [C99-based standards] (INT32_MIN): Likewise.
10846 [C99-based standards] (INT32_MAX): Likewise.
10847 [C99-based standards] (INT64_MIN): Likewise.
10848 [C99-based standards] (INT64_MAX): Likewise.
10849 [C99-based standards] (UINT8_MAX): Likewise.
10850 [C99-based standards] (UINT16_MAX): Likewise.
10851 [C99-based standards] (UINT32_MAX): Likewise.
10852 [C99-based standards] (UINT64_MAX): Likewise.
10853 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10854 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10855 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10856 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10857 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10858 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10859 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10860 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10861 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10862 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10863 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10864 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10865 [C99-based standards] (INT_FAST8_MIN): Likewise.
10866 [C99-based standards] (INT_FAST8_MAX): Likewise.
10867 [C99-based standards] (INT_FAST16_MIN): Likewise.
10868 [C99-based standards] (INT_FAST16_MAX): Likewise.
10869 [C99-based standards] (INT_FAST32_MIN): Likewise.
10870 [C99-based standards] (INT_FAST32_MAX): Likewise.
10871 [C99-based standards] (INT_FAST64_MIN): Likewise.
10872 [C99-based standards] (INT_FAST64_MAX): Likewise.
10873 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10874 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10875 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10876 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10877 [C99-based standards] (INTPTR_MIN): Likewise.
10878 [C99-based standards] (INTPTR_MAX): Likewise.
10879 [C99-based standards] (UINTPTR_MAX): Likewise.
10880 [C99-based standards] (INTMAX_MIN): Likewise.
10881 [C99-based standards] (INTMAX_MAX): Likewise.
10882 [C99-based standards] (UINTMAX_MAX): Likewise.
10883 [C99-based standards] (PTRDIFF_MIN): Likewise.
10884 [C99-based standards] (PTRDIFF_MAX): Likewise.
10885 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10886 [C99-based standards] (SIZE_MAX): Likewise.
10887 [C99-based standards] (WCHAR_MAX): Likewise.
10888 [C99-based standards] (WINT_MAX): Likewise.
10889 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10890 constraint on value.
10891 [C99-based standards] (WCHAR_MIN): Likewise.
10892 [C99-based standards] (WINT_MIN): Likewise.
10893 [C99-based standards] (*_t): Allow.
10894 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10895 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10896 Include math.h-data and complex.h-data. Remove all expectations
10897 of math.h and complex.h contents.
10898 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10900 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10901 (struct tm): Expect tag.
10902 [C99-based-standards] (wcstof): Expect function.
10903 [C99-based-standards] (wcstold): Likewise.
10904 [C99-based-standards] (wcstoll): Likewise.
10905 [C99-based-standards] (wcstoull): Likewise.
10906 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10907 macro-int-constant. Specify type.
10908 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10909 constraint on value.
10910 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10912 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10914 [ISO C standards]: Do not allow headers.
10915 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10916 wcs[abcdefghijklmnopqrstuvwxyz]*.
10917 [ISO C standards] (*_t): Do not allow.
10918 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10920 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10921 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10923 [ISO C standards]: Do not allow headers.
10924 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10925 is[abcdefghijklmnopqrstuvwxyz]*.
10926 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10927 to[abcdefghijklmnopqrstuvwxyz]*.
10928 [ISO C standards] (*_t): Do not allow.
10929 * conform/data/stdalign.h-data: New file.
10930 * conform/data/stdbool.h-data: Likewise.
10931 * conform/data/stdnoreturn.h-data: Likewise.
10933 2012-11-07 Roland McGrath <roland@hack.frob.com>
10936 * manual/filesys.texi (Directory Entries): Typo fix.
10937 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10939 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10941 * elf/elf.h (EM_AARCH64): New macro.
10942 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10943 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10944 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10945 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10946 (R_AARCH64_TLSDESC): Likewise.
10947 (NT_ARM_TLS): Likewise.
10948 (NT_ARM_HW_BREAK): Likewise.
10949 (NT_ARM_HW_WATCH): Likewise.
10951 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10954 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10955 (__ieee754_powl): Saturate nonzero exponents with absolute value
10956 below 0x1p-79 to +/- 0x1p-79.
10957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10958 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10959 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10960 nonzero exponents with absolute value below 0x1p-32 to +/-
10962 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10963 (__ieee754_powl): Saturate nonzero exponents with absolute value
10964 below 0x1p-79 to +/- 0x1p-79.
10965 * math/libm-test.inc (pow_test): Add more tests.
10967 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10970 _dl_s390_cap_flags with kernel. Increase string length.
10971 (_dl_s390_platforms): Add z196 and zEC12.
10973 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10975 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10976 Change XOPEN21K to XOPEN2K.
10978 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10980 * string/memmove.c: Use memcpy when possible.
10982 2012-11-06 Andreas Jaeger <aj@suse.de>
10984 * po/eo.po: Update from translation team.
10986 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10990 exponent and small x and y exponents, scale x or y up. Increase
10991 by 2 the exponent used in scaling up.
10992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10994 * math/libm-test.inc (fma_test): Add more tests.
10995 (fma_test_towardzero): Likewise.
10996 (fma_test_downward): Likewise.
10997 (fma_test_upward): Likewise.
10999 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11002 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11006 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11007 namespace for names of struct fields.
11008 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11010 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11011 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11013 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11016 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11018 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11020 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11024 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11027 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11031 definitely overflow as x * y not x * y + z.
11032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11034 * math/libm-test.inc (fma_test): Add more tests.
11035 (fma_test_towardzero): Likewise.
11036 (fma_test_downward): Likewise.
11037 (fma_test_upward): Likewise.
11039 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11043 * include/stub-tag.h: Remove file.
11044 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11046 * manual/maint.texi (Porting): Don't reference it.
11047 * Makerules ($(objpfx)stubs): Likewise.
11048 * dirent/closedir.c: Don't include <stub-tag.h>.
11049 * dirent/dirfd.c: Likewise.
11050 * dirent/fdopendir.c: Likewise.
11051 * dirent/getdents.c: Likewise.
11052 * dirent/getdents64.c: Likewise.
11053 * dirent/opendir.c: Likewise.
11054 * dirent/readdir.c: Likewise.
11055 * dirent/readdir64.c: Likewise.
11056 * dirent/readdir64_r.c: Likewise.
11057 * dirent/readdir_r.c: Likewise.
11058 * dirent/rewinddir.c: Likewise.
11059 * dirent/seekdir.c: Likewise.
11060 * dirent/telldir.c: Likewise.
11061 * gmon/profil.c: Likewise.
11062 * grp/setgroups.c: Likewise.
11063 * inet/if_index.c: Likewise.
11064 * io/access.c: Likewise.
11065 * io/chdir.c: Likewise.
11066 * io/chmod.c: Likewise.
11067 * io/chown.c: Likewise.
11068 * io/close.c: Likewise.
11069 * io/dup.c: Likewise.
11070 * io/dup2.c: Likewise.
11071 * io/dup3.c: Likewise.
11072 * io/euidaccess.c: Likewise.
11073 * io/faccessat.c: Likewise.
11074 * io/fchdir.c: Likewise.
11075 * io/fchmod.c: Likewise.
11076 * io/fchmodat.c: Likewise.
11077 * io/fchown.c: Likewise.
11078 * io/fchownat.c: Likewise.
11079 * io/fcntl.c: Likewise.
11080 * io/flock.c: Likewise.
11081 * io/fstatfs.c: Likewise.
11082 * io/fstatfs64.c: Likewise.
11083 * io/fstatvfs.c: Likewise.
11084 * io/fstatvfs64.c: Likewise.
11085 * io/futimens.c: Likewise.
11086 * io/fxstat.c: Likewise.
11087 * io/fxstat64.c: Likewise.
11088 * io/fxstatat.c: Likewise.
11089 * io/fxstatat64.c: Likewise.
11090 * io/getcwd.c: Likewise.
11091 * io/isatty.c: Likewise.
11092 * io/lchmod.c: Likewise.
11093 * io/lchown.c: Likewise.
11094 * io/link.c: Likewise.
11095 * io/linkat.c: Likewise.
11096 * io/lseek.c: Likewise.
11097 * io/lseek64.c: Likewise.
11098 * io/lxstat64.c: Likewise.
11099 * io/mkdir.c: Likewise.
11100 * io/mkdirat.c: Likewise.
11101 * io/mkfifo.c: Likewise.
11102 * io/mkfifoat.c: Likewise.
11103 * io/open.c: Likewise.
11104 * io/open64.c: Likewise.
11105 * io/openat.c: Likewise.
11106 * io/openat64.c: Likewise.
11107 * io/pipe.c: Likewise.
11108 * io/pipe2.c: Likewise.
11109 * io/poll.c: Likewise.
11110 * io/posix_fadvise.c: Likewise.
11111 * io/posix_fadvise64.c: Likewise.
11112 * io/posix_fallocate.c: Likewise.
11113 * io/posix_fallocate64.c: Likewise.
11114 * io/read.c: Likewise.
11115 * io/readlink.c: Likewise.
11116 * io/readlinkat.c: Likewise.
11117 * io/rmdir.c: Likewise.
11118 * io/sendfile.c: Likewise.
11119 * io/sendfile64.c: Likewise.
11120 * io/statfs.c: Likewise.
11121 * io/statfs64.c: Likewise.
11122 * io/statvfs.c: Likewise.
11123 * io/statvfs64.c: Likewise.
11124 * io/symlink.c: Likewise.
11125 * io/symlinkat.c: Likewise.
11126 * io/ttyname.c: Likewise.
11127 * io/ttyname_r.c: Likewise.
11128 * io/umask.c: Likewise.
11129 * io/unlink.c: Likewise.
11130 * io/unlinkat.c: Likewise.
11131 * io/utime.c: Likewise.
11132 * io/utimensat.c: Likewise.
11133 * io/write.c: Likewise.
11134 * io/xmknod.c: Likewise.
11135 * io/xmknodat.c: Likewise.
11136 * io/xstat.c: Likewise.
11137 * io/xstat64.c: Likewise.
11138 * login/getpt.c: Likewise.
11139 * login/grantpt.c: Likewise.
11140 * login/unlockpt.c: Likewise.
11141 * math/e_acoshl.c: Likewise.
11142 * math/e_acosl.c: Likewise.
11143 * math/e_asinl.c: Likewise.
11144 * math/e_atan2l.c: Likewise.
11145 * math/e_atanhl.c: Likewise.
11146 * math/e_coshl.c: Likewise.
11147 * math/e_expl.c: Likewise.
11148 * math/e_fmodl.c: Likewise.
11149 * math/e_gammal_r.c: Likewise.
11150 * math/e_hypotl.c: Likewise.
11151 * math/e_j0l.c: Likewise.
11152 * math/e_j1l.c: Likewise.
11153 * math/e_jnl.c: Likewise.
11154 * math/e_lgammal_r.c: Likewise.
11155 * math/e_log10l.c: Likewise.
11156 * math/e_log2l.c: Likewise.
11157 * math/e_logl.c: Likewise.
11158 * math/e_powl.c: Likewise.
11159 * math/e_rem_pio2l.c: Likewise.
11160 * math/e_sinhl.c: Likewise.
11161 * math/e_sqrtl.c: Likewise.
11162 * math/fclrexcpt.c: Likewise.
11163 * math/fedisblxcpt.c: Likewise.
11164 * math/feenablxcpt.c: Likewise.
11165 * math/fegetenv.c: Likewise.
11166 * math/fegetexcept.c: Likewise.
11167 * math/fegetround.c: Likewise.
11168 * math/feholdexcpt.c: Likewise.
11169 * math/fesetenv.c: Likewise.
11170 * math/fesetround.c: Likewise.
11171 * math/feupdateenv.c: Likewise.
11172 * math/fgetexcptflg.c: Likewise.
11173 * math/fraiseexcpt.c: Likewise.
11174 * math/fsetexcptflg.c: Likewise.
11175 * math/ftestexcept.c: Likewise.
11176 * math/k_cosl.c: Likewise.
11177 * math/k_rem_pio2l.c: Likewise.
11178 * math/k_sinl.c: Likewise.
11179 * math/k_tanl.c: Likewise.
11180 * math/s_asinhl.c: Likewise.
11181 * math/s_atanl.c: Likewise.
11182 * math/s_cbrtl.c: Likewise.
11183 * math/s_erfl.c: Likewise.
11184 * math/s_expm1l.c: Likewise.
11185 * math/s_log1pl.c: Likewise.
11186 * math/s_tanhl.c: Likewise.
11187 * misc/acct.c: Likewise.
11188 * misc/brk.c: Likewise.
11189 * misc/chflags.c: Likewise.
11190 * misc/chroot.c: Likewise.
11191 * misc/fchflags.c: Likewise.
11192 * misc/fgetxattr.c: Likewise.
11193 * misc/flistxattr.c: Likewise.
11194 * misc/fremovexattr.c: Likewise.
11195 * misc/fsetxattr.c: Likewise.
11196 * misc/fsync.c: Likewise.
11197 * misc/ftruncate.c: Likewise.
11198 * misc/futimes.c: Likewise.
11199 * misc/futimesat.c: Likewise.
11200 * misc/getdomain.c: Likewise.
11201 * misc/getdtsz.c: Likewise.
11202 * misc/gethostid.c: Likewise.
11203 * misc/gethostname.c: Likewise.
11204 * misc/getloadavg.c: Likewise.
11205 * misc/getpagesize.c: Likewise.
11206 * misc/getsysstats.c: Likewise.
11207 * misc/getxattr.c: Likewise.
11208 * misc/gtty.c: Likewise.
11209 * misc/ioctl.c: Likewise.
11210 * misc/lgetxattr.c: Likewise.
11211 * misc/listxattr.c: Likewise.
11212 * misc/llistxattr.c: Likewise.
11213 * misc/lremovexattr.c: Likewise.
11214 * misc/lsetxattr.c: Likewise.
11215 * misc/lutimes.c: Likewise.
11216 * misc/madvise.c: Likewise.
11217 * misc/mincore.c: Likewise.
11218 * misc/mlock.c: Likewise.
11219 * misc/mlockall.c: Likewise.
11220 * misc/mmap.c: Likewise.
11221 * misc/mprotect.c: Likewise.
11222 * misc/msync.c: Likewise.
11223 * misc/munlock.c: Likewise.
11224 * misc/munlockall.c: Likewise.
11225 * misc/munmap.c: Likewise.
11226 * misc/preadv.c: Likewise.
11227 * misc/preadv64.c: Likewise.
11228 * misc/ptrace.c: Likewise.
11229 * misc/pwritev.c: Likewise.
11230 * misc/pwritev64.c: Likewise.
11231 * misc/readv.c: Likewise.
11232 * misc/reboot.c: Likewise.
11233 * misc/remap_file_pages.c: Likewise.
11234 * misc/removexattr.c: Likewise.
11235 * misc/revoke.c: Likewise.
11236 * misc/select.c: Likewise.
11237 * misc/setdomain.c: Likewise.
11238 * misc/setegid.c: Likewise.
11239 * misc/seteuid.c: Likewise.
11240 * misc/sethostid.c: Likewise.
11241 * misc/sethostname.c: Likewise.
11242 * misc/setregid.c: Likewise.
11243 * misc/setreuid.c: Likewise.
11244 * misc/setxattr.c: Likewise.
11245 * misc/sstk.c: Likewise.
11246 * misc/stty.c: Likewise.
11247 * misc/swapoff.c: Likewise.
11248 * misc/swapon.c: Likewise.
11249 * misc/sync.c: Likewise.
11250 * misc/syncfs.c: Likewise.
11251 * misc/syscall.c: Likewise.
11252 * misc/truncate.c: Likewise.
11253 * misc/ualarm.c: Likewise.
11254 * misc/usleep.c: Likewise.
11255 * misc/ustat.c: Likewise.
11256 * misc/utimes.c: Likewise.
11257 * misc/vhangup.c: Likewise.
11258 * misc/writev.c: Likewise.
11259 * posix/_exit.c: Likewise.
11260 * posix/alarm.c: Likewise.
11261 * posix/execve.c: Likewise.
11262 * posix/fexecve.c: Likewise.
11263 * posix/fork.c: Likewise.
11264 * posix/fpathconf.c: Likewise.
11265 * posix/getaddrinfo.c: Likewise.
11266 * posix/getegid.c: Likewise.
11267 * posix/geteuid.c: Likewise.
11268 * posix/getgid.c: Likewise.
11269 * posix/getgroups.c: Likewise.
11270 * posix/getlogin.c: Likewise.
11271 * posix/getlogin_r.c: Likewise.
11272 * posix/getpgid.c: Likewise.
11273 * posix/getpid.c: Likewise.
11274 * posix/getppid.c: Likewise.
11275 * posix/getresgid.c: Likewise.
11276 * posix/getresuid.c: Likewise.
11277 * posix/getsid.c: Likewise.
11278 * posix/getuid.c: Likewise.
11279 * posix/glob64.c: Likewise.
11280 * posix/nanosleep.c: Likewise.
11281 * posix/pathconf.c: Likewise.
11282 * posix/pause.c: Likewise.
11283 * posix/posix_madvise.c: Likewise.
11284 * posix/pread.c: Likewise.
11285 * posix/pread64.c: Likewise.
11286 * posix/pwrite.c: Likewise.
11287 * posix/pwrite64.c: Likewise.
11288 * posix/sched_getaffinity.c: Likewise.
11289 * posix/sched_getp.c: Likewise.
11290 * posix/sched_gets.c: Likewise.
11291 * posix/sched_primax.c: Likewise.
11292 * posix/sched_primin.c: Likewise.
11293 * posix/sched_rr_gi.c: Likewise.
11294 * posix/sched_setaffinity.c: Likewise.
11295 * posix/sched_setp.c: Likewise.
11296 * posix/sched_sets.c: Likewise.
11297 * posix/sched_yield.c: Likewise.
11298 * posix/setgid.c: Likewise.
11299 * posix/setlogin.c: Likewise.
11300 * posix/setpgid.c: Likewise.
11301 * posix/setresgid.c: Likewise.
11302 * posix/setresuid.c: Likewise.
11303 * posix/setsid.c: Likewise.
11304 * posix/setuid.c: Likewise.
11305 * posix/sleep.c: Likewise.
11306 * posix/spawni.c: Likewise.
11307 * posix/sysconf.c: Likewise.
11308 * posix/times.c: Likewise.
11309 * posix/wait.c: Likewise.
11310 * posix/wait3.c: Likewise.
11311 * posix/wait4.c: Likewise.
11312 * posix/waitpid.c: Likewise.
11313 * resolv/gai_sigqueue.c: Likewise.
11314 * resource/getpriority.c: Likewise.
11315 * resource/getrlimit.c: Likewise.
11316 * resource/getrusage.c: Likewise.
11317 * resource/nice.c: Likewise.
11318 * resource/setpriority.c: Likewise.
11319 * resource/setrlimit.c: Likewise.
11320 * resource/ulimit.c: Likewise.
11321 * rt/aio_cancel.c: Likewise.
11322 * rt/aio_fsync.c: Likewise.
11323 * rt/aio_read.c: Likewise.
11324 * rt/aio_sigqueue.c: Likewise.
11325 * rt/aio_suspend.c: Likewise.
11326 * rt/aio_write.c: Likewise.
11327 * rt/clock_getres.c: Likewise.
11328 * rt/clock_gettime.c: Likewise.
11329 * rt/clock_nanosleep.c: Likewise.
11330 * rt/clock_settime.c: Likewise.
11331 * rt/lio_listio.c: Likewise.
11332 * rt/mq_close.c: Likewise.
11333 * rt/mq_getattr.c: Likewise.
11334 * rt/mq_notify.c: Likewise.
11335 * rt/mq_open.c: Likewise.
11336 * rt/mq_receive.c: Likewise.
11337 * rt/mq_send.c: Likewise.
11338 * rt/mq_setattr.c: Likewise.
11339 * rt/mq_timedreceive.c: Likewise.
11340 * rt/mq_timedsend.c: Likewise.
11341 * rt/mq_unlink.c: Likewise.
11342 * rt/shm_open.c: Likewise.
11343 * rt/shm_unlink.c: Likewise.
11344 * rt/timer_create.c: Likewise.
11345 * rt/timer_delete.c: Likewise.
11346 * rt/timer_getoverr.c: Likewise.
11347 * rt/timer_gettime.c: Likewise.
11348 * rt/timer_settime.c: Likewise.
11349 * setjmp/__longjmp.c: Likewise.
11350 * setjmp/setjmp.c: Likewise.
11351 * signal/kill.c: Likewise.
11352 * signal/killpg.c: Likewise.
11353 * signal/raise.c: Likewise.
11354 * signal/sigaction.c: Likewise.
11355 * signal/sigaltstack.c: Likewise.
11356 * signal/sigblock.c: Likewise.
11357 * signal/sigignore.c: Likewise.
11358 * signal/sigintr.c: Likewise.
11359 * signal/signal.c: Likewise.
11360 * signal/sigpause.c: Likewise.
11361 * signal/sigpending.c: Likewise.
11362 * signal/sigqueue.c: Likewise.
11363 * signal/sigreturn.c: Likewise.
11364 * signal/sigset.c: Likewise.
11365 * signal/sigsetmask.c: Likewise.
11366 * signal/sigstack.c: Likewise.
11367 * signal/sigsuspend.c: Likewise.
11368 * signal/sigtimedwait.c: Likewise.
11369 * signal/sigvec.c: Likewise.
11370 * signal/sigwait.c: Likewise.
11371 * signal/sigwaitinfo.c: Likewise.
11372 * signal/sysv_signal.c: Likewise.
11373 * socket/accept.c: Likewise.
11374 * socket/accept4.c: Likewise.
11375 * socket/bind.c: Likewise.
11376 * socket/connect.c: Likewise.
11377 * socket/getpeername.c: Likewise.
11378 * socket/getsockname.c: Likewise.
11379 * socket/getsockopt.c: Likewise.
11380 * socket/isfdtype.c: Likewise.
11381 * socket/listen.c: Likewise.
11382 * socket/recv.c: Likewise.
11383 * socket/recvfrom.c: Likewise.
11384 * socket/recvmsg.c: Likewise.
11385 * socket/send.c: Likewise.
11386 * socket/sendmsg.c: Likewise.
11387 * socket/sendto.c: Likewise.
11388 * socket/setsockopt.c: Likewise.
11389 * socket/shutdown.c: Likewise.
11390 * socket/sockatmark.c: Likewise.
11391 * socket/socket.c: Likewise.
11392 * socket/socketpair.c: Likewise.
11393 * stdio-common/ctermid.c: Likewise.
11394 * stdio-common/cuserid.c: Likewise.
11395 * stdio-common/remove.c: Likewise.
11396 * stdio-common/rename.c: Likewise.
11397 * stdio-common/renameat.c: Likewise.
11398 * stdio-common/tempname.c: Likewise.
11399 * stdlib/getcontext.c: Likewise.
11400 * stdlib/makecontext.c: Likewise.
11401 * stdlib/setcontext.c: Likewise.
11402 * stdlib/swapcontext.c: Likewise.
11403 * stdlib/system.c: Likewise.
11404 * streams/fattach.c: Likewise.
11405 * streams/fdetach.c: Likewise.
11406 * streams/getmsg.c: Likewise.
11407 * streams/getpmsg.c: Likewise.
11408 * streams/putmsg.c: Likewise.
11409 * streams/putpmsg.c: Likewise.
11410 * sysdeps/unix/bsd/getpt.c: Likewise.
11411 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11412 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11413 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11416 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11418 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11419 * sysvipc/msgctl.c: Likewise.
11420 * sysvipc/msgget.c: Likewise.
11421 * sysvipc/msgrcv.c: Likewise.
11422 * sysvipc/msgsnd.c: Likewise.
11423 * sysvipc/semctl.c: Likewise.
11424 * sysvipc/semget.c: Likewise.
11425 * sysvipc/semop.c: Likewise.
11426 * sysvipc/semtimedop.c: Likewise.
11427 * sysvipc/shmat.c: Likewise.
11428 * sysvipc/shmctl.c: Likewise.
11429 * sysvipc/shmdt.c: Likewise.
11430 * sysvipc/shmget.c: Likewise.
11431 * termios/tcdrain.c: Likewise.
11432 * termios/tcflow.c: Likewise.
11433 * termios/tcflush.c: Likewise.
11434 * termios/tcgetattr.c: Likewise.
11435 * termios/tcgetpgrp.c: Likewise.
11436 * termios/tcsendbrk.c: Likewise.
11437 * termios/tcsetattr.c: Likewise.
11438 * termios/tcsetpgrp.c: Likewise.
11439 * time/adjtime.c: Likewise.
11440 * time/clock.c: Likewise.
11441 * time/getitimer.c: Likewise.
11442 * time/gettimeofday.c: Likewise.
11443 * time/setitimer.c: Likewise.
11444 * time/settimeofday.c: Likewise.
11445 * time/stime.c: Likewise.
11446 * time/time.c: Likewise.
11448 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11450 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11453 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11455 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11457 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11461 FE_TONEAREST before applying Dekker multiplication and Knuth
11462 addition. Clear inexact exceptions and check for exact zero
11463 results afterwards.
11464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11467 * math/libm-test.inc (fma_test): Add more tests.
11468 (fma_test_towardzero): Likewise.
11469 (fma_test_downward): Likewise.
11470 (fma_test_upward): Likewise.
11471 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11473 (libc_fesetround): New macro.
11474 (libc_fesetroundf): Likewise.
11475 (libc_fesetroundl): Likewise.
11476 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11478 (libc_fesetround_387): Likewise.
11479 (libc_fesetroundf): New macro.
11480 (libc_fesetround): Likewise.
11481 (libc_fesetroundl): Likewise.
11482 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11484 (libc_fesetroundf): New macro.
11485 (libc_fesetround): Likewise.
11486 (libc_fesetroundl): Likewise.
11487 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11488 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11489 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11491 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11492 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11494 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11495 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11497 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11501 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11502 integer constant usable in #if and use that to give value to enum
11504 (FE_DIVBYZERO): Likewise.
11505 (FE_UNDERFLOW): Likewise.
11506 (FE_OVERFLOW): Likewise.
11507 (FE_INVALID): Likewise.
11508 (FE_INVALID_SNAN): Likewise.
11509 (FE_INVALID_ISI): Likewise.
11510 (FE_INVALID_IDI): Likewise.
11511 (FE_INVALID_ZDZ): Likewise.
11512 (FE_INVALID_IMZ): Likewise.
11513 (FE_INVALID_COMPARE): Likewise.
11514 (FE_INVALID_SOFTWARE): Likewise.
11515 (FE_INVALID_SQRT): Likewise.
11516 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11517 (FE_TONEAREST): Likewise.
11518 (FE_TOWARDZERO): Likewise.
11519 (FE_UPWARD): Likewise.
11520 (FE_DOWNWARD): Likewise.
11521 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11522 (FE_DIVBYZERO): Likewise.
11523 (FE_OVERFLOW): Likewise.
11524 (FE_UNDERFLOW): Likewise.
11525 (FE_INEXACT): Likewise.
11526 (FE_TONEAREST): Likewise.
11527 (FE_DOWNWARD): Likewise.
11528 (FE_UPWARD): Likewise.
11529 (FE_TOWARDZERO): Likewise.
11530 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11531 (FE_UNDERFLOW): Likewise.
11532 (FE_OVERFLOW): Likewise.
11533 (FE_DIVBYZERO): Likewise.
11534 (FE_INVALID): Likewise.
11535 (FE_TONEAREST): Likewise.
11536 (FE_TOWARDZERO): Likewise.
11537 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11538 (FE_OVERFLOW): Likewise.
11539 (FE_UNDERFLOW): Likewise.
11540 (FE_DIVBYZERO): Likewise.
11541 (FE_INEXACT): Likewise.
11542 (FE_TONEAREST): Likewise.
11543 (FE_TOWARDZERO): Likewise.
11544 (FE_UPWARD): Likewise.
11545 (FE_DOWNWARD): Likewise.
11546 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11547 (FE_DIVBYZERO): Likewise.
11548 (FE_OVERFLOW): Likewise.
11549 (FE_UNDERFLOW): Likewise.
11550 (FE_INEXACT): Likewise.
11551 (FE_TONEAREST): Likewise.
11552 (FE_DOWNWARD): Likewise.
11553 (FE_UPWARD): Likewise.
11554 (FE_TOWARDZERO): Likewise.
11556 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11558 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11560 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11562 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11563 commands. Quote $PWD.
11564 (blacklist_exports): Don't use remove_newlines. Replace "declare
11566 (remove_newlines): Remove.
11568 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11570 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11571 * stdlib/stdlib.h (atof): Moved to ...
11572 * include/bits/stdlib-float.h: Here. New file.
11573 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11574 * stdlib/bits/stdlib-float.h: New file.
11575 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11580 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11582 * conform/conformtest.pl (@headers): Add fenv.h.
11583 * conform/data/fenv.h-data: New file.
11584 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11585 include of <math/fenv.h>.
11587 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11588 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11589 && !UNIX98]. Enables tests for XOPEN2K8.
11590 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11591 POSIX2008]: Likewise.
11593 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11594 (struct rusage): Do not expect type or its members.
11597 * math/math.h (FP_NAN): Define macro to integer constant usable in
11598 #if and use that to give value to enum constant.
11599 (FP_INFINITE): Likewise.
11600 (FP_ZERO): Likewise.
11601 (FP_SUBNORMAL): Likewise.
11602 (FP_NORMAL): Likewise.
11604 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11606 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11607 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11610 2012-11-02 Roland McGrath <roland@hack.frob.com>
11612 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11613 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11614 autoconf-time if not.
11615 * configure.in: Remove AC_PREREQ.
11617 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11619 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11620 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11621 of the internal implementation.
11623 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11625 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11626 except include of <misc/sys/syslog.h>.
11628 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11631 function returns with a NULL context exit with zero.
11633 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11635 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11637 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11639 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11640 (run_program_cmd): This.
11641 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11642 (tst_langinfo): New variable. Use it.
11644 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11646 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11647 floating point opcodes.
11649 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11651 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11654 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11656 * sysdeps/mach/hurd/powerpc: Remove directory.
11657 * sysdeps/mach/powerpc: Likewise.
11659 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11661 * scripts/check-local-headers.sh: Ignore c++ headers.
11663 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11665 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11666 __libc_cleanup_region_start argument.
11668 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11673 x * y using scaling, not as x * y + z.
11674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11676 * math/libm-test.inc (fma_test): Add more tests.
11677 (fma_test_towardzero): Likewise.
11678 (fma_test_downward): Likewise.
11679 (fma_test_upward): Likewise.
11681 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11683 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11685 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11687 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11690 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11692 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11694 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11701 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11704 Fix the order of the list for glibc 2.17.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11708 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11712 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11716 for low part of x being zero before using __atanl (y).
11717 * math/libm-test.inc (atan2_test): Add another test.
11719 * manual/install.texi (Configuring and compiling): Document
11720 general use of test-wrapper and test-wrapper-env.
11721 * INSTALL: Regenerated.
11723 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11724 (__fma): Do not extract and scale down low bits on after-rounding
11725 systems when result rounded to normal precision would have normal
11727 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11728 (__fmal): Do not extract and scale down low bits on after-rounding
11729 systems when result rounded to normal precision would have normal
11731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11732 (__fmal): Do not extract and scale down low bits on after-rounding
11733 systems when result rounded to normal precision would have normal
11735 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11737 (fma_test): Add more tests.
11738 (fma_test_towardzero): Likewise.
11739 (fma_test_downward): Likewise.
11740 (fma_test_upward): Likewise.
11742 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11744 * sysdeps/i386/tininess.h: Renamed to ...
11745 * sysdeps/x86/tininess.h: This.
11746 * sysdeps/x86_64/tininess.h: Removed.
11748 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11750 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11751 input. Use $(build-program-cmd).
11752 ($(objpfx)tst-array1-static.out): Likewise.
11753 ($(objpfx)tst-array2.out): Likewise.
11754 ($(objpfx)tst-array3.out): Likewise.
11755 ($(objpfx)tst-array4.out): Likewise.
11756 ($(objpfx)tst-array5.out): Likewise.
11757 ($(objpfx)tst-array5-static.out): Likewise.
11759 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11761 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11764 * nss/nsswitch.h (nss_interface_function): Provide new
11765 macro for use with NSS functions.
11766 * grp/initgroups.c: Use new macro.
11767 * nss/getXXbyYY.c: Likewise.
11768 * nss/getXXbyYY_r.c: Likewise.
11769 * nss/getXXent.c: Likewise.
11770 * nss/getXXent_r.c: Likewise.
11771 * sysdeps/posix/getaddrinfo.c: Likewise.
11773 2012-10-30 Andreas Jaeger <aj@suse.de>
11775 * po/ru.po: Update Russion translation from translation project.
11777 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11782 result and shift together with sticky bit instead of replicating
11783 round-to-nearest rounding.
11784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11786 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11787 missing underflow exceptions.
11788 (fma_test_towardzero): Add more tests.
11789 (fma_test_downward): Likewise.
11790 (fma_test_upward): Likewise.
11793 * sysdeps/generic/tininess.h: New file.
11794 * sysdeps/i386/tininess.h: Likewise.
11795 * sysdeps/sh/tininess.h: Likewise.
11796 * sysdeps/x86_64/tininess.h: Likewise.
11797 * stdlib/tst-strtod-underflow.c: Likewise.
11798 * stdlib/tst-tininess.c: Likewise.
11799 * stdlib/strtod_l.c: Include <tininess.h>.
11800 (round_and_return): Do not set errno for exact underflow cases.
11801 Force an underflow exception when setting errno for underflow.
11802 Determine underflow based on rounding to normal precision if
11803 TININESS_AFTER_ROUNDING.
11804 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11805 ERANGE for exact underflow cases.
11806 * stdlib/Makefile (tests): Add tst-tininess and
11807 tst-strtod-underflow.
11808 ($(objpfx)tst-tininess): Use $(link-libm).
11809 ($(objpfx)tst-strtod-underflow): Likewise.
11811 2012-10-30 Andreas Jaeger <aj@suse.de>
11814 * elf/Makefile (tests): Remove conditional for have-initfini-array
11815 since this is now always required and the variable does not exist
11817 (tests-static): Likewise.
11818 (modules-names): Likewise.
11820 * po/eo.po: Add Esperanto translation from translation project.
11822 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11823 merged with constructor/destructor.
11824 (init_array): Likewise.
11825 * elf/tst-array2dep.c (fini_array): Likewise.
11826 (init_array): Likewise.
11828 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11830 * manual/message.texi: Delete @cartouche tags.
11832 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11834 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11836 * sysdeps/mach/hurd/fsync.c: Likewise.
11838 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11839 [_POSIX_REALTIME_SIGNALS]: Change condition to
11840 [_POSIX_REALTIME_SIGNALS > 0].
11842 2012-10-27 Andreas Jaeger <aj@suse.de>
11844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11845 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11847 [__WORDSIZE != 64]: Likewise.
11849 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11851 * iconvdata/tst-table.sh: Remove ${SHELL}.
11852 * iconvdata/tst-tables.sh: Likewise.
11854 2012-10-25 David S. Miller <davem@davemloft.net>
11856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11857 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11863 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11864 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11867 2012-10-25 Roland McGrath <roland@hack.frob.com>
11869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11870 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11873 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11874 Jim Blandy <jimb@codesourcery.com>
11876 * scripts/cross-test-ssh.sh: New file.
11877 * manual/install.texi (Configuring and compiling): Document use of
11879 * INSTALL: Regenerated.
11881 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11883 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11886 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11888 * Makeconfig (run-program-prefix): Fix comment.
11890 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11891 Jim Blandy <jimb@codesourcery.com>
11893 * Makeconfig (test-wrapper): New variable,
11894 (test-wrapper-env): Likewise.
11895 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11896 (run-built-tests): Define to yes.
11897 (run-program-prefix): Use $(test-wrapper).
11898 (built-program-cmd): Likewise.
11899 * Rules (make-test-out): Use $(test-wrapper-env) and
11900 $(host-built-program-cmd).
11901 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11902 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11904 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11905 $(test-wrapper-env) to tst-rtld-load-self.sh.
11906 ($(objpfx)order2.out): Use $(test-wrapper).
11907 ($(objpfx)tst-initorder.out): Likewise.
11908 ($(objpfx)tst-initorder2.out): Likewise.
11909 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11910 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11911 (test_wrapper_env): New variable. Use it to run ld.so.
11912 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11913 Use it to run ld.so.
11914 (test_wrapper_env): Likewise.
11915 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11916 $(test-wrapper) to run-iconv-test.sh.
11917 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11918 (ICONV): Use $test_wrapper.
11919 * posix/Makefile ($(objpfx)globtest.out): Pass
11920 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11921 globtest.sh, not $(run-program-prefix).
11922 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11923 (test_wrapper): Likewise.
11924 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11925 set together with run_via_rtld_prefix.
11926 (run_program_prefix): Define in terms of test_wrapper and
11927 run_via_rtld_prefix.
11929 2012-10-24 Roland McGrath <roland@hack.frob.com>
11931 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11932 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11936 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11937 Declare __clock_getres, __clock_gettime, __clock_settime,
11938 __clock_nanosleep, and __clock_getcpuclockid.
11939 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11940 Remove librt_hidden_def (clock_gettime).
11941 * sysdeps/unix/clock_gettime.c: Likewise.
11942 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11944 * rt/clock_getres.c: Define __clock_getres as an alias.
11945 * sysdeps/posix/clock_getres.c: Likewise.
11946 * rt/clock_settime.c: Define __clock_settime as an alias.
11947 * sysdeps/unix/clock_settime.c: Likewise.
11948 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11949 * sysdeps/unix/clock_nanosleep.c: Likewise.
11950 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11951 * rt/clock-compat.c: New file.
11952 * rt/Makefile (librt-routines): Add clock-compat and move
11953 $(clock-routines) to ...
11954 (routines): ... here, new variable.
11955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11956 Don't add get_clockfreq here.
11957 * rt/Versions (libc: GLIBC_2.17): New version set.
11958 Add clock_* symbols here.
11959 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11961 (GLIBC_2.17): Add clock_* symbols.
11962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11973 * NEWS: Mention the move.
11975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11976 Use __open, __read, __close rather than their public counterparts.
11977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11978 (__get_clockfreq_via_cpuinfo): Likewise.
11979 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11980 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11982 * config.h.in (HAVE_IFUNC): New #undef.
11983 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11985 * configure: Regenerated.
11987 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11989 * configure.in: Move READELF check to start of file.
11990 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11991 libc_cv_asm_gnu_indirect_function in the process.
11992 * configure: Regenerated.
11994 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11996 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11997 send the output to /dev/null.
11998 (libc_cv_cc_with_libunwind): Likewise.
11999 (libc_cv_as_noexecstack): Likewise.
12000 * configure: Regenerate.
12002 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12004 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12006 * posix/globtest.sh (TMPDIR): Do not set.
12007 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12008 (testout): Likewise.
12010 2012-10-24 Andreas Jaeger <aj@suse.de>
12012 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12013 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12014 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12015 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12016 posix_fadvise64, posix_fallocate64.
12018 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12019 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12020 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12022 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12024 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12027 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12028 <bits/fcntl-linux.h>.
12029 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12032 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12033 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12034 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12035 [__WORDSIZE != 64]: Likewise.
12037 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12039 * Makeconfig (run-built-tests): New variable.
12040 * Rules [$(cross-compiling) = yes]: Change condition to
12041 [$(run-built-tests) = no].
12042 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12043 to [$(run-built-tests) = yes].
12044 * elf/Makefile [$(cross-compiling) = no]: Likewise
12045 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12046 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12047 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12048 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12049 * io/Makefile [$(cross-compiling) = no]: Likewise.
12050 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12051 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12052 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12053 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12054 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12055 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12056 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12057 * string/Makefile [$(cross-compiling) = no]: Likewise.
12059 * posix/Makefile ($(objpfx)globtest.out): Pass
12060 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12061 $(rtld-installed-name).
12062 * posix/globtest.sh (elf_objpfx): Remove variable.
12063 (rtld_installed_name): Likewise.
12064 (library_path): Likewise.
12065 (run_program_prefix): New variable. Use for running globtest
12068 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12069 Joseph Myers <joseph@codesourcery.com>
12071 * Makeconfig (host-built-program-cmd): New variable.
12072 * elf/Makefile (tst-stackguard1-ARGS): Use
12073 $(host-built-program-cmd).
12074 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12075 (tst-spawn-ARGS): Likewise.
12076 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12078 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12079 Jim Blandy <jimb@codesourcery.com>
12081 * Makeconfig (run-via-rtld-prefix): New variable.
12082 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12083 (built-program-cmd): Likewise.
12085 2012-10-22 Andreas Jaeger <aj@suse.de>
12087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12088 __O_RSYNC if it exists, otherwise to O_SYNC.
12090 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12091 Joseph Myers <joseph@codesourcery.com>
12093 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12095 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12097 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12100 2012-10-22 Andreas Jaeger <aj@suse.de>
12102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12107 bits/fcntl-linux.h.
12109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12110 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12117 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12118 Joseph Myers <joseph@codesourcery.com>
12120 * config.make.in (NM): New variable.
12122 2012-10-21 Andreas Jaeger <aj@suse.de>
12124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12125 definitions and declarations that are provided by
12126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12128 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12131 * elf/Makefile (tests-static): Add tst-leaks1-static.
12132 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12133 ($(objpfx)tst-leaks1-static): New rule.
12134 ($(objpfx)tst-leaks1-static-mem): Likewise.
12135 (tst-leaks1-static-ENV): New macro.
12136 * elf/dl-open.c (dl_open_worker): Check the main application
12137 only if SHARED is defined.
12138 * elf/tst-leaks1-static.c: New file.
12140 2012-10-20 Andreas Jaeger <aj@suse.de>
12142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12143 generic values for Linux.
12144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12145 and declarations that are provided by <bits/fcntl-linux.h> and
12146 include <bits/fcntl-linux.h>.
12147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12150 2012-10-20 Roland McGrath <roland@hack.frob.com>
12152 * io/fcntl.h: Move include of <bits/types.h> to the top and
12153 include it unconditionally.
12155 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12157 * wcsmbs/Makefile (tests-ifunc): New variable.
12158 (tests): Add $(tests-ifunc).
12159 * wcsmbs/test-wcschr-ifunc.c: New file.
12160 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12161 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12162 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12163 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12164 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12166 * string/Makefile (tests-ifunc): New variable.
12167 (tests): Add $(tests-ifunc).
12168 * string/test-memccpy.c (TEST_NAME): New macro.
12169 * string/test-memchr.c (TEST_NAME): Likewise.
12170 * string/test-memcmp.c (TEST_NAME): Likewise.
12171 * string/test-memcpy.c (TEST_NAME): Likewise.
12172 * string/test-memmem.c (TEST_NAME): Likewise.
12173 * string/test-memmove.c (TEST_NAME): Likewise.
12174 * string/test-memset.c (TEST_NAME): Likewise.
12175 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12176 * string/test-stpcpy.c (TEST_NAME): Likewise.
12177 * string/test-stpncpy.c (TEST_NAME): Likewise.
12178 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12179 * string/test-strcasestr.c (TEST_NAME): Likewise.
12180 * string/test-strcat.c (TEST_NAME): Likewise.
12181 * string/test-strchr.c (TEST_NAME): Likewise.
12182 * string/test-strcmp.c(TEST_NAME): Likewise.
12183 * string/test-strcpy.c (TEST_NAME): Likewise.
12184 * string/test-strcspn.c (TEST_NAME): Likewise.
12185 * string/test-strlen.c (TEST_NAME): Likewise.
12186 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12187 * string/test-strncmp.c (TEST_NAME): Likewise.
12188 * string/test-strncpy.c (TEST_NAME): Likewise.
12189 * string/test-strnlen.c (TEST_NAME): Likewise.
12190 * string/test-strpbrk.c (TEST_NAME): Likewise.
12191 * string/test-strrchr.c (TEST_NAME): Likewise.
12192 * string/test-strspn.c (TEST_NAME): Likewise.
12193 * string/test-strstr.c (TEST_NAME): Likewise.
12194 * string/test-bcopy-ifunc.c: New file.
12195 * string/test-bzero-ifunc.c: Likewise.
12196 * string/test-memccpy-ifunc.c: Likewise.
12197 * string/test-memchr-ifunc.c: Likewise.
12198 * string/test-memcmp-ifunc.c: Likewise.
12199 * string/test-memcpy-ifunc.c: Likewise.
12200 * string/test-memmem-ifunc.c: Likewise.
12201 * string/test-memmove-ifunc.c: Likewise.
12202 * string/test-mempcpy-ifunc.c: Likewise.
12203 * string/test-memset-ifunc.c: Likewise.
12204 * string/test-rawmemchr-ifunc.c: Likewise.
12205 * string/test-stpcpy-ifunc.c: Likewise.
12206 * string/test-stpncpy-ifunc.c: Likewise.
12207 * string/test-strcasecmp-ifunc.c: Likewise.
12208 * string/test-strcasestr-ifunc.c: Likewise.
12209 * string/test-strcat-ifunc.c: Likewise.
12210 * string/test-strchr-ifunc.c: Likewise.
12211 * string/test-strchrnul-ifunc.c: Likewise.
12212 * string/test-strcmp-ifunc.c: Likewise.
12213 * string/test-strcpy-ifunc.c: Likewise.
12214 * string/test-strcspn-ifunc.c: Likewise.
12215 * string/test-strlen-ifunc.c: Likewise.
12216 * string/test-strncasecmp-ifunc.c: Likewise.
12217 * string/test-strncat-ifunc.c: Likewise.
12218 * string/test-strncmp-ifunc.c: Likewise.
12219 * string/test-strncpy-ifunc.c: Likewise.
12220 * string/test-strnlen-ifunc.c: Likewise.
12221 * string/test-strpbrk-ifunc.c: Likewise.
12222 * string/test-strrchr-ifunc.c: Likewise.
12223 * string/test-strspn-ifunc.c: Likewise.
12224 * string/test-strstr-ifunc.c: Likewise.
12226 * debug/Makefile (tests-ifunc): New variable.
12227 (tests): Add $(tests-ifunc).
12228 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12229 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12230 * debug/test-stpcpy_chk-ifunc.c: New file.
12231 * debug/test-strcpy_chk-ifunc.c: Likewise.
12233 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12236 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12237 header is not read in.
12239 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12241 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12242 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12243 directly. Pass built executable to script as
12244 $(built-program-cmd).
12245 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12246 $testprogram without using LD_LIBRARY_PATH and $ldso.
12248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12249 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12250 $(rtld-installed-name).
12251 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12252 (rtld_installed_name): Likewise.
12253 (library_path): Likewise.
12254 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12255 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12256 $(run-program-prefix) to tst-tables.sh.
12257 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12258 it to run tst-table-from and tst-table-to.
12259 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12260 Pass it to tst-table.sh.
12261 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12262 $(run-program-prefix) to tst-gettext.sh.
12263 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12265 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12267 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12268 to run tst-gettext.
12269 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12270 to run tst-gettext2.
12271 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12272 to run tst-translit.
12273 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12274 $(run-program-prefix) to tst-mtrace.sh.
12275 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12277 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12278 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12279 $(rtld-installed-name).
12280 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12281 (rtld_installed_name): Likewise.
12282 (run_program_prefix): New variable. Use it to run wordexp-test.
12284 * Makeconfig (ARCH): Remove all definitions.
12285 (machine): Likewise.
12286 [ARCH]: Remove conditional code.
12287 [!objdir]: Give error.
12288 [!objdir] (objpfx): Remove.
12289 [!objdir] (common-objpfx): Likewise.
12290 [!objdir] (common-objdir): Likewise.
12291 * configure.in (config_makefile): Remove. Hardcode Makefile in
12292 AC_CONFIG_FILES call.
12293 * configure: Regenerated.
12296 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12298 (testout): Likewise.
12300 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12301 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12302 $(rtld-installed-name).
12303 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12304 (rtld_installed_name): Likwise.
12305 (runit): Remove function.
12306 (run_getconf): New variable, Use it for running getconf binary.
12308 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12311 * string/test-memmem.c (check_result): New function.
12312 (do_one_test): Use it.
12313 (check1): New function.
12314 (test_main): Use it.
12316 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12318 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12320 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12322 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12323 (_G_LSEEK64): Likewise.
12324 (_G_MMAP64): Likewise.
12325 (_G_FSTAT64): Likewise.
12326 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12327 (_G_LSEEK64): Likewise.
12328 (_G_MMAP64): Likewise.
12329 (_G_FSTAT64): Likewise.
12330 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12331 unconditional. Call __mmap64 directly.
12332 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12333 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12334 __lseek64 directly.
12335 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12336 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12338 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12339 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12340 __lseek64 directly.
12341 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12342 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12343 __lseek64 directly.
12344 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12345 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12346 __lseek64 directly.
12347 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12348 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12349 __fxstat64 directly.
12350 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12351 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12353 (freopen64) [!_G_OPEN64]: Remove conditional code.
12354 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12356 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12357 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12359 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12360 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12362 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12363 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12365 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12366 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12368 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12369 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12371 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12372 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12374 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12376 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12379 * manual/memory.texi (Malloc Tunable Parameters): Add note
12380 about free list pointers overwriting some perturb bytes.
12381 Wording suggested by Roland McGrath.
12383 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12385 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12386 (lgamma_test): Likewise.
12387 (tgamma_test): Likewise.
12389 2012-10-16 Florian Weimer <fweimer@redhat.com>
12392 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12393 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12395 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12397 * NEWS: Mention BZ #14716.
12398 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12399 when removing AVAILABLE1_USES_J macro.
12401 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12403 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12404 (__bswap_64): __uint64_t for unsigned 64-bit int.
12406 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12408 * include/string.h (memmem): Declare libc hidden alias.
12409 * string/memmem.c (memmem): Define libc hidden alias.
12410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12411 __read, __close instead of open, read, close.
12413 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12416 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12418 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12419 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12420 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12422 (__rawmemchr_sse2): Likewise.
12423 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12424 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12425 (__strchr_sse2): Likewise.
12426 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12427 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12428 (__strcasecmp_sse2): Likewise.
12429 (__strncasecmp_sse2): Likewise.
12430 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12431 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12432 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12433 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12434 (__strrchr_sse2): Likewise.
12435 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12437 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12438 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12439 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12440 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12441 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12442 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12443 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12445 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12446 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12447 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12449 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12450 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12451 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12453 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12454 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12455 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12456 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12457 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12458 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12459 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12460 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12461 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12463 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12464 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12465 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12466 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12468 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12470 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12471 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12472 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12473 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12475 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12477 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12478 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12479 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12480 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12482 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12483 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12484 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12485 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12486 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12487 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12488 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12489 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12490 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12491 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12495 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12496 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12498 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12499 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12500 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12501 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12507 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12508 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12509 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12510 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12511 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12512 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12515 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12516 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12517 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12519 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12520 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12521 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12522 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12524 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12525 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12526 * include/ifunc-impl-list.h: New file.
12527 * misc/ifunc-impl-list.c: Likewise.
12528 * misc/Makefile (routines): Add ifunc-impl-list.
12529 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12530 * string/test-string.h: Include <ifunc-impl-list.h>.
12531 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12532 impl_array): New variables.
12533 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12535 (test_init): Call __libc_ifunc_impl_list to initialize
12536 func_list if TEST_IFUNC and TEST_NAME are defined.
12538 * string/Makefile (strop-tests): Add bcopy and bzero.
12539 * string/test-bcopy.c: New file.
12540 * string/test-bzero.c: Likewise.
12541 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12543 * string/test-memset.c: Support bzero test if TEST_BZERO is
12545 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12547 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12549 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12552 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12554 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12555 * configure: Regenerated.
12557 * Makeconfig (+link-static-before-libc): Don't include
12558 $(link-static-libc).
12560 * libio/libio.h (_IO_pos_t): Remove.
12562 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12564 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12567 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12569 * crypt/crypt-entry.c: Include fips-private.h.
12570 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12571 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12572 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12573 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12575 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12577 * crypt/crypt-private.h: Include stdbool.h.
12578 (_ufc_setup_salt_r): Return bool.
12579 * crypt/crypt-entry.c: Include errno.h.
12580 (__crypt_r): Return NULL with EINVAL for bad salt.
12581 * crypt/crypt_util.c (bad_for_salt): New.
12582 (_ufc_setup_salt_r): Check that salt is long enough and within
12583 the specified alphabet.
12584 * crypt/badsalttest.c: New file.
12585 * crypt/Makefile (tests): Add it.
12586 ($(objpfx)badsalttest): New.
12588 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12590 * NEWS: Add entry for BZ #14602.
12592 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12594 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12596 * math/libm-test.inc: Update comment listing what functions and
12598 (isgreater_test): New function.
12599 (isgreaterequal_test): Likewise.
12600 (isless_test): Likewise.
12601 (islessequal_test): Likewise.
12602 (islessgreater_test): Likewise.
12603 (isunordered_test): Likewise.
12604 (main): Call the new functions.
12606 2012-10-09 Roland McGrath <roland@hack.frob.com>
12608 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12609 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12610 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12611 * sysdeps/i386/configure: Regenerated.
12612 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12613 * sysdeps/mach/configure: Regenerated.
12614 * sysdeps/mach/hurd/configure: Regenerated.
12615 * sysdeps/powerpc/configure: Regenerated.
12616 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12617 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12618 * sysdeps/s390/s390-32/configure: Regenerated.
12619 * sysdeps/s390/s390-64/configure: Regenerated.
12620 * sysdeps/sh/configure: Regenerated.
12621 * sysdeps/sparc/configure: Regenerated.
12622 * sysdeps/unix/sysv/linux/configure: Regenerated.
12623 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12624 * sysdeps/x86_64/configure: Regenerated.
12626 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12627 defined. Don't check if MAP is NULL.
12629 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12632 (_G_stat64): Likewise.
12633 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12634 (_G_stat64): Likewise.
12635 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12636 instead of struct _G_stat64.
12637 * libio/fileops.c (mmap_remap_check): Likewise.
12638 (decide_maybe_mmap): Likewise.
12639 (_IO_new_file_seekoff): Likewise.
12640 (_IO_file_stat): Likewise.
12641 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12643 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12644 instead of struct _G_stat64.
12645 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12647 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12652 (CHECK_EOL): New macro.
12653 (two_way_short_needle): Check beginning of haystack for EOL. Use
12655 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12656 Replace with CHECK_EOL.
12657 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12658 Replace with CHECK_EOL.
12660 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12662 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12664 * math/libm-test.inc: Update comment listing what functions and
12666 (finite_test): New function.
12667 (isinf_test): Likewise.
12668 (isnan_test): Likewise.
12669 (fpclassify_test): Test subnormal input.
12670 (isfinite_test): Likewise.
12671 (isnormal_test): Likewise.
12672 (main): Call the new functions.
12674 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12677 * Makerules (%.dynsym): Force C locale when running
12678 $(OBJDUMP) --dynamic-syms.
12680 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12685 2012-10-06 David S. Miller <davem@davemloft.net>
12687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12688 upper 32-bits of the length value in %o2 since we use branch-on-register
12689 tests which consider the entire 64-bit register.
12691 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12693 * string/test-strstr.c (check2): Add a test for page boundary.
12695 2012-10-05 David S. Miller <davem@davemloft.net>
12697 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12698 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12700 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12702 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12703 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12704 and bzero when HWCAP_SPARC_CRYPTO is present.
12706 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12709 * string/test-strstr.c (check2): New function.
12710 (test_main): Call check2.
12712 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12714 * string/bug-strcasestr1.c (do_test): Moved to ...
12715 * string/test-strcasestr.c (check1): Here. New function.
12716 (do_one_test): Break out result checking code into ...
12717 (check_result): This. New function.
12718 (do_one_test): Call check_result.
12719 (test_main): Call check1.
12720 * string/bug-strchr1.c (do_test): Moved to ...
12721 * string/test-strchr.c (check1): Here. New function.
12722 (do_one_test): Break out result checking code into ...
12723 (check_result): This. New function.
12724 (do_one_test): Call check_result.
12725 (test_main): Call check1.
12726 * string/bug-strstr1.c (main): Moved to ...
12727 * string/test-strstr.c (check1): Here. New function.
12728 (do_one_test): Break out result checking code into ...
12729 (check_result): This. New function.
12730 (do_one_test): Call check_result.
12731 (test_main): Call check1.
12732 * string/bug-strcasestr1.c: Removed.
12733 * string/bug-strchr1.c: Likewise.
12734 * string/bug-strstr1.c: Likewise.
12736 * elf/Makefile (dl-routines): Add hwcaps.
12737 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12738 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12739 (_dl_important_hwcaps): Moved to ...
12740 * elf/dl-hwcaps.c: Here. New file.
12741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12744 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12745 if IS_IN_rtld isn't defined.
12747 * elf/dl-support.c (_dl_sysinfo_map): New.
12748 Include "get-dynamic-info.h" and "setup-vdso.h".
12749 (_dl_non_dynamic_init): Call setup_vdso.
12750 * elf/dynamic-link.h: Don't include <assert.h>.
12751 (elf_get_dynamic_info): Moved to ...
12752 * elf/get-dynamic-info.h: Here. New file.
12753 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12754 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12755 * elf/setup-vdso.h: Here. New file.
12756 * elf/rtld.c: Include "setup-vdso.h".
12757 (dl_main): Call setup_vdso.
12759 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12761 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12762 creal in comment listing functions tested. List finite, isinf,
12763 isnan, isless, islessequal, isgreater, isgreaterequal,
12764 islessgreater, isunordered, lgamma_r and pow10 as functions and
12765 macros not tested. Mention which functions not tested are aliases
12766 for other functions. Fix typo. Note that signs of NaNs are not
12769 * scripts/config.guess: Update from config.git.
12770 * scripts/config.sub: Likewise.
12772 2012-10-04 Roland McGrath <roland@hack.frob.com>
12774 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12775 * misc/madvise.c (madvise): Renamed to __madvise.
12776 Make madvise a weak alias.
12777 * include/sys/mman.h: Declare __madvise.
12778 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12779 * sysdeps/unix/syscalls.list
12780 (madvise): Make __madvise the strong name, and madvise a weak alias.
12781 * sysdeps/unix/sysv/linux/syscalls.list
12782 (madvise, mmap): Remove redundant entries.
12783 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12784 * malloc/malloc.c (mtrim): Likewise.
12785 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12787 2012-10-03 Roland McGrath <roland@hack.frob.com>
12789 * sysdeps/mach/hurd/dl-cache.c: File removed.
12790 * config.h.in (USE_LDCONFIG): New #undef.
12791 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12792 * configure: Regenerated.
12793 * elf/Makefile (dl-routines): Add dl-cache only under
12794 [$(use-ldconfig) = yes].
12795 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12796 cache on [USE_LDCONFIG].
12797 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12799 * elf/rtld.c (dl_main): Likewise.
12801 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12803 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12804 _SC_LEVEL4_CACHE_LINESIZE.
12806 2012-10-03 Roland McGrath <roland@hack.frob.com>
12808 * sysdeps/unix/bsd/confstr.h: File removed.
12810 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12812 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12815 2012-10-02 Roland McGrath <roland@hack.frob.com>
12817 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12818 Make 'mapoff' field ElfW(Off) rather than off_t.
12820 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12822 * nscd/Makefile: Remove nscd-cflags and all its users.
12823 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12824 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12827 * malloc.c (malloc_printerr): Clarify error message.
12829 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12833 Set bit_FMA_Usable if FMA is supported.
12834 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12836 (bit_FMA4_Usable): Updated.
12837 (index_FMA_Usable): New macro.
12838 (CPUID_FMA): Likewise
12839 (HAS_FMA): Defined with bit_FMA_Usable.
12841 2012-10-01 Roland McGrath <roland@hack.frob.com>
12843 * bits/types.h (__swblk_t): Type removed.
12844 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12845 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12847 (__SWBLK_T_TYPE): Likewise.
12848 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12849 (__SWBLK_T_TYPE): Likewise.
12850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12851 (__SWBLK_T_TYPE): Likewise.
12852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12853 (__SWBLK_T_TYPE): Likewise.
12855 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12856 Honza Horak <hhorak@redhat.com>
12858 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12859 (xdr_mapname): Use YPMAXMAP as maxsize.
12860 (xdr_peername): Use YPMAXPEER as maxsize.
12861 (xdr_keydat): Use YPAXRECORD as maxsize.
12862 (xdr_valdat): Use YPMAXRECORD as maxsize.
12864 2012-10-01 Roland McGrath <roland@hack.frob.com>
12866 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12868 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12869 * csu/init-first.c: ... here.
12870 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12871 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12872 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12873 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12874 * sysdeps/i386/init-first.c: File removed.
12875 * sysdeps/sh/init-first.c: File removed.
12877 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12881 if x * y might underflow to zero and z is zero.
12882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12884 * math/libm-test.inc (min_subnorm_value): New variable.
12885 (fma_test): Add more tests.
12886 (fma_test_towardzero): Likewise.
12887 (fma_test_downward): Likewise
12888 (fma_test_upward): Likewise.
12889 (initialize): Set min_subnorm_value.
12891 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12897 mode for addition resulting in exact zero.
12898 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12901 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12903 * math/libm-test.inc (fma_test): Add more tests.
12904 (fma_test_towardzero): New function.
12905 (fma_test_downward): Likewise.
12906 (fma_test_upward): Likewise.
12907 (main): Call the new functions.
12909 2012-09-28 David S. Miller <davem@davemloft.net>
12911 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12913 2012-09-28 Roland McGrath <roland@hack.frob.com>
12915 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12916 instead of SIGALRM.
12918 * sysdeps/gnu/_G_config.h: Moved to ...
12919 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12920 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12921 * sysdeps/generic/_G_config.h: ... here.
12923 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12925 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12927 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12928 Conditionalize target on [libnss_test1.so-version].
12930 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12932 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12933 (elfobjdir): Move out of conditionals.
12935 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12936 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12937 (__nss_lookup_function): Conditionalize label remove_from_tree on
12938 [!DO_STATIC_NSS || SHARED], matching its only use.
12940 2012-09-28 David S. Miller <davem@davemloft.net>
12942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12943 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12945 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12949 when HWCAP_SPARC_CRYPTO is present.
12951 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12953 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12955 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12958 * stdio-common/vfprintf.c (process_string_arg): Revert
12961 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12963 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12965 * stdio-common/tst-sprintf.c: Include <locale.h>
12966 (main): Test sprintf's handling of incomplete multibyte
12969 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12971 * elf/dl-runtime.c (VERSYMIDX): Removed.
12972 * elf/dl-version.c (VERSYMIDX): Likewise.
12973 * elf/do-rel.h (VERSYMIDX): Likewise.
12974 (VALIDX): Likewise.
12975 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12976 * elf/rtld.c (VALIDX): Likewise.
12977 (ADDRIDX): Likewise.
12978 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12979 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12980 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12981 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12982 (VALIDX): Likewise.
12983 (ADDRIDX): Likewise.
12985 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12987 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12989 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12992 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12994 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12995 addresses are in the same scope as 192.0.2/24.
12996 * posix/gai.conf: Document new scope table defaults.
12998 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13001 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13002 for ftell. Compute offsets from write pointers instead.
13003 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13005 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13008 * libio/Makefile (tests): New test case tst-fseek.
13009 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13010 combination works in wide mode.
13011 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13012 state when the external buffer state changes.
13014 2012-09-27 David S. Miller <davem@davemloft.net>
13017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13018 pass reloc->r_addend in as the 'high' argument to
13019 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13023 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13025 * rt/tst-aio2.c: Include <pthread.h>.
13026 * rt/tst-aio3.c: Likewise.
13028 2012-09-27 Steve Ellcey <sellcey@mips.com>
13030 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13032 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13034 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13035 contents on [SHARED].
13037 2012-09-26 Marek Polacek <polacek@redhat.com>
13041 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13042 for C++ and GCC <4.3 as well as for non GCC compilers.
13044 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13048 2012-09-25 Roland McGrath <roland@hack.frob.com>
13050 * Makefile.in (all, install): Declare with .PHONY.
13051 Reported by Michael Hope <michael.hope@linaro.org>.
13053 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13055 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13056 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13058 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13060 (sydep_routines): Add the new and the internal functions.
13061 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13062 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13064 (GLIBC_2.17): Add the new function.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13066 (GLIBC_2.17): Likewise.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13068 (GLIBC_2.17): Likewise.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13070 (GLIBC_2.17): Likewise.
13071 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13073 2012-09-25 Alan Modra <amodra@gmail.com>
13075 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13076 Add release barrier before setting once_control to say
13077 initialisation is done. Add hints on lwarx. Use macro in
13079 (clear_once_control): Add release barrier.
13081 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13084 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13086 * math/s_clog10.c (__clog10): Likewise.
13087 * math/s_clog10f.c (__clog10f): Likewise.
13088 * math/s_clog10l.c (__clog10l): Likewise.
13089 * math/s_clogf.c (__clogf): Likewise.
13090 * math/s_clogl.c (__clogl): Likewise.
13091 * math/Makefile (libm-calls): Add x2y2m1.
13092 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13093 (__x2y2m1): Likewise.
13094 (__x2y2m1l): Likewise.
13095 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13096 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13101 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13102 * sysdeps/i386/fpu/libm-test-ulps: Update.
13103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13107 int as type of variable DEPTH.
13108 (glob): Use size_t instead of int as type of variables NEWCOUNT
13111 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13113 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13114 Add s_sincosf-sse2.
13115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13116 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13117 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13118 macros for using routine as __sincosf_ia32.
13119 Use macro for function declaration and weak_alias.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13122 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13125 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13126 subnormal argument.
13127 * math/s_cexpf.c (__cexpf): Likewise.
13128 * math/s_csinf.c (__csinf): Likewise.
13129 * math/s_csinhf.c (__csinhf): Likewise.
13130 * math/s_ctanf.c (__ctanf): Likewise.
13131 * math/s_ctanhf.c (__ctanhf): Likewise.
13132 * math/s_ccosh.c (__ccoshf): Likewise.
13133 * math/s_cexp.c (__cexpl): Likewise.
13134 * math/s_csin.c (__csin): Likewise.
13135 * math/s_csinh.c (__csinh): Likewise.
13136 * math/s_ctan.c (__ctan): Likewise.
13137 * math/s_ctanh.c (ctanh): Likewise.
13138 * math/s_ccoshl.c (__ccoshl): Likewise.
13139 * math/s_cexpl.c (__cexpl): Likewise.
13140 * math/s_csinl.c (__csinl): Likewise.
13141 * math/s_csinhl.c (__csinhl): Likewise.
13142 * math/s_ctanl.c (__ctanl): Likewise.
13143 * math/s_ctanhl.c (__ctanhl): Likewise.
13145 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13147 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13148 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13149 (_IO_off_t): Define to __off_t, not _G_off_t.
13150 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13151 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13152 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13153 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13154 type of __dummy and __dummy2 fields.
13155 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13156 (_G_ssize_t): Likewise.
13157 (_G_off_t): Likewise.
13158 (_G_pid_t): Likewise.
13159 (_G_uid_t): Likewise.
13160 (_G_wchar_t): Likewise.
13161 (_G_wint_t): Likewise.
13162 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13163 (_G_ssize_t): Likewise.
13164 (_G_off_t): Likewise.
13165 (_G_pid_t): Likewise.
13166 (_G_uid_t): Likewise.
13167 (_G_wchar_t): Likewise.
13168 (_G_wint_t): Likewise.
13169 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13170 (_G_ssize_t): Likewise.
13171 (_G_off_t): Likewise.
13172 (_G_pid_t): Likewise.
13173 (_G_uid_t): Likewise.
13174 (_G_wchar_t): Likewise.
13175 (_G_wint_t): Likewise.
13177 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13179 * malloc/arena.c: Include malloc-sysdep.h.
13180 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13181 is sufficient to shrink the heap or an unmap is needed.
13182 * sysdeps/generic/malloc-sysdep.h: New file. Define
13183 new function check_may_shrink_heap.
13184 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13185 new function check_may_shrink_heap.
13187 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13189 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13192 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13194 * catgets/test-gencat.sh: Add "set -e".
13195 * elf/tst-pathopt.sh: Likewise.
13196 * grp/tst_fgetgrent.sh: Likewise.
13197 * iconvdata/run-iconv-test.sh: Likewise.
13198 * intl/tst-gettext.sh: Likewise.
13199 * intl/tst-gettext2.sh: Likewise.
13200 * intl/tst-gettext4.sh: Likewise.
13201 * intl/tst-gettext6.sh: Likewise.
13202 * intl/tst-translit.sh: Likewise.
13203 * io/ftwtest-sh: Likewise.
13204 * libio/test-freopen.sh: Likewise.
13205 * malloc/tst-mtrace.sh: Likewise.
13206 * posix/globtest.sh: Likewise.
13207 * posix/tst-getconf.sh: Likewise.
13208 * posix/wordexp-tst.sh: Likewise.
13209 * stdio-common/tst-printf.sh: Likewise.
13210 * stdio-common/tst-unbputc.sh: Likewise.
13211 * stdlib/tst-fmtmsg.sh: Likewise.
13212 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13213 * catgets/Makefile: Do not specify -e option when running
13214 testsuite shell scripts.
13215 * elf/Makefile: Likewise.
13216 * grp/Makefile: Likewise.
13217 * iconvdata/Makefile: Likewise.
13218 * intl/Makefile: Likewise.
13219 * io/Makefile: Likewise.
13220 * libio/Makefile: Likewise.
13221 * malloc/Makefile: Likewise.
13222 * posix/Makefile: Likewise.
13223 * stdio-common/Makefile: Likewise.
13224 * stdlib/Makefile: Likewise.
13225 * sysdeps/x86_64/Makefile: Likewise.
13227 * io/ftwtest-sh: Add copyright header.
13228 * posix/globtest.sh: Likewise.
13229 * posix/tst-getconf.sh: Likewise.
13230 * posix/wordexp-tst.sh: Likewise.
13231 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13233 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13236 * Makeconfig (+link): Defined as $(+link-static) if
13237 $(build-shared) isn't yes.
13238 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13240 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13242 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13245 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13246 new chunk size with MALLOC_ALIGN_MASK.
13248 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13251 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13253 (__printf_fphex): Determine rounding using get_rounding_mode and
13255 * stdio-common/tst-printf-round.c (struct hex_test): New
13257 (hex_tests): New variable.
13258 (test_hex_in_one_mode): New function.
13259 (do_test): Also run tests for hex float output.
13261 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13263 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13264 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13265 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13266 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13267 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13268 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13269 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13272 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13274 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13275 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13276 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13277 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13279 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13282 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13284 * elf/tst-rtld-load-self.sh: New test.
13285 * elf/Makefile: Run it.
13287 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13289 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13290 (tst-writev-ENV): Remove.
13291 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13293 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13295 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13297 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13299 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13301 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13303 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13304 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13305 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13308 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13311 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13312 * config.make.in (have-cpp-asm-debuginfo): Removed.
13313 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13314 * configure: Regenerated.
13316 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13319 * stdio-common/printf_fp.c: Include <stdbool.h> and
13321 (___printf_fp): Determine rounding using get_rounding_mode and
13323 * stdio-common/tst-printf-round.c: New file.
13324 * stdio-common/Makefile (tests): Add tst-printf-round.
13325 (link-libm): New variable.
13326 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13328 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13331 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13332 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13334 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13337 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13339 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13340 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13341 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13344 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13347 * include/rounding-mode.h: New file.
13348 * sysdeps/generic/get-rounding-mode.h: Likewise.
13349 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13350 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13351 (MAX_VALUE): New macro.
13352 (MIN_VALUE): Likewise.
13353 (overflow_value): New function.
13354 (underflow_value): Likewise.
13355 (round_and_return): Use overflow_value and underflow_value to
13356 determine return values in overflow and underflow cases. Use
13357 round_away to determine rounding depending on rounding mode.
13358 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13359 determine return values in overflow and underflow cases.
13360 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13361 (struct test_results): New structure.
13362 (struct test): Use struct test_results to store expected results
13363 for all rounding modes.
13364 (TEST): Include expected results for all rounding modes.
13365 (test_in_one_mode): New function.
13366 (do_test): Use test_in_one_mode to compute and check results.
13367 Check results for all rounding modes.
13368 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13371 2012-12-09 Allan McRae <allan@archlinux.org>
13373 * sysdeps/i386/fpu/libm-test-ulps: Update
13375 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13377 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13378 (_G_int32_t): Likewise.
13379 (_G_uint16_t): Likewise.
13380 (_G_uint32_t): Likewise.
13381 (_G_HAVE_BOOL): Likewise.
13382 (_G_HAVE_ATEXIT): Likewise.
13383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13384 (_G_HAVE_IO_FILE_OPEN): Likewise.
13385 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13386 (_G_int32_t): Likewise.
13387 (_G_uint16_t): Likewise.
13388 (_G_uint32_t): Likewise.
13389 (_G_HAVE_BOOL): Likewise.
13390 (_G_HAVE_ATEXIT): Likewise.
13391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13392 (_G_HAVE_IO_FILE_OPEN): Likewise.
13393 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13394 (_G_int32_t): Likewise.
13395 (_G_uint16_t): Likewise.
13396 (_G_uint32_t): Likewise.
13397 (_G_HAVE_BOOL): Likewise.
13398 (_G_HAVE_ATEXIT): Likewise.
13399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13400 (_G_HAVE_IO_FILE_OPEN): Likewise.
13402 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13404 * csu/libc-tls.c: Update copyright years.
13406 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13408 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13409 [!_G_USING_THUNKS]: Remove conditional code.
13410 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13411 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13413 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13414 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13415 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13416 (_G_VTABLE_LABEL_PREFIX): Likewise.
13417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13418 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13420 (_G_VTABLE_LABEL_PREFIX): Likewise.
13421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13422 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13424 (_G_VTABLE_LABEL_PREFIX): Likewise.
13425 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13427 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13429 * libio/Makefile: Include ../Makeconfig before tests.
13430 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13431 only if $(build-shared) is yes.
13433 * iconv/gconv_db.c: Update copyright years.
13435 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13437 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13438 unwind info if defined PIC. Fix special cases description.
13439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13441 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13443 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13445 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13447 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13449 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13452 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13453 (LDLIBS-tst-chk4): This.
13454 (LDFLAGS-tst-chk5): Renamed to ...
13455 (LDLIBS-tst-chk5): This.
13456 (LDFLAGS-tst-chk6): Renamed to ...
13457 (LDLIBS-tst-chk6): This.
13458 (LDFLAGS-tst-lfschk4): Renamed to ...
13459 (LDLIBS-tst-lfschk4): This.
13460 (LDFLAGS-tst-lfschk5): Renamed to ...
13461 (LDLIBS-tst-lfschk5): This.
13462 (LDFLAGS-tst-lfschk6): Renamed to ...
13463 (LDLIBS-tst-lfschk6): This.
13465 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13466 on $(common-objpfx)soversions.mk.
13468 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13471 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13474 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13476 * malloc/arena.c (arena_get_retry): New function that gets
13477 another arena for the caller to try its request on.
13478 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13479 current arena cannot fulfill the request.
13480 (__libc_memalign): Likewise.
13481 (__libc_memalign): Likewise.
13482 (__libc_pvalloc): Likewise.
13483 (__libc_calloc): Likewise.
13485 2012-09-05 John Tobey <john.tobey@gmail.com>
13488 * manual/arith.texi (Operations on Complex): Fix description
13489 of carg branch cut.
13491 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13494 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13498 * manual/memory.texi (Memory): Make order of menu items match
13501 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13503 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13504 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13505 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13507 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13509 * csu/libc-tls.c (static_dtv): Renamed to ...
13510 (_dl_static_dtv): This. Make it global.
13511 (_dl_initial_dtv): Removed.
13512 (__libc_setup_tls): Updated.
13513 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13514 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13517 2012-09-06 Petr Machata <pmachata@redhat.com>
13519 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13520 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13521 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13522 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13524 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13527 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13528 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13531 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13534 * Makeconfig (link-static-before-libc): Replace $(+prector)
13536 (link-static-after-libc): Replace $(+postctor) with
13538 (link-bounded): Replace $(+prector)/$(+postctor) with
13539 $(+prectorT)/$(+postctorT).
13540 (+prectorT): New macro.
13541 (+postctorT): Likewise.
13543 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13545 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13546 (round_str): Handle values above the maximum for IBM long double
13548 * stdlib/tst-strtod-round.c (tests): Regenerated.
13550 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13552 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13554 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13555 zarch_nohighgprs around the zarch optimized routines.
13556 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13557 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13561 2012-09-05 David S. Miller <davem@davemloft.net>
13563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13565 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13566 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13567 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13568 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13573 * malloc/arena.c: Fold copyright years.
13574 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13576 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13578 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13582 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13586 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13587 change internal state upon failure.
13589 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13591 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13592 * malloc/memusage.c (mmap): Likewise.
13593 (mmap64, mremap): Likewise. Adjust name in comment.
13595 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13597 * libio/fileops.c: Fix typos in comments.
13598 * libio/oldfileops.c: Likewise.
13599 * libio/wfileops.c: Likewise.
13601 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13604 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13605 (tst-malloc-usable-ENV): Set environment for test case.
13606 * malloc/hooks.c (malloc_check_get_size): New function to get
13608 * malloc/malloc.c (musable): Use malloc_check_get_size.
13609 * malloc/tst-malloc-usable.c: New test case.
13611 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13613 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13615 2012-09-05 Allan McRae <allan@archlinux.org>
13618 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13619 determine header location.
13620 * configure: Regenerated.
13622 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13624 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13626 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13627 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13629 (test): Regenerate.
13631 2012-09-04 David S. Miller <davem@davemloft.net>
13633 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13634 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13637 2012-09-04 Florian Weimer <fweimer@redhat.com>
13639 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13642 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13644 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13647 * libio/iogetdelim.c: Include <limits.h>.
13648 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13649 + len + 1 would overflow.
13651 2012-09-03 Andreas Jaeger <aj@suse.de>
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13656 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13658 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13659 Add s_sinf-sse2, s_conf-sse2.
13661 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13662 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13663 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13664 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13666 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13667 for using routine as __sinf_ia32.
13668 Use macro for function declaration and weak_alias.
13669 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13670 for using routine as __cosf_ia32.
13671 Use macro for function declaration and weak_alias.
13673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13674 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13676 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13677 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13680 * math/libm-test.inc (cos_test): Add more test cases.
13681 (sin_test): Likewise.
13682 (sincos_test): Likewise.
13684 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13687 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13691 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13694 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13695 first element of the GOT.
13696 (elf_machine_load_address): Return the difference between
13697 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13699 2012-09-01 Allan McRae <allan@archlinux.org>
13702 * configure.in (AWK): Require gawk version 3.0 or later.
13703 * configure: Regenerated.
13705 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13707 * sysdeps/unix/sysv/linux/kernel-features.h
13708 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13710 [__NR_clock_getres]: Make code unconditional.
13711 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13712 (clock_getcpuclockid): Remove code left unreachable by removal of
13714 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13715 code unconditional.
13716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13718 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13719 Make code unconditional.
13720 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13722 * sysdeps/unix/sysv/linux/clock_settime.c
13723 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13725 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13726 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13728 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13731 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13732 scripts/test-installation.pl.
13734 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13735 and $ld_so_version if it is set.
13737 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13741 failure if reading from procfs failed.
13742 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13744 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13746 * sysdeps/unix/sysv/linux/kernel-features.h
13747 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13748 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13749 Remove conditional code.
13750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13751 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13752 Remove conditional code.
13753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13754 * sysdeps/unix/sysv/linux/i386/fxstat.c
13755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13757 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13760 * sysdeps/unix/sysv/linux/i386/lxstat.c
13761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13763 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13764 Remove conditional code.
13765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13766 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13767 Remove conditional code.
13768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13769 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13770 <kernel-features.h>.
13771 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13773 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13774 Remove conditional code.
13775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13776 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13777 Remove conditional.
13779 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13782 * NEWS: Add fixed bug number.
13784 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13787 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13788 underflowing exponent in case of negative sign.
13789 * stdlib/tst-strtod-round-data: Add more tests.
13790 * stdlib/tst-strtod-round.c (tests): Regenerated.
13793 * stdlib/strtod_l.c (NDIG): Remove.
13794 (HEXNDIG): Likewise.
13795 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13796 smallest representable value.
13797 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13798 lie within an exact representation of 1/2 ulp of the result.
13799 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13801 (TENS_P9_IDX): Define unconditionally.
13802 (TENS_P9_SIZE): Likewise.
13803 (TENS_P10_IDX): Likewise.
13804 (TENS_P10_SIZE): Likewise.
13805 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13806 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13807 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13808 entries for 10^2^13 and 10^2^14.
13809 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13810 (TENS_P13_IDX): Define.
13811 (TENS_P13_SIZE): Likewise.
13812 (TENS_P14_IDX): Likewise.
13813 (TENS_P14_SIZE): Likewise.
13814 (_fpioconst_pow10): Change array size to
13815 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13817 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13818 1024]: Add entries for 10^2^13 and 10^2^14.
13819 [LAST_POW10 > _LAST_POW10]: Remove #error.
13820 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13821 (_fpioconst_pow10): Change array size to
13822 FPIOCONST_POW10_ARRAY_SIZE.
13823 * stdlib/gen-fpioconst.c: New file.
13824 * stdlib/gen-tst-strtod-round.c: Likewise.
13825 * stdlib/tst-strtod-round-data: Likewise.
13826 * stdlib/tst-strtod-round.c: Likewise.
13827 * stdlib/Makefile (tests): Add tst-strtod-round.
13830 * stdlib/strtod_l.c: Include <stdint.h>.
13831 (NDEBUG): Do not define.
13832 (round_and_return): Change EXPONENT parameter to type intmax_t.
13833 Rearrange calculations to avoid internal overflow possibilities.
13834 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13835 Rearrange calculations to avoid internal overflow possibilities.
13836 Assert that number fits inside MPNSIZE limbs.
13837 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13838 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13839 calculations and add assertions to avoid internal overflow
13840 possibilities. Add casts to avoid signed/unsigned operations.
13841 * stdlib/tst-strtod-overflow.c: New file.
13842 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13844 2012-08-25 Marek Polacek <polacek@redhat.com>
13846 * time/time.h: Fix some typos in comments.
13848 2012-08-23 Roland McGrath <roland@hack.frob.com>
13850 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13851 * posix/tst-rfc3484-2.c: Likewise.
13852 * posix/tst-rfc3484-3.c: Likewise.
13854 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13856 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13857 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13859 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13861 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13862 #include of fxstatat64.c.
13864 2012-08-22 Roland McGrath <roland@hack.frob.com>
13866 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13867 * shadow/getspent_r.c: Likewise.
13868 * shadow/getspnam.c: Likewise.
13869 * shadow/getspnam_r.c: Likewise.
13870 * gshadow/getsgent.c: Likewise.
13871 * gshadow/getsgent_r.c: Likewise.
13872 * gshadow/getsgnam.c: Likewise.
13873 * gshadow/getsgnam_r.c: Likewise.
13874 * inet/getnetbyad.c: Likewise.
13875 * inet/getnetbyad_r.c: Likewise.
13876 * inet/getnetbynm.c: Likewise.
13877 * inet/getnetbynm_r.c: Likewise.
13878 * inet/getnetent.c: Likewise.
13879 * inet/getnetent_r.c: Likewise.
13880 * inet/getproto.c: Likewise.
13881 * inet/getproto_r.c: Likewise.
13882 * inet/getprtent.c: Likewise.
13883 * inet/getprtent_r.c: Likewise.
13884 * inet/getprtname.c: Likewise.
13885 * inet/getprtname_r.c: Likewise.
13886 * inet/getrpcbyname.c: Likewise.
13887 * inet/getrpcbyname_r.c: Likewise.
13888 * inet/getrpcbynumber.c: Likewise.
13889 * inet/getrpcbynumber_r.c: Likewise.
13890 * inet/getrpcent.c: Likewise.
13891 * inet/getrpcent_r.c: Likewise.
13892 * inet/getaliasent.c: Likewise.
13893 * inet/getaliasent_r.c: Likewise.
13894 * inet/getaliasname.c: Likewise.
13895 * inet/getaliasname_r.c: Likewise.
13896 * nscd/getgrgid_r.c: Likewise.
13897 * nscd/getgrnam_r.c: Likewise.
13898 * nscd/gethstbyad_r.c: Likewise.
13899 * nscd/gethstbynm3_r.c: Likewise.
13900 * nscd/getpwnam_r.c: Likewise.
13901 * nscd/getpwuid_r.c: Likewise.
13902 * nscd/getsrvbynm_r.c: Likewise.
13903 * nscd/getsrvbypt_r.c: Likewise.
13904 * nscd/gai.c: Likewise.
13906 * configure.in (build_nscd): New substituted variable, set
13907 by --disable-build-nscd and defaults to $use_nscd.
13908 * configure: Regenerated.
13909 * config.make.in (build-nscd): New substituted variable.
13910 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13911 Change conditional to require [$(build-nscd) = yes] as well.
13912 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13915 * configure.in (use_nscd): New substituted variable, set by
13916 --disable-nscd. If enabled, define USE_NSCD.
13917 * configure: Regenerated.
13918 * config.h.in: Add USE_NSCD.
13919 * config.make.in (use-nscd): New substituted variable.
13920 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13921 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13922 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13923 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13924 (CFLAGS-getgrnam_r.c): Likewise.
13925 (CFLAGS-initgroups.c): Likewise.
13926 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13927 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13929 * inet/getnetgrent_r.c
13930 (nscd_setnetgrent): New function, broken out of ...
13931 (setnetgrent): ... here. Call it.
13932 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13933 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13934 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13935 * nscd/Makefile (routines, aux): Move definitions after include of
13936 Makeconfig. Conditionalize on [$(use-nscd) != no].
13937 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13938 Conditionalize on [USE_NSCD].
13939 (is_nscd, nscd_init_cb): Likewise.
13940 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13941 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13942 * nss/nss_db/db-init.c: Likewise.
13943 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13945 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13946 (make_request): Use it.
13947 (cache_valid_p): New function.
13948 (__check_pf): Use it.
13949 * NEWS: Add item for --disable-nscd.
13951 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13953 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13954 to support sed >= 4.2.1-20-ga9bf076.
13955 * configure: Regenerated.
13957 2012-08-22 Roland McGrath <roland@hack.frob.com>
13959 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13960 Conditionalize whole body on [IREL].
13962 2012-08-22 Jeff Law <law@redhat.com>
13965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13966 if the family is PF_UNSPEC.
13968 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13970 * Makerules (lib-version): Rename from V.
13971 (install-lib-nosubdir): Change V to lib-version.
13973 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13976 * powerpc32/power6/wcschr.c: New file.
13977 * powerpc32/power6/wcscpy.c: New file.
13978 * powerpc32/power6/wcsrchr.c: New file.
13979 * powerpc64/power6/wcschr.c: New file.
13980 * powerpc64/power6/wcscpy.c: New file.
13981 * powerpc64/power6/wcsrchr.c: New file.
13983 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13985 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13986 (two_way_short_needle): Use it.
13987 * string/strstr.c (AVAILABLE1_USES_J): Define.
13988 * string/strcasestr.c: Likewise.
13990 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13992 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13995 * NEWS: Add an entry.
13996 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13997 define their defaults.
13998 (two_way_short_needle): Detect end-of-string on-the-fly.
13999 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14000 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14001 * string/bug-strcasestr1.c: New test.
14002 * string/Makefile: Run it.
14004 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14007 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14008 the first character.
14010 2012-08-21 Roland McGrath <roland@hack.frob.com>
14012 * csu/elf-init.c (__libc_csu_irel): Function removed.
14013 * csu/libc-start.c (apply_irel): New function.
14014 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14016 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14018 * sysdeps/unix/sysv/linux/kernel-features.h
14019 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14020 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14021 <kernel-features.h>.
14022 [__NR_fadvise64_64]: Make code unconditional.
14023 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14024 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14025 !__NR_fadvise64_64)]: Likewise.
14026 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14027 !__NR_fadvise64_64))]: Likewise.
14028 [__NR_fadvise64]: Make code unconditional.
14029 [!__NR_fadvise64]: Remove conditional code.
14030 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14031 <kernel-features.h>.
14032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14037 not include <kernel-features.h>.
14038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14042 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14043 include <kernel-features.h>.
14044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14049 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14052 slight instruction rearrangements per scrollpipe analysis.
14053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14055 2012-08-20 Roland McGrath <roland@hack.frob.com>
14057 * manual/syslog.texi (syslog; vsyslog, closelog):
14058 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14059 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14061 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14062 DSOCAPS to match condition on defining it.
14064 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14066 * sysdeps/unix/sysv/linux/kernel-features.h
14067 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14078 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14079 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14081 * sysdeps/unix/sysv/linux/kernel-features.h
14082 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14083 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14085 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14086 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14087 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14088 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14089 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14090 Make code unconditional.
14091 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14092 (__mmap64) [!__NR_mmap2]: Likewise.
14093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14097 [__NR_mmap2]: Make code unconditional.
14098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14099 (__mmap64) [!__NR_mmap2]: Likewise.
14101 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14103 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14105 2012-08-18 Andreas Jaeger <aj@suse.de>
14107 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14109 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14111 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14112 * include/unistd.h (__have_sock_cloexec): Likewise.
14113 (__have_pipe2): Likewise.
14114 (__have_dup3): Likewise.
14116 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14119 * include/unistd.h (__have_pipe2): Change define into an extern int.
14120 (__have_dup3): Likewise.
14121 * socket/have_sock_cloexec.c: Include fcntl.h.
14122 (__have_pipe2): New variable.
14123 (__have_dup3): Likewise.
14125 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14127 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14129 2012-08-17 Marek Polacek <polacek@redhat.com>
14131 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14132 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14134 2012-08-17 Roland McGrath <roland@hack.frob.com>
14136 * configure.in: Add AC_SUBST for sysheaders.
14137 * configure: Regenerated.
14138 * config.make.in (sysheaders): New substituted variable.
14140 * sysdeps/unix/mkfifo.c: Moved ...
14141 * sysdeps/posix/mkfifo.c: ... here.
14142 * sysdeps/unix/mkfifoat.c: Moved ...
14143 * sysdeps/posix/mkfifoat.c: ... here.
14145 * sysdeps/unix/utime.c: Moved ...
14146 * sysdeps/posix/utime.c: ... here.
14148 * sysdeps/unix/time.c: Moved ...
14149 * sysdeps/posix/time.c: ... here.
14150 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14153 * sysdeps/unix/nice.c: Moved ...
14154 * sysdeps/posix/nice.c: ... here.
14156 * sysdeps/unix/alarm.c: Moved ...
14157 * sysdeps/posix/alarm.c: ... here.
14159 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14161 2012-08-17 Jeff Law <law@redhat.com>
14163 * intl/Makefile (codeset_mo): New variable.
14164 ($(codeset_mo)): New target.
14165 (tst-codeset.out): Depend on that. Remove explicit rule.
14166 (tst-gettext3.out, tst-gettext5.out): Likewise.
14167 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14168 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14169 * intl/tst-codeset.sh: Remove.
14170 * intl/tst-gettext3.sh: Likewise.
14171 * intl/tst-gettext5.sh: Likewise.
14173 2012-08-17 Roland McGrath <roland@hack.frob.com>
14175 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14176 * sysdeps/unix/syscalls.list: ... here.
14178 * sysdeps/posix/getaddrinfo.c
14179 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14180 (gaiconf_init, gaiconf_reload): Use them.
14181 [!_STATBUF_ST_NSEC]
14182 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14183 Define using time_t rather than struct timespec.
14185 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14186 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14188 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14190 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14191 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14194 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14195 __libc_cleanup_push argument.
14197 * bits/param.h: New file.
14198 * misc/sys/param.h: New file.
14199 * include/sys/param.h: New file.
14200 * misc/Makefile (headers): Add bits/param.h.
14201 * sysdeps/generic/sys/param.h: File removed.
14202 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14203 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14204 * sysdeps/mach/hurd/bits/param.h: New file.
14205 * sysdeps/mach/hurd/sys/param.h: File removed.
14207 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14210 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14212 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14213 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14216 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14217 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14218 rather than -D_IO_MTSAFE_IO conditionally.
14219 * stdio-common/Makefile (CPPFLAGS): Likewise.
14220 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14221 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14222 Use $(libio-mtsafe).
14223 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14224 of -D_IO_MTSAFE_IO.
14225 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14226 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14227 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14228 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14229 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14230 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14231 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14232 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14233 (CFLAGS-fread_u_chk.c): Likewise.
14234 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14235 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14236 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14237 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14238 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14239 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14240 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14241 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14242 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14244 * libio/Makefile: Test [$(libc-reentrant) = yes]
14245 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14248 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14249 * sysdeps/pthread/configure: File removed.
14250 * sysdeps/pthread/Makeconfig: New file.
14251 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14252 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14254 2012-08-16 Gary Benson <gbenson@redhat.com>
14256 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14257 unmapping the first object in a namespace.
14259 2012-08-16 Roland McGrath <roland@hack.frob.com>
14261 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14262 (__internal_setnetgrent): ... this. Add internal_function to
14263 definition. Add libc_hidden_def.
14264 (setnetgrent): Update caller.
14265 (internal_endnetgrent): Renamed to ...
14266 (__internal_endnetgrent): ... this. Add internal_function to
14267 definition. Add libc_hidden_def.
14268 (endnetgrent): Update caller.
14269 (internal_getnetgrent_r): Renamed to ...
14270 (__internal_getnetgrent_r): ... this. Add internal_function to
14271 definition. Add libc_hidden_def.
14272 (__getnetgrent_r): Update caller.
14273 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14275 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14277 * stdlib/longlong.h: Update from GCC.
14279 2012-08-16 Roland McGrath <roland@hack.frob.com>
14281 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14282 on _QL, which is set by umul_ppmm but never used.
14283 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14284 variables, which are set by GMP macros but never used.
14285 * stdio-common/_itowa.c (_itowa): Likewise.
14286 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14287 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14289 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14291 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14292 struct La_sh_regs is not constant.
14293 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14294 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14295 and struct La_sparc64_regs are not constant.
14297 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14299 * sysdeps/unix/sysv/linux/kernel-features.h
14300 (__ASSUME_POSIX_TIMERS): Remove.
14301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14303 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14304 Make code unconditional.
14305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14306 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14307 Make code unconditional.
14308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14309 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14310 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14312 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14313 Make code unconditional.
14314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14315 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14316 (__libc_missing_posix_timers): Remove.
14318 2012-08-15 Roland McGrath <roland@hack.frob.com>
14320 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14321 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14323 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14325 * elf/dl-sym.c: Include <stdlib.h>.
14327 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14328 constants, which avoids warnings in 32-bit builds.
14330 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14331 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14333 * misc/lseek.c: File moved to ...
14334 * io/lseek.c: ... here.
14336 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14338 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14339 shifting LEN more than 31 bits at once.
14341 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14344 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14345 segmentation fault for a case of two empty input strings.
14346 * string/test-strncasecmp.c (check1): Renamed to...
14347 (bz12205): ...this.
14348 (bz14195): Add new testcase for two empty input strings and N > 0.
14349 (test_main): Call new testcase, adapt for renamed function.
14351 2012-08-15 Andreas Jaeger <aj@suse.de>
14354 * crypt/md5test2.c: New test, based on test supplied by Serge
14355 Belyshev <belyshev@depni.sinp.msu.ru>.
14356 * crypt/Makefile (xtests): Add md5test-giant..
14357 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14359 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14362 * crypt/md5.c (md5_process_block): Don't assume the buffer
14363 length is less than 2**32.
14364 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14365 length is less than 2**64.
14367 2012-08-15 Roland McGrath <roland@hack.frob.com>
14369 * string/str-two-way.h: Include <sys/param.h>.
14370 (MAX): Macro removed.
14372 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14373 Move #define and #undef of memmove to just before and after
14374 including <string.h>.
14376 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14377 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14378 and after including <string.h>. Move declarations of
14379 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14380 to before #include "string/memmove.c".
14382 * include/dirent.h: Declare __getdirentries.
14384 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14385 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14387 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14389 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14390 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14391 * sysdeps/i386/configure: Regenerated.
14392 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14393 STABS_CURRENT_FILE, and STABS_FUN.
14394 (END): Remove call to STABS_FUN_END.
14395 (STABS_CURRENT_FILE1): Delete.
14396 (STABS_CURRENT_FILE): Likewise.
14397 (STABS_FUN): Likewise.
14398 (STABS_FUN_END): Likewise.
14399 (STABS_FUN2): Likewise.
14400 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14401 * sysdeps/x86_64/configure: Regenerated.
14403 2012-08-14 Roland McGrath <roland@hack.frob.com>
14405 * elf/dl-open.c: Include <atomic.h>.
14406 * elf/dl-lookup.c: Likewise.
14408 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14410 * sysdeps/unix/sysv/linux/kernel-features.h
14411 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14412 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14414 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14416 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14417 condition on __ASSUME_CLONE_THREAD_FLAGS.
14419 2012-08-14 Andreas Jaeger <aj@suse.de>
14421 * sysdeps/i386/fpu/libm-test-ulps: Update.
14423 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14425 * include/atomic.h (atomic_exchange_and_add): Split into ...
14426 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14429 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14433 2012-08-13 Jeff Law <law@redhat.com>
14435 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14436 null byte in the output string.
14438 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14440 * sysdeps/unix/sysv/linux/kernel-features.h
14441 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14442 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14443 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14444 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14445 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14446 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14447 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14449 2012-08-09 Jeff Law <law@redhat.com>
14452 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14453 When avoid_arena is set, don't retry in the that arena. Pick the
14454 next one, whatever it might be.
14455 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14456 (arena_lock): Pass in new parameter to arena_get2.
14457 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14459 (__libc_malloc): Unify retrying after main arena failure with
14460 __libc_memalign version.
14461 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14463 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14466 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14467 to __redirect_strstr.
14468 (__strstr_sse42): Use typeof __redirect_strstr.
14469 (__strstr_ia32): Likewise.
14470 (__libc_strstr): New prototype.
14471 (strstr): Renamed to ...
14472 (__libc_strstr): This.
14473 (strstr): New strong alias of __libc_strstr.
14474 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14475 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14478 (__libc_time): New prototype.
14479 (time_ifunc): Replace time with __libc_time.
14480 (time): New strong alias and hidden definition of __libc_time.
14481 (__GI_time): Remove strong alias.
14482 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14483 Include <stddef.h>.
14484 (memmove): Redefined to __redirect_memmove.
14485 (__memmove_sse2): Use typeof __redirect_memmove.
14486 (__memmove_ssse3): Likewise.
14487 (__memmove_ssse3_back): Likewise.
14488 (__libc_memmove): New prototype.
14489 (memmove): Renamed to ...
14490 (__libc_memmove): This.
14491 (memmove): New strong alias of __libc_memmove.
14493 2012-08-08 Mark Salter <msalter@redhat.com>
14496 (R_MN10300_TLS_GD): Define.
14497 (R_MN10300_TLS_LD): Likewise.
14498 (R_MN10300_TLS_LDO): Likewise.
14499 (R_MN10300_TLS_GOTIE): Likewise.
14500 (R_MN10300_TLS_IE): Likewise.
14501 (R_MN10300_TLS_LE): Likewise.
14502 (R_MN10300_TLS_DTPMOD): Likewise.
14503 (R_MN10300_TLS_DTPOFF): Likewise.
14504 (R_MN10300_TLS_TPOFF): Likewise.
14505 (R_MN10300_SYM_DIFF): Likewise.
14506 (R_MN10300_ALIGN): Likewise.
14507 (R_MN10300_NUM): Update.
14509 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14514 2012-08-08 Roland McGrath <roland@hack.frob.com>
14516 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14518 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14519 sysdeps/unix -> sysdeps/posix move.
14520 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14522 2012-08-07 Allan McRae <allan@archlinux.org>
14525 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14526 (SUNOS_CPP): Likewise.
14527 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14529 (open_input): Call CPP using execvp.
14531 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14533 * sysdeps/unix/sysv/linux/kernel-features.h
14534 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14535 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14536 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14537 (__ASSUME_WAITID_SYSCALL): Likewise.
14538 * sysdeps/unix/sysv/linux/dl-execstack.c
14539 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14540 code unconditional.
14541 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14543 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14544 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14545 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14547 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14549 [__ASSUME_WAITID_SYSCALL]: Likewise.
14550 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14552 2012-08-07 Roland McGrath <roland@hack.frob.com>
14554 * sysdeps/unix/closedir.c: Renamed to ...
14555 * sysdeps/posix/closedir.c: ... here.
14556 * sysdeps/unix/dirfd.c: Renamed to ...
14557 * sysdeps/posix/dirfd.c: ... here.
14558 * sysdeps/unix/dirstream.h: Renamed to ...
14559 * sysdeps/posix/dirstream.h: ... here.
14560 * sysdeps/unix/fdopendir.c: Renamed to ...
14561 * sysdeps/posix/fdopendir.c: ... here.
14562 * sysdeps/unix/opendir.c: Renamed to ...
14563 * sysdeps/posix/opendir.c: ... here.
14564 * sysdeps/unix/readdir.c: Renamed to ...
14565 * sysdeps/posix/readdir.c: ... here.
14566 * sysdeps/unix/readdir_r.c: Renamed to ...
14567 * sysdeps/posix/readdir_r.c: ... here.
14568 * sysdeps/unix/rewinddir.c: Renamed to ...
14569 * sysdeps/posix/rewinddir.c: ... here.
14570 * sysdeps/unix/seekdir.c: Renamed to ...
14571 * sysdeps/posix/seekdir.c: ... here.
14572 * sysdeps/unix/telldir.c: Renamed to ...
14573 * sysdeps/posix/telldir.c: ... here.
14574 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14575 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14576 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14577 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14579 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14580 * bits/fcntl.h: ... here.
14582 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14584 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14585 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14586 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14587 (struct flock): Move l_start, l_len to the beginning.
14588 Use __pid_t for l_pid.
14589 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14590 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14591 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14592 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14593 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14594 [__USE_LARGEFILE64] (struct flock64): New type.
14595 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14597 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14598 * bits/dirent.h: ... here.
14600 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14601 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14603 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14606 Change from 2.6.0 to 2.6.16.
14607 * sysdeps/unix/sysv/linux/configure: Regenerated.
14608 * sysdeps/unix/sysv/linux/kernel-features.h
14609 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14610 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14612 (__ASSUME_UTIMES): Likewise.
14613 (__ASSUME_CLONE_STOPPED): Remove.
14614 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14615 architectures, not kernel version.
14616 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14617 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14618 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14619 (__ASSUME_WAITID_SYSCALL): Likewise.
14620 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14621 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14622 * README: State 2.6.16 as minimum Linux kernel version. Do not
14623 refer to older versions.
14625 2012-08-06 Roland McGrath <roland@hack.frob.com>
14627 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14628 Define alphasort64 as an alias.
14629 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14630 Define versionsort64 as an alias.
14631 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14632 Define scandir64 as an alias.
14633 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14634 Define scandirat64 as an alias.
14635 * dirent/alphasort64.c (alphasort64):
14636 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14637 * dirent/versionsort64.c: Likewise.
14638 * dirent/scandir64.c: Likewise.
14639 * dirent/scandirat64.c: Likewise.
14640 * sysdeps/wordsize-64/alphasort.c: File removed.
14641 * sysdeps/wordsize-64/alphasort64.c: File removed.
14642 * sysdeps/wordsize-64/scandir.c: File removed.
14643 * sysdeps/wordsize-64/scandir64.c: File removed.
14644 * sysdeps/wordsize-64/scandirat.c: File removed.
14645 * sysdeps/wordsize-64/scandirat64.c: File removed.
14646 * sysdeps/wordsize-64/versionsort.c: File removed.
14647 * sysdeps/wordsize-64/versionsort64.c: File removed.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14653 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14655 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14657 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14659 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14661 [defined __arch64__ || defined __sparcv9]
14662 (__INO_T_MATCHES_INO64_T): New macro.
14663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14664 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14665 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14666 * sysdeps/unix/sysv/linux/bits/dirent.h
14667 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14668 (_DIRENT_MATCHES_DIRENT64): New macro.
14670 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14671 Define lockf64 as an alias.
14672 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14673 Define fseeko64 as an alias.
14674 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14675 Define ftello64 as an alias.
14676 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14677 Define _IO_fgetpos64 and fgetpos64 as aliases.
14678 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14679 Define _IO_fsetpos64 and fsetpos64 as aliases.
14680 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14681 Conditionalize body on this.
14682 * libio/fseeko64.c: Likewise.
14683 * libio/ftello64.c: Likewise.
14684 * libio/iofgetpos64.c: Likewise.
14685 * libio/iofsetpos64.c: Likewise.
14686 * sysdeps/wordsize-64/lockf.c: File removed.
14687 * sysdeps/wordsize-64/lockf64.c: File removed.
14688 * sysdeps/wordsize-64/fseeko.c: File removed.
14689 * sysdeps/wordsize-64/fseeko64.c: File removed.
14690 * sysdeps/wordsize-64/ftello.c: File removed.
14691 * sysdeps/wordsize-64/ftello64.c: File removed.
14692 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14693 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14694 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14695 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14699 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14701 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14707 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14709 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14711 [defined __arch64__ || defined __sparcv9]
14712 (__OFF_T_MATCHES_OFF64_T): New macro.
14713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14714 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14716 (__OFF_T_MATCHES_OFF64_T): New macro.
14718 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14720 * stdlib/secure-getenv.c (__secure_getenv): Replace
14721 GLIBC_2_16 with GLIBC_2_17.
14723 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14726 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14728 2012-08-03 David S. Miller <davem@davemloft.net>
14730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14732 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14736 (__ASSUME_CORRECT_SI_PID): Likewise.
14737 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14738 (__ASSUME_TMPFS_NAME): Likewise.
14739 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14740 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14741 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14742 (HAVE_AUX_SECURE): Make definition unconditional.
14743 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14744 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14746 2012-08-03 Roland McGrath <roland@hack.frob.com>
14748 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14749 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14750 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14752 __eloop_threshold instead of SYMLOOP_MAX.
14754 * sysdeps/generic/eloop-threshold.h: New file.
14755 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14757 * elf/chroot_canon.c (chroot_canon): Likewise.
14759 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14763 Change to 2.6.0 everywhere.
14764 * sysdeps/unix/sysv/linux/configure: Regenerated.
14765 * sysdeps/unix/sysv/linux/kernel-features.h
14766 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14767 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14769 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14770 (__ASSUME_FUTEX_REQUEUE): Remove.
14771 (__ASSUME_STATFS64): Define unconditionally.
14772 (__ASSUME_AT_SECURE): Likewise.
14773 (__ASSUME_CORRECT_SI_PID): Likewise.
14774 (__ASSUME_TGKILL): Define without depending on kernel version for
14776 (__ASSUME_UTIMES): Likewise.
14777 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14779 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14780 (__ASSUME_TMPFS_NAME): Likewise.
14781 * README: Update reference to Linux kernel versions.
14783 2012-08-02 Marek Polacek <polacek@redhat.com>
14786 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14787 libc_cv_asm_type_prefix with %.
14788 * configure: Regenerated.
14789 * include/libc-symbols.h: Remove comment about
14790 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14791 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14792 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14793 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14794 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14795 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14796 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14797 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14798 * elf/tst-unique2mod1.c: Likewise.
14799 * elf/tst-unique1mod2.c: Likewise.
14800 * elf/tst-unique1mod1.c: Likewise.
14801 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14802 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14803 Replace ASM_TYPE_DIRECTIVE with .type.
14804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14805 * sysdeps/i386/sysdep.h: Likewise.
14806 * sysdeps/x86_64/sysdep.h: Likewise.
14807 * sysdeps/sh/sysdep.h: Likewise.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14809 Do not define ASM_TYPE_DIRECTIVE.
14810 * sysdeps/powerpc/sysdep.h: Likewise.
14811 * sysdeps/powerpc/powerpc32/sysdep.h:
14812 Replace ASM_TYPE_DIRECTIVE with .type.
14813 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14814 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14815 * sysdeps/i386/fpu/e_powf.S: Likewise.
14816 * sysdeps/i386/fpu/e_expl.S: Likewise.
14817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14818 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14819 * sysdeps/i386/fpu/e_pow.S: Likewise.
14820 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14821 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14822 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14823 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14824 * sysdeps/i386/fpu/e_log2.S: Likewise.
14825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14826 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14827 * sysdeps/i386/fpu/e_powl.S: Likewise.
14828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14829 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14830 * sysdeps/i386/fpu/e_logl.S: Likewise.
14831 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14832 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14833 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14834 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14835 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14836 * sysdeps/i386/fpu/e_log.S: Likewise.
14837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14838 * sysdeps/i386/fpu/e_logf.S: Likewise.
14839 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14841 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14842 * sysdeps/i386/fpu/e_log10.S: Likewise.
14843 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14844 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14845 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14846 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14849 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14850 * sysdeps/i386/i686/strtok.S: Likewise.
14851 * sysdeps/i386/i386-mcount.S: Likewise.
14852 * sysdeps/i386/strtok.S: Likewise.
14853 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14856 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14857 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14862 * sysdeps/x86_64/_mcount.S: Likewise.
14863 * sysdeps/x86_64/strtok.S: Likewise.
14864 * sysdeps/sh/_mcount.S: Likewise.
14866 2012-08-01 Roland McGrath <roland@hack.frob.com>
14868 * libio/iofopen.c: Include <fcntl.h>.
14869 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14870 (_IO_fopen64, fopen64): Define as aliases.
14871 * libio/iofopen64.c: Include <fcntl.h>.
14872 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14873 Conditionalize body on this.
14874 * sysdeps/wordsize-64/iofopen.c: File removed.
14875 * sysdeps/wordsize-64/iofopen64.c: File removed.
14877 2012-08-01 Marek Polacek <polacek@redhat.com>
14879 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14880 Use dlfcn directly instead of a variable.
14881 (binfmt-subdir): Do not define.
14884 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14887 Remove all definitions.
14888 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14889 <kernel-features.h>.
14890 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14891 (miss_F_GETOWN_EX): Remove all definitions.
14892 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14894 [!__ASSUME_FCNTL64]: Remove conditional code.
14895 [__ASSUME_FCNTL64]: Make code unconditional.
14896 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14897 <kernel-features.h>.
14898 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14899 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14900 (lockf64) [__NR_fcntl64]: Make code unconditional.
14901 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14903 * sysdeps/unix/sysv/linux/kernel-features.h
14904 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14905 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14906 Make code unconditional.
14907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14910 [__NR_vfork]: Make code unconditional.
14911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14914 [__NR_vfork]: Make code unconditional.
14915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14918 2012-08-01 Roland McGrath <roland@hack.frob.com>
14920 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14921 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14923 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14924 Define mkstemp64 as an alias.
14925 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14926 Define mkstemps64 as an alias.
14927 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14928 Define mkostemp64 as an alias.
14929 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14930 Define mkostemps64 as an alias.
14931 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14932 Conditionalize body on this.
14933 * misc/mkostemp64.c: Likewise.
14934 * misc/mkostemps64.c: Likewise.
14935 * misc/mkstemps64.c: Likewise.
14936 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14937 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14938 * sysdeps/wordsize-64/mkostemp.c: File removed.
14939 * sysdeps/wordsize-64/mkstemp.c: File removed.
14940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14941 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14943 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14946 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14947 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14948 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14949 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14951 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14952 compat_symbol macros from <shlib-compat.h> rather than the underlying
14953 default_symbol_version and symbol_version macros, so that DEFAULT
14954 lines in shlib-versions are respected.
14955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14957 2012-08-01 Florian Weimer <fweimer@redhat.com>
14959 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14960 Declare with warn_unused_result.
14961 (setgid, setregid, setegid, setresgid): Likewise.
14962 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14964 * WUR-REPORT: Remove set*id functions.
14966 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14968 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14970 2012-07-31 Roland McGrath <roland@hack.frob.com>
14973 * include/sys/socket.h (__libc_accept, __libc_accept4):
14974 Add attribute_hidden.
14975 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14977 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14979 * inet/getnetgrent_r.c (setup): Likewise.
14981 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14983 2012-07-31 David S. Miller <davem@davemloft.net>
14985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14987 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14990 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14991 value between 1.0 and 2.0 and smaller part has absolute value less
14993 * math/s_clog10.c (__clog10): Likewise.
14994 * math/s_clog10f.c (__clog10f): Likewise.
14995 * math/s_clog10l.c (__clog10l): Likewise.
14996 * math/s_clogf.c (__clogf): Likewise.
14997 * math/s_clogl.c (__clogl): Likewise.
14998 * math/libm-test.inc (clog_test): Add more tests.
14999 (clog10_test): Likewise.
15000 * sysdeps/i386/fpu/libm-test-ulps: Update.
15001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15003 2012-07-31 Florian Weimer <fweimer@redhat.com>
15005 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15006 Exit with zero in case no suitable GID is found, and write a
15007 message to standard error.
15009 2012-07-30 Roland McGrath <roland@hack.frob.com>
15011 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15013 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15014 (MAXPATHLEN): Removed.
15015 (NOGROUP, NODEV): New macros.
15016 (setbit, clrbit, isset, isclr): New macros.
15017 (howmany, roundup, powerof2): New macros.
15018 (DEV_BSIZE): New macro.
15020 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15021 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15023 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15024 definition on [!__NO_LONG_DOUBLE_MATH].
15026 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15027 PTR_MANGLE and PTR_DEMANGLE.
15029 * socket/accept4.c (accept4): Rename to __libc_accept4.
15030 Define accept4 as a weak alias.
15032 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15033 on [_DIRENT_HAVE_D_TYPE].
15034 * io/ftw.c (ftw_dir): Likewise.
15036 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15038 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15040 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15041 Use the BSD numbers rather than the arbitrary ones we had.
15042 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15043 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15044 (SIGXCPU, SIGXFSZ): New macros.
15047 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15048 initializer on [_LIBC_REENTRANT].
15050 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15051 definitions inside [_POSIX_MAPPED_FILES].
15053 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15055 * dirent/opendir.c: Include <fcntl.h>.
15057 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15058 (__libc_getspecific): Likewise.
15059 (__libc_key_create): Likewise.
15061 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15062 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15063 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15064 (tmpfile64): Define as alias.
15065 * sysdeps/wordsize-64/tmpfile.c: File removed.
15066 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15068 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15070 * stdio-common/vfscanf.c: Include <stdbool.h>.
15071 * nss/makedb.c: Likewise.
15072 * stdio-common/_i18n_number.h: Likewise.
15073 * argp/argp-help.c: Likewise.
15074 * posix/wordexp.c: Likewise.
15075 * sysdeps/posix/spawni.c: Likewise.
15076 * nss/nss_files/files-initgroups.c: Likewise.
15077 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15078 * nss/nss_files/files-initgroups.c: Likewise.
15079 * nss/nss_db/db-netgrp.c: Likewise.
15080 * nss/nss_db/db-initgroups.c: Likewise.
15081 * io/fchmodat.c: Include <sys/stat.h>.
15083 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15084 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15086 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15089 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15090 Add multiple inclusion protection.
15092 2012-07-27 David S. Miller <davem@davemloft.net>
15094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15096 2012-07-27 Gary Benson <gbenson@redhat.com>
15099 * elf/rtld.c: Include <stap-probe.h>.
15100 (dl_main): Added static probes "init_start" and "init_complete".
15101 * elf/dl-load.c: Include <stap-probe.h>.
15102 (lose): Take new parameter "nsid".
15103 Added static probe "map_failed".
15104 (_dl_map_object_from_fd): Pass namespace id to lose.
15105 Added static probe "map_start".
15106 (open_verify): Pass namespace id to lose.
15107 * elf/dl-open.c: Include <stap-probe.h>.
15108 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15109 and "reloc_complete".
15110 * elf/dl-close.c: Include <stap-probe.h>.
15111 (_dl_close_worker): Added static probes "unmap_start" and
15113 * elf/rtld-debugger-interface.txt: New file documenting the above.
15115 2012-07-26 Roland McGrath <roland@hack.frob.com>
15117 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15118 rather than a string variable.
15119 * sunrpc/rpc_main.c (h_output): Likewise.
15120 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15122 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15124 * inet/check_native.c: New file.
15126 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15129 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15130 if larger part has absolute value 1.0.
15131 * math/s_clog10.c (__clog10): Likewise.
15132 * math/s_clog10f.c (__clog10f): Likewise.
15133 * math/s_clog10l.c (__clog10l): Likewise.
15134 * math/s_clogf.c (__clogf): Likewise.
15135 * math/s_clogl.c (__clogl): Likewise.
15136 * math/libm-test.inc (clog_test): Add more tests.
15137 (clog10_test): Likewise.
15138 * sysdeps/i386/fpu/libm-test-ulps: Update.
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15142 (pltexit): Likewise.
15143 (La_regs): Likewise.
15144 (La_retval): Likewise.
15145 (int_retval): Likewise.
15146 Update #error for removed macros to refer only to definitions in
15148 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15150 (pltexit): Likewise.
15151 (La_regs): Likewise.
15152 (La_retval): Likewise.
15153 (int_retval): Likewise.
15154 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15156 (pltexit): Likewise.
15157 (La_regs): Likewise.
15158 (La_retval): Likewise.
15159 (int_retval): Likewise.
15160 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15162 (pltexit): Likewise.
15163 (La_regs): Likewise.
15164 (La_retval): Likewise.
15165 (int_retval): Likewise.
15166 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15168 (pltexit): Likewise.
15169 (La_regs): Likewise.
15170 (La_retval): Likewise.
15171 (int_retval): Likewise.
15172 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15174 (pltexit): Likewise.
15175 (La_regs): Likewise.
15176 (La_retval): Likewise.
15177 (int_retval): Likewise.
15178 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15180 (pltexit): Likewise.
15181 (La_regs): Likewise.
15182 (La_retval): Likewise.
15183 (int_retval): Likewise.
15184 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15185 macro definitions in tst-audit.h.
15186 * sysdeps/i386/tst-audit.h: New file.
15187 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15188 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15189 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15190 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15191 * sysdeps/sh/tst-audit.h: Likewise.
15192 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15193 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15194 * sysdeps/x86_64/tst-audit.h: Likewise.
15196 2012-07-26 Andreas Jaeger <aj@suse.de>
15198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15201 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15202 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15203 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15205 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15209 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15212 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15214 (si_call_addr, si_syscall, si_arch): Define new macro.
15215 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15217 (si_call_addr, si_syscall, si_arch): Define new marcro.
15218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15220 (si_call_addr, si_syscall, si_arch): Define new macro.
15221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15223 (si_call_addr, si_syscall, si_arch): Define new macro.
15225 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15229 Change to 2.4.21 where previously 2.4.1.
15230 * sysdeps/unix/sysv/linux/configure: Regenerated.
15231 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15232 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15233 Linux kernel version.
15234 (__ASSUME_STD_AUXV): Remove.
15235 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15237 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15238 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15239 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15240 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15241 (__ASSUME_NETLINK_SUPPORT): Likewise.
15242 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15243 (__no_netlink_support): Remove conditional definition.
15244 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15246 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15247 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15248 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15249 (if_nameindex_ioctl): Remove.
15250 (if_nameindex_netlink): Do not handle __no_netlink_support.
15251 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15253 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15254 Remove conditional code.
15255 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15257 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15259 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15260 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15261 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15263 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15264 [!__ASSUME_STD_AUXV]: Remove conditional code.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15266 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15267 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15269 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15270 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15272 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15274 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15275 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15277 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15279 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15285 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15286 code unconditional.
15287 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15289 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15291 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15294 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15296 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15299 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15300 code unconditional.
15301 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15303 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15305 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15308 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15309 code unconditional.
15310 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15312 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15314 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15317 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15319 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15321 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15322 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15323 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15324 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15325 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15326 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15327 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15328 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15329 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15330 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15331 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15332 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15333 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15334 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15335 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15336 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15337 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15339 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15340 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15343 2012-07-25 Florian Weimer <fweimer@redhat.com>
15345 * Versions.def: Add GLIBC_2.17.
15346 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15347 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15348 Introduce __libc_secure_getenv.
15349 * stdlib/Versions (2.17): Add secure_getenv
15350 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15351 * stdlib/secure-getenv.c: Rename __secure_getenv to
15352 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15353 symbol __secure_getenv for GLIBC_2.0.
15354 * stdlib/tst-secure-getenv.c: New.
15355 * stdlib/Makefile (tests): Add testcase.
15356 * manual/startup.texi (Environment Access): Document
15358 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15359 __libc_secure_getenv.
15360 * inet/ruserpass.c (ruserpass): Likewise.
15361 * malloc/mtrace.c (mtrace): Likewise.
15362 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15363 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15364 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15365 * sysdeps/posix/tempname.c: Likewise. Evaluate
15366 HAVE_SECURE_GETENV.
15367 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15368 __secure_getenv to __libc_secure_getenv.
15369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15382 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15384 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15385 (struct La_i86_retval): Likewise.
15386 (struct La_x86_64_regs): Likewise.
15387 (struct La_x86_64_retval): Likewise.
15388 (struct La_x32_regs): Likewise.
15389 (struct La_x32_retval): Likewise.
15390 (struct La_ppc32_regs): Likewise.
15391 (struct La_ppc32_retval): Likewise.
15392 (struct La_ppc64_regs): Likewise.
15393 (struct La_ppc64_retval): Likewise.
15394 (struct La_sh_regs): Likewise.
15395 (struct La_sh_retval): Likewise.
15396 (struct La_s390_32_regs): Likewise.
15397 (struct La_s390_32_retval): Likewise.
15398 (struct La_s390_64_regs): Likewise.
15399 (struct La_s390_64_retval): Likewise.
15400 (struct La_sparc32_regs): Likewise.
15401 (struct La_sparc32_retval): Likewise.
15402 (struct La_sparc64_regs): Likewise.
15403 (struct La_sparc64_retval): Likewise.
15404 (struct audit_ifaces): Remove architecture-specific pltenter and
15406 * sysdeps/i386/ldsodefs.h: New file.
15407 * sysdeps/powerpc/ldsodefs.h: Likewise.
15408 * sysdeps/s390/ldsodefs.h: Likewise.
15409 * sysdeps/sh/ldsodefs.h: Likewise.
15410 * sysdeps/sparc/ldsodefs.h: Likewise.
15411 * sysdeps/x86_64/ldsodefs.h: Likewise.
15413 2012-07-25 Marek Polacek <polacek@redhat.com>
15416 * math/libm-test.inc (yn_test): Add another test.
15417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15418 to ERANGE when the result is +-Inf.
15419 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15420 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15421 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15422 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15424 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15426 * conform/data/time.h-data (NULL): Use macro-constant. Require
15428 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15430 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15432 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15434 * configure.in <sysdeps resolving>: Correct printing
15436 * configure: Regenerate.
15438 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15440 * math/w_ilogb.c: Include <limits.h>.
15441 * math/w_ilogbl.c: Likewise.
15443 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15445 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15446 va_copy. Document allowing for unavailable va_copy only as
15447 pre-C99 compatibility.
15448 * manual/string.texi (Copying and Concatenation): Use va_copy
15449 instead of __va_copy in concat example.
15451 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15453 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15454 (__sendto): Use create_address_port. Initialize APORT and deallocate
15457 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15458 with O_NOLINK passed to __file_name_lookup.
15460 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15461 with O_NOLINK passed to __file_name_lookup.
15463 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15464 negative N or less than NGIDS.
15466 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15467 type to string_t. Set ERANGE as errno and return it if NAME is not big
15468 enough. Use memcpy instead of strncpy.
15470 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15472 * elf/Makefile (check-data): Remove.
15473 (localplt.data): New vpath directive.
15474 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15475 instead of $(check-data).
15476 * scripts/data/localplt-generic.data: Move to ...
15477 * sysdeps/generic/localplt.data: ... here.
15478 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15479 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15480 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15483 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15486 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15489 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15492 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15495 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15499 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15501 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15502 PPC32 and PPC64 files.
15503 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15504 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15506 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15508 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15509 __makecontext_ret to ...
15510 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15511 ... here and call exit if uc_link is NULL. New file.
15512 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15513 __makecontext_ret.S.
15514 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15515 __makecontext_ret to ...
15516 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15517 ... here and call exit if uc_link is NULL. New file.
15518 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15519 __makecontext_ret.S.
15521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15523 * elf/elf.h (R_390_IRELATIVE): New definition.
15524 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15525 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15526 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15528 (elf_machine_lazy_rel): Likewise.
15529 * sysdeps/s390/dl-irel.h: New file.
15530 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15531 * sysdeps/s390/s390-64/memset.S: New asm code.
15532 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15533 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15534 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15535 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15536 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15537 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15539 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15540 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15541 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15542 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15543 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15544 * sysdeps/s390/s390-32/memset.S: New asm code.
15545 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15547 2012-07-17 Marek Polacek <polacek@redhat.com>
15550 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15551 * sysdeps/s390/s390-64/configure.in: Likewise.
15552 * sysdeps/sparc/configure.in: Likewise.
15553 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15554 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15555 * sysdeps/i386/configure.in: Likewise.
15556 * sysdeps/x86_64/configure.in: Likewise.
15557 * sysdeps/sh/configure.in: Likewise.
15558 * sysdeps/s390/s390-32/configure: Regenerated.
15559 * sysdeps/s390/s390-64/configure: Likewise.
15560 * sysdeps/x86_64/configure: Likewise.
15561 * sysdeps/sh/configure: Likewise.
15562 * sysdeps/powerpc/powerpc64/configure: Likewise.
15563 * sysdeps/powerpc/powerpc32/configure: Likewise.
15564 * sysdeps/sparc/configure: Likwise.
15565 * sysdeps/i386/configure: Likewise.
15567 * elf/dl-open.c: Comment fixes.
15569 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15571 * Makefile [CXX] (check-data): Remove.
15572 [CXX] (c++-types.data): New vpath directive.
15573 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15574 vpath. Do not allow for C++ type data being missing.
15575 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15576 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15577 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15578 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15579 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15580 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15581 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15584 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15587 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15590 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15593 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15596 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15599 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15602 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15605 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15606 definitions to architecture-specific files.
15607 (TLS_IE): Likewise.
15608 (TLS_LD): Likewise.
15609 (TLS_GD): Likewise.
15610 * sysdeps/i386/tls-macros.h: New file.
15611 * sysdeps/powerpc/tls-macros.h: Likewise.
15612 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15613 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15614 * sysdeps/sh/tls-macros.h: Likewise.
15615 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15616 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15617 * sysdeps/x86_64/tls-macros.h: Likewise.
15619 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15622 zero value for regular exit case.
15624 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15625 (__start_context): Preserve zero value for regular exit case.
15627 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15628 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15630 * manual/setjmp.texi (setcontext): Clarify normal process
15631 termination when uc_link is the null pointer.
15632 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15635 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15637 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15638 preprocessor. Test for each exception mask separately.
15640 2012-07-16 Andreas Jaeger <aj@suse.de>
15642 * po/ru.po: Update from translation team.
15644 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15646 * conform/data/string.h-data (NULL): Use macro-constant. Require
15648 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15649 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15650 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15651 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15654 2012-07-13 Andreas Jaeger <aj@suse.de>
15656 * po/fr.po: Update from translation team.
15658 2012-07-12 Marek Polacek <polacek@redhat.com>
15661 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15665 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15669 Change to 2.4.1 where previously 2.4.0.
15670 * sysdeps/unix/sysv/linux/configure: Regenerated.
15671 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15672 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15674 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15675 (__ASSUME_AT_CLKTCK): Remove.
15676 (__ASSUME_AT_PAGESIZE): Likewise.
15677 (__ASSUME_AT_XID): Likewise.
15678 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15679 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15680 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15682 (HAVE_AUX_PAGESIZE): Likewise.
15683 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15684 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15685 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15687 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15691 the temporary buffer used to invoke __gethostbyname2_r,
15692 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15693 host_data / struct gaih_addrtuple.
15694 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15695 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15696 header file nss/nsswitch.h.
15697 * nss/nsswitch.h (global scope): Add definition of implementation
15698 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15699 resolv/nss_dns/dns-host.c).
15701 2012-07-11 Andreas Jaeger <aj@suse.de>
15703 * po/fr.po: Update from translation team.
15705 * po/sv.po: Update from translation team
15706 * po/fr.po: Another update from translation team.
15708 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15710 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15711 for subnormals or multiply small sinh result by itself.
15712 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15715 2012-07-11 David S. Miller <davem@davemloft.net>
15717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15719 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15722 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15723 (INTERNAL_MARK): Shift it here.
15725 2012-07-10 Marek Polacek <polacek@redhat.com>
15728 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15729 libc_cv_asm_global_directive with .globl.
15730 * configure: Regenerated.
15731 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15733 * sysdeps/i386/configure: Regenerated.
15734 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15736 * sysdeps/x86_64/configure: Regenerated.
15737 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15738 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15739 * elf/tst-unique2mod2.c: Likewise.
15740 * elf/tst-unique2mod1.c: Likewise.
15741 * elf/tst-unique1mod2.c: Likewise.
15742 * elf/tst-unique1mod1.c: Likewise.
15743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15744 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15746 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15747 * sysdeps/mach/sysdep.h: Likewise.
15748 * sysdeps/i386/sysdep.h: Likewise.
15749 * sysdeps/i386/i386-mcount.S: Likewise.
15750 * sysdeps/x86_64/_mcount.S: Likewise.
15751 * sysdeps/x86_64/sysdep.h: Likewise.
15752 * sysdeps/sh/_mcount.S: Likewise.
15753 * sysdeps/sh/sysdep.h: Likewise.
15754 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15755 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15756 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15758 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15759 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15760 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15761 * locale/localeinfo.h: Likewise.
15762 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15763 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15765 2012-07-09 Roland McGrath <roland@hack.frob.com>
15768 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15770 * manual/message.texi (The Uniforum approach): Likewise.
15771 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15772 (glibc iconv Implementation): Likewise.
15774 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15777 * math/s_clog.c (__clog): Avoid scaling a value down where that
15778 could result in underflow.
15779 * math/s_clog10.c (__clog10): Likewise.
15780 * math/s_clog10f.c (__clog10f): Likewise.
15781 * math/s_clog10l.c (__clog10l): Likewise.
15782 * math/s_clogf.c (__clogf): Likewise.
15783 * math/s_clogl.c (__clogl): Likewise.
15784 * math/libm-test.inc (clog_test): Add more tests.
15785 (clog10_test): Likewise.
15786 * sysdeps/i386/fpu/libm-test-ulps: Update.
15787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15792 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15793 by 7 not 8 to examine high bit of fractional part.
15796 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15797 for call to __mcount_internal.
15798 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15799 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15800 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15802 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15805 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15806 approximation for values within 0x1p-13f of an odd multiple of
15808 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15809 exception. Add more tests.
15810 * sysdeps/i386/fpu/libm-test-ulps: Update.
15813 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15814 inputs and return -1 for them. Do not check for +Inf in case not
15815 reachable for +Inf.
15816 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15817 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15819 and return -1 for them. Do not check for +Inf in case not
15820 reachable for +Inf.
15821 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15824 and return -1 for them. Do not check for +Inf in case not
15825 reachable for +Inf.
15826 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15827 spurious underflow.
15828 * sysdeps/i386/fpu/libm-test-ulps: Update.
15829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15833 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15835 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15839 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15840 could result in spurious underflow. Scale down values above
15841 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15842 * math/s_csqrtf.c (__csqrtf): Likewise.
15843 * math/s_csqrtl.c (__csqrtl): Likewise.
15844 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15845 spurious underflow.
15846 * sysdeps/i386/fpu/libm-test-ulps: Update.
15847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15849 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15851 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15853 * catgets/xopen-msg.awk: New file.
15854 * catgets/xopen-msg.sed: Removed.
15856 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15858 * intl/po2test.awk: New file.
15859 * intl/po2test.sed: Removed.
15861 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15864 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15865 or multiply small sinh result by itself.
15866 * math/s_ctanf.c (__ctanf): Likewise.
15867 * math/s_ctanh.c (__ctanh): Likewise.
15868 * math/s_ctanhf.c (__ctanhf): Likewise.
15869 * math/s_ctanhl.c (__ctanhl): Likewise.
15870 * math/s_ctanl.c (__ctanl): Likewise.
15871 * math/libm-test.inc (ctan_test_tonearest): New function.
15872 (ctan_test_towardzero): Likewise.
15873 (ctan_test_downward): Likewise.
15874 (ctan_test_upward): Likewise.
15875 (ctanh_test_tonearest): Likewise.
15876 (ctanh_test_towardzero): Likewise.
15877 (ctanh_test_downward): Likewise.
15878 (ctanh_test_upward): Likewise.
15879 (main): Call these new functions.
15880 * sysdeps/i386/fpu/libm-test-ulps: Update.
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15885 * .gitignore: Delete /ports entry.
15887 2012-07-03 Andreas Jaeger <aj@suse.de>
15889 * po/bg.po: Update from translation team.
15890 * po/cs.po: Likewise.
15891 * po/de.po: Likewise.
15892 * po/hr.po: Likewise.
15893 * po/nl.pl: Likewise.
15894 * po/pl.po: Likewise.
15895 * po/vi.po: Likewise.
15897 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15899 * Makeconfig [!+link] (+link-before-libc): New variable.
15900 [!+link] (+link-after-libc): Likewise.
15901 [!+link] (+link-tests): Likewise.
15902 [!+link] (+link): Define in terms of $(+link-before-libc) and
15903 $(+link-after-libc).
15904 [!+link-static] (+link-static-before-libc): New variable.
15905 [!+link-static] (+link-static-after-libc): Likewise.
15906 [!+link-static] (+link-static-tests): Likewise.
15907 [!+link-static] (+link-static): Define in terms of
15908 $(+link-static-before-libc) and $(+link-static-after-libc).
15909 [build-shared] (link-libc-before-gnulib): New variable.
15910 [build-shared] (link-libc-tests): Likewise.
15911 [build-shared] (link-libc): Define in terms of
15912 $(link-libc-before-gnulib).
15913 [!build-shared] (link-libc-tests): New variable.
15914 (link-libc-static-tests): New variable.
15915 [!gnulib] (gnulib-arch): New variable.
15916 [!gnulib] (gnulib-tests): Likewise.
15917 [!gnulib] (static-gnulib-arch): Likewise.
15918 [!gnulib] (static-gnulib-tests): Likewise.
15919 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15920 Define with "=" instead of ":=".
15921 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15922 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15923 * Rules (binaries-all-notests): New variable.
15924 (binaries-all-tests): Likewise.
15925 (binaries-static-notests): Likewise.
15926 (binaries-static-tests): Likewise.
15927 (binaries-all): Define using $(binaries-all-notests) and
15928 $(binaries-all-tests).
15929 (binaries-static): Define using $(binaries-static-notests) and
15930 $(binaries-static-tests).
15931 (binaries-shared-tests): New variable.
15932 (binaries-shared-notests): Likewise.
15933 (binaries-shared): Remove variable.
15934 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15935 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15936 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15937 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15938 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15939 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15940 * elf/Makefile (sln-modules): New variable.
15941 (extra-objs): Add $(sln-modules:=.o).
15942 (ldconfig-modules): Add static-stubs.
15943 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15944 * elf/static-stubs.c: New file.
15947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15948 by 7 not 8 to examine high bit of fractional part. Use volatile
15949 variables when splitting into final array of floats if
15950 __FLT_EVAL_METHOD__ != 0.
15951 * math/libm-test.inc (cos_test): Add another test.
15952 (sin_test): Likewise.
15953 * sysdeps/i386/fpu/libm-test-ulps: Update.
15956 * math/libm-test.inc (cosh_test): Add more tests.
15958 * version.h (RELEASE): Set to "development".
15959 (VERSION): Set to "2.16.90".
15961 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15963 * NEWS: Update copyright. Remove last-updated date.
15964 Mention math library bug fixes and timezone data changes.
15965 * README: Mention GNU/Hurd, x32, and HPPA support status.
15967 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15969 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15971 2012-06-27 Andreas Jaeger <aj@suse.de>
15973 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15975 2012-06-25 Andreas Jaeger <aj@suse.de>
15977 * sysdeps/s390/fpu/libm-test-ulps: Update.
15979 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15980 Thomas Schwinge <thomas@codesourcery.com>
15982 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15983 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15987 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15989 * sysdeps/mach/start.c: Remove file.
15990 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15991 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15992 * sysdeps/sh/init-first.c: Likewise.
15994 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15995 registers for frame unwinding purposes, add CFI directives.
15996 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15998 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16002 __fortify_fail returning.
16003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16005 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16006 sysdeps/sh/____longjmp_chk.S.
16007 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16008 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16009 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16010 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16012 * sysdeps/sh/abort-instr.h: New file.
16013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16014 process in case exit returns.
16016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16017 initialize the GOT register before use.
16019 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16020 calculation of ARGC > 4.
16022 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16023 meaningful names to some local labels.
16025 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16026 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16028 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16029 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16030 (__arch_compare_and_exchange_val_16_acq): Likewise.
16031 (__arch_compare_and_exchange_val_32_acq): Likewise.
16032 (atomic_exchange_and_add): Fix gUSA sequence.
16033 (atomic_add): Likewise.
16034 (atomic_add_negative): Likewise.
16035 (atomic_add_zero): Likewise.
16036 (atomic_bit_test_set): Likewise.
16038 2012-06-22 Andreas Schwab <schwab@redhat.com>
16041 * include/link.h (struct link_map): Add l_free_initfini.
16042 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16044 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16045 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16046 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16049 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16051 * configure.in: Use AC_LANG_SOURCE.
16052 * configure: Regenerate.
16054 2012-06-22 Roland McGrath <roland@hack.frob.com>
16056 * configure.in (libc_cv_localstatedir): New substituted variable.
16057 * configure: Regenerated.
16058 * config.make.in (localstatedir): New variable, substituted from
16059 libc_cv_localstatedir.
16060 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16061 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16062 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16063 * sysdeps/gnu/configure: Regenerated.
16065 2012-06-21 Jeff Law <law@redhat.com>
16068 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16069 free. Simplify list management for _LIBC case.
16071 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16075 Clear sign bit of 64-bit integer value before comparing against
16078 * sysdeps/mach/configure: Regenerated.
16080 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16083 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16085 2012-06-21 Jeff Law <law@redhat.com>
16088 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16089 uint16_t for elements in the "seen" array to avoid char overflows.
16090 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16091 * elf/dl-open.c (dl_open_worker): Likewise.
16093 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16095 * scripts/list-sources.sh: Scan PORTS for translations.
16096 * po/libc.pot: Regenerated.
16098 2012-06-21 Andreas Jaeger <aj@suse.de>
16101 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16103 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16104 * bits/byteswap-16.h (__bswap_16): Likewise.
16105 * bits/byteswap.h (__bswap_constant_16): Likewise.
16107 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16110 * sysdeps/i386/fpu_control.h: Removed.
16111 * sysdeps/x86_64/fpu_control.h: Moved to ...
16112 * sysdeps/x86/fpu_control.h: Here.
16114 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16115 (_FPU_SETCW): Likewise.
16117 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16120 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16121 * sysdeps/x86/fpu/bits/mathinline.h: This.
16122 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16126 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16127 functions if __x86_64__ is defined.
16129 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16131 * string/endian.h: Add !__ASSEMBLER__ condition for including
16132 conversion interfaces.
16134 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16138 of ABS(x) in calculating zero to negative powers other than odd
16140 * math/libm-test.inc (pow_test): Add more tests.
16142 2012-06-15 Andreas Jaeger <aj@suse.de>
16144 * manual/contrib.texi (Contributors): Update entry of Liubov
16145 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16148 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16150 * string/string.h: Add __wur to GNU version of strerror_r.
16152 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16155 * string/Makefile (tests): Add tst-strtok_r.
16156 * string/tst-strtok_r.c: New file.
16157 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16158 RAX_LP/RDX_LP on SAVE_PTR.
16160 2012-06-14 Roland McGrath <roland@hack.frob.com>
16162 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16164 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16166 * libm_test.inc (csqrt_test): Allow more spurious underflow
16168 (j0_test): Likewise.
16169 (j1_test): Likewise.
16170 (y0_test): Likewise.
16171 (y1_test): Likewise.
16173 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16175 * po/Makefile (libc.pot): Use UTF-8 charset.
16177 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16180 Suppress sign-conversion warning from FD_SET.
16181 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16182 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16183 not unsigned long int.
16184 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16186 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16190 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16191 __extern_always_inline instead of __extern_inline.
16192 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16193 (__signbit): Likewise.
16194 (__signbitl): Support C++ namespace.
16195 (lrintf): New inline function.
16197 (llrintf): Likewise.
16198 (llrint): Likewise.
16208 (floorf): Likewise.
16209 (nearbyint): Likewise.
16210 (nearbyintf): Likewise.
16212 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16214 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16215 non-default versions.
16217 2012-06-11 Roland McGrath <roland@hack.frob.com>
16220 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16222 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16224 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16225 (FE_UPWARD, FE_DOWNWARD): Don't define.
16226 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16229 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16231 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16234 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16236 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16238 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16239 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16241 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16244 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16245 * sysdeps/i386/fpu/Implies: New file.
16246 * sysdeps/x86_64/fpu/Implies: Likewise.
16247 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16248 * sysdeps/x86/fpu/bits/fenv.h: This.
16250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16253 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16256 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16257 character 0xffff that matches the last element of the
16260 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16265 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16268 values higher than 25.6283.
16270 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16273 subnormal exponent extraction and add some __builtin_expect.
16274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16275 Fix for subnormal mantissa calculation.
16277 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16279 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16280 cpu2 is -1 and errno is not ENOSYS.
16282 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16285 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16286 * sysdeps/x86/bits/string.h: This.
16287 * sysdeps/x86_64/bits/string.h: Removed.
16289 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16290 if not compiling for x86-64, but compiling for >= i486.
16292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16293 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16295 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16296 New macro from Linux kernel 3.4.0.
16297 (FP_XSTATE_MAGIC2): Likewise.
16298 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16299 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16300 (struct _fpx_sw_bytes): New struct.
16301 (struct _xsave_hdr): Likewise.
16302 (struct _ymmh_state): Likewise.
16303 (struct _xstate): Likewise.
16305 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16306 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16307 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16308 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16309 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16310 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16312 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16313 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16314 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16315 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16316 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16317 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16319 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16322 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16323 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16324 (sysdep_headers): Include sys/platform/ppc.h.
16325 * sysdeps/powerpc/test-gettimebase.c: Test for
16326 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16327 * manual/Makefile (appendices): Include platform.texi.
16328 * manual/contrib.texi (Contributors): Update @node pointers.
16329 * manual/maint.texi (Maintenance): Likewise.
16330 (Platform): New node.
16331 * manual/platform.texi: New file. Document the new features.
16333 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16334 Jakub Jelinek <jakub@redhat.com>
16337 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16338 where __builtin_expect is unavailable.
16340 2012-06-03 David S. Miller <davem@davemloft.net>
16342 * stdlib/longlong.h: Updated from GCC.
16344 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16347 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16348 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16351 (GLIBC_2.16): Likewise.
16353 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16357 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16360 (default-abi): New variable.
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16362 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16364 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16366 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16368 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16371 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16372 definition. Document in comment.
16374 2012-06-01 David S. Miller <davem@davemloft.net>
16376 * stdlib/longlong.h: Updated from GCC.
16378 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16381 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16382 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16383 sys/debugreg.h sys/io.h here.
16384 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16385 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16387 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16388 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16389 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16390 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16391 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16392 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16394 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16395 Define only if __x86_64__ is defined.
16397 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16400 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16401 Use int64_t for variable i.
16402 * math/libm-test.inc (fmod_test): Add more tests.
16404 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16405 z computation is not scheduled after fetestexcept.
16406 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16407 Use math_force_eval instead of asm to ensure calculation scheduled
16408 before exception test.
16409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16410 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16412 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16415 computation is not scheduled after fetestexcept.
16417 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16420 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16421 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16423 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16425 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16426 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16428 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16431 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16433 (__WCHAR_MIN): Support __WORDSIZE == 64.
16434 (__WCHAR_MAX): Likewise.
16436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16437 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16441 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16444 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16448 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16451 Defined to 1 if __x86_64__ isn't defined.
16452 (_STAT_VER_LINUX_OLD): New.
16453 (st_atime): Remove duplicate.
16454 (st_mtime): Likewise.
16455 (st_ctime): Likewise.
16457 2012-05-31 David S. Miller <davem@davemloft.net>
16459 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16462 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16464 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16468 * elf/dl-reloc.c: Include <_itoa.h>.
16469 (_dl_reloc_bad_type): Remove use of INTUSE.
16470 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16471 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16472 * stdio-common/psiginfo.c (psiginfo): Likewise.
16473 * stdio-common/psignal.c (psignal): Likewise.
16474 * string/strsignal.c (strsignal): Likewise.
16475 * include/signal.h (_sys_siglist): Declare hidden proto.
16476 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16477 INTVARDEF with libc_hidden_data_def.
16478 * stdio-common/itoa-udigits.c: Likewise.
16479 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16480 (_itoa_lower_digits_internal): Remove declaration.
16481 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16482 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16483 (_sys_sigabbrev_internal): Remove aliases.
16484 (_sys_siglist): Define hidden alias.
16486 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16491 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16494 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16495 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16497 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16498 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16499 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16500 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16502 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16504 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16506 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16508 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16516 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16520 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16521 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16522 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16523 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16524 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16525 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16528 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16531 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16537 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16538 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16540 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16542 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16543 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16544 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16546 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16548 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16550 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16552 * math/math.h (M_El): Use two more decimal places.
16553 (M_LOG2El): Likewise.
16554 (M_LOG10El): Likewise.
16555 (M_LN2l): Likewise.
16556 (M_LN10l): Likewise.
16558 (M_PI_2l): Likewise.
16559 (M_PI_4l): Likewise.
16560 (M_1_PIl): Likewise.
16561 (M_2_PIl): Likewise.
16562 (M_2_SQRTPIl): Likewise.
16563 (M_SQRT2l): Likewise.
16564 (M_SQRT1_2l): Likewise.
16566 2012-05-31 David S. Miller <davem@davemloft.net>
16568 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16569 values between float registers.
16570 * sysdeps/sparc/sparc64/memset.S: Likewise.
16571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16573 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16575 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16576 -D_FORTIFY_SOURCE=1.
16577 (CPPFLAGS-tst-longjmp_chk.c): Define.
16578 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16579 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16580 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16581 CFLAGS-tst-wchar-h.c.
16583 2012-05-31 Marek Polacek <polacek@redhat.com>
16586 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16587 __endmntent_internal): Remove declaration.
16588 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16589 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16590 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16592 2012-05-30 David S. Miller <davem@davemloft.net>
16594 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16595 (___Q_simulate_exceptions): Use real FP ops rather than writing
16597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16600 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16603 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16604 * sysdeps/x86/bits/xtitypes.h: This.
16606 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16607 * sysdeps/x86/bits/wordsize.h: This.
16609 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16610 * sysdeps/x86/bits/huge_vall.h: This.
16612 * sysdeps/i386/bits/select.h: Removed.
16613 * sysdeps/x86_64/bits/select.h: Renamed to ...
16614 * sysdeps/x86/bits/select.h: This.
16616 * sysdeps/i386/bits/setjmp.h: Removed.
16617 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16618 * sysdeps/x86/bits/setjmp.h: This.
16620 * sysdeps/i386/bits/mathdef.h: Removed.
16621 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16622 * sysdeps/x86/bits/mathdef.h: This.
16624 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16627 * include/sys/socket.h (__connect_internal)
16628 (__libc_sa_len_internal): Remove declaration.
16629 (__connect, __libc_sa_len): Declare hidden_proto.
16630 (SA_LEN): Remove use of INTUSE.
16631 * socket/connect.c: Add libc_hidden_def.
16632 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16633 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16634 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16636 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16637 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16638 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16639 of adding _internal alias.
16641 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16644 * sysdeps/i386/bits/link.h: Removed.
16645 * sysdeps/i386/bits/linkmap.h: Likewise.
16646 * sysdeps/x86_64/bits/link.h: Renamed to ...
16647 * sysdeps/x86/bits/link.h: This.
16648 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16649 * sysdeps/x86/bits/linkmap.h: This.
16651 * sysdeps/i386/bits/endian.h: Removed.
16652 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16653 * sysdeps/x86/bits/endian.h: This.
16655 * sysdeps/i386/bits/byteswap.h: Removed.
16656 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16657 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16658 * sysdeps/x86/bits/byteswap.h: This.
16659 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16660 * sysdeps/x86/bits/byteswap-16.h: This.
16661 * sysdeps/i386/Implies: Add x86.
16662 * sysdeps/x86_64/Implies: Likewise.
16664 2012-05-30 David S. Miller <davem@davemloft.net>
16666 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16667 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16669 (FP_TRAPPING_EXCEPTIONS): Define.
16670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16671 (FP_TRAPPING_EXCEPTIONS): Define.
16672 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16673 subnormals only when inexact has been signalled or underflow
16674 exceptions are enabled.
16675 (_FP_PACK_CANONICAL): Likewise.
16677 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16681 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16683 2012-05-30 Richard Henderson <rth@twiddle.net>
16685 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16686 with #ifndef NOT_IN_libc.
16688 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16689 marked to avoid plt entry.
16691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16694 * Makeconfig (default-abi): New macro.
16695 (abi-includes): Likewise.
16696 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16697 $(abi-$(default-abi)-lib-soname) for soname if defined.
16698 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16700 * Makefile (installed-stubs): Likewise.
16701 * include/stubs-biarch.h: Removed.
16702 * scripts/lib-names.awk: Only handle one library at a time.
16703 * scripts/soversions.awk: Remove WORDSIZE support.
16704 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16706 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16708 (syscall-list-default-condition): Likewise.
16709 (syscall-list-default-condition): Likewise.
16710 (syscall-list-includes): Likewise.
16711 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16712 syscall-list-* with abi-*. Handle undefined abi-variants.
16713 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16714 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16715 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16716 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16717 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16718 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16720 (syscall-list-32-options): Likewise.
16721 (syscall-list-32-condition): Likewise.
16722 (syscall-list-64-options): Likewise.
16723 (syscall-list-64-condition): Likewise.
16724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16726 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16729 (abi-64-ld-soname): New macro.
16730 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16731 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16734 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16735 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16737 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16739 * sysdeps/unix/sysv/linux/kernel-features.h
16740 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16741 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16742 include <kernel-features.h>.
16743 [!__NR_ftruncate64]: Remove conditional code.
16744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16745 [__NR_ftruncate64]: Make code unconditional.
16746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16747 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16748 include <kernel-features.h>.
16749 [!__NR_ftruncate64]: Remove conditional code.
16750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16751 [__NR_ftruncate64]: Make code unconditional.
16752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16754 include <kernel-features.h>.
16755 [!__NR_ftruncate64]: Remove conditional code.
16756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16757 [__NR_ftruncate64]: Make code unconditional.
16758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16760 include <kernel-features.h>.
16761 [!__NR_ftruncate64]: Remove conditional code.
16762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16763 [__NR_ftruncate64]: Make code unconditional.
16764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16766 * configure.in (libc_cv_fpie): Weaken to a compile test using
16767 LIBC_TRY_CC_OPTION.
16768 * configure: Regenerated.
16770 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16785 2012-05-27 David S. Miller <davem@davemloft.net>
16787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16789 (__Q_simulate_exceptions): Return void. Change to simulate
16790 exceptions by writing into the %fsr.
16791 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16792 (__Qp_handle_exceptions): Likewise.
16794 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16795 __Qp_handle_exceptions.
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16797 __Qp_handle_exceptions.
16798 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16799 as unused and give dummy FP_RND_NEAREST initializer.
16800 (FP_INHIBIT_RESULTS): Define.
16801 (___Q_simulate_exceptions): Update declaration.
16802 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16805 as unused and give dummy FP_RND_NEAREST initializer.
16806 (__Qp_handle_exceptions): Update declaration.
16807 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16810 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16812 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16813 the temporary FPU control word.
16814 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16815 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16817 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16818 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16819 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16820 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16822 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16823 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16826 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16828 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16831 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16833 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16834 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16835 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16836 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16838 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16839 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16842 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16844 * po/h.po: Update from translation team.
16846 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16848 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16850 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16851 handling of denormals.
16852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16853 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16861 2012-05-26 Marek Polacek <polacek@redhat.com>
16864 * math/libm-test.inc (fma_test): Don't always expect underflow
16867 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16870 * elf/tst-execstack.c: Include stackinfo.h.
16871 (do_test): Adjust test case to ensure that pthread_getattr_np
16872 behaviour remains the same after marking stack executable.
16874 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16876 * sysdeps/unix/sysv/linux/kernel-features.h
16877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16878 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16882 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16884 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16885 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16887 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16889 * configure.in: Define the default includes to being none.
16890 * configure: Regenerated.
16892 2012-05-25 Roland McGrath <roland@hack.frob.com>
16894 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16895 * sysdeps/x86_64/setjmp.S: Likewise.
16896 * sysdeps/i386/bsd-setjmp.S: Likewise.
16897 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16898 * sysdeps/i386/setjmp.S: Likewise.
16899 * sysdeps/i386/__longjmp.S: Likewise.
16900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16901 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16903 * include/stap-probe.h: New file.
16904 * configure.in: Handle --enable-systemtap.
16905 * configure: Regenerated.
16906 * config.h.in (USE_STAP_PROBE): New #undef.
16907 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16908 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16909 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16911 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16915 to 2.4.0 where earlier.
16916 * sysdeps/unix/sysv/linux/configure: Regenerated.
16917 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16918 <kernel-features.h>.
16919 [__ASSUME_32BITUIDS]: Make code unconditional.
16920 [!__ASSUME_32BITUIDS]: Remove conditional code.
16921 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16922 <kernel-features.h>.
16923 [__ASSUME_32BITUIDS]: Make code unconditional.
16924 [!__ASSUME_32BITUIDS]: Remove conditional code.
16925 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16926 [__ASSUME_32BITUIDS]: Make code unconditional.
16927 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16928 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16929 <kernel-features.h>.
16930 [__ASSUME_32BITUIDS]: Make code unconditional.
16931 [!__ASSUME_32BITUIDS]: Remove conditional code.
16932 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16933 <kernel-features.h>.
16934 [__ASSUME_32BITUIDS]: Make code unconditional.
16935 [!__ASSUME_32BITUIDS]: Remove conditional code.
16936 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16937 <kernel-features.h>.
16938 [__ASSUME_32BITUIDS]: Make code unconditional.
16939 [!__ASSUME_32BITUIDS]: Remove conditional code.
16940 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16941 <kernel-features.h>.
16942 [__ASSUME_32BITUIDS]: Make code unconditional.
16943 [!__ASSUME_32BITUIDS]: Remove conditional code.
16944 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16945 <kernel-features.h>.
16946 [__ASSUME_32BITUIDS]: Make code unconditional.
16947 [!__ASSUME_32BITUIDS]: Remove conditional code.
16948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16949 <kernel-features.h>.
16950 [__ASSUME_32BITUIDS]: Make code unconditional.
16951 [!__ASSUME_32BITUIDS]: Remove conditional code.
16952 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16953 <kernel-features.h>.
16954 [__ASSUME_32BITUIDS]: Make code unconditional.
16955 [!__ASSUME_32BITUIDS]: Remove conditional code.
16956 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16957 <kernel-features.h>.
16958 [__ASSUME_32BITUIDS]: Make code unconditional.
16959 [!__ASSUME_32BITUIDS]: Remove conditional code.
16960 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16961 <kernel-features.h>.
16962 [__ASSUME_32BITUIDS]: Make code unconditional.
16963 [!__ASSUME_32BITUIDS]: Remove conditional code.
16964 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16965 <kernel-features.h>.
16966 [__ASSUME_32BITUIDS]: Make code unconditional.
16967 [!__ASSUME_32BITUIDS]: Remove conditional code.
16968 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16969 <kernel-features.h>.
16970 [__NR_setresgid] (__setresgid): Do not declare.
16971 [__ASSUME_32BITUIDS]: Make code unconditional.
16972 [!__ASSUME_32BITUIDS]: Remove conditional code.
16973 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16974 <kernel-features.h>.
16975 [__NR_setresuid] (__setresuid): Do not declare.
16976 [__ASSUME_32BITUIDS]: Make code unconditional.
16977 [!__ASSUME_32BITUIDS]: Remove conditional code.
16978 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16979 <kernel-features.h>.
16980 [__ASSUME_32BITUIDS]: Make code unconditional.
16981 [!__ASSUME_32BITUIDS]: Remove conditional code.
16982 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16983 <kernel-features.h>.
16984 [__ASSUME_32BITUIDS]: Make code unconditional.
16985 [!__ASSUME_32BITUIDS]: Remove conditional code.
16986 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16987 <kernel-features.h>.
16988 [__ASSUME_32BITUIDS]: Make code unconditional.
16989 [!__ASSUME_32BITUIDS]: Remove conditional code.
16990 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16991 <kernel-features.h>.
16992 [__ASSUME_32BITUIDS]: Make code unconditional.
16993 [!__ASSUME_32BITUIDS]: Remove conditional code.
16994 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16995 <kernel-features.h>.
16996 [__ASSUME_32BITUIDS]: Make code unconditional.
16997 [!__ASSUME_32BITUIDS]: Remove conditional code.
16998 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16999 <kernel-features.h>.
17000 [__ASSUME_32BITUIDS]: Make code unconditional.
17001 [!__ASSUME_32BITUIDS]: Remove conditional code.
17002 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17003 <kernel-features.h>.
17004 [__ASSUME_32BITUIDS]: Make code unconditional.
17005 [!__ASSUME_32BITUIDS]: Remove conditional code.
17006 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17007 <kernel-features.h>.
17008 [__ASSUME_32BITUIDS]: Make code unconditional.
17009 [!__ASSUME_32BITUIDS]: Remove conditional code.
17010 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17011 <kernel-features.h>.
17012 [__ASSUME_32BITUIDS]: Make code unconditional.
17013 [!__ASSUME_32BITUIDS]: Remove conditional code.
17014 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17015 <kernel-features.h>.
17016 [__ASSUME_32BITUIDS]: Make code unconditional.
17017 [!__ASSUME_32BITUIDS]: Remove conditional code.
17018 * sysdeps/unix/sysv/linux/kernel-features.h
17019 (__ASSUME_SETRESUID_SYSCALL): Remove.
17020 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17021 (__ASSUME_32BITUIDS): Likewise.
17022 (__ASSUME_LDT_WORKS): Likewise.
17023 (__ASSUME_O_DIRECTORY): Likewise.
17024 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17025 architecture but not kernel version.
17026 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17027 (__ASSUME_MMAP2_SYSCALL): Likewise.
17028 (__ASSUME_STAT64_SYSCALL): Likewise.
17029 (__ASSUME_IPC64): Likewise.
17030 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17031 <kernel-features.h>.
17032 [__ASSUME_32BITUIDS]: Make code unconditional.
17033 [!__ASSUME_32BITUIDS]: Remove conditional code.
17034 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17035 <kernel-features.h>.
17036 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17037 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17038 132096]: Remove conditional code.
17039 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17040 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17041 <kernel-features.h>.
17042 [__ASSUME_32BITUIDS]: Make code unconditional.
17043 [!__ASSUME_32BITUIDS]: Remove conditional code.
17044 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17045 <kernel-features.h>.
17046 [__ASSUME_32BITUIDS]: Make code unconditional.
17047 [!__ASSUME_32BITUIDS]: Remove conditional code.
17048 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17049 <kernel-features.h>.
17050 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17052 (__setresgid): Do not declare.
17053 [__ASSUME_32BITUIDS]: Make code unconditional.
17054 [!__ASSUME_32BITUIDS]: Remove conditional code.
17055 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17056 <kernel-features.h>.
17057 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17059 (__setresuid): Do not declare.
17060 [__ASSUME_32BITUIDS]: Make code unconditional.
17061 [!__ASSUME_32BITUIDS]: Remove conditional code.
17062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17063 <kernel-features.h>.
17064 [__ASSUME_32BITUIDS]: Make code unconditional.
17065 [!__ASSUME_32BITUIDS]: Remove conditional code.
17066 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17067 <kernel-features.h>.
17068 [__ASSUME_32BITUIDS]: Make code unconditional.
17069 [!__ASSUME_32BITUIDS]: Remove conditional code.
17071 2012-05-25 Richard Henderson <rth@twiddle.net>
17073 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17074 dl_hwcap to ifunc resolver.
17075 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17077 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17078 dl_hwcap to ifunc resolver.
17079 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17081 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17084 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17085 for |x| <= 2**-26, not 2**-57.
17086 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17089 2012-05-24 Jeff Law <law@redhat.com>
17091 * stdio-common/Makefile (tests): Add bug25.
17092 * stdio-common/bug25.c: New test.
17094 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17097 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17098 multiple of MALLOC_ALIGNMENT in size.
17099 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17101 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17103 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17105 (FILENAME_MAX): Use macro-int-constant.
17106 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17107 (_IOFBF): Use macro-int-constant.
17108 (_IOLBF): Likewise.
17109 (_IONBF): Likewise.
17110 (SEEK_CUR): Likewise.
17111 (SEEK_END): Likewise.
17112 (SEEK_SET): Likewise.
17113 (TMP_MAX): Likewise.
17114 (EOF): Use macro-int-constant. Require < 0.
17115 (NULL): Use macro-constant. Require == 0.
17116 (stdin): Require type to be FILE *.
17117 (stdout): Likewise.
17118 (stderr): Likewise.
17119 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17120 macro-int-constant.
17121 (EXIT_SUCCESS): Likewise.
17122 (NULL): Use macro-constant. Require == 0.
17123 (RAND_MAX): Use macro-int-constant.
17124 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17125 [C99-based standards] (strtof): Require function.
17126 [C99-based standards] (strtold): Likewise.
17127 [C99-based standards] (strtoll): Likewise.
17128 [C99-based standards] (strtoull): Likewise.
17129 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17130 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17131 [ISO || ISO99 || ISO11] (math.h): Likewise.
17132 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17133 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17136 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17139 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17140 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17141 * intl/dgettext.c (DCGETTEXT): Likewise.
17142 * intl/gettext.c (DCGETTEXT): Likewise.
17143 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17144 * posix/regex_internal.h (gettext): Likewise.
17145 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17146 Remove declaration.
17147 * include/argz.h (__argz_count_internal)
17148 (__argz_stringify_internal): Remove declaration.
17149 (__argz_count, __argz_stringify): Declare hidden proto.
17150 * intl/dcgettext.c: Remove use of INTDEF.
17151 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17152 * string/argz-stringify.c: Likewise.
17153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17155 Declare hidden proto.
17156 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17157 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17158 Declare hidden proto.
17159 * include/stdio.h (__asprintf_internal): Don't declare.
17160 (__asprintf): Don't define as macro. Declare hidden proto.
17161 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17162 (__fsetlocking): Declare hidden proto.
17163 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17164 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17166 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17167 (_IO_setlinebuf): Remove use of INTUSE.
17168 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17169 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17170 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17171 Remove declaration.
17172 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17173 (_IO_do_flush): Remove use of INTUSE.
17174 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17175 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17176 (_IO_adjust_column, _IO_least_wmarker)
17177 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17178 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17179 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17180 (_IO_default_doallocate, _IO_wdefault_doallocate)
17181 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17182 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17183 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17184 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17185 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17186 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17187 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17188 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17189 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17190 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17191 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17192 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17193 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17195 (_IO_flush_all_internal, _IO_adjust_column_internal)
17196 (_IO_default_uflow_internal, _IO_default_finish_internal)
17197 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17198 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17199 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17200 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17201 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17202 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17203 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17204 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17205 (_IO_file_close_internal, _IO_file_close_it_internal)
17206 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17207 (_IO_file_init_internal, _IO_file_attach_internal)
17208 (_IO_file_fopen_internal, _IO_file_read_internal)
17209 (_IO_file_sync_internal, _IO_file_seek_internal)
17210 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17211 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17212 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17213 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17214 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17215 (_IO_list_all_internal, _IO_link_in_internal)
17216 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17217 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17218 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17219 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17220 (_IO_do_write_internal, _IO_padn_internal)
17221 (_IO_getline_info_internal, _IO_getline_internal)
17222 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17223 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17224 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17225 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17226 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17227 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17228 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17229 with libc_hidden_ver, remove use of INTUSE.
17230 * libio/genops.c: Likewise.
17231 * libio/freopen.c: Likewise.
17232 * libio/freopen64.c: Likewise.
17233 * libio/iofclose.c: Likewise.
17234 * libio/iofdopen.c: Likewise.
17235 * libio/iofflush.c: Likewise.
17236 * libio/iofflush_u.c: Likewise.
17237 * libio/iofgets.c: Likewise.
17238 * libio/iofgets_u.c: Likewise.
17239 * libio/iofopen.c: Likewise.
17240 * libio/iofopncook.c: Likewise.
17241 * libio/iofread.c: Likewise.
17242 * libio/iofread_u.c: Likewise.
17243 * libio/ioftell.c: Likewise.
17244 * libio/iofwrite.c: Likewise.
17245 * libio/iogetline.c: Likewise.
17246 * libio/iogets.c: Likewise.
17247 * libio/iogetwline.c: Likewise.
17248 * libio/iopadn.c: Likewise.
17249 * libio/iopopen.c: Likewise.
17250 * libio/ioseekoff.c: Likewise.
17251 * libio/ioseekpos.c: Likewise.
17252 * libio/iosetbuffer.c: Likewise.
17253 * libio/iosetvbuf.c: Likewise.
17254 * libio/ioungetc.c: Likewise.
17255 * libio/ioungetwc.c: Likewise.
17256 * libio/iovdprintf.c: Likewise.
17257 * libio/iovsprintf.c: Likewise.
17258 * libio/iovsscanf.c: Likewise.
17259 * libio/memstream.c: Likewise.
17260 * libio/obprintf.c: Likewise.
17261 * libio/oldfileops.c: Likewise.
17262 * libio/oldiofclose.c: Likewise.
17263 * libio/oldiofdopen.c: Likewise.
17264 * libio/oldiofopen.c: Likewise.
17265 * libio/oldiopopen.c: Likewise.
17266 * libio/oldstdfiles.c: Likewise.
17267 * libio/putc.c: Likewise.
17268 * libio/setbuf.c: Likewise.
17269 * libio/setlinebuf.c: Likewise.
17270 * libio/stdfiles.c: Likewise.
17271 * libio/strops.c: Likewise.
17272 * libio/vasprintf.c: Likewise.
17273 * libio/vscanf.c: Likewise.
17274 * libio/vsnprintf.c: Likewise.
17275 * libio/vswprintf.c: Likewise.
17276 * libio/wfiledoalloc.c: Likewise.
17277 * libio/wfileops.c: Likewise.
17278 * libio/wgenops.c: Likewise.
17279 * libio/wmemstream.c: Likewise.
17280 * libio/wstrops.c: Likewise.
17281 * libio/__fpurge.c: Likewise.
17282 * libio/__fsetlocking.c: Likewise.
17283 * assert/assert.c: Likewise.
17284 * debug/fgets_chk.c: Likewise.
17285 * debug/fgets_u_chk.c: Likewise.
17286 * debug/fread_chk.c: Likewise.
17287 * debug/fread_u_chk.c: Likewise.
17288 * debug/gets_chk.c: Likewise.
17289 * debug/obprintf_chk.c: Likewise.
17290 * debug/vasprintf_chk.c: Likewise.
17291 * debug/vdprintf_chk.c: Likewise.
17292 * debug/vsnprintf_chk.c: Likewise.
17293 * debug/vsprintf_chk.c: Likewise.
17294 * malloc/mtrace.c: Likewise.
17295 * misc/error.c: Likewise.
17296 * misc/syslog.c: Likewise.
17297 * stdio-common/asprintf.c: Likewise.
17298 * stdio-common/fxprintf.c: Likewise.
17299 * stdio-common/getw.c: Likewise.
17300 * stdio-common/isoc99_fscanf.c: Likewise.
17301 * stdio-common/isoc99_scanf.c: Likewise.
17302 * stdio-common/isoc99_vfscanf.c: Likewise.
17303 * stdio-common/isoc99_vscanf.c: Likewise.
17304 * stdio-common/isoc99_vsscanf.c: Likewise.
17305 * stdio-common/printf-prs.c: Likewise.
17306 * stdio-common/printf_fp.c: Likewise.
17307 * stdio-common/printf_fphex.c: Likewise.
17308 * stdio-common/printf_size.c: Likewise.
17309 * stdio-common/putw.c: Likewise.
17310 * stdio-common/scanf.c: Likewise.
17311 * stdio-common/sprintf.c: Likewise.
17312 * stdio-common/tmpfile.c: Likewise.
17313 * stdio-common/vfprintf.c: Likewise.
17314 * stdio-common/vfscanf.c: Likewise.
17315 * stdlib/strfmon_l.c: Likewise.
17316 * sunrpc/openchild.c: Likewise.
17317 * sunrpc/xdr_stdio.c: Likewise.
17318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17319 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17321 2012-05-24 Roland McGrath <roland@hack.frob.com>
17323 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17325 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17326 in the third column, to generate for the shared library an IFUNC
17327 that uses _dl_vdso_vsym.
17328 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17329 * Makeconfig (object-suffixes-noshared): New variable.
17331 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17332 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17333 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17334 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17337 * include/sys/time.h (__gettimeofday): Remove macro.
17338 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17339 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17341 (__gettimeofday): Add libc_hidden_def.
17342 (gettimeofday): Add libc_hidden_weak.
17343 * sysdeps/mach/gettimeofday.c: Likewise.
17344 * sysdeps/posix/gettimeofday.c: Likewise.
17345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17346 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17348 (__gettimeofday_internal): Remove strong_alias.
17349 (__gettimeofday): Add libc_hidden_def.
17350 (gettimeofday): Add libc_hidden_weak.
17351 * sysdeps/unix/syscalls.list (gettimeofday):
17352 Remove __gettimeofday_internal alias.
17354 2012-05-24 Daniel Jacobowitz <drow@false.org>
17355 H.J. Lu <hongjiu.lu@intel.com>
17358 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17359 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17360 (largebin_index_32_big): New.
17361 (largebin_index): Use it for 16-byte alignment.
17362 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17363 correction with front_misalign.
17365 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17393 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17394 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17396 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17400 * math/libm-test.inc (exp_test): Add test from bug 14036.
17401 (pow_test): Add test from bug 10846.
17403 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17405 (special_function): Do not include flags in test name.
17406 (parse_args): Likewise.
17407 * sysdeps/i386/fpu/libm-test-ulps: Update.
17408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17410 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17413 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17415 * math/libm-test.inc ("Philosophy"): Update comment about
17417 (UNDERFLOW_EXCEPTION): New macro.
17418 (UNDERFLOW_EXCEPTION_OK): Likewise.
17419 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17420 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17421 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17422 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17423 (INVALID_EXCEPTION_OK): Update value.
17424 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17425 (OVERFLOW_EXCEPTION_OK): Likewise.
17426 (IGNORE_ZERO_INF_SIGN): Likewise.
17427 (test_exceptions): Handle underflow exceptions.
17428 (acos_test): Update for underflow exception expectations.
17429 (cexp_test): Likewise.
17430 (clog_test): Likewise.
17431 (clog10_test): Likewise.
17432 (csqrt_test): Likewise.
17433 (ctan_test): Likewise.
17434 (ctanh_test): Likewise.
17435 (exp_test): Likewise.
17436 (exp10_test): Likewise.
17437 (exp2_test): Likewise.
17438 (expm1_test): Likewise.
17439 (fma_test): Likewise.
17440 (j0_test): Likewise.
17441 (jn_test): Likewise.
17442 (nexttoward_test): Likewise.
17443 (pow_test): Likewise.
17444 (scalbn_test): Likewise.
17445 (scalbln_test): Likewise.
17446 (tan_test): Likewise.
17447 (y1_test): Likewise.
17448 * sysdeps/i386/fpu/libm-test-ulps: Update.
17449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17451 2012-05-23 David S. Miller <davem@davemloft.net>
17453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17454 (__libc_sigaction): Remove unused local variables.
17456 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17458 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17460 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17462 mktime: avoid signed integer overflow
17463 * time/mktime.c (__mktime_internal): Do not mishandle the case
17464 where diff == INT_MIN.
17466 mktime: simplify computation of average
17467 * time/mktime.c (ranged_convert): Use new time_t_avg function
17468 instead of rolling our own (probably-slower) code.
17470 mktime: do not assume signed right shift propagates sign bit
17471 * time/mktime.c (isdst_differ): New static function.
17472 (__mktime_internal): No need to normalize tm_isdst now.
17473 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17476 mktime: merge another wrapv change from gnulib
17477 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17478 from some compilers.
17480 mktime: remove incorrect attempt at unusual arithmetics
17481 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17482 The code didn't really work on such machines anyway.
17483 (TYPE_MINIMUM): Assume two's complement.
17484 (twos_complement_arithmetic): Verify that long_int and time_t
17485 are two's complement (or unsigned, in the latter case).
17487 mktime: check signed shifts on long_int and time_t, too
17488 * time/mktime.c (SHR): Check that shifts work as desired
17489 on the types long_int and time_t too, as SHR is used on
17492 mktime: do not assume 'long' is wide enough
17493 * time/mktime.c (verify): Move decl up.
17494 (long_int): New type.
17495 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17496 to remove assumption in the code that 'long' is wide enough to
17497 store year values. This assumption is not true on x32 and on
17498 some non-glibc platforms.
17500 mktime: merge wrapv change from gnulib
17501 * time/mktime.c (WRAPV): New macro.
17502 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17503 (guess_time_tm, __mktime_internal): Do not assume that signed
17504 integer overflow wraps around; modern compilers generate code
17505 where this assumption is no longer valid.
17507 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17509 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17510 Replace "jmp L(pseudo_end)" with "ret".
17511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17514 2012-05-23 Andreas Jaeger <aj@suse.de>
17516 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17517 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17519 2012-05-23 Andreas Jaeger <aj@suse.de>
17520 Maximilian Attems <max@stro.at>
17522 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17525 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17528 code so that pseudo_end is just ret and the stack pointer is
17529 correct also for static library in error case.
17531 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17533 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17534 move to syscalls.list.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17540 * manual/install.texi (Running make install): Do not mention Linux
17541 kernel version for which pt_chown is not needed.
17542 (Linux): Do not mention problems with nscd with 2.0 kernels.
17543 * INSTALL: Regenerated.
17545 2012-05-23 Andreas Jaeger <aj@suse.de>
17547 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17548 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17550 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17552 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17554 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17560 * sysdeps/unix/sysv/linux/bits/in.h
17561 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17563 2012-05-22 Roland McGrath <roland@hack.frob.com>
17565 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17566 (PREPARE_VERSION): Just use assert instead, it will be elided
17567 under [NDEBUG] anyway.
17569 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17571 * sysdeps/unix/sysv/linux/Makefile: Include
17572 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17573 (sysdep_routines): Remove sysctl.
17574 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17575 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17577 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17578 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17580 2012-05-22 Andreas Jaeger <aj@suse.de>
17582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17583 that pseudo_end is just ret and the stack pointer is correct also
17584 for static library in error case.
17586 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17589 * nss/nsswitch.c (defconfig_entries): New variable.
17590 (__nss_database_lookup): Don't leak defconfig entries.
17591 (nss_parse_service_list): Don't leak on error paths.
17592 (free_database_entries): New function.
17593 (free_defconfig): New function.
17594 (free_mem): Move common code to free_database_entries.
17596 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17600 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17602 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17603 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17606 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17607 (INTERNAL_SYSCALL_TYPES): Likewise.
17608 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17609 (LOAD_REGS_TYPES_[1-6]): Likewise.
17610 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17611 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17613 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17616 copysignl for GLIBC_2_0.
17617 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17618 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17620 logbl for GLIBC_2_0.
17621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17622 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17624 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17629 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17632 * time/mktime.c: Update copyright years.
17634 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17636 mktime: merge comment-quoting-style change from gnulib
17637 * time/mktime.c: Quote 'like this' in comments.
17638 The GNU coding standards suggest that we no longer quote `like this',
17639 as "`" and "'" are typically rendered asymmetrically nowadays.
17640 The typical gnulib style is to quote 'like this' when quoting
17641 code, and "like this" when quoting English.
17643 * time/mktime.c (compile-command): Add "-I.".
17645 mktime: merge mktime-internal.h change from gnulib
17646 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17648 mktime: merge time_r change from gnulib
17649 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17651 mktime: merge DEBUG change from gnulib
17652 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17653 case system <time.h> has a #define.
17655 mktime: merge <sys/types.h> change from gnulib
17656 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17657 since <time.t> is now guaranteed to define time_t.
17659 mktime: merge HAVE_CONFIG_H change from gnulib
17660 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17662 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17667 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17669 (struct rusage): Use anonymous union to pad each field to
17672 2012-05-21 David S. Miller <davem@davemloft.net>
17674 * Makefules (o-iterator): Remove .s cases.
17675 (compile-command.s): Delete.
17676 (COMPILE.s): Delete.
17677 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17679 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17681 * configure.in (libc_cv_predef_stack_protector): Only consider
17682 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17683 * configure: Regenerated.
17685 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17688 New macro. Use R*LP on int and pointer.
17689 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17690 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17691 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17694 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17695 [__WORDSIZE_TIME64_COMPAT32] instead of
17696 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17697 (struct utmp): Likewise.
17698 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17699 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17701 (__WORDSIZE_TIME64_COMPAT32): This.
17702 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17703 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17704 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17705 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17707 (__WORDSIZE_TIME64_COMPAT32): New macro.
17709 2012-05-21 Andreas Jaeger <aj@suse.de>
17711 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17712 only if [SHARED]. Add prototype for __wcschr_ia32.
17714 2012-05-21 Roland McGrath <roland@hack.frob.com>
17716 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17717 of %rbp unmolested in the jmp_buf while mangling the low bits.
17718 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17719 unmolested high bits of %rbp while demangling the low bits.
17720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17722 2012-05-21 Andreas Jaeger <aj@suse.de>
17724 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17725 * sunrpc/svc_simple.c: Use it for registerrpc.
17726 * sunrpc/xcrypt.c: Use it for passwd2des.
17728 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17730 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17732 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17733 Don't define if [__SYSCALL_WORDSIZE != 32].
17734 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17737 2012-05-21 Bruno Haible <bruno@clisp.org>
17738 Andreas Jaeger <aj@suse.de>
17740 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17741 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17742 inptr and inend for must_buffer_ch.
17743 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17744 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17745 * stdio-common/Makefile (tests): Remove bug15.
17746 (bug15-ENV): Remove macro.
17747 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17750 2012-05-19 Andreas Jaeger <aj@suse.de>
17751 Roland McGrath <roland@hack.frob.com>
17753 * manual/contrib.texi: Completely rewritten. It contains now an
17754 alphabetical list of contributors and their contributions.
17756 2012-05-21 Richard Henderson <rth@twiddle.net>
17758 * misc/getauxval.c (__getauxval): Use unsigned long int.
17759 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17760 (getauxval): Use unsigned long int.
17762 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17764 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17766 2012-05-21 Roland McGrath <roland@hack.frob.com>
17768 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17769 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17770 __alignof__ (long double).
17772 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17776 2012-05-20 Richard Henderson <rth@twiddle.net>
17778 * misc/getauxval.c: New file.
17779 * misc/sys/auxv.h: New file.
17780 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17781 (routines): Add getauxval.
17782 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17784 * elf/dl-sysdep.c (_dl_auxv): Remove.
17785 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17786 * elf/dl-support.c (_dl_auxv): New variable.
17787 (_dl_aux_init): Initialize it.
17788 * manual/startup.texi (Auxiliary Vector): New node.
17789 * sysdeps/generic/bits/hwcap.h: New file.
17790 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17791 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17792 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17793 * sysdeps/sparc/sysdep.h: ... here. Include it.
17794 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17807 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17811 2012-05-19 David S. Miller <davem@davemloft.net>
17813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17815 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17818 * math/s_ccosh.c: Include <float.h>
17819 (__ccosh): Avoid internal overflow calculating sinh and cosh
17820 values before multiplying by sin and cos values.
17821 * math/s_ccoshf.c: Likewise.
17822 * math/s_ccoshl.c: Likewise.
17823 * math/s_csin.c: Likewise.
17824 * math/s_csinf.c: Likewise.
17825 * math/s_csinl.c: Likewise.
17826 * math/s_csinh.c: Likewise.
17827 * math/s_csinhf.c: Likewise.
17828 * math/s_csinhl.c: Likewise.
17829 * math/libm-test.inc (ccos_test): Add more tests.
17830 (ccosh_test): Likewise.
17831 (csin_test): Likewise.
17832 (csinh_test): Likewise.
17833 * sysdeps/i386/fpu/libm-test-ulps: Update.
17834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17836 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17838 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17839 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17841 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17843 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17845 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17846 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17847 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17848 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17849 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17850 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17851 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17852 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17853 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17854 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17855 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17856 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17857 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17858 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17859 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17860 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17861 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17862 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17863 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17864 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17865 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17866 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17867 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17868 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17869 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17870 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17871 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17872 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17873 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17874 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17875 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17877 2012-05-18 Andreas Jaeger <aj@suse.de>
17879 * csu/.gitignore: Delete.
17881 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17884 (timex): Use __syscall_slong_t.
17886 2012-05-18 Andreas Jaeger <aj@suse.de>
17887 Carlos O'Donell <carlos_odonell@mentor.com>
17889 * manual/install.texi (Configuring and compiling): Update
17890 description about files modified in the source directory.
17891 * INSTALL: Regenerated.
17893 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17895 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17896 value. Use "or" to set return value to -1.
17897 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17898 negate return value.
17900 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17902 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17903 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17904 failure if the compiler has Graphite support disabled.
17905 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17907 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17908 CFLAGS-memmove.c): Likewise.
17909 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17912 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17914 * sysdeps/x86_64/x32/_itoa.h: New file.
17916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17917 getdents system call only if kernel and user dirents have the
17918 same d_ino and d_off.
17920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17921 LLONG_MAX != LONG_MAX.
17922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17923 (_fitoa_word): Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17932 include <bits/wordsize.h>. Check __x86_64__ instead of
17934 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17935 if __x86_64__ is defined. Use anonymous union on fpstate.
17937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17940 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17942 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17943 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17944 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17945 Refer to _rtld_local_ro instead of _rtld_global_ro.
17946 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17948 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17950 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17952 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17953 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17954 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17956 * sysdeps/powerpc/powerpc32/dl-machine.c
17957 (__elf_machine_runtime_setup) [PROF]: Don't reference
17960 2012-05-18 Andreas Jaeger <aj@suse.de>
17962 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17963 function only available for GCCs before 3.4 since GCC 3.4
17964 introduced a builtin.
17966 (llrintf): Likewise.
17967 (llrint): Likewise.
17974 (nearbyint): Likewise.
17975 (nearbyintf): Likewise.
17979 (floorf): Likewise.
17981 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17983 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17984 on both fields and cast pointer to __syscall_ulong_t.
17986 * bits/types.h (__fsword_t): New type.
17987 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17988 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17990 (__FSWORD_T_TYPE): Likewise.
17991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17992 (__FSWORD_T_TYPE): Likewise.
17993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17994 (__FSWORD_T_TYPE): Likewise.
17995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17996 (__FSWORD_T_TYPE): Likewise.
17997 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17998 __SWORD_TYPE with __fsword_t.
17999 (statfs64): Likewise.
18001 2012-05-17 David S. Miller <davem@davemloft.net>
18003 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18005 2012-05-17 Andreas Jaeger <aj@suse.de>
18007 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18010 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18012 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18014 2012-05-17 Andreas Jaeger <aj@suse.de>
18016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18019 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18021 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18023 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18025 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18026 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18028 2012-05-17 Andreas Jaeger <aj@suse.de>
18029 Carlos O'Donell <carlos_odonell@mentor.com>
18032 * sysdeps/x86_64/multiarch/init-arch.h
18033 (bit_YMM_Usable): Rename to...
18034 (bit_AVX_Usable): ... this.
18035 (bit_FMA4_Usable): New macro.
18036 (bit_XMM_state): New macro.
18037 (bit_YMM_state): New macro.
18038 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18039 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18040 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18041 (CPUID_OSXSAVE): New macro.
18042 (CPUID_AVX): New macro.
18043 (CPUID_FMA4): New macro.
18044 (index_YMM_Usable): Rename to...
18045 (index_AVX_Usable): ... this.
18046 (HAS_AVX): Use HAS_ARCH_FEATURE.
18047 (HAS_FMA4): Likewise.
18048 (HAS_YMM_USABLE): Remove.
18049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18050 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18052 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18053 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18054 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18055 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18056 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18058 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18060 * math/libm-test.c: Support platforms without multiple rounding modes.
18061 * math/bug-nextafter.c: Support platforms without FP exceptions.
18062 * math/bug-nexttoward.c: Likewise.
18063 * math/test-fenv.c: Likewise.
18064 * math/test-misc.c: Likewise.
18065 * stdlib/bug-getcontext.c: Likewise.
18067 2012-05-17 Andreas Jaeger <aj@suse.de>
18069 * manual/examples/search.c (critter_cmp): Change signature to
18071 * manual/string.texi (Collation Functions): Likewise.
18073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18075 * bits/types.h: Fold copyright years.
18076 * bits/typesizes.h: Likewise.
18077 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18081 * time/time.h: Likewise.
18083 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18086 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18087 in instead of returning them. Return void.
18088 (__libc_mallinfo): Accumulate over all arenas.
18089 (__malloc_stats): Adjust for change in int_mallinfo interface.
18091 2012-05-16 Roland McGrath <roland@hack.frob.com>
18094 * configure.in (NM): Add AC_CHECK_TOOL for it.
18095 (libc_extra_cflags): New substituted variable.
18096 Check for -fstack-protector being used implicitly.
18097 * configure: Regenerated.
18098 * config.make.in (config-extra-cflags): New variable,
18099 gets @libc_extra_cflags@.
18100 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18103 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18104 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18105 * configure: Regenerated.
18106 * config.make.in (CPPUNDEFS): New substituted variable.
18107 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18108 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18109 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18111 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18113 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18114 (mq_attr): Use __syscall_slong_t.
18116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18119 Check __x86_64__ instead of __WORDSIZE.
18120 (_STAT_VER_LINUX): Likewise.
18121 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18122 __syscall_ulong_t and __syscall_slong_t.
18123 (stat64): Likewise.
18125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18131 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18135 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18138 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18139 include <bits/wordsize.h>. Check __x86_64__ instead of
18141 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18143 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18146 include <bits/wordsize.h>. Check __x86_64__ instead of
18148 (user_regs_struct): Use "__extension__ unsigned long long"
18149 instead of "unsigned long" if __x86_64__ is defined.
18150 (user): Likewise. Pad after pointer field if __ILP32__ is
18153 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18155 * configure.in (makeinfo): Require version 4.5 or later. Allow
18157 * configure: Regenerated.
18158 * manual/install.texi (texinfo): Increase version requirement to
18160 * INSTALL: Regenerated.
18162 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18166 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18168 * sysdeps/x86_64/x32/ffs.c: New file.
18170 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18172 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18173 defined. Use __syscall_ulong_t.
18174 (shminfo): Use __syscall_ulong_t.
18175 (shm_info): Likewise.
18177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18180 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18182 (msgqnum_t): Use __syscall_ulong_t.
18183 (msglen_t): Likewise.
18184 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18187 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18188 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18190 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18192 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18193 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18195 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18199 include <bits/wordsize.h>. Check __x86_64__ instead of
18202 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18203 "unsigned long long int" if __x86_64__ is defined.
18204 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18207 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18208 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18212 (GET_PC): Cast to uintptr_t first.
18213 (GET_FRAME): Likewise.
18214 (GET_STACK): Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18217 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18219 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18221 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18222 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18223 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18224 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18227 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18233 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18241 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18244 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18246 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18248 * Makerules (+depfiles): Also collect depfiles from .oS in
18250 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18251 .oS, $(libnldbl-routines)).
18253 * Makerules (native-compile-mkdep-flags): Define.
18254 * sunrpc/Makefile (extra-objs): Add $(addprefix
18255 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18256 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18257 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18258 calling $(make-target-directory).
18260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18262 * bits/types.h (__snseconds_t): Removed.
18263 * time/time.h (struct timespec): Replace __snseconds_t with
18265 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18266 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18269 (__SNSECONDS_T_TYPE): Likewise.
18270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18271 (__SNSECONDS_T_TYPE): Likewise.
18272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18273 (__SNSECONDS_T_TYPE): Likewise.
18275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18277 * sysdeps/mach/hurd/bits/typesizes.h
18278 (__SYSCALL_SLONG_TYPE): New macro.
18279 (__SYSCALL_ULONG_TYPE): Likewise.
18281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18283 * bits/types.h (__syscall_slong_t): New type.
18284 (__syscall_ulong_t): Likewise.
18286 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18287 (__SYSCALL_ULONG_TYPE): Likewise.
18288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18289 (__SYSCALL_SLONG_TYPE): Likewise.
18290 (__SYSCALL_ULONG_TYPE): Likewise.
18291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18292 (__SYSCALL_SLONG_TYPE): Likewise.
18293 (__SYSCALL_ULONG_TYPE): Likewise.
18294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18295 (__SYSCALL_SLONG_TYPE): Likewise.
18296 (__SYSCALL_ULONG_TYPE): Likewise.
18298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18300 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18301 Add sigaltstack-offsets.sym.
18302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18303 <sigaltstack-offsets.h>.
18304 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18305 longjmp_msg pointer.
18306 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18307 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18309 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18311 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18313 * elf/stackguard-macros.h: Remove file.
18314 * sysdeps/generic/stackguard-macros.h: New file.
18315 * sysdeps/i386/stackguard-macros.h: Likewise.
18316 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18317 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18318 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18319 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18320 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18321 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18322 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18323 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18324 <elf/stackguard-macros.h>.
18327 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18328 __aligned__ in attribute.
18329 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18330 (gregset_t): Likewise.
18332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18334 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18335 * sysdeps/x86_64/64/Implies-after: Here. New file.
18336 * sysdeps/x86_64/x32/Implies-after: New file.
18338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18340 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18341 and access return value for _dl_profile_fixup. Use R10_LP to
18344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18346 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18350 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18351 * sysdeps/x86_64/x32/sysdep.h: New file.
18353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18355 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18356 * sysdeps/x86_64/setjmp.S: Likewise.
18358 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18362 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18364 remove unused global constant.
18366 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18368 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18369 include of <not-cancel.h>.
18371 2012-05-15 Roland McGrath <roland@hack.frob.com>
18373 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18375 2012-05-15 Jeff Law <law@redhat.com>
18376 Andreas Jaeger <aj@suse.de>
18379 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18381 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18382 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18383 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18384 code changing __hst_map_handle.map.
18386 2012-05-15 Roland McGrath <roland@hack.frob.com>
18388 * configure.in (sysnames): Look for Implies-before and Implies-after
18390 * configure: Regenerated.
18392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18394 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18395 8-byte data alignment with LP_SIZE alignment.
18397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18399 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18404 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18410 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18416 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18417 (stackinfo_sub_sp): Likewise.
18419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18436 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18441 into R11_LP and load __x86_64_shared_cache_size_half into
18444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18449 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18458 powerpc32/power7/fpu/s_logb.c via #include.
18459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18460 powerpc32/power7/fpu/s_logbf.c via #include.
18461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18462 powerpc32/power7/fpu/s_logbl.c via #include.
18464 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18466 * README.libm: Remove file.
18468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18470 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18471 count for x32. Use R*_LP and omit operand-size suffix.
18473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18475 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18476 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18477 * sysdeps/x86_64/x32/shlib-versions: New file.
18479 2012-05-14 Roland McGrath <roland@hack.frob.com>
18481 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18482 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18483 Use _dl_fatal_printf instead.
18485 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18487 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18488 set if not set by the user. Do not allow for being unset.
18489 * sysdeps/unix/sysv/linux/configure: Regenerated.
18491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18494 the `q' suffix from lea and replace .quad with ASM_ADDR.
18496 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18499 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18501 (PTR_DEMANGLE): Likewise.
18503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18505 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18507 (ASM_ADDR): Likewise.
18508 (RAX_LP): Likewise.
18509 (RBP_LP): Likewise.
18510 (RBX_LP): Likewise.
18511 (RCX_LP): Likewise.
18512 (RDI_LP): Likewise.
18513 (RSI_LP): Likewise.
18514 (RSP_LP): Likewise.
18517 (R10_LP): Likewise.
18518 (R10_LP): Likewise.
18519 (R11_LP): Likewise.
18520 (R12_LP): Likewise.
18521 (R13_LP): Likewise.
18522 (R14_LP): Likewise.
18523 (R15_LP): Likewise.
18525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18527 * sysdeps/x86_64/x32/dl-machine.h: New file.
18529 2012-05-14 Andreas Jaeger <aj@suse.de>
18531 * manual/Makefile (subdir): Remove export of subdir.
18532 (all): Remove target.
18533 (.PHONY): Remove all from list.
18534 (mkinstalldirs): Remove.
18535 (.PHONY): Remove installdirs from list.
18536 ($(inst_infodir)/libc.info): Use make-target-directory.
18537 (installdirs): Remove.
18538 (subdir_%): Remove.
18539 (glibc-targets): Remove.
18542 ($(objpfx)stubs ../po/manual.pot): Remove.
18543 ($(objpfx)stamp%): Remove.
18544 (make-target-directory): Remove.
18545 (subdir_install): Remove.
18546 (routines): Remove.
18553 * manual/.gitignore: Remove, it's not needed anymore.
18554 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18556 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18558 (texis): Renamed to $(objpfx)texis.
18559 (texis-path): New, contains path to generated files.
18560 (chapters.%): Use texis-path for complete path, add extra argument
18562 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18563 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18564 (summary,texi, stamp-summary): Use complete path of
18565 files. Generate files in build dir.
18566 (dir-add.texi): Build in build dir.
18567 (libm-err.texi,stamp-libm-err): Likewise.
18568 (version.texi, stamp-version): Likewise.
18569 (.%c.texi): Likewise.
18570 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18571 (mostlyclean): Remove target.
18572 (realclean): Remove target.
18573 (generated): Add new variable with contents from mostlyclean and
18574 realclean, remove entries duplicated in common-mostlyclean, add
18575 stamp-libm-err and stamp-version.
18576 (generated-dirs): Add libc directory.
18577 ($(inst_infodir)/libc.info): Install files from build dir.
18579 * manual/install.texi (Configuring and compiling): Adjust since
18580 the info files are not part of the tar ball anymore.
18582 2012-05-14 Andreas Jaeger <aj@suse.de>
18584 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18587 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18591 to 2.2.0 where earlier.
18592 * sysdeps/unix/sysv/linux/configure: Regenerated.
18593 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18594 Remove conditional code.
18595 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18596 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18597 Remove conditional code.
18598 [!__NR_lchown]: Likewise.
18599 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18600 [__NR_lchown]: Likewise.
18601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18602 comment referencing __ASSUME_LCHOWN_SYSCALL.
18603 * sysdeps/unix/sysv/linux/i386/sigaction.c
18604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18606 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18607 Remove conditional code.
18608 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18609 (__protocol_available): Remove #if 0 code.
18610 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18612 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18613 * sysdeps/unix/sysv/linux/kernel-features.h
18614 (__ASSUME_GETCWD_SYSCALL): Don't define.
18615 (__ASSUME_REALTIME_SIGNALS): Likewise.
18616 (__ASSUME_PREAD_SYSCALL): Likewise.
18617 (__ASSUME_PWRITE_SYSCALL): Likewise.
18618 (__ASSUME_POLL_SYSCALL): Likewise.
18619 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18620 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18622 (__ASSUME_SIOCGIFNAME): Don't define.
18623 (__ASSUME_MSG_NOSIGNAL): Likewise.
18624 (__ASSUME_SENDFILE): Define unconditionally.
18625 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18626 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18628 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18629 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18631 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18632 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18633 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18634 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18659 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18660 Remove conditional code.
18661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18662 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18663 Remove conditional code.
18664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18665 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18666 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18667 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18668 Remove conditional code.
18669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18670 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18671 Remove conditional code.
18672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18673 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18674 Remove conditional code.
18675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18676 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18677 Remove conditional code.
18678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18679 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18680 Remove conditional code.
18681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18682 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18685 * sysdeps/unix/sysv/linux/sigaction.c
18686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18688 * sysdeps/unix/sysv/linux/sigpending.c
18689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18691 * sysdeps/unix/sysv/linux/sigprocmask.c
18692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18694 * sysdeps/unix/sysv/linux/sigsuspend.c
18695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18698 (__libc_missing_rt_sigs): Remove.
18699 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18700 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18701 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18702 Remove conditional code.
18703 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18704 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18707 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18708 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18709 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18711 2012-05-14 Andreas Jaeger <aj@suse.de>
18713 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18714 it's not used in glibc.
18715 (__coshm1): Likewise.
18716 (__acosh1p): Likewise.
18719 * manual/string.texi (Copying and Concatenation): Add missing
18720 variable in concat example.
18721 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18723 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18727 __builtin_clzl with __builtin_clzll.
18729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18732 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18735 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18737 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18738 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18739 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18740 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18742 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18744 * NEWS: Update ia64 info.
18746 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18748 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18751 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18753 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18754 * sysdeps/unix/syscalls.list (dup3): Likewise.
18755 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18756 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18758 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18760 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18761 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18763 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18765 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18767 (TLS_IE): Use mov/add instead of movq/addq to load thread
18769 (TLS_GD_PREFIX): New.
18772 2012-05-11 David S. Miller <davem@davemloft.net>
18774 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18775 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18776 (_FPU_SETCW): Likewise.
18778 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18780 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18781 is 32-byte aligned.
18783 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18786 * iconvdata/gb18030.c: Update tables.
18787 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18788 characters specially.
18789 (BODY for TO_LOOP): Add encoding of missing ranges.
18791 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18794 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18795 * sysdeps/mach/hurd/dup3.c: Likewise.
18796 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18797 * sysdeps/powerpc/memmove.c:: Likewise.
18799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18801 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18802 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18804 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18806 * elf/elf.h (R_X86_64_RELATIVE64): New.
18807 (R_X86_64_NUM): Updated.
18808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18809 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18810 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18811 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18812 tst-quad1pie tst-quad2pie
18813 (modules-names): Add tst-quadmod1 tst-quadmod2.
18814 ($(objpfx)tst-quad1): New dependency.
18815 ($(objpfx)tst-quad2): Likewise.
18816 ($(objpfx)tst-quad1pie): Likewise.
18817 ($(objpfx)tst-quad2pie): Likewise.
18818 * sysdeps/x86_64/tst-quad1.c: New file.
18819 * sysdeps/x86_64/tst-quad1pie.c: New file.
18820 * sysdeps/x86_64/tst-quad2.c: Likewise.
18821 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18822 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18823 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18824 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18825 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18829 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18830 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18831 * streams/stropts.h (t_scalar_t): Define type.
18833 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18834 (_PATH_PRESERVE): Set to "/var/lib".
18835 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18837 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18840 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18841 if __dir_mkfile succeeded.
18843 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18844 checking for _hurd_dtablesize. Unlock it right after having
18845 finished _hurd_dtable allocation.
18847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18849 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18850 * sysdeps/mach/hurd/configure: Regenerated.
18851 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18852 special-casing to...
18853 * sysdeps/gnu/configure.in: ... this new file.
18854 * sysdeps/unix/sysv/linux/configure: Regenerated.
18855 * sysdeps/gnu/configure: New generated file.
18857 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18858 for Linux: use nsec instead of usec, as well as:
18859 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18860 members of type struct timespec.
18861 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18863 (struct stat64): Likewise.
18864 (_STATBUF_ST_NSEC): New macro.
18865 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18867 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18868 __strtoul_internal rather than strtoul.
18870 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18872 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18877 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18878 which preserves existing values.
18879 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18881 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18883 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18884 TIMEOUT values. Return EINVAL for NFDS values either negative or
18885 greater than FD_SETSIZE.
18887 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18889 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18890 allocated, call __vm_protect to finish enabling the existing space, and
18891 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18892 allocate the remainder.
18894 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18896 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18897 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18901 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18902 sysdeps/mach/hurd/readlink.c.
18904 * posix/tst-sysconf.c (posix_options): Only use
18905 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18906 _POSIX_SYNCHRONIZED_IO when they are defined
18907 * sysdeps/mach/hurd/bits/posix_opt.h:
18908 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18909 (_XOPEN_REALTIME): Undefine macro.
18910 (_XOPEN_REALTIME_THREADS): Undefine macro.
18911 (_XOPEN_SHM): Undefine macro.
18912 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18914 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18916 (_POSIX_ASYNC_IO): Undefine macro.
18917 (_POSIX_PRIORITIZED_IO): Undefine macro.
18918 (_POSIX_SPIN_LOCKS): Define macro to -1.
18920 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18921 SA_NODEFER, SA_RESETHAND.
18922 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18923 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18926 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18928 * elf/Makefile (pldd-modules): Define unconditionally.
18930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18932 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18936 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18937 Return ENOENT when name is empty.
18938 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18942 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18944 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18948 Fix mlock in all cases except non-readable pages.
18949 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18950 instead of VM_PROT_ALL as parameter to __vm_wire function.
18952 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18953 (__mkdir): When path is `/', just fail with EEXIST.
18954 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18958 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18959 <sys/uio.h> (for writev).
18960 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18961 and <sys/param.h> (for MIN).
18963 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18965 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18966 REQUESTED_TIME. Properly set the remaining time and return EINTR
18969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18971 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18972 Depend on against $(link-rpcuserlibs).
18974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18976 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18977 (__libc_stack_end): Do not use attribute_relro.
18978 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18979 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18980 to libthread-provided value.
18981 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18987 * bits/libc-lock.h (__libc_once_get): New macro.
18988 * sysdeps/mach/bits/libc-lock.h: Likewise.
18989 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18991 instead of using implementation details.
18993 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18994 * libio/freopen.c: Likewise.
18995 * libio/freopen64.c: Likewise.
18996 * misc/syslog.c: Likewise.
18997 * nscd/connections.c: Likewise.
18998 * nscd/netgroupcache.c: Likewise.
18999 * sysdeps/posix/getcwd.c: Likewise.
19001 2012-05-10 Roland McGrath <roland@hack.frob.com>
19003 * math/w_ilogbf.c: Add #include <limits.h>.
19005 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19007 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19008 path instead of returning without unlocking.
19010 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19011 immediate-write ioctls.
19012 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19016 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19017 __builtin_frame_address instead of making assumptions about the
19018 location of the return address relative to DATA. Force early load of
19019 the return address.
19020 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19021 __builtin_frame_address.
19024 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19025 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19026 implement dup3 and do some further code clean-ups.
19027 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19028 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19032 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19034 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19035 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19036 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19037 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19038 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19041 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19042 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19043 when handler == SIG_ERR, not when handler != SIG_ERR.
19045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19047 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19048 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19051 accept4 for GNU Hurd.
19052 * include/sys/socket.h (__libc_accept4): New prototype.
19053 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19054 to implement __libc_accept4.
19055 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19057 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19059 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19060 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19061 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19062 signal-defines.sym.
19064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19066 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19068 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19070 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19071 assertion on O_CLOEXEC flag.
19072 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19073 * hurd/intern-fd.c: Likewise.
19074 * hurd/port2fd.c: Likewise.
19076 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19079 * bits/in.h (IPV6_PKTINFO): Define new macro.
19080 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19082 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19087 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19089 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19090 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19093 * math/libm-test.inc (logb_test) : Additional logb tests.
19095 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19096 Andreas Jaeger <aj@suse.de>
19098 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19099 * configure: Regenerated.
19100 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19101 * config.make.in (link-obsolete-rpc): New substituted variable.
19102 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19103 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19104 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19105 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19106 so that libc.a contains the symbols.
19107 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19108 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19109 * sunrpc/auth_none.c: Likewise.
19110 * sunrpc/auth_unix.c: Likewise.
19111 * sunrpc/authdes_prot.c: Likewise.
19112 * sunrpc/authuxprot.c: Likewise.
19113 * sunrpc/clnt_gen.c: Likewise.
19114 * sunrpc/clnt_perr.c: Likewise.
19115 * sunrpc/clnt_raw.c: Likewise.
19116 * sunrpc/clnt_simp.c: Likewise.
19117 * sunrpc/clnt_tcp.c: Likewise.
19118 * sunrpc/clnt_udp.c: Likewise.
19119 * sunrpc/clnt_unix.c: Likewise.
19120 * sunrpc/des_crypt.c: Likewise.
19121 * sunrpc/des_soft.c: Likewise.
19122 * sunrpc/get_myaddr.c: Likewise.
19123 * sunrpc/key_call.c: Likewise.
19124 * sunrpc/key_prot.c: Likewise.
19125 * sunrpc/netname.c: Likewise.
19126 * sunrpc/pm_getmaps.c: Likewise.
19127 * sunrpc/pm_getport.c: Likewise.
19128 * sunrpc/pmap_clnt.c: Likewise.
19129 * sunrpc/pmap_prot.c: Likewise.
19130 * sunrpc/pmap_prot2.c: Likewise.
19131 * sunrpc/pmap_rmt.c: Likewise.
19132 * sunrpc/publickey.c: Likewise.
19133 * sunrpc/rpc_cmsg.c: Likewise.
19134 * sunrpc/rpc_common.c: Likewise.
19135 * sunrpc/rpc_dtable.c: Likewise.
19136 * sunrpc/rpc_prot.c: Likewise.
19137 * sunrpc/rpc_thread.c: Likewise.
19138 * sunrpc/rtime.c: Likewise.
19139 * sunrpc/svc.c: Likewise.
19140 * sunrpc/svc_auth.c: Likewise.
19141 * sunrpc/svc_raw.c: Likewise.
19142 * sunrpc/svc_run.c: Likewise.
19143 * sunrpc/svc_tcp.c: Likewise.
19144 * sunrpc/svc_udp.c: Likewise.
19145 * sunrpc/svc_unix.c: Likewise.
19146 * sunrpc/svcauth_des.c: Likewise.
19147 * sunrpc/xcrypt.c: Likewise.
19148 * sunrpc/xdr.c: Likewise.
19149 * sunrpc/xdr_array.c: Likewise.
19150 * sunrpc/xdr_float.c: Likewise.
19151 * sunrpc/xdr_intXX_t.c: Likewise.
19152 * sunrpc/xdr_mem.c: Likewise.
19153 * sunrpc/xdr_rec.c: Likewise.
19154 * sunrpc/xdr_ref.c: Likewise.
19155 * sunrpc/xdr_sizeof.c: Likewise.
19156 * sunrpc/xdr_stdio.c: Likewise.
19158 2012-05-10 Roland McGrath <roland@hack.frob.com>
19160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19161 change. Update copyright years.
19163 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19165 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19167 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19168 Joseph Myers <joseph@codesourcery.com>
19169 Paul Pluzhnikov <ppluzhnikov@google.com>
19172 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19174 [cross-compiling] (extra-libs): Likewise.
19175 [cross-compiling] (extra-libs-others): Likewise.
19176 [cross-compiling] (librpcsvc-routines): Likewise.
19177 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19178 [cross-compiling] (omit-deps): Likewise.
19179 (sunrpc-CPPFLAGS): New variable.
19180 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19181 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19182 (cross-rpcgen-objs): New variable.
19183 (extra-objs): Append $(cross-rpcgen-objs).
19184 ($(cross-rpcgen-objs)): New rule.
19185 ($(objpfx)cross-rpcgen): Likewise.
19186 (rpcgen-cmd): Define to use $(built-program-file). Expand
19188 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19189 ($(objpfx)x%.stmp): Likewise.
19190 * sunrpc/proto.h [IS_IN_build] (_): Define.
19191 [IS_IN_build] (_libc_intl_domainname): Likewise.
19193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19196 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19197 and R_X86_64_TPOFF64.
19199 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19201 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19202 sysdeps/unix/sysv/syscalls.list.
19205 * sysdeps/unix/sysv/syscalls.list: Remove file.
19207 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19210 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19211 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19212 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19213 (__LC_IDENTIFICATION): Make these macros useful in #if
19214 expressions, as required by C99.
19216 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19218 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19219 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19222 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19224 * stdlib/longlong.h: Updated from GCC.
19226 2012-05-09 Andreas Jaeger <aj@suse.de>
19228 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19229 default is first entry.
19230 (run_mode): Set type.
19231 (main): Remove informal message about syslog.
19232 (options): Fix typo.
19235 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19238 (llrintf): Likewise.
19239 (llrint): Likewise.
19242 (nearbyint): Likewise.
19243 (nearbyintf): Likewise.
19245 2012-05-09 Andreas Jaeger <aj@suse.de>
19246 Pedro Alves <palves@redhat.com>
19248 * nscd/nscd.c (run_mode): Use enum.
19249 (main): Cleanup coding style issue.
19251 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19252 Andreas Jaeger <aj@suse.de>
19254 * nscd/nscd.c (go_background): Replaced with...
19255 (run_mode): ... this.
19256 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19257 (options): Add -F --foreground.
19258 (main): Implement it.
19259 (parse_opt): Parse it.
19261 2012-05-09 Andreas Jaeger <aj@suse.de>
19264 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19265 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19266 -Wconversion warning.
19267 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19270 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19272 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19274 (LC_ALL): Use macro-int-constant.
19275 (LC_COLLATE): Likewise.
19276 (LC_CTYPE): Likewise.
19277 (LC_MESSAGES): Likewise.
19278 (LC_MONETARY): Likewise.
19279 (LC_NUMERIC): Likewise.
19280 (LC_TIME): Likewise.
19281 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19282 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19284 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19286 [C99-based standards] (float_t): Expect type.
19287 [C99-based standards] (double_t): Expect type.
19288 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19290 [C99-based standards] (HUGE_VALL): Likewise.
19291 [C99-based standards] (INFINITY): Likewise.
19292 [C99-based standards] (NAN): Likewise.
19293 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19294 [C99-based standards] (FP_NAN): Likewise.
19295 [C99-based standards] (FP_NORMAL): Likewise.
19296 [C99-based standards] (FP_SUBNORMAL): Likewise.
19297 [C99-based standards] (FP_ZERO): Likewise.
19298 [C99-based standards] (FP_FAST_FMA): Use
19299 optional-macro-int-constant. Specify type. Require == 1.
19300 [C99-based standards] (FP_FAST_FMAF): Likewise.
19301 [C99-based standards] (FP_FAST_FMAL): Likewise.
19302 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19303 [C99-based standards] (FP_ILOGBNAN): Likewise.
19304 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19306 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19307 [C99-based standards] (math_errhandling): Specify type.
19308 [ISO99 || ISO11] (signgam): Do not allow.
19309 [non-C99-based standards] (copysignf): Do not allow.
19310 [non-C99-based standards] (exp2f): Likewise.
19311 [non-C99-based standards] (log2f): Likewise.
19312 [non-C99-based standards] (modff): Allow.
19313 [non-C99-based standards] (erff): Do not allow.
19314 [non-C99-based standards] (erfcf): Likewise.
19315 [non-C99-based standards] (gammaf): Likewise.
19316 [non-C99-based standards] (hypotf): Likewise.
19317 [non-C99-based standards] (j0f): Likewise.
19318 [non-C99-based standards] (j1f): Likewise.
19319 [non-C99-based standards] (jnf): Likewise.
19320 [non-C99-based standards] (lgammaf): Likewise.
19321 [non-C99-based standards] (tgammaf): Likewise.
19322 [non-C99-based standards] (y0f): Likewise.
19323 [non-C99-based standards] (y1f): Likewise.
19324 [non-C99-based standards] (ynf): Likewise.
19325 [non-C99-based standards] (isnanf): Likewise.
19326 [non-C99-based standards] (acoshf): Likewise.
19327 [non-C99-based standards] (asinhf): Likewise.
19328 [non-C99-based standards] (atanhf): Likewise.
19329 [non-C99-based standards] (cbrtf): Likewise.
19330 [non-C99-based standards] (expm1f): Likewise.
19331 [non-C99-based standards] (ilogbf): Likewise.
19332 [non-C99-based standards] (log1pf): Likewise.
19333 [non-C99-based standards] (logbf): Likewise.
19334 [non-C99-based standards] (nextafterf): Likewise.
19335 [non-C99-based standards] (remainderf): Likewise.
19336 [non-C99-based standards] (rintf): Likewise.
19337 [non-C99-based standards] (scalbf): Likewise.
19338 [non-C99-based standards] (copysignl): Likewise.
19339 [non-C99-based standards] (exp2l): Likewise.
19340 [non-C99-based standards] (log2l): Likewise.
19341 [non-C99-based standards] (modfl): Allow.
19342 [non-C99-based standards] (erfl): Do not allow.
19343 [non-C99-based standards] (erfcl): Likewise.
19344 [non-C99-based standards] (gammal): Likewise.
19345 [non-C99-based standards] (hypotl): Likewise.
19346 [non-C99-based standards] (j0l): Likewise.
19347 [non-C99-based standards] (j1l): Likewise.
19348 [non-C99-based standards] (jnl): Likewise.
19349 [non-C99-based standards] (lgammal): Likewise.
19350 [non-C99-based standards] (tgammal): Likewise.
19351 [non-C99-based standards] (y0l): Likewise.
19352 [non-C99-based standards] (y1l): Likewise.
19353 [non-C99-based standards] (ynl): Likewise.
19354 [non-C99-based standards] (isnanl): Likewise.
19355 [non-C99-based standards] (acoshl): Likewise.
19356 [non-C99-based standards] (asinhl): Likewise.
19357 [non-C99-based standards] (atanhl): Likewise.
19358 [non-C99-based standards] (cbrtl): Likewise.
19359 [non-C99-based standards] (expm1l): Likewise.
19360 [non-C99-based standards] (ilogbl): Likewise.
19361 [non-C99-based standards] (log1pl): Likewise.
19362 [non-C99-based standards] (logbl): Likewise.
19363 [non-C99-based standards] (nextafterl): Likewise.
19364 [non-C99-based standards] (remainderl): Likewise.
19365 [non-C99-based standards] (rintl): Likewise.
19366 [non-C99-based standards] (scalbl): Likewise.
19367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19368 [non-C99-based standards] (FP_*): Do not allow.
19369 [C99-based standards] (FP_*): Change to
19370 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19371 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19373 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19374 (SIG_ERR): Likewise.
19375 [X/Open-based standards] (SIG_HOLD): Likewise.
19376 (SIG_IGN): Likewise.
19377 (SIGABRT): Use macro-int-constant. Specify type. Require
19379 (SIGFPE): Likewise.
19380 (SIGILL): Likewise.
19381 (SIGINT): Likewise.
19382 (SIGSEGV): Likewise.
19383 (SIGTER): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19402 [X/Open-based standards] (SIGTRAP): Likewise.
19403 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19407 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19410 2012-05-08 Ian Wienand <ianw@vmware.com>
19413 * time/tzset.c (__tzset_parse_tz): Update default rules for
19414 daylight time changes in the Energy Policy Act of 2005.
19416 2012-05-09 Andreas Jaeger <aj@suse.de>
19419 * elf/ldconfig.c (parse_conf): Change string to make clear that
19420 ldconfig only issued a warning if ld.so.conf does not exist.
19422 2012-05-08 David S. Miller <davem@davemloft.net>
19424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19425 movxtod instead of popping the value on the stack.
19427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19429 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19431 * config.h.in: Add HAVE_ARM_PCS_VFP.
19433 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19436 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19437 checking but the checks are disabled for any reason.
19439 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19441 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19442 and ELF64_R_TYPE with ELFW(R_TYPE).
19444 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19446 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19447 (ulimit): Likewise.
19449 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19450 (settimeofday): Likewise.
19452 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19454 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19455 a struct th_u2 inside the union, and move tu_block/tu_code into
19456 a new th_u3 union of tu_block/tu_code inside of that. Move
19457 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19458 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19459 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19460 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19461 (th_stuff): Change to th_u1.tu_stuff.
19463 (th_msg): Change to th_u1.th_u2.tu_data.
19465 2012-05-07 David S. Miller <davem@davemloft.net>
19467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19470 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19471 (SETUP_PIC_REG): Use it.
19472 (SETUP_PIC_REG_LEAF): Use it.
19474 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19480 (EXPL_FINITE): Likewise.
19481 (FLDLOG): Likewise.
19482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19483 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19487 (EXPL_FINITE): Likewise.
19488 (FLDLOG): Likewise.
19489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19490 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19492 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19493 test of -max_value argument for long double.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19497 2012-05-06 David S. Miller <davem@davemloft.net>
19499 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19500 quad soft-float symbols whose references which are compiler
19502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19504 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19510 (EXPL_FINITE): Likewise.
19511 (FLDLOG): Likewise.
19514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19515 Adjust comments for base varying.
19516 (__expl_finite): Change alias to EXPL_FINITE.
19517 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19519 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19520 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19522 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19525 (EXPL_FINITE): Likewise.
19526 (FLDLOG): Likewise.
19529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19530 Adjust comments for base varying.
19531 (__expl_finite): Change alias to EXPL_FINITE.
19532 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19537 * math/libm-test.inc (check_float_internal): Correct ulp
19538 calculation for subnormal expected results.
19540 2012-05-06 Andreas Jaeger <aj@suse.de>
19542 * Makeconfig (+math-flags): New, set to -frounding-math.
19543 (+cflags): Add +math-flags so that all of glibc gets compiled with
19546 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19548 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19550 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19556 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19557 (__ieee754_expl): Allow for and saturate large arguments.
19558 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19559 (u_threshold): Likewise.
19560 (__exp): Call __ieee754_exp before checking for overflow and
19562 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19563 (u_threshold): Likewise.
19564 (__expf): Call __ieee754_expf before checking for overflow and
19566 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19567 (u_threshold): Likewise.
19568 (__expl): Call __ieee754_expl before checking for overflow and
19570 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19571 (__ieee754_expl): Allow for and saturate large arguments.
19572 * math/libm-test.inc (exp_test): Add another test. Do not allow
19573 missing overflow exception on overflow.
19574 (expm1_test): Do not allow missing overflow exception on overflow.
19576 * sysdeps/i386/fpu/e_expl.c: Move to ...
19577 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19578 rather than using inline asm.
19579 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19580 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19581 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19583 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19586 (signal): Likewise.
19590 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19592 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19593 sysdeps/unix/common/syscalls.list.
19594 (fchmod): Likewise.
19595 (fchown): Likewise.
19596 (ftruncate): Likewise.
19597 (getrusage): Likewise.
19598 (gettimeofday): Likewise.
19599 (setpgid): Likewise.
19600 (setregid): Likewise.
19601 (setreuid): Likewise.
19602 (sigaction): Likewise.
19603 (truncate): Likewise.
19604 (vhangup): Likewise.
19605 * sysdeps/unix/common/syscalls.list: Remove file.
19606 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19607 * sysdeps/unix/sysv/linux/Implies: Likewise.
19609 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19611 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19613 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19617 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19620 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19623 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19626 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19629 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19632 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19639 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19643 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19650 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19654 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19656 * sysdeps/unix/common/bits/dirent.h: Remove file.
19657 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19659 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19660 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19661 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19662 * sysdeps/unix/bsd/isatty.c: Likewise.
19663 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19664 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19665 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19667 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19671 long double comparison inaccuracies.
19672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19675 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19677 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19680 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19684 nonzero digits before rounding a hex value.
19685 * stdlib/tst-strtod.c (tests): Add another test.
19687 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19689 * sysdeps/s390/fpu/libm-test-ulps: Update.
19691 2012-05-03 Andreas Jaeger <aj@suse.de>
19693 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19694 does not get optimized out.
19695 (malloc_opt_barrier): New.
19697 2012-05-03 Andreas Jaeger <aj@suse.de>
19698 Roland McGrath <roland@hack.frob.com>
19700 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19701 intermediate file deletion.
19702 (generated): Add .symlist files.
19704 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19707 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19708 Redirect under this condition.
19709 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19710 [__USE_GNU] (__dprintf_chk): Not under this condition.
19711 [__USE_GNU] (__vdprintf_chk): Likewise.
19712 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19713 under this condition.
19714 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19715 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19716 [__USE_XOPEN2K8] (vdprintf): Likewise.
19717 [__USE_GNU] (__dprintf_chk): Not under this condition.
19718 [__USE_GNU] (__vdprintf_chk): Likewise.
19719 [__USE_GNU] (dprintf): Likewise.
19720 [__USE_GNU] (vdprintf): Likewise.
19722 2012-05-03 Roland McGrath <roland@hack.frob.com>
19724 * elf/Makefile (common-generated): Set this instead of generated for
19725 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19726 $(all-built-dso)-derived lists.
19728 2012-05-03 Andreas Jaeger <aj@suse.de>
19730 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * FAQ.in: Likewise.
19734 * scripts/gen-FAQ.pl: Likewise.
19735 * manual/install.texi (Installation): Point to online location of
19737 * Makefile (files-for-dist): Remove FAQ.
19740 2012-05-02 Allan McRae <allan@archlinux.org>
19742 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19743 (LDFLAGS-reldepmod5.so): Likewise.
19744 (LDFLAGS-reldep6mod1.so): Likewise.
19745 (LDFLAGS-reldep6mod4.so): Likewise.
19746 (LDFLAGS-reldep8mod3.so): Likewise.
19747 (LDFLAGS-unload4mod1.so): Likewise.
19748 (LDFLAGS-unload4mod2.so): Likewise.
19749 (LDFLAGS-tst-initorder): Likewise.
19750 (LDFLAGS-tst-initordera2.so): Likewise.
19751 (LDFLAGS-tst-initordera3.so): Likewise.
19752 (LDFLAGS-tst-initordera4.so): Likewise.
19753 (LDFLAGS-tst-initorderb2.so): Likewise.
19754 (LDFLAGS-noload): Likewise.
19755 (LDFLAGS-next): Likewise.
19756 (LDFLAGS-order2mod1.so): Likewise.
19757 (LDFLAGS-order2mod2.so): Likewise.
19758 (LDFLAGS-tst-initorder2): Likewise.
19759 (LDFLAGS-tst-initorder2a.so): Likewise.
19760 (LDFLAGS-tst-initorder2b.so): Likewise.
19761 (LDFLAGS-tst-initorder2c.so): Likewise.
19762 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19764 2012-05-02 David S. Miller <davem@davemloft.net>
19766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19768 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19771 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19773 2012-05-02 Andreas Jaeger <aj@suse.de>
19775 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19776 since we manipulate rounding mode.
19777 (CPPFLAGS-test-idouble.c): Likewise.
19778 (CPPFLAGS-test-ifloat.c): Likewise.
19779 (CFLAGS-test-ldouble.c): Likewise.
19780 (CFLAGS-test-double.c): Likewise.
19781 (CFLAGS-test-float.c): Likewise.
19782 (CFLAGS-test-misc.c): Likewise.
19783 (CFLAGS-test-test-fenv.c): Likewise.
19785 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19790 comparisons to determine direction to adjust input.
19792 2012-05-01 Roland McGrath <roland@hack.frob.com>
19794 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19795 output to the target.
19797 * scripts/localplt.awk: New file.
19798 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19799 (check-localplt-CFLAGS): Variable removed.
19800 ($(all-built-dso:=.jmprel)): New static pattern rule.
19801 (generated): Add those targets.
19802 (localplt-built-dso): New variable.
19803 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19805 * elf/check-localplt.c: File removed.
19807 * scripts/check-execstack.awk: New file.
19808 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19809 (check-execstack-CFLAGS): Variable removed.
19810 ($(objpfx)check-execstack.h): Target removed.
19811 ($(objpfx)execstack-default): New target.
19812 (generated): Add that instead of check-execstack.h.
19813 ($(all-built-dso:=.phdr)): New static pattern rule.
19814 (generated): Add those targets.
19815 * elf/check-execstack.c: File removed.
19817 * scripts/check-textrel.awk: New file.
19818 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19819 (check-textrel-CFLAGS): Variable removed.
19820 (all-built-dso): Use := to define.o
19821 ($(all-built-dso:=.dyn)): New static pattern rule.
19822 (generated): Add those targets.
19823 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19824 * config.make.in (READELF): New substituted variable.
19825 * elf/check-textrel.c: File removed.
19827 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19829 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19831 * conform/data/ctype.h-data [C99-based standards] (isblank):
19833 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19834 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19836 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19837 Specify type. Require positive value.
19838 (EILSEQ): Likewise.
19839 (ERANGE): Likewise.
19840 [ISO || POSIX] (EILSEQ): Do not expect.
19841 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19842 Specify type. Require positive value.
19843 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19844 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19845 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19846 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19847 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19848 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19849 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19850 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19851 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19852 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19853 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19854 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19855 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19856 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19857 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19858 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19859 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19860 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19861 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19862 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19863 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19864 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19865 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19866 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19867 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19868 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19869 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19870 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19871 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19872 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19873 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19874 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19875 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19876 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19877 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19878 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19879 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19880 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19881 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19882 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19883 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19884 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19885 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19886 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19887 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19888 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19889 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19890 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19891 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19892 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19893 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19894 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19895 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19896 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19897 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19898 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19899 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19900 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19901 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19902 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19903 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19904 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19905 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19906 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19907 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19908 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19909 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19910 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19911 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19912 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19913 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19914 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19915 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19916 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19917 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19918 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19919 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19921 (FLT_ROUNDS): Expect as macro, not constant.
19922 (FLT_MANT_DIG): Use macro-int-constant.
19923 (DBL_MANT_DIG): Likewise.
19924 (LDBL_MANT_DIG): Likewise.
19925 (FLT_DIG): Likewise.
19926 (DBL_DIG): Likewise.
19927 (LDBL_DIG): Likewise.
19928 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19929 (DBL_MIN_EXP): Likewise.
19930 (LDBL_MIN_EXP): Likewise.
19931 (FLT_MAX_EXP): Use macro-int-constant.
19932 (DBL_MAX_EXP): Likewise.
19933 (LDBL_MAX_EXP): Likewise.
19934 (FLT_MAX_10_EXP): Likewise.
19935 (DBL_MAX_10_EXP): Likewise.
19936 (LDBL_MAX_10_EXP): Likewise.
19937 (FLT_MAX): Use macro-constant.
19938 (DBL_MAX): Likewise.
19939 (LDBL_MAX): Likewise.
19940 (FLT_EPSILON): Use macro-constant. Give upper bound.
19941 (DBL_EPSILON): Likewise.
19942 (LDBL_EPSILON): Likewise.
19943 (FLT_MIN): Likewise.
19944 (DBL_MIN): Likewise.
19945 (LDBL_MIN): Likewise.
19946 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19947 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19948 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19949 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19950 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19951 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19952 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19953 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19954 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19955 [ISO11] (FLT_TRUE_MIN): Likewise.
19956 [ISO11] (LDBL_TRUE_MIN): Likewise.
19957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19958 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19959 (SCHAR_MIN): Use macro-int-constant. Specify type.
19960 (SCHAR_MAX): Likewise.
19961 (UCHAR_MAX): Likewise.
19962 (CHAR_MIN): Likewise.
19963 (CHAR_MAX): Likewise.
19964 (MB_LEN_MAX): Use macro-int-constant.
19965 (SHRT_MIN): Use macro-int-constant. Specify type.
19966 (SHRT_MAX): Likewise.
19967 (USHRT_MAX): Likewise.
19968 (INT_MAX): Likewise.
19969 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19971 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19973 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19975 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19976 bound negative. Suffix upper bound with "L".
19977 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19979 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19981 [C99-based standards] (LLONG_MAX): Likewise.
19982 [C99-based standards] (ULLONG_MAX): Likewise.
19983 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19985 [ISO11] (max_align_t): Require type.
19986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19988 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19989 from $CFLAGS, without defining away __attribute__ calls.
19990 (checknamespace): Use $CFLAGS_namespace.
19992 * conform/conformtest.pl (@keywords): Only include C99 keywords
19993 for standards based on C99 or C11.
19995 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19997 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20000 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20001 usability of symbols in #if.
20003 * conform/conformtest.pl: If macro or constant types start
20004 "promoted:", expect the symbol to be of the following type
20005 promoted by the integer promotions.
20007 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20008 in one place. Also handle "macro-constant".
20010 * conform/conformtest.pl: Only accept expected macro values with
20011 "==". Parse all "macro" lines in one place.
20012 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20014 * conform/conformtest.pl: Handle braced types on "constant" lines
20015 instead of handling "typed-constant".
20016 * conform/data/signal.h-data: Use "constant" instead of
20019 * conform/conformtest.pl: Handle "optional-" at start of lines in
20020 one place rather than duplicating several cases. Handle each
20021 format of "macro" line with initial "optional-".
20023 * conform/conformtest.pl: Only accept expected constant or
20024 optional-constant values with "==". Parse all "constant" lines in
20025 one place. Parse all "optional-constant" lines in one place.
20026 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20027 * conform/data/fmtmsg.h-data: Likewise.
20028 * conform/data/netinet/in.h-data: Likewise.
20029 * conform/data/tar.h-data: Likewise.
20030 * conform/data/limits.h-data: Use "==" form on "constant" and
20031 "optional-constant" lines.
20033 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20034 Use -std=c99 for XOPEN2K.
20035 (@knownproblems): Remove.
20036 (newtoken): Don't check %isknown.
20038 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20039 Do not expect macro.
20040 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20047 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20048 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20052 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20053 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20065 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20066 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20067 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20068 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20069 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20070 [XPG3] (acosh): Likewise.
20071 [XPG3] (asinh): Likewise.
20072 [XPG3] (atanh): Likewise.
20073 [XPG3] (cbrt): Likewise.
20074 [XPG3] (expm1): Likewise.
20075 [XPG3] (ilogb): Likewise.
20076 [XPG3] (log1p): Likewise.
20077 [XPG3] (logb): Likewise.
20078 [XPG3] (nextafter): Likewise.
20079 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20080 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20081 [XPG3] (remainder): Likewise.
20082 [XPG3] (rint): Likewise.
20083 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20084 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20085 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20086 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20087 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20088 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20089 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20090 [UNIX98 || XOPEN2K] (scalb): Expect.
20091 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20092 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20093 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20094 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20095 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20096 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20097 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20098 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20099 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20100 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20101 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20102 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20103 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20104 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20105 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20106 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20107 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20108 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20109 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20110 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20111 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20112 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20113 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20114 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20115 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20116 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20117 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20118 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20119 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20120 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20121 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20122 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20123 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20124 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20125 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20126 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20127 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20128 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20129 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20130 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20131 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20132 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20133 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20134 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20135 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20136 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20137 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20138 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20139 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20140 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20141 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20142 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20143 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20144 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20145 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20146 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20147 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20148 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20149 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20150 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20151 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20152 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20153 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20154 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20155 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20156 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20157 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20158 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20159 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20160 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20161 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20162 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20163 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20164 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20165 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20166 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20167 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20168 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20169 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20170 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20171 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20172 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20173 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20174 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20175 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20176 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20177 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20178 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20179 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20180 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20181 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20182 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20183 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20184 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20185 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20186 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20187 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20188 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20189 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20191 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20192 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20193 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20194 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20195 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20196 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20197 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20198 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20200 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20201 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20202 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20203 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20204 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20205 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20206 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20207 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20208 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20209 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20210 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20211 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20212 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20213 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20214 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20215 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20216 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20217 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20218 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20219 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20220 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20221 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20222 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20223 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20224 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20225 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20226 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20227 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20229 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20230 _XOPEN_SOURCE_EXTENDED for XPG4.
20232 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20234 * Makeconfig (localtime): Remove variable.
20235 (inst_localtime-file): Likewise.
20237 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20258 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20262 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20263 comparisons to determine direction to adjust input.
20264 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20265 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20275 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20277 * math/libm-test.inc (nexttoward_test): Add more tests.
20279 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20283 in version GLIBC_2.1, not GLIBC_2.0.
20284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20287 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20292 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20293 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20294 * math/libm-test.inc (acos_test): Add more tests.
20295 (asin_test): Likewise.
20296 * sysdeps/i386/fpu/libm-test-ulps: Update.
20297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20302 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20304 * math/libm-test.inc (acos_test_tonearest): New function.
20305 (acos_test_towardzero): Likewise.
20306 (acos_test_downward): Likewise.
20307 (acos_test_upward): Likewise.
20308 (asin_test_tonearest): Likewise.
20309 (asin_test_towardzero): Likewise.
20310 (asin_test_downward): Likewise.
20311 (asin_test_upward): Likewise.
20312 (main): Call the new functions.
20313 * sysdeps/i386/fpu/libm-test-ulps: Update.
20314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20318 * math/e_exp10.c: Include <float.h>.
20319 (__ieee754_exp10): Handle underflow here rather than multiplying
20320 large negative argument by M_LN10.
20321 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20323 * math/e_exp10l.c: Include <float.h>.
20324 (__ieee754_exp10l): Handle underflow here rather than multiplying
20325 large negative argument by M_LN10l.
20326 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20327 spurious overflow exception on underflow.
20329 2012-04-29 Marek Polacek <polacek@redhat.com>
20331 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20332 (__fortify_function): New macro.
20333 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20334 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20335 __extern_always_inline.
20336 * libio/bits/stdio2.h: Likewise.
20337 * libio/bits/stdio.h: Likewise.
20338 * string/string.h: Likewise.
20339 * string/bits/string3.h: Likewise.
20340 * include/stdio.h: Likewise.
20341 * stdlib/bits/stdlib.h: Likewise.
20342 * stdlib/stdlib.h: Likewise.
20343 * rt/bits/mqueue2.h: Likewise.
20344 * rt/mqueue.h: Likewise.
20345 * posix/bits/unistd.h: Likewise.
20346 * posix/unistd.h: Likewise.
20347 * io/bits/poll2.h: Likewise.
20348 * io/bits/fcntl2.h: Likewise.
20349 * io/fcntl.h: Likewise.
20350 * io/sys/poll.h: Likewise.
20351 * misc/bits/syslog.h: Likewise.
20352 * misc/bits/syslog-ldbl.h: Likewise.
20353 * misc/sys/syslog.h: Likewise.
20354 * socket/bits/socket2.h: Likewise.
20355 * socket/sys/socket.h: Likewise.
20356 * debug/tst-chk1.c: Likewise.
20357 * wcsmbs/bits/wchar2.h: Likewise.
20358 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20359 * wcsmbs/wchar.h: Likewise.
20361 2012-04-29 Andreas Jaeger <aj@suse.de>
20363 * Makerules (tests): Remove enable-check-abi protection.
20364 (check-abi-warn): Remove.
20365 (check-abi-%): Remove check-abi-warn usage.
20367 * configure.in: Remove check-abi configure option.
20368 * configure: Regenerated.
20369 * config.make.in (enable-check-abi): Remove.
20371 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20374 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20375 double functions to double *_finite functions.
20378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20379 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20381 * stdio-common/Makefile (tests): Add tst-sprintf3.
20382 * stdio-common/tst-sprintf3.c: New file.
20384 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20385 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20387 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20389 * conform/conformtest.pl: Remove duplicate typed-constant
20392 2012-04-28 David S. Miller <davem@davemloft.net>
20394 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20395 (check-abi-%): Remove AWK script prerequisite and explicit
20397 (check-abi): Rewrite to just diff the symlist with the abilist.
20398 (config-tls, config-abi-config): Delete, no longer used.
20399 (update-abi-%): Remove AWK script and explicit abilist directory.
20400 (update-abi): Rewrite to simply compare and conditionally copy the
20401 symlist and the sysdep abilist file. Remove update-abi-config
20403 * abilist/ld.abilist: Remove.
20404 * abilist/libBrokenLocale.abilist: Remove.
20405 * abilist/libanl.abilist: Remove.
20406 * abilist/libcrypt.abilist: Remove.
20407 * abilist/libdl.abilist: Remove.
20408 * abilist/librt.abilist: Remove.
20409 * abilist/libthread_db.abilist: Remove.
20410 * abilist/libutil.abilist: Remove.
20411 * scripts/extract-abilist.awk: Remove.
20412 * scripts/merge-abilist.awk: Remove.
20413 * sysdeps/generic/libcidn.abilist: New file.
20414 * sysdeps/generic/libnss_compat.abilist: New file.
20415 * sysdeps/generic/libnss_db.abilist: New file.
20416 * sysdeps/generic/libnss_dns.abilist: New file.
20417 * sysdeps/generic/libnss_files.abilist: New file.
20418 * sysdeps/generic/libnss_hesiod.abilist: New file.
20419 * sysdeps/generic/libnss_nis.abilist: New file.
20420 * sysdeps/generic/libnss_nisplus.abilist: New file.
20421 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20422 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20423 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20426 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20427 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20428 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20429 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20430 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20431 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20432 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20433 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20435 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20436 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20437 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20438 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20440 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20441 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20444 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20447 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20448 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20449 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20451 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20554 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20555 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20556 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20559 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20560 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20561 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20562 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20563 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20564 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20565 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20566 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20567 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20619 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20621 * conform/conformtest.pl: Fix typo in handling typed-constant from
20624 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20626 * README: Cut down references to pre-2.6 Linux kernels and
20627 Linuxthreads. Update lists of configurations in libc and ports
20628 and sort alphabetically. Say "or newer" with Linux kernel version
20631 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20633 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20636 * math/libm-test.inc (logb_test_downward): New test to expose
20637 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20640 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20643 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20645 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20646 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20648 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20650 * sysdeps/unix/i386/brk.S: Remove file.
20651 * sysdeps/unix/i386/dl-brk.S: Likewise.
20652 * sysdeps/unix/i386/pipe.S: Likewise.
20653 * sysdeps/unix/i386/sigreturn.S: Likewise.
20654 * sysdeps/unix/i386/syscall.S: Likewise.
20655 * sysdeps/unix/i386/vfork.S: Likewise.
20656 * sysdeps/unix/i386/wait.S: Likewise.
20658 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20659 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20661 * configure.in (arm*-none*): Do not allow without
20662 --enable-hacker-mode.
20663 (netbsd*): Remove case setting base_os.
20664 (386bsd*): Likewise.
20665 (freebsd*): Likewise.
20668 (sunos*): Likewise.
20669 (ultrix*): Likewise.
20670 (newsos*): Likewise.
20671 (dynix*): Likewise.
20677 (minix*): Likewise.
20678 (irix4*): Likewise.
20679 (irix6*): Likewise.
20680 (solaris[2-9]*): Likewise.
20682 * configure: Regenerated.
20684 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20687 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20688 overflow or cancellation in calculating denominator.
20689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20691 down expression to avoid unexpected rounding in newer GCCs.
20692 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20694 2012-04-26 David S. Miller <davem@davemloft.net>
20696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20697 long-double compat symbols.
20698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20712 2012-04-25 David S. Miller <davem@davemloft.net>
20714 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20715 HWCAP_* values only after the memory barriers have been defined.
20716 (atomic_full_barrier): Define.
20717 (atomic_read_barrier): Define.
20718 (atomic_write_barrier): Define.
20720 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20722 * shlib-versions: Add libgcc_s version information.
20723 * sysdeps/generic/libgcc_s.h: Remove.
20724 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20726 * sysdeps/gnu/unwind-resume.c: Likewise.
20727 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20729 2012-04-25 David S. Miller <davem@davemloft.net>
20731 * sysdeps/unix/sparc/brk.S: Delete.
20732 * sysdeps/unix/sparc/dl-brk.S: Delete.
20733 * sysdeps/unix/sparc/pipe.S: Delete.
20734 * sysdeps/unix/sparc/sysdep.S: Delete.
20735 * sysdeps/unix/sparc/sysdep.h: Delete.
20736 * sysdeps/unix/sparc/vfork.S: Delete.
20737 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20738 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20740 ret_ERRVAL, r0, r1, MOVE): Define.
20741 (JUMPTARGET): Remove.
20742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20743 sysdeps/unix/sparc/sysdep.h
20744 (ENTRY, END): Remove.
20745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20747 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20749 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20750 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20753 * timezone/README: Update upstream location and email address for
20755 * timezone/zdump.c: Update from tzcode 2012b.
20756 * timezone/zic.c: Likewise.
20758 * configure.in (libc_cv_as_needed): Remove test.
20759 * configure: Regenerated.
20760 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20761 conditional definition.
20762 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20763 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20764 * config.make.in (have-as-needed): Remove variable.
20766 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20767 Paul Pluzhnikov <ppluzhnikov@google.com>
20769 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20772 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20774 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20775 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20776 * sysdeps/sh/strlen.S: Likewise.
20778 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20780 * sysdeps/unix/fork.S: Remove file.
20781 * sysdeps/unix/i386/fork.S: Likewise.
20782 * sysdeps/unix/sparc/fork.S: Likewise.
20784 * sysdeps/unix/system.c: Remove file.
20785 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20787 * sysdeps/unix/getegid.S: Remove file.
20788 * sysdeps/unix/geteuid.S: Likewise.
20790 2012-04-24 Roland McGrath <roland@hack.frob.com>
20792 * scripts/check-localplt.awk: New file.
20793 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20795 * scripts/data/localplt-generic.data: Add a comment.
20797 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20798 NODE when __dir_mkfile failed.
20799 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20800 Reported by Ludovic Courtès <ludo@gnu.org>.
20802 2012-04-24 Andreas Jaeger <aj@suse.de>
20804 * Makerules (common-clean): Also remove gen-as-const-headers
20807 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20809 * Makerules (native-compile): Do not change working directory for
20810 build. Use $(OUTPUT_OPTION) in command.
20811 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20813 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20816 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20817 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20818 * math/libm-test.inc (floor_test): Add more tests.
20819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/unix/getdents.c: Remove file.
20824 * sysdeps/unix/sysv/getdents.c: Likewise.
20825 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20827 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20828 sysdeps/unix/mman/syscalls.list.
20830 (mprotect): Likewise.
20832 (munmap): Likewise.
20833 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20834 * sysdeps/unix/mman/syscalls.list: Remove.
20835 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20837 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20838 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20839 * configure: Regenerated.
20840 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20841 $(libgcc_s_suffix).
20842 * config.make.in (libgcc_s_suffix): Remove variable.
20844 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20846 * sysdeps/unix/sysv/gethostname.c: Move to ...
20847 * sysdeps/posix/gethostname.c: ... here.
20849 * sysdeps/unix/execve.S: Remove file.
20851 * sysdeps/unix/_exit.S: Remove file.
20853 2012-04-23 Andreas Jaeger <aj@suse.de>
20856 * manual/Makefile: Remove make dist support, there's no
20857 need for a stand-alone documentation tar ball.
20858 (TEXI2DVI): Define always, it's not in Makeconfig.
20861 (edition): Removed.
20862 (glibc-doc-$(edition).tar): Removed
20866 (ETAGS): Remove, it's in Makeconfig.
20867 (move-if-change): Remove, it's in Makeconfig.
20869 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20872 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20873 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20874 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20875 (strtod_l, strtof_l, strtold_l): Remove __wur.
20876 It is not necessarily an error to ignore strtol's return value.
20877 One can reliably look at the stored endptr to decide whether
20878 the number had valid syntax.
20880 2012-04-21 Andreas Jaeger <aj@suse.de>
20883 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20885 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20888 * sysdeps/unix/sysv/Versions: Remove file.
20890 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20895 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20899 version from __vm86.
20901 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20903 * sysdeps/unix/common/lxstat.c: Remove file.
20904 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20906 * sysdeps/unix/sysv/Makefile: Remove file.
20908 * sysdeps/unix/sysv/direct.h: Remove file.
20910 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20911 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20912 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20913 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20914 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20915 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20916 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20918 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20920 * sysdeps/unix/xmknod.c: Remove file.
20921 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20923 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20925 * sysdeps/unix/sysv/i386/time.S: Remove file.
20927 * sysdeps/unix/fxstat.c: Remove file.
20928 * sysdeps/unix/xstat.c: Likewise.
20929 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20931 * sysdeps/unix/sysv/sigaction.c: Remove file.
20933 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20934 (sysdep_headers): Remove variable.
20935 [termio.h not in sysdep_headers] (generated): Likewise.
20936 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20937 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20938 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20939 * sysdeps/unix/sysv/tcflow.c: Likewise.
20940 * sysdeps/unix/sysv/tcflush.c: Likewise.
20941 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20942 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20943 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20944 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20945 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20947 * sysdeps/unix/siglist.c: Remove file.
20949 * sysdeps/unix/getppid.S: Remove file.
20951 * sysdeps/unix/mkdir.c: Remove file.
20952 * sysdeps/unix/rmdir.c: Likewise.
20954 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20956 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20959 errlist-compat value.
20961 2012-04-18 David S. Miller <davem@davemloft.net>
20963 * sysdeps/generic/memcopy.h (reg_char): Delete.
20964 * debug/strcat_chk.c: Use char, not reg_char.
20965 * debug/strcpy_chk.c: Likewise.
20966 * debug/strncat_chk.c: Likewise.
20967 * debug/strncpy_chk.c: Likewise.
20968 * string/memchr.c: Likewise.
20969 * string/memrchr.c: Likewise.
20970 * string/rawmemchr.c: Likewise.
20971 * string/strcat.c: Likewise.
20972 * string/strchr.c: Likewise.
20973 * string/strchrnul.c: Likewise.
20974 * string/strcmp.c: Likewise.
20975 * string/strcpy.c: Likewise.
20976 * string/strncat.c: Likewise.
20977 * string/strncmp.c: Likewise.
20978 * string/strncpy.c: Likewise.
20980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20982 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20983 __builtin_memcopy is called when src and dest ranges are known to not
20986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20988 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20989 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20990 fwd_align_merge macro call.
20991 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20992 bwd_align_merge macro call.
20993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20998 bwd_align_merge macros.
20999 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21000 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21003 2012-04-18 David S. Miller <davem@davemloft.net>
21005 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21007 2012-04-18 Andreas Jaeger <aj@suse.de>
21010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21011 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21015 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21018 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21019 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21020 Adjust for changed ldbl-128 files.
21022 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21023 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21026 2012-04-17 David S. Miller <davem@davemloft.net>
21028 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21030 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21032 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21033 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21034 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21035 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21036 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21037 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21039 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21043 * math/libm-test.inc: Add ilogb errno and exception tests.
21044 * math/w_ilogb.c: New file: ilogb wrapper.
21045 * math/w_ilogbf.c: New file: ilogbf wrapper.
21046 * math/w_ilogbl.c: New file: ilogbl wrapper.
21047 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21048 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21049 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21050 exception being thrown with 0.0 as argument.
21051 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21052 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21053 exception being thrown with 0.0 as argument.
21054 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21055 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21056 exception being thrown with 0.0 as argument.
21057 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21058 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21059 exception being thrown with 0.0 as argument.
21060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21061 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21062 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21063 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21065 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21066 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21067 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21068 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21070 2012-04-17 Petr Baudis <pasky@ucw.cz>
21072 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21075 2012-04-16 Marek Polacek <polacek@redhat.com>
21077 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21079 2012-04-16 Marek Polacek <polacek@redhat.com>
21081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21082 operands of fdivp instruction.
21084 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21086 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21087 * elf/tst-auditmod3b.c: Likewise.
21088 * elf/tst-auditmod4b.c: Likewise.
21089 * elf/tst-auditmod5b.c: Likewise.
21090 * elf/tst-auditmod6b.c: Likewise.
21091 * elf/tst-auditmod6c.c: Likewise.
21092 * elf/tst-auditmod7b.c: Likewise.
21093 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21094 * sysdeps/x86_64/preconfigure.in: Likewise.
21095 * sysdeps/x86_64/preconfigure: Regenerated.
21097 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21102 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21105 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21107 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21110 * locale/iso-639.def: Fix gl language name. Spotted by
21113 2012-04-12 Roland McGrath <roland@hack.frob.com>
21116 * libio/libio.h (__io_write_fn): Update comment.
21118 2012-04-12 Petr Baudis <pasky@ucw.cz>
21121 * stdio.texi (Hook Functions): The user provided writer function
21122 is not allowed to return -1.
21124 2012-04-11 David S. Miller <davem@davemloft.net>
21126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21128 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21130 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21131 Add a leading slash to rtkaio.
21133 2012-04-11 Jim Meyering <meyering@redhat.com>
21136 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21137 It is not necessarily an error to ignore fwrite's return
21138 value. One can reliably use ferror to test for errors after
21141 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21143 * bits/types.h (__snseconds_t): New type.
21144 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21146 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21148 (__SNSECONDS_T_TYPE): Likewise.
21149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21150 (__SNSECONDS_T_TYPE): Likewise.
21151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21152 (__SNSECONDS_T_TYPE): Likewise.
21154 2012-04-10 Andreas Jaeger <aj@suse.de>
21157 * manual/time.texi (Processor Time): Return type of times is
21158 elapsed real time since an arbitrary point in the past.
21159 (CPU Time): Move CLK_TCK from here...
21160 (Processor Time): ...to here. Correct description.
21161 * manual/conf.texi (Constants for Sysconf): Correct description of
21164 2012-04-10 David S. Miller <davem@davemloft.net>
21167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21168 where the is a gap between DT_REL(A) and DT_JMPREL.
21170 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21172 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21173 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21174 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21176 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21178 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21179 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21180 (dl_main): Handle --inhibit-cache.
21181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21183 * elf/dl-load.c (_dl_map_object): Use it.
21184 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21186 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21190 (__ieee754_powl): Saturate large exponents rather than testing for
21191 overflow of y*log2(x).
21192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21193 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21197 * math/s_ctan.c: Include <float.h>.
21198 (__ctan): Avoid internal overflow or cancellation in calculating
21200 * math/s_ctanf.c: Likewise.
21201 * math/s_ctanl.c: Likewise.
21202 * math/s_ctanh.c: Likewise.
21203 * math/s_ctanhf.c: Likewise.
21204 * math/s_ctanhl.c: Likewise.
21205 * math/libm-test.inc (ctan_test): Add more tests.
21206 (ctanh_test): Likewise.
21207 * sysdeps/i386/fpu/libm-test-ulps: Update.
21208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21210 2012-04-09 Andreas Jaeger <aj@suse.de>
21213 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21214 is an optional BSD extension.
21217 * manual/stdio.texi (Opening Streams): Document additional fopen
21220 2012-04-09 Roland McGrath <roland@hack.frob.com>
21222 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21223 %eax without telling the compiler.
21225 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21228 * manual/install.texi: Use sourceware.org.
21230 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21233 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21234 (__ieee754_pow): Generate overflow and underflow using huge*huge
21235 and tiny*tiny rather than just returning constant infinity or zero
21236 for large exponents.
21237 * math/libm-test.inc (pow_test): Require overflow exceptions for
21238 applicable cases of large exponents.
21241 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21242 (__ieee754_pow): Use iterative multiplication algorithm only for
21243 integer exponents with absolute value below 1024. Check for odd
21244 integer exponents when using algorithm for real exponents.
21245 * math/libm-test.inc (pow_test): Add more tests.
21246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21248 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21251 * math/libm-test.inc (exp_test): Do not allow overflow exception
21254 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21257 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21258 instead of __kernel_standard_f.
21260 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21262 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21263 * sysdeps/x86_64/memset_chk.S: Likewise.
21265 2012-04-08 Andreas Jaeger <aj@suse.de>
21268 * manual/startup.texi (Environment Access): Describe return value
21269 for putenv and setenv.
21272 * manual/filesys.texi (Directory Entries): Add description for
21276 * manual/filesys.texi (Directory Entries): Clarify that it's file
21277 system not operating system in the description of DT_UNKNOWN.
21280 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21282 2012-04-08 Stephen Compall <s11@member.fsf.org>
21285 * manual/llio.texi (Opening and Closing Files): Add cross
21286 reference to explain mode argument.
21288 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21290 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21291 * sysdeps/x86_64/memset_chk.S: Likewise.
21293 2012-04-07 David S. Miller <davem@davemloft.net>
21295 * elf/elf.h (R_SPARC_WDISP10): Define.
21296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21299 R_SPARC_SIZE64 and R_SPARC_H34.
21301 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21304 conditions and remove no longer applicable assertion.
21306 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21308 * bits/byteswap.h: Include <features.h>.
21309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21314 * bits/byteswap.h (__bswap_16): Removed.
21315 Include <bits/byteswap-16.h> to get __bswap_16.
21316 * sysdeps/i386/bits/byteswap.h: Likewise.
21317 * sysdeps/s390/bits/byteswap.h: Likewise.
21318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21319 * bits/byteswap-16.h: New file.
21320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21321 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21322 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21323 * string/Makefile (headers): Add bits/byteswap-16.h.
21325 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21328 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21330 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21331 * nss/tst-nss-static.c: New.
21333 2012-04-06 Robert Millan <rmh@gnu.org>
21336 * manual/llio.texi (File Position Primitive): lseek
21337 refers to WHENCE when it really means OFFSET.
21339 2012-04-06 Andreas Jaeger <aj@suse.de>
21341 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21342 strncmp declarations.
21344 * abilist/libc.abilist: Add __poll and __ppoll.
21346 2012-04-05 David S. Miller <davem@davemloft.net>
21348 * scripts/check-local-headers.sh: Accept a host triplet in the
21349 path matched by the exclude regexp.
21351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21353 * sysdeps/powerpc/powerpc32/dl-machine.h
21354 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21355 * sysdeps/s390/s390-32/dl-machine.h
21356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21357 * sysdeps/sparc/sparc32/dl-machine.h
21358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21359 * sysdeps/sparc/sparc64/dl-machine.h
21360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21362 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21364 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21365 undefined symbol errors.
21367 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21370 2012-04-05 Michael Matz <matz@suse.de>
21373 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21375 2012-04-05 Andreas Jaeger <aj@suse.de>
21378 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21384 which ROUND is no valid rounding mode.
21386 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21390 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21395 an exception using FPU order intentionally.
21397 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21399 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21400 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21401 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21402 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21404 2012-04-05 Simon Josefsson <simon@josefsson.org>
21407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21408 EINVAL when BUFLEN is too smal.
21410 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21413 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21414 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21416 2012-04-03 Andreas Jaeger <aj@suse.de>
21419 * manual/setjmp.texi (System V contexts): Fix sentence.
21422 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21423 New macro for this case.
21424 [!__GNUC__] (__bswap_64): New inline function for this case.
21425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21426 * bits/byteswap.h: Likewise.
21427 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21428 ull, guard with __GLIBC_HAVE_LONG_LONG.
21430 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21431 __GLIBC_HAVE_LONG_LONG.
21433 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21434 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21436 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21439 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21440 inptr and inend, rather than using last_ch.
21442 2012-04-02 David S. Miller <davem@davemloft.net>
21444 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21445 * stdio-common/printf-parse.h (read_int): Change return type to
21446 'int', return -1 on INT_MAX overflow.
21447 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21448 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21449 overflows INT_MAX. Check for overflow of in-format-string precision
21450 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21451 SIZE_MAX not INT_MAX for integer overflow test.
21452 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21453 skip the construct in the format string but do not record anything.
21454 * stdio-common/bug22.c: Adjust to test both width/prevision
21455 INT_MAX overflow as well as total length INT_MAX overflow. Check
21456 explicitly for proper errno values.
21458 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21460 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21462 * string/test-strcmp.c [! WIDE]: Likewise.
21463 * time/tst-mktime2.c: Likewise for INT_MAX.
21464 * string/test-string.h: #include <sys/param.h> for MIN.
21466 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21467 * sysdeps/i386/init-first.c (init): Likewise.
21468 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21469 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21470 * sysdeps/sh/init-first.c (init): Likewise.
21472 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21474 * po/ru.po: Update from translation team.
21475 * po/vi.po: Likewise.
21477 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21479 * resolv/nss_dns/dns-host.c: Merge copyright years.
21481 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21484 Optimize memcpy with prefetch if
21485 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21486 src, dst pointers have unequal 16 byte alignments.
21488 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21492 from a CNAME entry and return the minimum ttl for the query.
21493 (gaih_getanswer_slice): Likewise.
21495 2012-03-30 Jeff Law <law@redhat.com>
21497 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21499 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21500 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21502 * resolv/nss_dns/dns-host.c: Update copyright year.
21504 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21506 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21507 requests to save a system call. Fix check that all bytes are sent.
21509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21510 comments for sendmmsg.
21512 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21516 with only 1 character between 0x0041 and 0x01b0.
21517 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21518 * wcsmbs/tst-mbsnrtowcs.c: New file.
21520 2012-03-29 David S. Miller <davem@davemloft.net>
21522 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21523 small copies by hand.
21525 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21528 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21529 _nss_compat_initgroups_dyn): Fall back to malloc/free
21530 for large group memberships.
21532 2012-03-28 David S. Miller <davem@davemloft.net>
21534 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21535 that branches into memcpy.
21536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21539 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21542 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21543 implementation too.
21544 * sysdeps/sparc/mempcpy.S: New file.
21546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21547 the IFUNC routine in the libc case.
21548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21550 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21551 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21552 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21553 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21554 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21555 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21556 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21557 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21559 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21560 loop to 256 bytes instead of 64 bytes and fix test signedness.
21562 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21563 * sysdeps/sparc/sparc32/Makefile: rather than here...
21564 * sysdeps/sparc/sparc64/Makefile: and here.
21566 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21568 * malloc/mallocbug.c: Avoid warnings about unused variables.
21570 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21573 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21574 in the right place. Discard and retry query if response is
21575 larger than input buffer size.
21577 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21583 x for large integer exponent.
21584 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21585 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21586 sign of result as needed afterwards.
21587 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21588 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21589 result for underflowing pow the same as for overflow.
21590 (__kernel_standard_l): Handle powl overflow and underflow here
21591 rather than calling __kernel_standard.
21592 * math/libm-test.inc (pow_test): Add more tests.
21607 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21608 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21609 (__kernel_standard_l): New function.
21610 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21612 * math/w_acosl.c (__acosl): Likewise.
21613 * math/w_asinl.c (__asinl): Likewise.
21614 * math/w_atan2l.c (__atan2l): Likewise.
21615 * math/w_atanhl.c (__atanhl): Likewise.
21616 * math/w_coshl.c (__coshl): Likewise.
21617 * math/w_exp10l.c (__exp10l): Likewise.
21618 * math/w_exp2l.c (__exp2l): Likewise.
21619 * math/w_fmodl.c (__fmodl): Likewise.
21620 * math/w_hypotl.c (__hypotl): Likewise.
21621 * math/w_j0l.c (__j0l, __y0l): Likewise.
21622 * math/w_j1l.c (__j1l, __y1l): Likewise.
21623 * math/w_jnl.c (__jnl, __ynl): Likewise.
21624 * math/w_lgammal.c (__lgammal): Likewise.
21625 * math/w_log10l.c (__log10l): Likewise.
21626 * math/w_log2l.c (__log2l): Likewise.
21627 * math/w_logl.c (__logl): Likewise.
21628 * math/w_powl.c (__powl): Likewise.
21629 * math/w_remainderl.c (__remainderl): Likewise.
21630 * math/w_scalbl.c (sysv_scalbl): Likewise.
21631 * math/w_sinhl.c (__sinhl): Likewise.
21632 * math/w_sqrtl.c (__sqrtl): Likewise.
21633 * math/w_tgammal.c (__tgammal): Likewise.
21634 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21635 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21636 * math/libm-test.inc (acos_test): Add more tests.
21637 (acosh_test): Likewise.
21638 (asin_test): Likewise.
21639 (atanh_test): Likewise.
21640 (exp_test): Likewise.
21641 (exp10_test): Likewise.
21642 (exp2_test): Likewise.
21643 (expm1_test): Likewise.
21644 (lgamma_test): Likewise.
21645 (log_test): Likewise.
21646 (log10_test): Likewise.
21647 (log1p_test): Likewise.
21648 (log2_test): Likewise.
21649 (pow_test): Do not allow some spurious overflow exceptions.
21650 (sqrt_test): Add more tests.
21651 (tgamma_test): Likewise.
21652 (y0_test): Likewise.
21653 (y1_test): Likewise.
21654 (yn_test): Likewise.
21656 2012-03-27 Anton Blanchard <anton@samba.org>
21658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21664 2012-03-27 David S. Miller <davem@davemloft.net>
21666 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21668 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21669 have-as-vis3 check.
21671 2012-03-27 Andreas Jaeger <aj@suse.de>
21673 * sysdeps/x86_64/elf/configure.in: Moved to ...
21674 * sysdeps/x86_64/configure.in: ... here.
21675 * sysdeps/x86_64/elf/start.S: Moved to ...
21676 * sysdeps/x86_64/start.S: ... here.
21677 * sysdeps/x86_64/elf/configure: Delete.
21679 * sysdeps/x86_64/configure.in: Merge contents from
21680 sysdeps/i386/configure.in (without i686 check).
21682 * sysdeps/i386/elf/Versions: Merge into ...
21683 * sysdeps/i386/Versions: ... this.
21684 * sysdeps/i386/elf/Versions: Delete file.
21685 * sysdeps/i386/elf/start.S: Moved to ...
21686 * sysdeps/i386/start.S: ...here.
21687 * sysdeps/i386/elf/configure.in: Merge into...
21688 * sysdeps/i386/configure.in: ...here.
21689 * sysdeps/i386/elf/configure.in: Delete file.
21690 * sysdeps/i386/elf/configure: Delete file.
21692 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21693 * debug/backtracesyms.c: ... here.
21694 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21695 * debug/backtracesymsfd.c: ... here.
21696 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21697 * sysdeps/generic/ifunc-sel.h: ... here.
21699 * sysdeps/unix/i386/start.c: Delete file.
21700 * sysdeps/unix/sparc/start.c: Delete file.
21701 * sysdeps/unix/start.c: Delete file.
21703 * sysdeps/sh/elf/configure.in: Moved to ...
21704 * sysdeps/sh/configure.in: ... here.
21705 * sysdeps/sh/elf/start.S: Moved to ...
21706 * sysdeps/sh/start.S: ... here.
21707 * sysdeps/sh/elf/configure: Delete file.
21709 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21710 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21711 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21712 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21713 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21714 * sysdeps/powerpc/powerpc64/start.S: here.
21715 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21716 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21717 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21718 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21719 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21721 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21722 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21723 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21724 * sysdeps/powerpc/powerpc32/start.S: ... here.
21725 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21726 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21727 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21729 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21730 * sysdeps/powerpc/ifunc-sel.h: ... here.
21731 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21732 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21734 * sysdeps/sparc/elf/configure.in: Moved to ...
21735 * sysdeps/sparc/configure.in: ... here.
21736 * sysdeps/sparc/elf/configure: Delete file.
21737 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21738 * sysdeps/sparc/sparc32/start.S: ... here.
21739 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21740 * sysdeps/sparc/sparc64/start.S: ... here.
21741 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21742 * sysdeps/sparc/sparc32/Makefile: ... this.
21743 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21744 * sysdeps/sparc/sparc64/Makefile: ... this.
21746 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21747 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21748 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21749 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21750 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21751 * sysdeps/s390/s390-32/setjmp.S: ... here.
21752 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21753 * sysdeps/s390/s390-32/configure.in: ... here.
21754 * sysdeps/s390/s390-32/elf/configure: Delete file.
21755 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21756 * sysdeps/s390/s390-32/start.S: ... here.
21758 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21759 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21760 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21761 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21762 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21763 * sysdeps/s390/s390-64/setjmp.S: ... here.
21764 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21765 * sysdeps/s390/s390-64/configure.in: ... here
21766 * sysdeps/s390/s390-64/elf/configure: Delete file.
21767 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21768 * sysdeps/s390/s390-64/start.S: ... here.
21769 * sysdeps/s390/s390-64/elf/configure: Delete.
21771 * configure.in: Remove support for elf directories in sysdeps.
21773 * configure: Regenerated.
21774 * sysdeps/i386/configure: Regenerated.
21775 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21776 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21777 * sysdeps/s390/s390-32/configure: Regenerated.
21778 * sysdeps/s390/s390-64/configure: Regenerated.
21779 * sysdeps/sh/configure: Regenerated.
21780 * sysdeps/sparc/configure: Regenerated.
21781 * sysdeps/x86_64/configure: Regenerated.
21783 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21788 denormal result into account.
21790 2012-03-25 Roland McGrath <roland@hack.frob.com>
21792 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21793 Reported by Allan McRae <allan@archlinux.org>.
21795 2012-03-23 Jeff Law <law@redhat.com>
21797 * nss/getnssent.c (__nss_getent): Fix typo.
21799 2012-03-23 David S. Miller <davem@davemloft.net>
21801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21803 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21805 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21806 to pad to uint64_t for each field.
21807 (dl_tls_index): Replace unsigned long with uint64_t.
21809 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21810 Paul Pluzhnikov <ppluzhnikov@google.com>
21813 * grp/Makefile (otherlibs): Don't set it.
21814 * inet/Makefile (otherlibs): Likewise.
21815 * login/Makefile (otherlibs): Likewise.
21816 * nscd/Makefile (otherlibs): Likewise.
21817 * posix/Makefile (otherlibs): Likewise.
21818 * pwd/Makefile (otherlibs): Likewise.
21819 * rt/Makefile (otherlibs): Likewise.
21820 * sunrpc/Makefile (otherlibs): Likewise.
21821 * nss/Makefile (otherlibs): Likewise.
21822 Add libnss_files to routines and static-only-routines.
21823 ($(objpfx)getent): Remove rule.
21824 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21825 static-only-routines.
21827 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21830 * math/s_cexp.c: Include <float.h>.
21831 (__cexp): Handle exp result overflowing not necessarily
21832 overflowing both real and imaginary parts of result.
21833 * math/s_cexpf.c: Likewise.
21834 * math/s_cexpl.c: Likewise.
21835 * math/libm-test.inc (cexp_test): Add more tests.
21836 * sysdeps/i386/fpu/libm-test-ulps: Update.
21837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21841 * include/link.h (ELFW): New macro.
21842 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21843 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21847 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21850 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21852 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21854 (struct La_x32_retval): Likewise.
21856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21858 * sysdeps/x86_64/preconfigure.in: New file.
21859 * sysdeps/x86_64/preconfigure: New generated file.
21861 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21864 * math/e_exp2l.c: Include <float.h>.
21865 (__ieee754_exp2l): Handle overflow and underflow cases
21866 separately. Only pass fractional part of argument to
21868 * math/libm-test.inc (exp2_test): Add more tests.
21870 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21871 negating x to take absolute value.
21872 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21877 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21878 computing low part if x was negated.
21879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21881 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21883 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21884 la_x32_gnu_pltexit.
21885 (pltexit): Cast int_retval to ptrdiff_t.
21886 * elf/tst-auditmod3b.c: Likewise.
21887 * elf/tst-auditmod4b.c: Likewise.
21888 * elf/tst-auditmod5b.c: Likewise.
21889 * elf/tst-auditmod6b.c: Likewise.
21890 * elf/tst-auditmod6c.c: Likewise.
21891 * elf/tst-auditmod7b.c: Likewise.
21893 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21894 and x32_gnu_pltexit.
21896 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21897 __ELF_NATIVE_CLASS.
21898 (La_x32_regs): New macro.
21899 (La_x32_retval): Likewise.
21900 (la_x32_gnu_pltenter): New function prototype.
21901 (la_x32_gnu_pltexit): Likewise.
21903 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21910 * configure.in (libc_cv_cc_nofma): Check for option to disable
21911 generation of FMA instructions.
21912 * configure: Regenerate.
21913 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21914 * sysdeps/ieee754/dbl-64/Makefile: New file.
21915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21916 Remove brandred-fma4.
21917 (CFLAGS-brandred-fma4.c): Remove.
21918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21924 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21927 LLONG_MAX != LONG_MAX.
21928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21929 (_fitoa_word): Likewise.
21930 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21931 LLONG_MAX != LONG_MAX.
21932 * stdio-common/_itowa.h: Include <_itoa.h>.
21933 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21934 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21935 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21936 only if not defined.
21937 (_ITOA_WORD_TYPE): Likewise.
21938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21939 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21941 2012-03-21 David S. Miller <davem@davemloft.net>
21943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21945 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21947 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21948 of x86_64 when setting libc_cv_slibdir, libdir and
21950 * sysdeps/unix/sysv/linux/configure: Regenerated.
21952 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21954 * manual/lang.texi (Old Varargs): Remove section.
21955 (How Variadic): Update menu.
21956 (va_start): Do not mention varargs.h.
21958 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21959 Joseph Myers <joseph@codesourcery.com>
21961 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21963 * configure: Regenerated.
21965 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21967 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21968 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21971 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21974 * Makefile (files-for-dist): Remove NOTES.
21975 (NOTES): Remove rule.
21976 * README: Don't refer to NOTES.
21977 * manual/creature.texi: Don't include macros.texi.
21978 * manual/intro.texi (creature.texi): Remove comment referring to
21981 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21982 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21983 * configure: Regenerated.
21984 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21985 LIBC_TRY_CC_OPTION.
21986 (libc_cv_as_i686): Likewise.
21987 (libc_cv_cc_avx): Likewise.
21988 (libc_cv_cc_sse2avx): Likewise.
21989 (libc_cv_cc_fma4): Likewise.
21990 (libc_cv_cc_novzeroupper): Likewise.
21991 * sysdeps/i386/configure: Regenerated.
21994 * sysdeps/i386/fpu/s_cexp.S: Remove.
21995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21996 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21997 * math/libm-test.inc (cexp_test): Add more tests.
21998 * sysdeps/i386/fpu/libm-test-ulps: Update.
21999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22001 2012-03-21 Allan McRae <allan@archlinux.org>
22003 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22008 * math/w_exp2.c: Do not include <float.h>.
22009 (o_threshold, u_threshold): Remove.
22010 (__exp2): Calculate result before checking finiteness and calling
22012 * math/w_exp2f.c: Likewise.
22013 * math/w_exp2l.c: Likewise.
22014 * math/libm-test.inc (exp2_test): Require overflow exception for
22018 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22019 range of signed 64-bit integers before using fistpll. Remove
22020 checks for whether integers fit in mantissa bits.
22021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22022 the range of signed 32-bit integers before using fistpl. Remove
22023 checks for whether integers fit in mantissa bits.
22024 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22025 (__ieee754_powl): Test for y outside the range of signed 64-bit
22026 integers before using fistpll. Reduce 64-bit values to 63-bit
22028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22029 divide-by-zero is raised for zero to large negative powers.
22030 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22031 (__ieee754_powl): Test for y outside the range of signed 64-bit
22032 integers before using fistpll. Reduce 64-bit values to 63-bit
22034 * math/libm-test.inc (pow_test): Add more tests.
22036 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22038 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22039 <stdio-common/_itoa.h>.
22040 * debug/segfault.c: Likewise.
22041 * elf/dl-cache.c: Likewise.
22042 * elf/dl-minimal.c: Likewise.
22043 * elf/dl-misc.c: Likewise.
22044 * elf/dl-sysdep.c: Likewise.
22045 * elf/dl-version.c: Likewise.
22046 * elf/rtld.c: Likewise.
22047 * hurd/hurdsock.c: Likewise.
22048 * hurd/lookup-retry.c: Likewise.
22049 * malloc/malloc.c: Likewise.
22050 * malloc/mtrace.c: Likewise.
22051 * nscd/nscd_getgr_r.c: Likewise.
22052 * nscd/nscd_getpw_r.c: Likewise.
22053 * nscd/nscd_getserv_r.c: Likewise.
22054 * posix/getopt_init.c: Likewise.
22055 * posix/wordexp.c: Likewise.
22056 * stdio-common/_itoa.c: Likewise.
22057 * stdio-common/printf_fphex.c: Likewise.
22058 * stdio-common/vfprintf.c: Likewise.
22059 * string/_strerror.c: Likewise.
22060 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22061 * sysdeps/i386/i686/hp-timing.h: Likewise.
22062 * sysdeps/mach/_strerror.c: Likewise.
22063 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22064 * sysdeps/mach/hurd/sethostid.c: Likewise.
22065 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22066 * sysdeps/mach/xpg-strerror.c: Likewise.
22067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22069 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22070 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22072 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22074 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22075 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22076 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22077 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22078 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22080 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22081 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22083 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22084 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22085 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22086 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22087 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22089 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22091 * stdio-common/_itoa.h: Moved to ...
22092 * sysdeps/generic/_itoa.h: Here.
22094 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22096 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22097 instead of "_itoa.h" and "_itowa.h".
22098 * stdio-common/vfprintf.: Likewise.
22100 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22102 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22104 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22105 (__signbit): Likwise.
22106 (llrintf): Likwise.
22109 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22111 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22114 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22116 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22117 OVERFLOW_EXCEPTION_OK.
22118 * math/libm-test.inc ("Philosophy"): Update comment about
22120 (OVERFLOW_EXCEPTION): Define.
22121 (OVERFLOW_EXCEPTION_OK): Likewise.
22122 (INVALID_EXCEPTION_OK): Renumber.
22123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22124 (IGNORE_ZERO_INF_SIGN): Likewise.
22125 (test_exceptions): Handle FE_OVERFLOW.
22126 (exp10_test): Expect overflow exceptions.
22127 (exp2_test): Likewise.
22128 (expm1_test): Likewise.
22129 (nextafter_test): Likewise.
22130 (pow_test): Likewise.
22131 (scalbn_test): Likewise.
22132 (scalbln_test): Likewise.
22134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22136 * sysdeps/x86_64/bits/atomic.h
22137 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22139 (atomic_exchange_acq): Likewise.
22140 (__arch_exchange_and_add_body): Likewise.
22141 (__arch_add_body): Likewise.
22142 (atomic_add_negative): Likewise.
22143 (atomic_add_zero): Likewise.
22145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22147 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22148 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22152 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22153 Check __x86_64__ instead of __WORDSIZE.
22155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22157 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22159 2012-03-19 David S. Miller <davem@davemloft.net>
22161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22163 * sysdeps/sparc/fpu/fenv_private.h: New file.
22164 * sysdeps/sparc/fpu/math_private.h: Use it.
22165 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22168 (libc_feholdexcept_setroundl): Remove.
22169 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22176 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22177 int64_t instead of long int.
22178 (INSERT_WORDS64): Likwise.
22180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22182 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22183 _Unwind_GetCFA return to _Unwind_Ptr first.
22185 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22188 * math/s_clog.c: Include <float.h>.
22189 (__clog): Scale large or subnormal inputs.
22190 * math/s_clogf.c: Likewise.
22191 * math/s_clogl.c: Likewise.
22192 * math/s_clog10.c: Include <float.h>.
22193 (M_LOG10_2): Define.
22194 (__clog10): Scale large or subnormal inputs.
22195 * math/s_clog10f.c: Likewise.
22196 * math/s_clog10l.c: Likewise.
22197 * math/libm-test.inc (clog_test): Add more tests.
22198 (clog10_test): Likewise.
22199 * sysdeps/i386/fpu/libm-test-ulps: Update.
22200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22205 * math/libm-test.inc (atan2_test): Add another test.
22207 * Makerules (common-objdir-compile): Remove.
22208 * sysdeps/unix/Makefile (config-generated): Do not add
22209 $(unix-generated) to variable.
22210 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22211 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22213 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22215 [generic bits/local_lim.h] (before-compile): Do not append to
22217 [generic bits/local_lim.h] (common-generated): Likewise.
22218 [generic sys/param.h] (before-compile): Do not append to variable.
22219 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22220 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22221 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22222 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22224 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22225 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22226 [generic sys/param.h] ($(addprefix
22227 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22228 [generic sys/param.h] (common-generated): Do not append to
22230 [generic sys/param.h] (sysdep_headers): Likewise.
22231 [generic bits/errno.h] (before-compile): Do not append to
22233 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22235 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22236 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22237 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22238 [generic bits/errno.h] (common-generated): Do not append to
22240 [generic bits/ioctls.h] (before-compile): Do not append to
22242 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22244 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22245 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22248 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22249 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22250 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22251 [generic bits/ioctls.h] (common-generated): Do not append to
22253 [generic sys/syscall.h] (syscall.h): Remove variable.
22254 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22256 [generic sys/syscall.h] (before-compile): Do not append to
22258 [generic sys/syscall.h] (common-generated): Likewise.
22259 * sysdeps/unix/errnos-tmpl.c: Remove file.
22260 * sysdeps/unix/errnos.awk: Likewise.
22261 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22262 * sysdeps/unix/ioctls.awk: Likewise.
22263 * sysdeps/unix/mk-local_lim.c: Likewise.
22264 * sysdeps/unix/snarf-ioctls: Likewise.
22266 2012-03-19 Richard Henderson <rth@twiddle.net>
22268 * sysdeps/i386/fpu/fenv_private.h: New file.
22269 * sysdeps/i386/fpu/math_private.h: Use it.
22270 (math_opt_barrier, math_force_eval): Remove.
22271 (libc_feholdexcept_setround_53bit): Remove.
22272 (libc_feupdateenv_53bit): Remove.
22273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22274 (math_opt_barrier, math_force_eval): Remove.
22275 (libc_feholdexcept): Remove.
22276 (libc_feholdexcept_setround): Remove.
22277 (libc_fetestexcept, libc_fesetenv): Remove.
22278 (libc_feupdateenv_test): Remove.
22279 (libc_feupdateenv, libc_feholdsetround): Remove.
22280 (libc_feresetround): Remove.
22282 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22283 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22285 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22286 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22287 (libc_feupdateenv_testl): New.
22288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22289 (libc_feupdateenv_testf): New.
22290 (libc_feupdateenv): Use libc_feupdateenv_test.
22291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22294 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22295 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22296 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22297 (libc_feresetround_noex): New.
22298 (libc_feresetround_noexf): New.
22299 (libc_feresetround_noexl): New.
22300 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22301 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22302 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22303 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22308 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22310 SET_RESTORE_ROUND_NOEX.
22311 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22312 SET_RESTORE_ROUND_NOEXF.
22313 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22314 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22315 (libc_feholdsetroundf): New.
22316 (libc_feresetround, libc_feresetroundf): New.
22318 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22319 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22320 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22322 * sysdeps/generic/math_private.h: Include <fenv.h>.
22323 (default_libc_feholdexcept): New.
22324 (default_libc_feholdexcept_setround): New.
22325 (default_libc_fesetenv, default_libc_feupdateenv): New.
22326 (libc_feholdexcept): Only define if undefined.
22327 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22328 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22329 (libc_feholdexcept_setroundl): Likewise.
22330 (libc_feholdexcept_setround_53bit): Likewise.
22331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22332 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22333 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22334 (libc_feupdateenv_53bit): Likewise.
22335 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22336 (libc_feholdexcept): Convert from macro to inline function.
22337 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22338 (libc_fesetenv, libc_feupdateenv): Likewise.
22340 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22341 not previously defined.
22342 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22343 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22344 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22345 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22346 * sysdeps/ieee754/flt-32/math_private.h: New file.
22347 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22348 math_private.h below SET_FLOAT_WORD.
22349 (__isnan, __isinf_ns, __finite): Remove.
22350 (__isnanf, __isinf_nsf, __finitef): Remove.
22352 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22356 2012-03-17 David S. Miller <davem@davemloft.net>
22359 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22362 2012-03-16 David S. Miller <davem@davemloft.net>
22364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22370 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22371 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22372 sysdep_routines when subdir is sysvipc.
22373 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22374 __getshmlba helper.
22376 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22380 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22386 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22387 (__lround): Renamed to ...
22388 (__llround): This. Replace long int with long long int.
22389 Define lround functions as aliases of llround functions.
22390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22394 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22395 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22396 adresses to uintptr_t. Replace "long int" and "unsigned long
22397 int" with "greg_t" on va_arg.
22399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22401 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22402 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22404 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22405 Move e_machine check before EI_CLASS check. Handle x32
22406 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22407 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22408 SKIP_EM_IA_64 and include
22409 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22411 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22412 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22413 (add_system_dir): New macro.
22415 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22416 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22418 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22429 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22431 * math/w_j0f.c (j0f): Likewise.
22433 * math/w_j0l.c (__j0l): Likewise.
22435 * math/w_j1.c (j1): Likewise.
22437 * math/w_j1f.c (j1f): Likewise.
22439 * math/w_j1l.c (__j1l): Likewise.
22441 * math/w_jn.c (jn): Likewise.
22443 * math/w_jnf.c (jnf): Likewise.
22445 * math/w_jnl.c (__jnl): Likewise.
22447 * math/libm-test.inc (j0_test): Add more tests.
22448 (j1_test): Likewise.
22449 (jn_test): Likewise. Add trailing semicolon to existing test.
22450 (y0_test): Likewise.
22451 (y1_test): Likewise.
22452 * sysdeps/i386/fpu/libm-test-ulps: Update.
22453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22458 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22459 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22461 (__tanl): Set errno for infinite argument.
22462 * sysdeps/i386/fpu/mptan.c: Remove.
22463 * sysdeps/i386/fpu/s_tan.S: Likewise.
22464 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22465 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22466 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22467 * math/libm-test.inc (tan_test): Add more tests and enable more
22468 tests for double and long double.
22469 * sysdeps/i386/fpu/libm-test-ulps: Update.
22470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22472 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22474 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22475 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22477 2012-03-16 Roland McGrath <roland@hack.frob.com>
22479 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22480 * configure.in: Use it for both main tree and add-ons.
22481 * configure: Regenerated.
22483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22485 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22487 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22489 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22493 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22494 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22499 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22501 != 0 for prec == 2.
22502 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22503 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22504 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22505 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22506 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22507 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22508 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22509 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22510 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22511 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22512 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22513 * math/libm-test.inc (cos_test): Add more tests and enable more
22514 tests for long double.
22515 (sin_test): Likewise.
22516 (sincos_test): Likewise.
22517 * sysdeps/i386/fpu/libm-test-ulps: Update.
22518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22520 2012-03-16 David S. Miller <davem@davemloft.net>
22522 * sysdeps/sparc/fpu/math_private.h: New file.
22524 2012-03-15 David S. Miller <davem@davemloft.net>
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22540 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22541 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22543 * sysdeps/sparc/sparc-ifunc.h: New file.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22589 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22591 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22595 2012-03-15 Andreas Jaeger <aj@suse.de>
22598 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22599 ieee754/flt-32 implementation for sin, cos and sincos.
22600 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22601 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22602 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22603 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22604 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22605 ieee754/flt-32 implementation for tan.
22607 * math/libm-test.inc (cos_test): Enable some large input tests for
22609 (sin_test): Likewise.
22610 (sincos_test): Likewise.
22611 (tan_test): Add tests for large input.
22613 * sysdeps/i386/fpu/libm-test-ulps: Update.
22615 2012-03-15 Andreas Jaeger <aj@suse.de>
22618 * math/libm-test.inc (cos_test): Add more test cases.
22619 (sin_test): Likewise.
22620 (sincos_test): Likewise.
22622 2012-03-15 Andreas Jaeger <aj@suse.de>
22625 * math/libm-test.inc (cos_test): Add a test case for large input
22627 (sin_test): Likewise.
22628 (sincos_test): Likewise.
22630 2012-03-15 Andreas Jaeger <aj@suse.de>,
22631 Joseph Myers <joseph@codesourcery.com>
22634 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22635 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22636 * sysdeps/i386/fpu/branred.c: Likewise.
22637 * sysdeps/i386/fpu/dosincos.c: Likewise.
22638 * sysdeps/i386/fpu/mpa.c: Likewise.
22639 * sysdeps/i386/fpu/s_cos.S: Likewise.
22640 * sysdeps/i386/fpu/s_sin.S: Likewise.
22641 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22642 * sysdeps/i386/fpu/sincos32.c: Likewise.
22644 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22646 (libc_feupdateenv_53bit): Define.
22647 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22649 (libc_feupdateenv_53bit): Define.
22651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22652 53 bit (without extend i386 double precision).
22654 * math/libm-test.inc (sincos_test): Add tests for large input.
22658 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22660 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22664 2012-03-15 David S. Miller <davem@davemloft.net>
22666 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22668 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22669 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22694 fmin/fmax sysdep routines.
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22697 2012-03-14 David S. Miller <davem@davemloft.net>
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22771 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22776 * sysdeps/sparc/configure.in: New file.
22777 * sysdeps/sparc/configure: Generate.
22778 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22779 * configure: Regenerate.
22780 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22781 * config.make.in (have-as-vis3): New.
22782 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22783 available use -Av9d instead of -Av9a.
22784 * sysdeps/sparc/sparc64/Makefile: Likewise.
22785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22800 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22801 fzeros/fnegs to load 0x80000000 into a float register instead of
22803 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22805 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22809 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22810 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22811 ($(inst_includedir)/bits/syscall.h): Remove rule.
22812 ($(objpfx)bits/syscall.d): Include instead of
22813 $(objpfx)syscall-list.d.
22814 (generated): Change syscall-list.h and syscall-list.d to
22815 bits/syscall.h and bits/syscall.d.
22817 2012-03-14 Roland McGrath <roland@hack.frob.com>
22820 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22822 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22825 * math/s_csqrt.c: Include <float.h>.
22826 (__csqrt): Scale large or subnormal inputs.
22827 * math/s_csqrtf.c: Likewise.
22828 * math/s_csqrtl.c: Likewise.
22829 * math/libm-test.inc (csqrt_test): Add more tests.
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22834 * math/libm-test.inc (hypot_test): Add more tests.
22836 2012-03-13 David S. Miller <davem@davemloft.net>
22839 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22840 double-precision for the calculation instead of scaling.
22842 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22844 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22845 manipulate bits before adding and subtracting TWO52[sx].
22846 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22851 2012-03-13 David S. Miller <davem@davemloft.net>
22853 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22854 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22856 rtld-global-offsets.h
22857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22859 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22864 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22865 'err' in the ifdef scope in which it is actually used.
22867 * nss/nss_db/db-init.c: Include string.h
22869 2012-03-12 David S. Miller <davem@davemloft.net>
22871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22872 masking out of the most significant byte of random value used.
22873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22874 Fix coding style in previous change.
22876 * sysdeps/unix/sysv/linux/kernel-features.h
22877 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22878 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22880 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22883 2012-03-11 David S. Miller <davem@davemloft.net>
22885 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22886 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22888 for 'resultvar' otherwise things get truncated on 64-bit.
22890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22891 Fix masking out of the most significant byte of random value used.
22893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22895 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22899 2012-03-09 David S. Miller <davem@davemloft.net>
22901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22902 variables with appropriate CPP guards.
22903 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22904 frame pointer, not the stack pointer. Correct layout comments. Fix test
22905 on resulting framesize and the management of the outregs buffer for pltexit.
22906 Preserve floating point return values across _dl_call_pltexit call.
22907 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22908 framesize and the management of the outregs buffer for pltexit.
22909 Preserve floating point return values across _dl_call_pltexit
22911 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22912 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22913 (print_exit): Fix format string for return register value.
22915 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22917 * sunrpc/Makefile (others): Add rpcgen.
22918 ($(objpfx)rpcgen): Remove special build rule and dependency on
22920 * sunrpc/rpcgen.c: New file.
22922 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22925 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22926 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22927 * sysdeps/i386/crti.S: Likewise.
22928 * sysdeps/i386/crtn.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22931 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22932 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22933 * sysdeps/sh/crti.S: Likewise.
22934 * sysdeps/sh/crtn.S: Likewise.
22935 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22938 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22940 * locale/programs/locfile-kw.gperf: Likewise.
22941 * locale/programs/charmap-kw.h: Regenerated.
22942 * locale/programs/locfile-kw.h: Likewise.
22945 * intl/plural.y: Replace FSF snail mail address with URL.
22946 * intl/plural.c: Regenerated.
22948 2012-03-09 Richard Henderson <rth@twiddle.net>
22950 * include/math_private.h: Remove file.
22951 * math/math_private.h: Move file ...
22952 * sysdeps/generic/math_private.h: ... here.
22954 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22955 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22956 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22958 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22959 and <math_private.h>.
22960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22986 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23017 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23021 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23025 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23026 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23044 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23047 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23048 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23051 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23054 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23065 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23066 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23067 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23068 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23070 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23071 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23074 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23075 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23076 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23077 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23078 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23079 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23080 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23081 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23082 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23083 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23084 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23085 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23086 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23087 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23088 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23089 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23090 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23092 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23093 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23094 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23095 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23096 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23097 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23098 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23099 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23101 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23102 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23103 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23104 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23105 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23106 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23107 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23108 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23109 * sysdeps/ieee754/k_standard.c: Likewise.
23110 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23114 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23127 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23130 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23131 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23132 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23144 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23150 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23152 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23154 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23155 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23156 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23158 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23159 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23161 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23162 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23163 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23164 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23166 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23167 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23168 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23169 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23170 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23171 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23187 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23191 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23229 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23230 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23232 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23237 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23242 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23243 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23246 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23254 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23255 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23259 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23260 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23270 * sysdeps/ieee754/s_lib_version.c: Likewise.
23271 * sysdeps/ieee754/s_matherr.c: Likewise.
23272 * sysdeps/ieee754/s_signgam.c: Likewise.
23273 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23274 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23275 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23276 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23277 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23278 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23279 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23280 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23281 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23282 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23283 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23284 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23285 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23286 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23287 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23288 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23289 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23290 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23295 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23297 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23298 * sunrpc/rpc_main.c: Likewise.
23299 * sunrpc/rpc_svcout.c: Likewise.
23301 2012-03-09 David S. Miller <davem@davemloft.net>
23303 * include/math_private.h: New file.
23305 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23307 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23308 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23309 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23310 from <bits/socket_type.h>.
23311 (enum __socket_type): Don't define here.
23312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23314 bits/socket_type.h.
23317 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23318 checking __USE_GNU.
23320 * Makerules ($(inst_includedir)/%.h): New rule.
23321 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23322 (install-others): Remove variable setting.
23323 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23325 2012-03-08 Richard Henderson <rth@twiddle.net>
23327 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23328 from macro to inline function; merge with the
23329 !__LIBC_INTERNAL_MATH_INLINES version.
23330 (__ieee754_sqrtf): Likewise.
23332 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23333 to inline function.
23334 (__rintf, __floor, __floorf): Likewise.
23336 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23337 macro to inline function.
23338 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23341 not <math/math_private.h>.
23343 2012-03-08 David S. Miller <davem@davemloft.net>
23345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23347 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23349 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23351 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23353 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23354 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23356 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23358 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23359 be defined individually, they must be defined as a block. Define
23360 S for printing a string instead of hidint the different by using a
23361 macro for adding the 'l'.
23362 * stdio-common/tst-fphex-wide.c: Adjust.
23364 2012-03-07 Marek Polacek <polacek@redhat.com>
23366 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23368 2012-03-08 Marek Polacek <polacek@redhat.com>
23371 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23372 * stdio-common/tst-fphex.c: Define a few macros to make the
23373 test reusable. Use them.
23374 * stdio-common/tst-fphex-wide.c: New file.
23376 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23379 * manual/macros.texi (gnusystems): New macro.
23380 (nongnusystems): Likewise.
23381 (gnulinuxhurdsystems): Likewise.
23382 (gnuhurdsystems): Likewise..
23383 (gnulinuxsystems): Likewise.
23384 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23385 variants of the GNU system, not "GNU system".
23386 * manual/conf.texi: Likewise.
23387 * manual/errno.texi: Likewise. Update example of errno macro
23389 * manual/filesys.texi: Likewise.
23390 (getumask): Document as specific to GNU/Hurd.
23391 * manual/install.texi: Likewise. Reword some references to
23393 * manual/intro.texi: Likewise.
23394 * manual/io.texi: Likewise.
23395 (File Name Portability): Detail which constraints are inapplicable
23396 to all GNU systems and which are only inapplicable to GNU/Hurd.
23397 * manual/job.texi: Likewise.
23398 * manual/llio.texi: Likewise.
23399 (O_NOCTTY): Document as present on GNU/Linux.
23400 * manual/maint.texi: Likewise.
23401 * manual/memory.texi: Likewise.
23402 * manual/pattern.texi: Likewise.
23403 * manual/pipe.texi: Likewise.
23404 * manual/process.texi: Likewise.
23405 * manual/resource.texi: Likewise.
23406 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23408 * manual/setjmp.texi: Likewise.
23409 * manual/signal.texi: Likewise.
23410 * manual/startup.texi: Likewise.
23411 * manual/stdio.texi: Likewise.
23412 * manual/terminal.texi: Likewise.
23413 (ONLCR): Document as POSIX.
23414 (OXTABS): Document availability on GNU/Linux as XTABS.
23415 (ONOEOT): Document availability separately from other bits.
23416 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23417 * manual/time.texi: Likewise.
23418 * manual/users.texi: Likewise.
23419 * INSTALL: Regenerated.
23420 * sysdeps/gnu/errlist.c: Regenerated.
23422 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23423 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23424 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23426 * configure: Regenerated.
23428 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23430 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23431 default includes instead of AC_HEADER_CHECK.
23432 * sysdeps/i386/configure: Regenerated.
23435 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23436 * math/s_cacoshf.c (__cacoshf): Likewise.
23437 * math/s_cacoshl.c (__cacoshl): Likewise.
23438 * math/s_casinh.c (__casinh): Set signs of result from argument.
23439 * math/s_casinhf.c (__casinhf): Likewise.
23440 * math/s_casinhl.c (__casinhl): Likewise.
23441 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23442 (casinh_test): Add more tests.
23443 * sysdeps/i386/fpu/libm-test-ulps: Update.
23444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23446 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23448 * po/zh_TW.po: Update from translation team.
23450 * login/Makefile (distribute): Remove variable.
23451 * catgets/Makefile: Likewise.
23452 * mach/Makefile: Likewise.
23453 * malloc/Makefile: Likewise.
23454 * misc/Makefile: Likewise.
23455 * iconv/Makefile: Likewise.
23456 * nscd/Makefile: Likewise.
23457 * hurd/Makefile: Likewise.
23458 * manual/Makefile: Likewise.
23459 * locale/Makefile: Likewise.
23460 * intl/Makefile: Likewise.
23461 * conform/Makefile: Likewise.
23462 * nss/Makefile: Likewise.
23463 * time/Makefile: Likewise.
23464 * soft-fp/Makefile: Likewise.
23465 * dirent/Makefile: Likewise.
23466 * gmon/Makefile: Likewise.
23467 * po/Makefile: Likewise.
23468 * rt/Makefile: Likewise.
23469 * socket/Makefile: Likewise.
23470 * math/Makefile: Likewise.
23471 * signal/Makefile: Likewise.
23472 * debug/Makefile: Likewise.
23473 * elf/Makefile: Likewise.
23474 * timezone/Makefile: Likewise.
23475 * stdlib/Makefile: Likewise.
23476 * iconvdata/Makefile: Likewise.
23477 * sunrpc/Makefile: Likewise.
23478 * io/Makefile: Likewise.
23479 * argp/Makefile: Likewise.
23480 * inet/Makefile: Likewise.
23481 * hesiod/Makefile: Likewise.
23482 * grp/Makefile: Likewise.
23483 * csu/Makefile: Likewise.
23484 * wctype/Makefile: Likewise.
23485 * crypt/Makefile: Likewise.
23486 * libio/Makefile: Likewise.
23487 * string/Makefile: Likewise.
23488 * nis/Makefile: Likewise.
23489 * resolv/Makefile: Likewise.
23490 * stdio-common/Makefile: Likewise.
23491 * wcsmbs/Makefile: Likewise.
23492 * dlfcn/Makefile: Likewise.
23493 * posix/Makefile: Likewise.
23496 * timezone/Makefile: Don't install timezone files, just the programs
23499 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23501 * nss/databases.def: Add missing gshadow entry.
23503 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23505 2012-03-06 Marek Polacek <polacek@redhat.com>
23508 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23509 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23510 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23511 * stdio-common/tst-long-dbl-fphex.c: New file.
23513 2012-03-06 David S. Miller <davem@davemloft.net>
23515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23516 (set_obp_int): New function.
23517 (get_obp_int): New function.
23518 (__get_clockfreq_via_dev_openprom): Likewise.
23519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23520 Avoid unused variable warnings on 'val' and use builtin_expect.
23521 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23523 (INLINE_CLONE_SYSCALL): Likewise.
23525 2012-03-05 David S. Miller <davem@davemloft.net>
23527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23529 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23534 only for |x| >= 40.
23535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23537 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23540 Replace gettimeofday with __vdso_gettimeofday.
23542 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23543 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23544 __vdso_clock_gettime and __vdso_getcpu.
23546 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23547 time with __vdso_time.
23549 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23551 * manual/lang.texi (size_t): Note types to which size_t may be
23552 equivalent with the GNU C Library, but do not describe when
23553 differences between them are significant.
23555 2012-03-05 Andreas Jaeger <aj@suse.de>
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23559 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23562 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23563 (__ieee754_pow): Save and restore rounding mode and use
23564 round-to-nearest for main computations.
23565 * math/libm-test.inc (pow_test_tonearest): New function.
23566 (pow_test_towardzero): Likewise.
23567 (pow_test_downward): Likewise.
23568 (pow_test_upward): Likewise.
23569 (main): Call the new functions.
23570 * sysdeps/i386/fpu/libm-test-ulps: Update.
23571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574 * math/libm-test.inc (cosh_test_tonearest): New function.
23575 (cosh_test_towardzero): Likewise.
23576 (cosh_test_downward): Likewise.
23577 (cosh_test_upward): Likewise.
23578 (sinh_test_tonearest): Likewise.
23579 (sinh_test_towardzero): Likewise.
23580 (sinh_test_downward): Likewise.
23581 (sinh_test_upward): Likewise.
23582 (main): Call the new functions.
23583 * sysdeps/i386/fpu/libm-test-ulps: Update.
23584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23586 2012-03-05 Tom de Vries <tom@codesourcery.com>
23588 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23589 default stack guard is set in last bytes.
23590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23592 2012-03-05 Kees Cook <keescook@chromium.org>
23594 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23597 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23598 possibly allocate from heap instead of stack.
23599 * stdio-common/bug-vfprintf-nargs.c: New file.
23600 * stdio-common/Makefile (tests): Add nargs overflow test.
23602 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23606 2012-03-03 Marek Polacek <polacek@redhat.com>
23608 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23609 * math/math_private.h: Likewise.
23610 * stdlib/tst-strtod.c: Likewise.
23611 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23612 * sysdeps/x86_64/bits/atomic.h: Likewise.
23614 2012-03-02 David S. Miller <davem@davemloft.net>
23616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23620 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23621 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23622 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23623 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23625 2012-03-02 Roland McGrath <roland@hack.frob.com>
23628 * manual/examples/README: New file, says the example source files
23629 can be used under GPL>=2.
23630 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23631 line containing just "*/".
23632 * manual/examples/add.c: Add copyright header (GPL>=2).
23633 * manual/examples/argp-ex1.c: Likewise.
23634 * manual/examples/argp-ex2.c: Likewise.
23635 * manual/examples/argp-ex3.c: Likewise.
23636 * manual/examples/argp-ex4.c: Likewise.
23637 * manual/examples/atexit.c: Likewise.
23638 * manual/examples/db.c: Likewise.
23639 * manual/examples/dir.c: Likewise.
23640 * manual/examples/dir2.c: Likewise.
23641 * manual/examples/execinfo.c: Likewise.
23642 * manual/examples/filecli.c: Likewise.
23643 * manual/examples/filesrv.c: Likewise.
23644 * manual/examples/fmtmsgexpl.c: Likewise.
23645 * manual/examples/genpass.c: Likewise.
23646 * manual/examples/inetcli.c: Likewise.
23647 * manual/examples/inetsrv.c: Likewise.
23648 * manual/examples/isockad.c: Likewise.
23649 * manual/examples/longopt.c: Likewise.
23650 * manual/examples/memopen.c: Likewise.
23651 * manual/examples/memstrm.c: Likewise.
23652 * manual/examples/mkfsock.c: Likewise.
23653 * manual/examples/mkisock.c: Likewise.
23654 * manual/examples/mygetpass.c: Likewise.
23655 * manual/examples/pipe.c: Likewise.
23656 * manual/examples/popen.c: Likewise.
23657 * manual/examples/rprintf.c: Likewise.
23658 * manual/examples/search.c: Likewise.
23659 * manual/examples/select.c: Likewise.
23660 * manual/examples/setjmp.c: Likewise.
23661 * manual/examples/sigh1.c: Likewise.
23662 * manual/examples/sigusr.c: Likewise.
23663 * manual/examples/stpcpy.c: Likewise.
23664 * manual/examples/strdupa.c: Likewise.
23665 * manual/examples/strftim.c: Likewise.
23666 * manual/examples/strncat.c: Likewise.
23667 * manual/examples/subopt.c: Likewise.
23668 * manual/examples/swapcontext.c: Likewise.
23669 * manual/examples/termios.c: Likewise.
23670 * manual/examples/testopt.c: Likewise.
23671 * manual/examples/testpass.c: Likewise.
23672 * manual/examples/timeval_subtract.c: Likewise.
23675 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23677 * manual/timeval_subtract.c.texi: ... here, new file.
23679 2012-03-02 David S. Miller <davem@davemloft.net>
23681 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23683 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23686 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23687 (__sin): Save and restore rounding mode and use round-to-nearest
23688 for all computations.
23689 (__cos): Save and restore rounding mode and use round-to-nearest
23690 for all computations.
23691 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23693 (tan): Save and restore rounding mode and use round-to-nearest for
23695 * math/libm-test.inc (cos_test_tonearest): New function.
23696 (cos_test_towardzero): Likewise.
23697 (cos_test_downward): Likewise.
23698 (cos_test_upward): Likewise.
23699 (sin_test_tonearest): Likewise.
23700 (sin_test_towardzero): Likewise.
23701 (sin_test_downward): Likewise.
23702 (sin_test_upward): Likewise.
23703 (tan_test_tonearest): Likewise.
23704 (tan_test_towardzero): Likewise.
23705 (tan_test_downward): Likewise.
23706 (tan_test_upward): Likewise.
23707 (main): Call the new functions.
23708 * sysdeps/i386/fpu/libm-test-ulps: Update.
23709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23713 small n, then large n, before computing and testing k+n.
23714 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23719 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23720 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23727 * math/libm-test.inc (scalbn_test): Add more tests.
23728 (scalbln_test): Likewise.
23730 * manual/filesys.texi (mode_t): Describe constraints on size and
23731 signedness, not exact equivalence to a particular type.
23733 (ino64_t): Likewise.
23735 (nlink_t): Likewise.
23736 (blkcnt_t): Likewise.
23737 (blkcnt64_t): Likewise.
23738 * manual/llio.texi (off_t): Likewise.
23741 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23742 (__ieee754_exp): Save and restore rounding mode and use
23743 round-to-nearest for all computations.
23744 * math/libm-test.inc (exp_test_tonearest): New function.
23745 (exp_test_towardzero): Likewise.
23746 (exp_test_downward): Likewise.
23747 (exp_test_upward): Likewise.
23748 (main): Call the new functions.
23749 * sysdeps/i386/fpu/libm-test-ulps: Update.
23750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23752 2012-03-01 Chris Demetriou <cgd@google.com>
23754 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23755 have predictable order.
23757 2012-03-01 David S. Miller <davem@davemloft.net>
23759 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23761 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23762 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23763 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23764 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23766 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23767 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23768 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23770 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23771 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23772 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23773 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23774 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23778 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23779 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23782 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23784 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23789 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23790 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23791 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23792 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23798 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23799 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23800 * sysdeps/sparc/elf/configure: Regenerated.
23802 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23804 * configure.in (AS, LD): Require binutils 2.20 or later.
23805 * configure: Regenerated.
23806 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23807 as required minimum version.
23808 * INSTALL: Regenerated.
23812 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23813 before squaring exponent.
23814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23815 bottom long double and 27 bits of top long double before squaring
23817 * math/libm-test.inc (erfc_test): Add more tests.
23818 * sysdeps/i386/fpu/libm-test-ulps: Update.
23819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23822 2012-03-01 Kai Tietz <ktietz@redhat.com>
23824 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23825 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23826 containing bit-fields.
23827 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23828 * soft-fp/single.h (_FP_UNION_S): Likewise.
23829 * soft-fp/double.h (_FP_UNION_D): Likewise.
23831 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23834 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23835 not include ../strcmp.S.
23836 [USE_AS_STRNCASECMP_L]: Likewise.
23837 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23838 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23839 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23840 (__strncasecmp_l_ia32): Define as alias to
23841 __strncasecmp_l_nonascii.
23844 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23845 * sysdeps/i386/fpu/libm-test-ulps: Update.
23846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23848 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23851 2012-02-29 Jeff Law <law@redhat.com>
23853 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23854 out of bounds read.
23856 2012-02-29 Marek Polacek <polacek@redhat.com>
23859 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23860 * elf/Makefile: Add rules to run tst-unused-dep.out.
23862 2012-02-28 David S. Miller <davem@davemloft.net>
23864 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23865 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23871 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23873 * math/libm-test.inc (llround_test): Move one test from
23874 lround_test. Use TEST_f_L in moved test.
23875 (lround_test): Move misplaced test to llround_test. Add testcase
23878 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23880 * sysdeps/x86_64/fpu/e_expf.S: New file.
23881 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23883 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23886 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23887 of remain_len that may cause incomplete multi-byte character and
23889 * posix/bug-regex33.c: New file.
23890 * posix/Makefile (tests): Add bug-regex33.
23892 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23894 * manual/macros.texi: New file.
23895 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23896 * manual/libc.texinfo: Include macros.texi.
23897 * manual/creatute.texi: Likewise.
23898 * manual/install.texi: Likewise.
23899 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23900 @glibcadj{} in references to the GNU C Library.
23901 * manual/charset.texi: Likewise.
23902 * manual/conf.texi: Likewise.
23903 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23904 when not using those macros.
23905 * manual/creature.texi: Likewise.
23906 * manual/crypt.texi: Likewise.
23907 * manual/errno.texi: Likewise.
23908 * manual/filesys.texi: Likewise.
23909 * manual/header.texi: Likewise.
23910 * manual/install.texi: Likewise.
23911 * manual/intro.texi: Likewise.
23912 * manual/io.texi: Likewise.
23913 * manual/job.texi: Likewise.
23914 * manual/lang.texi: Likewise.
23915 * manual/libc.texiinfo: Likewise.
23916 * manual/llio.texi: Likewise.
23917 * manual/locale.texi: Likewise.
23918 * manual/maint.texi: Likewise.
23919 * manual/math.texi: Likewise.
23920 * manual/memory.texi: Likewise.
23921 * manual/message.texi: Likewise.
23922 * manual/nss.texi: Likewise.
23923 * manual/pattern.texi: Likewise.
23924 * manual/process.texi: Likewise.
23925 * manual/resource.texi: Likewise.
23926 * manual/search.texi: Likewise.
23927 * manual/setjmp.texi: Likewise.
23928 * manual/signal.texi: Likewise.
23929 * manual/socket.texi: Likewise.
23930 * manual/startup.texi: Likewise.
23931 * manual/stdio.texi: Likewise.
23932 * manual/string.texi: Likewise.
23933 * manual/sysinfo.texi: Likewise.
23934 * manual/syslog.texi: Likewise.
23935 * manual/terminal.texi: Likewise.
23936 * manual/time.texi: Likewise.
23937 * manual/users.texi: Likewise.
23938 * INSTALL: Regenerated.
23939 * NOTES: Regenerated.
23940 * sysdeps/gnu/errlist.c: Regenerated.
23942 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23944 * include/dirent.h: Include <dirstream.h> before
23947 2012-02-28 David S. Miller <davem@davemloft.net>
23949 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23950 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23951 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23952 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23954 2012-02-27 David S. Miller <davem@davemloft.net>
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23962 frame pointer instead of stack pointer relative arg slot.
23963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23964 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23965 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23967 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23970 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23972 2012-02-27 David S. Miller <davem@davemloft.net>
23974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23980 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23981 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23983 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23985 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23986 later. Allow versions 5-9.
23987 * configure: Regenerated.
23988 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23989 required minimum version and 4.6 as recommended version. Do not
23990 mention bugs in GCC 2.7 and 2.8.
23991 * INSTALL: Regenerated.
23993 2012-02-27 David S. Miller <davem@davemloft.net>
23995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23999 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24000 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24001 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24002 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24005 manipulate bits before adding and subtracting TWO112[sx].
24006 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24008 2012-02-27 Roland McGrath <roland@hack.frob.com>
24011 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24012 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24013 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24014 being in POSIX, because they are in 1003.1-2008.
24016 * rt/tst-aio.c: Include <fcntl.h>.
24017 * rt/tst-aio7.c: Likewise.
24018 * rt/tst-aio64.c: Likewise.
24020 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24022 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24024 * manual/install.texi (--with-headers): Describe headers as
24025 interface headers, not private headers.
24026 (Specific advice for GNU/Linux systems): Describe use of headers
24027 from "make headers_install", not private headers from older
24029 * INSTALL: Regenerated.
24030 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24032 * sysdeps/unix/sysv/linux/configure: Regenerated.
24034 * manual/llio.texi (fclean): Remove documentation.
24036 * manual/Makefile (libc-texi-generated): New variable. Include
24038 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24039 $(libc-texi-generated), not duplicated list of files.
24040 (version.texi, stamp-version): New rules.
24041 (realclean): Remove $(libc-texi-generated), not individual files
24042 from that list. Do not remove dir-add.texinfo.
24043 * manual/libc.texinfo: Comment out uses of edition numbers and
24044 references to printed manual. Remove last-updated dates.
24045 (EDITION): Comment out.
24047 (VERSION, UPDATED): Remove.
24048 (version.texi): Include.
24050 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24052 * sysdeps/posix/spawni.c: Include <signal.h>.
24053 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24054 * sysdeps/pthread/aio_fsync.c: Likewise.
24056 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24058 * conform/Makefile (tests): Run only when not cross-compiling and
24059 when fast-check is not defined.
24061 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24062 * conform/data/limits.h-data: Fixes for POSIX2008.
24063 * conform/run-conformtest.sh: Run all tests.
24064 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24066 * include/bits/dlfcn.h: Likewise.
24067 * include/langinfo.h: Likewise.
24068 * include/monetary.h: Likewise.
24069 * include/sys/poll.h: Likewise.
24071 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24073 * posix/spawn.h: Define __need_sigset_t.
24074 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24075 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24076 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24077 to get sigevent_t only.
24078 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24079 only for __USE_GNU.
24080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24081 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24082 process_vm_writev only for __USE_GNU.
24083 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24085 * conform/Makefile: For now ignore errors from run-conformtest.
24086 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24087 POSIX to avoid namespace pollution. Don't prepend headers.
24088 * conform/data/aio.h-data: Fixes for POSIX testing.
24089 * conform/data/fcntl.h-data: Likewise.
24090 * conform/data/glob.h-data: Likewise.
24091 * conform/data/grp.h-data: Likewise.
24092 * conform/data/pthread.h-data: Likewise.
24093 * conform/data/pwd.h-data: Likewise.
24094 * conform/data/signal.h-data: Likewise.
24095 * conform/data/spawn.h-data: Likewise.
24096 * conform/data/stdio.h-data: Likewise.
24097 * conform/data/stdlib.h-data: Likewise.
24098 * conform/data/stropts.h-data: Likewise.
24099 * conform/data/sys/mman.h-data: Likewise.
24100 * conform/data/sys/stat.h-data: Likewise.
24101 * conform/data/sys/types.h-data: Likewise.
24102 * conform/data/sys/wait.h-data: Likewise.
24103 * conform/data/time.h-data: Likewise.
24104 * conform/data/unistd.h-data: Likewise.
24105 * conform/data/utime.h-data: Likewise.
24107 * io/sys/stat.h: fchmod was always in POSIX.
24108 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24109 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24110 * rt/aio.h: Define __need_timespec before including <time.h>.
24111 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24112 struct. Add forward declaration of pthread_attr_t and use it in
24114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24116 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24117 always remove CLK_TCK definition.
24119 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24121 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24123 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24125 * conform/run-conformtest.sh: New file.
24126 * conform/Makefile: Run run-conformtest for tests.
24127 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24130 * conform/data/uchar.h-data: New file.
24131 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24132 * conform/data/arpa/inet.h-data: Likewise.
24133 * conform/data/assert.h-data: Likewise.
24134 * conform/data/complex.h-data: Likewise.
24135 * conform/data/cpio.h-data: Likewise.
24136 * conform/data/ctype.h-data: Likewise.
24137 * conform/data/dirent.h-data: Likewise.
24138 * conform/data/dlfcn.h-data: Likewise.
24139 * conform/data/errno.h-data: Likewise.
24140 * conform/data/fcntl.h-data: Likewise.
24141 * conform/data/float.h-data: Likewise.
24142 * conform/data/fmtmsg.h-data: Likewise.
24143 * conform/data/fnmatch.h-data: Likewise.
24144 * conform/data/ftw.h-data: Likewise.
24145 * conform/data/glob.h-data: Likewise.
24146 * conform/data/grp.h-data: Likewise.
24147 * conform/data/iconv.h-data: Likewise.
24148 * conform/data/inttypes.h-data: Likewise.
24149 * conform/data/langinfo.h-data: Likewise.
24150 * conform/data/libgen.h-data: Likewise.
24151 * conform/data/limits.h-data: Likewise.
24152 * conform/data/locale.h-data: Likewise.
24153 * conform/data/math.h-data: Likewise.
24154 * conform/data/monetary.h-data: Likewise.
24155 * conform/data/mqueue.h-data: Likewise.
24156 * conform/data/ndbm.h-data: Likewise.
24157 * conform/data/net/if.h-data: Likewise.
24158 * conform/data/netdb.h-data: Likewise.
24159 * conform/data/netinet/in.h-data: Likewise.
24160 * conform/data/nl_types.h-data: Likewise.
24161 * conform/data/poll.h-data: Likewise.
24162 * conform/data/pthread.h-data: Likewise.
24163 * conform/data/pwd.h-data: Likewise.
24164 * conform/data/regex.h-data: Likewise.
24165 * conform/data/sched.h-data: Likewise.
24166 * conform/data/search.h-data: Likewise.
24167 * conform/data/semaphore.h-data: Likewise.
24168 * conform/data/setjmp.h-data: Likewise.
24169 * conform/data/signal.h-data: Likewise.
24170 * conform/data/spawn.h-data: Likewise.
24171 * conform/data/stdarg.h-data: Likewise.
24172 * conform/data/stdio.h-data: Likewise.
24173 * conform/data/stdlib.h-data: Likewise.
24174 * conform/data/string.h-data: Likewise.
24175 * conform/data/strings.h-data: Likewise.
24176 * conform/data/stropts.h-data: Likewise.
24177 * conform/data/sys/ipc.h-data: Likewise.
24178 * conform/data/sys/mman.h-data: Likewise.
24179 * conform/data/sys/msg.h-data: Likewise.
24180 * conform/data/sys/resource.h-data: Likewise.
24181 * conform/data/sys/select.h-data: Likewise.
24182 * conform/data/sys/sem.h-data: Likewise.
24183 * conform/data/sys/shm.h-data: Likewise.
24184 * conform/data/sys/socket.h-data: Likewise.
24185 * conform/data/sys/stat.h-data: Likewise.
24186 * conform/data/sys/statvfs.h-data: Likewise.
24187 * conform/data/sys/time.h-data: Likewise.
24188 * conform/data/sys/timeb.h-data: Likewise.
24189 * conform/data/sys/times.h-data: Likewise.
24190 * conform/data/sys/types.h-data: Likewise.
24191 * conform/data/sys/uio.h-data: Likewise.
24192 * conform/data/sys/un.h-data: Likewise.
24193 * conform/data/sys/utsname.h-data: Likewise.
24194 * conform/data/sys/wait.h-data: Likewise.
24195 * conform/data/syslog.h-data: Likewise.
24196 * conform/data/tar.h-data: Likewise.
24197 * conform/data/termios.h-data: Likewise.
24198 * conform/data/utime.h-data: Likewise.
24199 * conform/data/utmpx.h-data: Likewise.
24200 * conform/data/varargs.h-data: Likewise.
24201 * conform/data/wchar.h-data: Likewise.
24202 * conform/data/wctype.h-data: Likewise.
24203 * conform/data/wordexp.h-data: Likewise.
24205 * include/stropts.h: New file.
24206 * include/uchar.h: New file.
24207 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24208 * include/assert.h: Likewise.
24209 * include/ctype.h: Likewise.
24210 * include/dirent.h: Likewise.
24211 * include/dlfcn.h: Likewise.
24212 * include/fcntl.h: Likewise.
24213 * include/fnmatch.h: Likewise.
24214 * include/glob.h: Likewise.
24215 * include/grp.h: Likewise.
24216 * include/libio.h: Likewise.
24217 * include/locale.h: Likewise.
24218 * include/math.h: Likewise.
24219 * include/net/if.h: Likewise.
24220 * include/netdb.h: Likewise.
24221 * include/netinet/in.h: Likewise.
24222 * include/pthread.h: Likewise.
24223 * include/pwd.h: Likewise.
24224 * include/regex.h: Likewise.
24225 * include/sched.h: Likewise.
24226 * include/search.h: Likewise.
24227 * include/setjmp.h: Likewise.
24228 * include/signal.h: Likewise.
24229 * include/stdio.h: Likewise.
24230 * include/stdlib.h: Likewise.
24231 * include/string.h: Likewise.
24232 * include/sys/cdefs.h: Likewise.
24233 * include/sys/mman.h: Likewise.
24234 * include/sys/msg.h: Likewise.
24235 * include/sys/resource.h: Likewise.
24236 * include/sys/select.h: Likewise.
24237 * include/sys/socket.h: Likewise.
24238 * include/sys/stat.h: Likewise.
24239 * include/sys/statvfs.h: Likewise.
24240 * include/sys/time.h: Likewise.
24241 * include/sys/times.h: Likewise.
24242 * include/sys/uio.h: Likewise.
24243 * include/sys/utsname.h: Likewise.
24244 * include/sys/wait.h: Likewise.
24245 * include/termios.h: Likewise.
24246 * include/time.h: Likewise.
24247 * include/ulimit.h: Likewise.
24248 * include/unistd.h: Likewise.
24249 * include/utime.h: Likewise.
24250 * include/wchar.h: Likewise.
24251 * include/wctype.h: Likewise.
24252 * include/wordexp.h: Likewise.
24254 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24256 * time/time.h: TIME_UTC must be a macro.
24257 Make timespec_get available for ISO C11 only as well.
24259 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24261 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24262 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24266 * configure.in: Use -o not -a in test for unsupported multi-arch.
24268 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24270 * manual/texinfo.tex: Update to version 2012-01-19.16.
24272 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24274 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24276 2012-02-24 Roland McGrath <roland@hack.frob.com>
24279 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24280 * manual/fdl-1.3.texi: New file.
24281 * manual/fdl-1.1.texi: File removed.
24284 * manual/libc.texinfo (FDL_VERSION): New @set.
24285 Use it for mention of FDL in cover text.
24286 (Documentation License): Use it in @include file name.
24288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24289 Roland McGrath <roland@hack.frob.com>
24292 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24293 not LONG_LONG_MAX and LONG_LONG_MIN.
24294 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24295 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24297 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24303 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24304 manipulate bits before adding and subtracting TWO23[sx].
24305 * math/libm-test.inc (nearbyint_test): Add more tests.
24307 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24310 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24311 bits before adding and subtracting TWO23[sx].
24312 * math/libm-test.inc (rint_test): Add more tests.
24313 (rint_test_tonearest): Likewise.
24314 (rint_test_towardzero): Likewise.
24315 (rint_test_downward): Likewise.
24316 (rint_test_upward: Likewise.
24318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24321 * include/stdc-predef.h: New file. Extracted from features.h.
24322 * include/features.h: Include stdc-predef.h.
24323 * Makefile (headers): Add stdc-predef.h.
24324 * CONFORMANCE (Compiler limitations): Update.
24326 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24328 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24330 2012-02-21 David S. Miller <davem@davemloft.net>
24332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24335 2012-02-20 David S. Miller <davem@davemloft.net>
24337 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24338 using a normal save/restore sequence, rather than allocating a
24339 dummy stack frame just to store a frame pointer and restore.
24340 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24342 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24344 * manual/install.texi: Fix stray word in line-wrapped comment.
24346 2012-02-20 David S. Miller <davem@davemloft.net>
24348 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24349 both binutils and gcc support GOTDATA.
24351 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24352 "rd %pc" in the PIC register setup sequences.
24354 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24355 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24357 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24358 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24363 (SYSCALL_ERROR_HANDLER): Likewise.
24364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24365 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24367 (SYSCALL_ERROR_HANDLER): Likewise.
24369 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24370 (HAVE_GCC_GOTDATA): New.
24371 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24372 relocation support in both binutils and gcc.
24373 * sysdeps/sparc/elf/configure: Regenerate.
24375 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24376 * sysdeps/sparc/sparc32/elf/configure: Delete.
24377 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24378 * sysdeps/sparc/sparc64/elf/configure: Delete.
24379 * sysdeps/sparc/elf/configure.in: New file.
24380 * sysdeps/sparc/elf/configure: Generate.
24382 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24383 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24385 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24386 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24388 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24390 * manual/install.texi: Do not mention specific glibc version
24392 * manual/libc.texinfo (VERSION, UPDATED): Update.
24393 (@copying): Use @copyright{} and range of years.
24395 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24398 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24399 [crti.S not in sysdirs] (generated): Do not append.
24400 [crti.S not in sysdirs] (omit-deps): Likewise.
24401 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24402 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24403 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24404 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24405 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24407 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24408 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24409 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24410 * csu/defs.awk: Remove file.
24411 * sysdeps/generic/initfini.c: Likewise.
24412 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24414 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24417 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24419 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24420 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24421 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24422 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24424 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24426 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24427 (__EPOLL_PACKED): Define to empty if not defined by
24429 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24435 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24436 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24438 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24440 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24444 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24446 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24453 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24456 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24458 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24460 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24461 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24463 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24465 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24468 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24470 * math/w_acos.c: Use non-signaling floating-point comparisons.
24471 * math/w_acosf.c: Likewise.
24472 * math/w_acosh.c: Likewise.
24473 * math/w_acoshf.c: Likewise.
24474 * math/w_acoshl.c: Likewise.
24475 * math/w_acosl.c: Likewise.
24476 * math/w_asin.c: Likewise.
24477 * math/w_asinf.c: Likewise.
24478 * math/w_asinl.c: Likewise.
24479 * math/w_atanh.c: Likewise.
24480 * math/w_atanhf.c: Likewise.
24481 * math/w_atanhl.c: Likewise.
24482 * math/w_exp2.c: Likewise.
24483 * math/w_exp2f.c: Likewise.
24484 * math/w_exp2l.c: Likewise.
24485 * math/w_j0.c: Likewise.
24486 * math/w_j0f.c: Likewise.
24487 * math/w_j0l.c: Likewise.
24488 * math/w_j1.c: Likewise.
24489 * math/w_j1f.c: Likewise.
24490 * math/w_j1l.c: Likewise.
24491 * math/w_jn.c: Likewise.
24492 * math/w_jnf.c: Likewise.
24493 * math/w_log.c: Likewise.
24494 * math/w_log10.c: Likewise.
24495 * math/w_log10f.c: Likewise.
24496 * math/w_log10l.c: Likewise.
24497 * math/w_log2.c: Likewise.
24498 * math/w_log2f.c: Likewise.
24499 * math/w_log2l.c: Likewise.
24500 * math/w_logf.c: Likewise.
24501 * math/w_logl.c: Likewise.
24502 * math/w_sqrt.c: Likewise.
24503 * math/w_sqrtf.c: Likewise.
24504 * math/w_sqrtl.c: Likewise.
24505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24507 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24508 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24509 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24511 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24514 * manual/string.texi (strnlen): Use correct parameter name in
24515 equivalent expression.
24517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24520 * manual/users.texi (seteuid): Consistently use neweuid for
24523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24526 * manual/nss.texi (Services in the NSS configuration): Correct
24527 list of services in example configuration file.
24529 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24532 * manual/arith.texi: Remove statements about negative zero
24533 behaving identically to zero.
24535 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24538 * manual/install.texi: Do not document upgrading from libc5.
24540 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24543 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24545 2012-02-18 David S. Miller <davem@davemloft.net>
24547 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24548 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24549 %o7 across the call.
24550 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24553 SETUP_PIC_REG_LEAF.
24554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24555 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24556 * sysdeps/sparc/crtn.S: Likewise.
24558 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24560 * aout/Makefile: Remove.
24562 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24565 * manual/examples/argp-ex1.c (main): Format definition in GNU
24567 * manual/examples/argp-ex2.c (main): Likewise.
24568 * manual/examples/argp-ex3.c (main): Likewise.
24569 * manual/examples/argp-ex4.c (main): Likewise.
24570 * manual/examples/longopt.c (main): Use new-style prototype
24572 * manual/examples/strncat.c (main): Specify return type and use
24573 (void) for arguments.
24574 * manual/examples/subopt.c (main): Use char **argv argument.
24576 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24579 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24582 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24585 * manual/string.texi (strchr): Change when strchrnul is
24588 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24591 * manual/locale.texi (setlocale): Document LOCPATH.
24593 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24596 * manual/process.texi (execle): Move @dots{} before last argument.
24598 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24601 * manual/charset.texi (Generic Charset Conversion): Fix typo
24602 (LC_TYPE -> LC_CTYPE).
24604 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24607 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24608 (scalbnf): Likewise.
24609 (scalbnl): Likewise.
24610 (scalbln): Likewise.
24611 (scalblnf): Likewise.
24612 (scalblnl): Likewise.
24613 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24614 (vwarnx): Likewise.
24617 * manual/filesys.texi (telldir): Use braces around return type.
24618 * manual/llio.texi (mmap): Add space after comma.
24619 (mmap64): Likewise.
24620 * manual/math.texi (jn): Use @var{} on parameter names.
24626 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24628 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24630 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24631 (sched_get_priority_max): Likewise.
24632 * manual/signal.texi (sigvec): Add space after comma.
24633 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24635 (if_indextoname): Likewise.
24636 (if_freenameindex): Likewise.
24637 (sendto): Use ',' instead of '.' in prototype.
24638 * manual/startup.texi (syscall): Use @dots{} instead of literal
24640 * manual/stdio.texi (__fpending): Separate initial words of
24641 paragraph from @deftypefun line.
24642 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24644 (vsyslog): Use @var{} on parameter names.
24645 * manual/terminal.texi (stty): Use @var{} on parameter names.
24646 * manual/users.texi (getutmp): Use @var{} on parameter names.
24647 (getutmpx): Likewise.
24649 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24652 * manual/stdio.texi (fopen): Fix typos in description of
24655 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24658 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24659 get clock_id definition.
24661 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24664 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24665 (madvise): Cast every argument to void on its own.
24667 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24670 * manual/startup.texi (Exit Status): Fix typo.
24672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24675 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24676 * manual/examples/argp-ex2.c: Likewise.
24677 * manual/examples/argp-ex3.c: Likewise.
24679 2012-02-16 Richard Henderson <rth@redhat.com>
24681 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24682 * sysdeps/s390/s390-32/initfini.c: Remove.
24683 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24684 * sysdeps/s390/s390-64/initfini.c: Remove.
24686 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24688 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24689 compiler output for sysdeps/generic/initfini.c.
24690 * sysdeps/sh/elf/initfini.c: Remove file.
24692 2012-02-16 David S. Miller <davem@davemloft.net>
24695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24697 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24698 * sysdeps/sparc/crti.S: New file.
24699 * sysdeps/sparc/crtn.S: New file.
24700 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24701 * sysdeps/sparc/sparc64/Makefile: Likewise.
24703 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24706 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24708 2012-02-15 Roland McGrath <roland@hack.frob.com>
24711 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24713 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24714 (write, read, close): Likewise.
24715 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24717 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24719 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24720 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24721 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24722 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24724 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24728 2012-02-14 Marek Polacek <polacek@redhat.com>
24730 * sysdeps/x86_64/crti.S: New file.
24731 * sysdeps/x86_64/crtn.S: New file.
24732 * sysdeps/x86_64/elf/initfini.c: Remove file.
24734 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24736 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24737 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24738 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24739 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24741 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24745 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24747 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24748 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24749 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24750 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24752 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24756 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24758 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24759 __feraiseexcept instead of feraiseexcept.
24761 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24762 nanosleep invocations.
24763 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24764 strings, and add error checking for a nanosleep invocations.
24766 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24768 Replace FSF snail mail address with URLs, as per GNU coding standards.
24769 Most of the snail mail addresses were wrong anyway, and omitting
24770 them makes the source code easier to maintain. Almost all of the
24771 changes are to license notices and to locale LC_IDENTIFICATION
24772 addresses, except for this one:
24773 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24774 not its snail mail address.
24776 2012-02-09 Richard Henderson <rth@twiddle.net>
24778 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24779 of kernel-features.h.
24781 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24783 2012-02-08 Marek Polacek <polacek@redhat.com>
24785 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24786 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24787 * sysdeps/gnu/_G_config.h: Likewise.
24788 * sysdeps/generic/_G_config.h: Likewise.
24790 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24792 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24796 * sysdeps/powerpc/powerpc32/crti.S: New file.
24797 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24798 * sysdeps/powerpc/powerpc64/crti.S: New file.
24799 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24801 * Makeconfig (have-initfini): Don't set.
24802 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24803 * configure.in (nopic_initfini): Don't substitute.
24804 * config.h.in (HAVE_INITFINI): Don't #undef.
24805 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24806 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24808 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24810 Support crti.S and crtn.S provided directly by architectures.
24811 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24812 [crti.S in sysdirs] (omit-deps): Likewise.
24813 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24814 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24815 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24816 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24817 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24818 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24819 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24820 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24821 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24822 compiler output for sysdeps/generic/initfini.c.
24823 * sysdeps/i386/elf/Makefile: Remove file.
24824 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24826 2012-02-07 Marek Polacek <polacek@redhat.com>
24828 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24829 * sysdeps/gnu/_G_config.h: Likewise.
24830 * sysdeps/mach/hurd/_G_config.h: Likewise.
24832 2012-02-07 Marek Polacek <polacek@redhat.com>
24834 * math/Makefile (tests): Add tst-CMPLX2.
24835 * math/tst-CMPLX2.c: New file.
24837 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24841 * math/libm-test.inc (jn_test): Add missing L suffix.
24843 2012-02-06 Marek Polacek <polacek@redhat.com>
24845 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24846 * sysdeps/i386/fpu/e_powf.S: Likewise.
24847 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24848 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24849 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24850 * sysdeps/i386/fpu/e_pow.S: Likewise.
24851 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24853 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24854 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24855 * sysdeps/i386/fpu/e_log2.S: Likewise.
24856 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24857 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24858 * sysdeps/i386/fpu/e_powl.S: Likewise.
24859 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24860 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24861 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24862 * sysdeps/i386/fpu/e_logl.S: Likewise.
24863 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24864 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24865 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24866 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24867 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24869 * sysdeps/i386/fpu/e_log.S: Likewise.
24870 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24871 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24872 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24873 * sysdeps/i386/fpu/e_logf.S: Likewise.
24874 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24875 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24876 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24877 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24878 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24879 * sysdeps/i386/fpu/e_log10.S: Likewise.
24880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24885 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24886 * sysdeps/i386/asm-syntax.h: Likewise.
24887 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24888 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24889 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24890 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24891 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24893 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24894 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24896 * sysdeps/powerpc/sysdep.h: Likewise.
24897 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24900 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24903 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24905 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24907 * sysdeps/i386/sysdep.h: Include <features.h>.
24908 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24911 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24913 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24915 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24918 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24920 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24921 (SETUP_PIC_REG): Use GET_PC_THUNK.
24922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24925 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24928 for non-PIC compilation.
24929 (SETUP_PIC_REG): Add .p2align directive.
24930 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24931 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24932 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24933 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24934 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24935 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24936 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24938 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24939 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24940 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24941 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24960 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24962 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24963 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24964 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24965 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24966 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24967 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24970 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24972 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24974 * math/tst-CMPLX.c: Include <stdio.h>.
24976 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24978 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24980 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24981 * sysdeps/sparc/bits/mathdef.h: Likewise.
24983 2012-01-31 Marek Polacek <polacek@redhat.com>
24985 * libio/libio.h: Don't define _PARAMS.
24986 * locale/programs/config.h: Don't define PARAMS.
24987 * stdlib/strtol_l.c: Likewise.
24988 (__strtol_l): Remove PARAMS from the prototype.
24990 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24992 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24993 names. Just use the correct names. Remove unnecessary wrapper
24995 * malloc/arena.c: Likewise.
24996 * malloc/hooks.c: Likewise.
24998 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24999 ARENA_TEST says not to. Simplify test for creation of a new arena.
25000 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25002 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25004 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25006 (update_get_addr): New function.
25007 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25008 GET_ADDR_MODULE parameter.
25010 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25012 * crypt/cert.c: Remove __STDC__ conditionals.
25013 * crypt/crypt-entry.c: Likewise.
25014 * crypt/crypt_util.c: Likewise.
25015 * libio/filedoalloc.c: Likewise.
25016 * libio/fileops.c: Likewise.
25017 * libio/genops.c: Likewise.
25018 * libio/iofclose.c: Likewise.
25019 * libio/iofdopen.c: Likewise.
25020 * libio/iofopen.c: Likewise.
25021 * libio/iofopen64.c: Likewise.
25022 * libio/iogetdelim.c: Likewise.
25023 * libio/iopopen.c: Likewise.
25024 * libio/obprintf.c: Likewise.
25025 * libio/oldfileops.c: Likewise.
25026 * libio/oldiofclose.c: Likewise.
25027 * libio/oldiofdopen.c: Likewise.
25028 * libio/oldiofopen.c: Likewise.
25029 * libio/oldiopopen.c: Likewise.
25030 * libio/wfiledoalloc.c: Likewise.
25031 * libio/wgenops.c: Likewise.
25032 * locale/programs/xmalloc.c: Likewise.
25033 * misc/syslog.c: Likewise.
25034 * stdio-common/xbug.c: Likewise.
25035 * string/memchr.c: Likewise.
25036 * string/memcmp.c: Likewise.
25037 * string/memrchr.c: Likewise.
25038 * string/rawmemchr.c: Likewise.
25039 * sysdeps/posix/getcwd.c: Likewise.
25040 * time/strftime_l.c: Likewise.
25042 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25044 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25045 * config.make.in (config-cflags-sse2avx): Define.
25046 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25049 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25051 * scripts/config.guess: Update from upstream config git repository.
25052 * scripts/config.sub: Likewise.
25054 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25056 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25058 (R_TILEPRO_*, R_TILEGX_*): New macros.
25060 * scripts/firstversions.awk: Fix bug in version range handling.
25062 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25064 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25066 * include/sys/epoll.h: New file.
25067 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25070 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25072 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25073 Avoid unnecessary __WORDSIZE == 64 test.
25074 (fmaxf): Use VEX format if possible.
25079 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25080 * math/math_private.h: Remove libc_fegetround* and
25082 * sysdeps/i386/configure.in: Check for -msse2avx.
25083 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25084 also if SSE2AVX is defined.
25085 Remove libc_fegetround* and libc_fesetround*.
25086 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25087 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25096 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25098 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25104 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25107 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25109 * Makeconfig (libm): Define.
25110 * elf/Makefile: Add rules to build and run tst-relsort1.
25111 * elf/tst-relsort1.c: New file.
25112 * elf/tst-relsort1mod1.c: New file.
25113 * elf/tst-relsort1mod2.c: New file.
25115 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25117 * math/s_ldexp.c: Remove __STDC__ conditionals.
25118 * math/s_ldexpf.c: Likewise.
25119 * math/s_ldexpl.c: Likewise.
25120 * math/s_nextafter.c: Likewise.
25121 * math/s_nexttowardf.c: Likewise.
25122 * math/s_significand.c: Likewise.
25123 * math/s_significandf.c: Likewise.
25124 * math/s_significandl.c: Likewise.
25125 * math/w_jnl.c: Likewise.
25126 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25127 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25128 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25129 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25130 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25140 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25141 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25145 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25146 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25147 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25148 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25150 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25151 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25153 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25154 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25155 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25160 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25161 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25162 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25163 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25164 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25165 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25166 * sysdeps/ieee754/k_standard.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25228 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25246 * sysdeps/ieee754/s_matherr.c: Likewise.
25247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25252 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25254 * crypt/md5.h: Remove __STDC__ conditionals.
25255 * libio/libioP.h: Likewise.
25256 * locale/programs/config.h: Likewise.
25257 * sysdeps/generic/sysdep.h: Likewise.
25258 * sysdeps/i386/asm-syntax.h: Likewise.
25259 * sysdeps/s390/asm-syntax.h: Likewise.
25260 * sysdeps/unix/sysdep.h: Likewise.
25261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25264 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25266 * libio/libio.h: Remove __STDC__ conditionals.
25267 * malloc/obstack.h: Likewise.
25268 * math/complex.h: Likewise.
25269 * math/math.h: Likewise.
25270 * sysdeps/generic/_G_config.h: Likewise.
25271 * sysdeps/gnu/_G_config.h: Likewise.
25272 * sysdeps/mach/hurd/_G_config.h: Likewise.
25273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25274 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25275 * sysdeps/sparc/bits/mathdef.h: Likewise.
25277 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25281 Clean up HAS_* macros.
25282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25283 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25293 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25295 * elf/tst-unique3.cc (gets): Remove declaration.
25296 * elf/tst-unique3lib.cc (gets): Likewise.
25297 * elf/tst-unique3lib2.cc (gets): Likewise.
25298 * elf/tst-unique4.cc (gets): Likewise.
25300 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25302 * include/stdio.h: Add C++ protection. Add gets declarations and
25304 * debug/tst-chk1.c: Don't declare gets here.
25305 * stdio-common/tst-gets.c: Likewise.
25307 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25309 * posix/glob: Remove directory.
25311 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25313 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25315 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25317 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25318 of the non-standard EPFNOSUPPORT.
25320 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25322 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25323 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25324 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25326 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25328 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25330 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25332 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25334 * nscd/grpcache.c (cache_addgr): Likewise.
25335 * nscd/hstcache.c (cache_addhst): Likewise.
25336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25337 * nscd/pwdcache.c (cache_addpw): Likewise.
25338 * nscd/servicescache.c (cache_addserv): Likewise.
25340 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25342 * malloc/malloc.c: Various cleanups.
25343 * malloc/hooks.c: Likewise.
25345 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25346 * stdlib/bug-fmtmsg1.c: New file.
25348 * stdlib/fmtmsg.c (init): Add missing unlock.
25349 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25351 2012-01-12 Marek Polacek <polacek@redhat.com>
25353 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25356 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25358 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25359 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25360 macro to ensure uniqueness of label name.
25361 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25362 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25364 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25366 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25368 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25369 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25373 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25375 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25377 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25379 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25381 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25388 * math/bits/math-finite.h: Add ldexp support.
25390 2012-01-10 Marek Polacek <polacek@redhat.com>
25392 * locale/programs/localedef.h (show_archive_content): Add noreturn
25395 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25397 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25399 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25401 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25403 * io/Makefile (headers): Add bits/poll2.h.
25405 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25408 typo #include statement.
25410 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25412 * include/sys/cdefs.h: Define __attribute_alloc_size.
25413 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25414 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25415 * elf/pldd.c: Likewise.
25416 * iconv/iconv_charmap.c: Likewise.
25417 * iconv/iconvconfig.c: Likewise.
25418 * iconv/strtab.c: Likewise.
25419 * locale/programs/locale.c: Likewise.
25420 * locale/programs/localedef.h: Likewise.
25421 * locale/programs/simple-hash.c: Likewise.
25422 * nscd/nscd.h: Likewise.
25423 * nss/makedb.c: Likewise.
25424 * sysdeps/generic/ldconfig.h: Likewise.
25425 * locale/programs/localedef.c: Remove xmalloc prototype.
25426 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25428 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25430 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25433 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25435 * math/Makefile (tests): Add tst-CMPLX.
25436 * math/tst-CMPLX.c: New file.
25438 * math/complex.h (CMPLXL): Fix typo.
25440 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25441 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25443 * debug/tst-chk1.c: Add poll and ppoll tests.
25444 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25445 * include/sys/poll.h: Add hidden proto for ppoll.
25446 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25447 * sysdeps/mach/hurd/ppoll.c: Likewise.
25448 * io/ppoll.c: Likewise.
25449 * debug/poll_chk.c: New file.
25450 * debug/ppoll_chk.c: New file.
25451 * include/bits/poll2.h: New file.
25452 * io/bits/poll2.h: New file.
25455 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25457 * configure.in: static is always set to yes. Remove.
25458 * config.make.in: Don't set build-static.
25459 * Makeconfig: Remove use of build-static.
25460 * dlfcn/Makefile: Likewise.
25461 * elf/Makefile: Likewise.
25462 * math/Makefile: Likewise.
25463 * misc/Makefile: Likewise.
25464 * nptl/Makefile: Likewise.
25465 * sysdeps/mach/hurd/Makefile: Likewise.
25467 * configure.in: PWD_P is not used anymore.
25468 * config.make.in: Remove PWD_P entry.
25470 * configure.in: Remove last remnants of RANLIB.
25471 No need to check for signed size_t anymore.
25472 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25474 Remove __builtin_expect test because we require at least gcc 3.4.
25475 * aclocal.m4: Likewise.
25477 * wcsmbs/mbrtoc16.c: Implement using towc function.
25478 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25479 * wcsmbs/wcsmbsload.c: Likewise.
25480 * iconv/gconv_simple.c: Likewise.
25481 * iconv/gconv_int.h: Likewise.
25482 * iconv/gconv_builtin.h: Likewise.
25483 * iconv/iconv_prog.c: Remove CHAR16 handling.
25485 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25487 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25489 * configure.in: Remove --with-elf and --enable-bounded options.
25490 Dont set base_machine for ia64. More non-ELF conditions removed.
25491 Remove testing and setting of leading underscore information.
25492 * config.make.in (build-bounded): Set to no.
25493 * config.h.in: Remove NO_UNDERSCORES entry.
25494 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25496 * csu/start.c: Remove !NO_UNDERSCORE code.
25497 * locale/localeinfo.h: Likewise.
25498 * sysdeps/generic/machine-gmon.h: Likewise.
25499 * sysdeps/generic/sysdep.h: Likewise.
25500 * sysdeps/i386/sysdep.h: Likewise.
25501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25502 * sysdeps/mach/sysdep.h: Likewise.
25503 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25505 * sysdeps/sh/sysdep.h: Likewise.
25506 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25507 * sysdeps/unix/i386/sysdep.S: Likewise.
25508 * sysdeps/unix/sparc/start.c: Likewise.
25509 * sysdeps/unix/sparc/sysdep.S: Likewise.
25510 * sysdeps/unix/sparc/sysdep.h: Likewise.
25511 * sysdeps/unix/start.c: Likewise.
25512 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25513 * sysdeps/x86_64/sysdep.h: Likewise.
25515 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25518 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25520 * argp/argp-fmtstream.h: Use const instead __const.
25521 * argp/argp.h: Likewise.
25522 * assert/assert.h: Likewise.
25523 * bits/fenv.h: Likewise.
25524 * bits/sched.h: Likewise.
25525 * bits/sigset.h: Likewise.
25526 * bits/sigthread.h: Likewise.
25527 * catgets/nl_types.h: Likewise.
25528 * conform/data/pthread.h-data: Likewise.
25529 * crypt/crypt-private.h: Likewise.
25530 * crypt/crypt.h: Likewise.
25531 * crypt/crypt_util.c: Likewise.
25532 * ctype/ctype.h: Likewise.
25533 * debug/execinfo.h: Likewise.
25534 * debug/mbsnrtowcs_chk.c: Likewise.
25535 * debug/mbsrtowcs_chk.c: Likewise.
25536 * debug/wcsnrtombs_chk.c: Likewise.
25537 * debug/wcsrtombs_chk.c: Likewise.
25538 * debug/wcstombs_chk.c: Likewise.
25539 * dirent/dirent.h: Likewise.
25540 * dlfcn/dlfcn.h: Likewise.
25541 * elf/neededtest4.c: Likewise.
25542 * grp/grp.h: Likewise.
25543 * gshadow/gshadow.h: Likewise.
25544 * iconv/gconv.h: Likewise.
25545 * iconv/gconv_int.h: Likewise.
25546 * iconv/gconv_simple.c: Likewise.
25547 * iconv/iconv.h: Likewise.
25548 * iconv/loop.c: Likewise.
25549 * iconv/skeleton.c: Likewise.
25550 * include/aio.h: Likewise.
25551 * include/aliases.h: Likewise.
25552 * include/argz.h: Likewise.
25553 * include/arpa/inet.h: Likewise.
25554 * include/assert.h: Likewise.
25555 * include/dirent.h: Likewise.
25556 * include/dlfcn.h: Likewise.
25557 * include/execinfo.h: Likewise.
25558 * include/fcntl.h: Likewise.
25559 * include/fenv.h: Likewise.
25560 * include/glob.h: Likewise.
25561 * include/grp.h: Likewise.
25562 * include/libintl.h: Likewise.
25563 * include/mntent.h: Likewise.
25564 * include/netdb.h: Likewise.
25565 * include/pwd.h: Likewise.
25566 * include/rpc/netdb.h: Likewise.
25567 * include/sched.h: Likewise.
25568 * include/search.h: Likewise.
25569 * include/shadow.h: Likewise.
25570 * include/signal.h: Likewise.
25571 * include/stdio.h: Likewise.
25572 * include/stdlib.h: Likewise.
25573 * include/string.h: Likewise.
25574 * include/sys/socket.h: Likewise.
25575 * include/sys/stat.h: Likewise.
25576 * include/sys/statfs.h: Likewise.
25577 * include/sys/statvfs.h: Likewise.
25578 * include/sys/syslog.h: Likewise.
25579 * include/sys/time.h: Likewise.
25580 * include/sys/uio.h: Likewise.
25581 * include/time.h: Likewise.
25582 * include/unistd.h: Likewise.
25583 * include/utmp.h: Likewise.
25584 * include/wchar.h: Likewise.
25585 * include/wctype.h: Likewise.
25586 * inet/aliases.h: Likewise.
25587 * inet/arpa/inet.h: Likewise.
25588 * inet/netinet/ether.h: Likewise.
25589 * inet/netinet/in.h: Likewise.
25590 * intl/libintl.h: Likewise.
25591 * io/bits/fcntl2.h: Likewise.
25592 * io/fcntl.h: Likewise.
25593 * io/ftw.h: Likewise.
25594 * io/sys/poll.h: Likewise.
25595 * io/sys/stat.h: Likewise.
25596 * io/sys/statfs.h: Likewise.
25597 * io/sys/statvfs.h: Likewise.
25598 * io/utime.h: Likewise.
25599 * libio/bits/stdio.h: Likewise.
25600 * libio/bits/stdio2.h: Likewise.
25601 * libio/libio.h: Likewise.
25602 * libio/libioP.h: Likewise.
25603 * libio/stdio.h: Likewise.
25604 * locale/lc-ctype.c: Likewise.
25605 * locale/locale.h: Likewise.
25606 * login/utmp.h: Likewise.
25607 * malloc/arena.c: Likewise.
25608 * malloc/malloc.c: Likewise.
25609 * malloc/malloc.h: Likewise.
25610 * malloc/mcheck.c: Likewise.
25611 * malloc/mtrace.c: Likewise.
25612 * math/bits/mathcalls.h: Likewise.
25613 * math/fenv.h: Likewise.
25614 * math/math_private.h: Likewise.
25615 * misc/bits/error.h: Likewise.
25616 * misc/bits/syslog.h: Likewise.
25617 * misc/err.h: Likewise.
25618 * misc/error.h: Likewise.
25619 * misc/fstab.h: Likewise.
25620 * misc/mntent.h: Likewise.
25621 * misc/regexp.h: Likewise.
25622 * misc/search.h: Likewise.
25623 * misc/sgtty.h: Likewise.
25624 * misc/sys/mman.h: Likewise.
25625 * misc/sys/syslog.h: Likewise.
25626 * misc/sys/uio.h: Likewise.
25627 * misc/sys/xattr.h: Likewise.
25628 * misc/ttyent.h: Likewise.
25629 * nis/rpcsvc/ypclnt.h: Likewise.
25630 * nss/nss.h: Likewise.
25631 * posix/bits/unistd.h: Likewise.
25632 * posix/fnmatch.h: Likewise.
25633 * posix/glob.h: Likewise.
25634 * posix/sched.h: Likewise.
25635 * posix/spawn.h: Likewise.
25636 * posix/sys/wait.h: Likewise.
25637 * posix/unistd.h: Likewise.
25638 * posix/wordexp.h: Likewise.
25639 * pwd/pwd.h: Likewise.
25640 * resolv/netdb.h: Likewise.
25641 * resource/sys/resource.h: Likewise.
25642 * rt/aio.h: Likewise.
25643 * rt/bits/mqueue2.h: Likewise.
25644 * rt/mqueue.h: Likewise.
25645 * shadow/shadow.h: Likewise.
25646 * signal/signal.h: Likewise.
25647 * socket/send.c: Likewise.
25648 * socket/sendto.c: Likewise.
25649 * socket/sys/socket.h: Likewise.
25650 * stdio-common/printf.h: Likewise.
25651 * stdlib/bits/stdlib.h: Likewise.
25652 * stdlib/fmtmsg.h: Likewise.
25653 * stdlib/monetary.h: Likewise.
25654 * stdlib/stdlib.h: Likewise.
25655 * stdlib/ucontext.h: Likewise.
25656 * streams/stropts.h: Likewise.
25657 * string/argz.h: Likewise.
25658 * string/bits/string2.h: Likewise.
25659 * string/string.h: Likewise.
25660 * string/strings.h: Likewise.
25661 * sunrpc/rpc/auth.h: Likewise.
25662 * sunrpc/rpc/auth_des.h: Likewise.
25663 * sunrpc/rpc/clnt.h: Likewise.
25664 * sunrpc/rpc/netdb.h: Likewise.
25665 * sunrpc/rpc/pmap_clnt.h: Likewise.
25666 * sunrpc/rpc/xdr.h: Likewise.
25667 * sysdeps/generic/inttypes.h: Likewise.
25668 * sysdeps/generic/net/if.h: Likewise.
25669 * sysdeps/generic/sys/swap.h: Likewise.
25670 * sysdeps/gnu/net/if.h: Likewise.
25671 * sysdeps/gnu/utmpx.h: Likewise.
25672 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25673 * sysdeps/i386/i486/bits/string.h: Likewise.
25674 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25675 * sysdeps/s390/bits/string.h: Likewise.
25676 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25677 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25678 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25679 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25680 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25681 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25682 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25683 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25684 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25685 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25686 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25687 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25688 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25689 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25690 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25691 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25692 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25696 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25698 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25699 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25700 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25701 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25702 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25704 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25706 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25707 * sysvipc/sys/ipc.h: Likewise.
25708 * sysvipc/sys/msg.h: Likewise.
25709 * sysvipc/sys/sem.h: Likewise.
25710 * sysvipc/sys/shm.h: Likewise.
25711 * termios/termios.h: Likewise.
25712 * time/sys/time.h: Likewise.
25713 * time/time.h: Likewise.
25714 * wcsmbs/bits/wchar2.h: Likewise.
25715 * wcsmbs/uchar.h: Likewise.
25716 * wcsmbs/wchar.h: Likewise.
25717 * wctype/wctype.h: Likewise.
25720 * Makeconfig: Remove all but ELF support including AIX support.
25721 * Makerules: Likewise.
25722 * config.h.in: Likewise.
25723 * config.make.in: Likewise.
25724 * configure: Likewise.
25725 * configure.in: Likewise.
25726 * csu/Makefile: Likewise.
25727 * csu/version.c: Likewise.
25728 * debug/Makefile: Likewise.
25729 * dlfcn/Makefile: Likewise.
25730 * elf/Makefile: Likewise.
25731 * extra-lib.mk: Likewise.
25732 * iconv/Makefile: Likewise.
25733 * include/libc-symbols.h: Likewise.
25734 * include/shlib-compat.h: Likewise.
25735 * resolv/Makefile: Likewise.
25736 * resolv/res_libc.c: Likewise.
25737 * rt/Makefile: Likewise.
25738 * sysdeps/i386/asm-syntax.h: Likewise.
25739 * sysdeps/i386/sysdep.h: Likewise.
25740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25741 * sysdeps/mach/sysdep.h: Likewise.
25742 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25743 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25744 * sysdeps/s390/asm-syntax.h: Likewise.
25745 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25746 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25747 * sysdeps/sh/sysdep.h: Likewise.
25748 * sysdeps/unix/sparc/sysdep.h: Likewise.
25749 * sysdeps/wordsize-32/divdi3.c: Likewise.
25750 * sysdeps/x86_64/sysdep.h: Likewise.
25752 * argp/Versions: Remove _argp_unlock_xxx.
25755 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25756 * abilist/libBrokenLocale.abilist: Likewise.
25757 * abilist/libanl.abilist: Likewise.
25758 * abilist/libc.abilist: Likewise.
25759 * abilist/libcrypt.abilist: Likewise.
25760 * abilist/libdl.abilist: Likewise.
25761 * abilist/libm.abilist: Likewise.
25762 * abilist/libnsl.abilist: Likewise.
25763 * abilist/libpthread.abilist: Likewise.
25764 * abilist/libresolv.abilist: Likewise.
25765 * abilist/librt.abilist: Likewise.
25766 * abilist/libthread_db.abilist: Likewise.
25767 * abilist/libutil.abilist: Likewise.
25768 * abilist/libnss_db.abilist: New file.
25770 * scripts/abilist.awk: Add support for indirect functions.
25772 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25774 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25776 * shlib-versions: Remove entries for ports architectures.
25778 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25780 * elf/stackguard-macros.h: Remove support for IA-64.
25781 * elf/tst-auditmod1.c: Likewise.
25782 * sysdeps/generic/ldsodefs.h: Likewise.
25784 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25785 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25789 * configure.in: Remove --enable-omitfp support.
25791 * config.make.in: Likewise.
25792 * Makeconfig: Likewise.
25793 * manual/install.texi: Likewise.
25795 In case anyone cares, the IA-64 architecture could move to ports.
25796 * sysdeps/ia64/*: Removed.
25797 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25798 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25801 * configure.in: Remove entries for unsupported architectures.
25804 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25805 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25807 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25808 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25809 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25810 fall back to using wcrtomb.
25811 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25812 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25814 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25815 * wcsmbs/tst-c16c32-1.c: New file.
25817 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25820 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25822 * elf/tst-unique3.cc: Add explicit declaration of gets.
25823 * elf/tst-unique3lib.cc: Likewise.
25824 * elf/tst-unique3lib2.cc: Likewise.
25825 * elf/tst-unique4.cc: Likewise.
25827 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25829 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25832 * assert/assert.h (static_assert): Don't define for C++.
25833 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25834 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25836 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25838 * iconv/loop.c (single loop): Fix assertion in storing of
25841 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25843 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25845 * posix/getconf.c: Update copyright year.
25846 * nss/getent.c: Likewise.
25847 * nss/makedb.c: Likewise.
25848 * iconv/iconvconfig.c: Likewise.
25849 * iconv/iconv_prog.c: Likewise.
25850 * elf/ldconfig.c: Likewise.
25851 * elf/pldd.c: Likewise.
25852 * elf/sotruss.ksh: Likewise.
25853 * catgets/gencat.c: Likewise.
25854 * csu/version.c: Likewise.
25855 * elf/ldd.bash.in: Likewise.
25856 * elf/sprof.c (print_version): Likewise.
25857 * locale/programs/locale.c: Likewise.
25858 * locale/programs/localedef.c: Likewise.
25859 * login/programs/pt_chown.c: Likewise.
25860 * nscd/nscd.c (print_version): Likewise.
25861 * debug/xtrace.sh: Likewise.
25862 * malloc/memusage.sh: Likewise.
25863 * malloc/mtrace.pl: Likewise.
25864 * debug/catchsegv.sh: Likewise.
25866 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25868 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25871 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25874 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25875 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25877 * iconv/gconv_int.h: Likewise.
25878 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25879 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25880 from libc for GLIBC_2.16.
25881 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25882 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25883 * wcsmbs/uchar.h: Really define mbstate_t.
25884 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25885 * wcsmbs/c16rtomb.c: New file.
25886 * wcsmbs/mbrtoc16.c: New file.
25887 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25888 for C/POSIX locale.
25889 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25890 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25892 * wcsmbs/wchar.h: Add missing __restrict.
25894 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25897 * time/Makefile (routines): Add timespec_get.
25898 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25899 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25900 timespec for ISO C11.
25901 * time/timespec_get.c: New file.
25902 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25903 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25906 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25907 * stdlib/stdlib.h: Declare aligned_alloc.
25908 * Versions.def: Add GLIBC_2.16 for libc.
25909 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25912 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25915 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25919 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25922 * assert/assert.h (static_assert): Define.
25924 * version.h: Update for 2.16 development version.
25927 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25930 * version.h (RELEASE): Bump for 2.15 release.
25931 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25933 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25934 Patch by Marek Polacek <mpolacek@redhat.com>.
25936 * bits/byteswap.h: Protect long long constants with __extension__.
25937 * sysdeps/i386/bits/byteswap.h: Likewise.
25938 * sysdeps/ia64/bits/byteswap.h: Likewise.
25939 * sysdeps/s390/bits/byteswap.h: Likewise.
25940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25945 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25946 destination buffer.
25947 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25949 2011-12-23 Marek Polacek <polacek@redhat.com>
25951 * elf/dl-addr.c (determine_info): Add inline keyword.
25952 * elf/tst-auditmod4b.c (check_avx): Likewise.
25953 * elf/tst-auditmod6b.c (check_avx): Likewise.
25954 * elf/tst-auditmod6c.c (check_avx): Likewise.
25955 * elf/tst-auditmod7b.c (check_avx): Likewise.
25957 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25959 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25962 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25965 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25966 processing for last bytes.
25968 2011-08-06 Bruno Haible <bruno@clisp.org>
25971 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25972 U+0385, not to U+1FEE.
25975 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25976 entry for U+00A5 U+0301.
25978 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25981 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25982 buffer for the output is too small.
25984 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25988 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25989 SSE flags if possible.
25991 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25995 processing for last bytes.
25997 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25999 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26000 (syscall-list-default-options, syscall-list-default-condition)
26001 (syscall-list-includes): Define.
26002 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26003 list of ABIs and options and #if conditions for each ABI. Do not
26004 handle common syscalls between ABIs specially.
26005 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26007 (syscall-list-variants, syscall-list-32bit-options)
26008 (syscall-list-32bit-condition, syscall-list-64bit-options)
26009 (syscall-list-64bit-condition): Define.
26010 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26011 (syscall-list-variants, syscall-list-32bit-options)
26012 (syscall-list-32bit-condition, syscall-list-64bit-options)
26013 (syscall-list-64bit-condition): Define.
26014 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26016 (syscall-list-variants, syscall-list-32bit-options)
26017 (syscall-list-32bit-condition, syscall-list-64bit-options)
26018 (syscall-list-64bit-condition): Define.
26019 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26021 (syscall-list-variants, syscall-list-32bit-options)
26022 (syscall-list-32bit-condition, syscall-list-64bit-options)
26023 (syscall-list-64bit-condition): Define.
26025 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26027 * locale/iso-639.def: Add brx entry.
26030 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26031 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26033 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26034 __feraiseexcept_renamed.
26036 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26039 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26040 EPOLLET with unsigned values.
26041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26044 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26045 to large cancellation.
26046 * math/s_cacoshf.c: Likewise.
26047 * math/s_cacoshl.c: Likewise.
26049 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26053 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26054 * math/s_cacoshf.c: Likewise.
26055 * math/s_cacoshl.c: Likewise.
26057 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26060 * iconv/gconv.h: Define __GCONV_SWAP.
26061 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26062 * iconvdata/utf-16.c: Likewise.
26063 * iconvdata/utf-32.c: Likewise.
26065 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26069 numerator after shifting it by one limb.
26071 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26073 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26074 under [__USE_EXTERN_INLINES].
26076 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26079 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26081 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26083 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26084 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26086 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26087 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26088 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26089 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26090 for strncasecmp/strncasecmp_l compilation.
26091 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26092 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26094 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26097 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26100 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26103 * time/tzfile.c (__tzfile_read): Check values from file header.
26105 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26107 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26108 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26109 * powerpc/powerpc32/dl-start.S: Likewise.
26110 * powerpc/powerpc32/elf/start.S: Likewise.
26111 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26112 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26113 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26114 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26115 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26116 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26117 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26118 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26119 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26120 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26121 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26122 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26123 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26124 * powerpc/powerpc32/memset.S: Likewise.
26125 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26126 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26127 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26128 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26129 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26130 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26131 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26132 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26133 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26134 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26135 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26139 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26141 * math/libm-test.inc: Added more nearbyint tests.
26142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26147 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26149 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26152 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26154 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26155 Add wcscpy-ssse3 wcscpy-c.
26156 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26157 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26158 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26159 * sysdeps/x86_64/wcschr.S: New file.
26160 * sysdeps/x86_64/wcsrchr.S: New file.
26161 * string/test-strcmp.c: Remove checking of wcscmp function for
26163 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26164 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26165 wcsrchr-sse2 wcsrchr-c.
26166 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26167 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26168 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26169 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26170 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26171 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26172 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26173 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26174 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26175 * wcsmbc/wcschr.c (WCSCHR): New macro.
26177 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26179 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26180 * wcsmbs/test-wcsrchr.c: New file.
26181 * string/test-strrchr.c: Add wcsrchr support.
26183 * wcsmbs/test-wcscpy.c: New file.
26184 * string/test-strcpy.c: Add wcscpy support.
26187 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26192 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26195 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26197 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26200 Minor optimizations.
26202 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26203 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26204 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26206 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26208 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26209 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26210 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26211 for gcc to avoid warnings.
26212 * inet/Makefile (tests): Add tst-checks.
26213 * inet/tst-checks.c: New file.
26215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26218 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26221 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26222 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26224 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26226 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26228 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26231 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26233 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26235 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26236 conditional on GCC version.
26237 (__arch_compare_and_exchange_val_8_acq)
26238 (__arch_compare_and_exchange_val_16_acq)
26239 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26240 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26241 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26243 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26245 * sysdeps/sh/backtrace.c: New file.
26247 2011-12-02 Andreas Schwab <schwab@redhat.com>
26249 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26252 2011-12-01 Andreas Schwab <schwab@redhat.com>
26254 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26255 falling back to utime.
26257 2011-11-30 Andreas Schwab <schwab@redhat.com>
26259 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26260 expectations for float.
26262 2011-11-29 Andreas Schwab <schwab@redhat.com>
26264 * locale/weight.h (findidx): Add parameter len.
26265 * locale/weightwc.h (findidx): Likewise.
26266 * posix/fnmatch_loop.c (FCT): Adjust caller.
26267 * posix/regcomp.c (build_equiv_class): Likewise.
26268 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26269 * posix/regexec.c (check_node_accept_bytes): Likewise.
26270 * string/strcoll_l.c (STRCOLL): Likewise.
26271 * string/strxfrm_l.c (STRXFRM): Likewise.
26273 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26275 * Makefile.in: Remove CVSOPT handling.
26276 * configure.in: Remove use of AC_REVISION.
26277 * iconvdata/Makefile (distribute): No need to filter out CVS.
26278 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26281 2011-11-16 Andreas Schwab <schwab@redhat.com>
26283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26284 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26285 [USE_AS_STRNCASECMP_L]: Likewise.
26286 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26287 NO_TLS_DIRECT_SEG_REFS.
26288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26289 Fix argument offsets for non-PIC.
26290 [USE_AS_STRNCASECMP_L]: Likewise.
26291 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26292 NO_TLS_DIRECT_SEG_REFS.
26294 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26296 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26298 * locale/loadlocale.c (_nl_load_locale): Likewise.
26300 2011-11-15 Andreas Schwab <schwab@redhat.com>
26302 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26303 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26304 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26305 (SYSCALL_GETTIME): Set errno on error.
26307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26308 count references to noai6ai_cached.
26310 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26312 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26314 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26315 FD_CLOEXEC for /proc/self/maps.
26317 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26318 FD_CLOEXEC for /proc/meminfo.
26320 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26323 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26324 FD_CLOEXEC for given file.
26326 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26328 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26329 FD_CLOEXEC for /etc/hosts.
26330 (_gethtent): Likewise.
26332 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26334 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26335 cancellation and set FD_CLOEXEC for /etc/netgroup.
26337 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26338 reading /etc/publickey.
26340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26341 allow cancellation when reading /etc/group.
26343 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26345 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26347 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26348 when using data file.
26350 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26352 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26353 (write_nis_obj): Use "c" and "e" in fopen.
26355 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26357 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26359 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26361 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26363 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26366 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26368 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26370 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26372 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26373 file parsing and set FD_CLOEXEC.
26375 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26377 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26379 2011-11-14 Andreas Schwab <schwab@redhat.com>
26381 * malloc/arena.c (arena_get2): Don't call reused_arena when
26382 _int_new_arena failed.
26384 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26386 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26387 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26389 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26391 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26392 to compile strcasecmp and strncasecmp.
26393 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26394 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26398 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26401 locale-defines.sym to gen-as-const-headers.
26402 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26403 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26405 to compile strcasecmp and strncasecmp.
26406 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26407 strcasecmp_l and strncasecmp_l.
26408 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26409 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26410 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26411 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26412 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26414 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26415 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26416 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26417 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26418 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26420 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26422 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26423 result of SYSDEP_GETTIME_CPU to retval.
26424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26425 parameter list to macro. Remove trailing semicolon. Adjust users.
26427 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26435 from unused variable.
26437 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26439 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26442 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26445 * sunrpc/rpc_prot.c (rejected): Fix case value.
26447 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26448 unsigned long long int to avoid warnings in shift.
26450 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26452 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26455 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26456 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26459 * nis/nis_table.c (nis_list): Use variable of correct type for
26460 result of __follow_path call.
26462 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26464 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26465 of math functions ceil, trunc, floor, round, and sqrt, when
26466 avaliable on the platform.
26467 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26470 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26471 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26473 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26475 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26476 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26478 2011-11-11 Roland McGrath <roland@hack.frob.com>
26480 * include/unistd.h: Fix __readlink return type.
26481 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26483 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26485 * stdlib/ucontext.h: Undo last change for makecontext.
26487 2011-11-11 Andreas Schwab <schwab@redhat.com>
26489 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26491 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26492 * setjmp/setjmp.h: Mark functions as non-leaf.
26493 * setjmp/bits/setjmp2.h: Likewise.
26494 * stdlib/ucontext.h: Likewise.
26496 2011-11-10 Andreas Schwab <schwab@redhat.com>
26498 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26499 (reused_arena): Don't check arena limit.
26500 (arena_get2): Atomically check arena limit.
26502 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26504 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26505 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26510 2011-11-07 Andreas Schwab <schwab@redhat.com>
26512 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26513 handler when locking.
26515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26516 Fix size of allocated buffer.
26518 2011-11-04 Andreas Schwab <schwab@redhat.com>
26521 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26522 declarations for long double functions.
26523 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26525 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26527 2011-11-03 Andreas Schwab <schwab@redhat.com>
26529 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26532 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26535 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26537 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26539 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26541 * include/alloca.h (stackinfo_alloca_round): Define.
26542 (extend_alloca): Use it.
26543 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26544 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26547 * scripts/check-local-headers.sh: Ignore libaudit.h.
26549 * nscd/Makefile (extra-objs): Make recursively expanded.
26551 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26553 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26556 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26557 * posix/tst-rfc3484-2.c: Likewise.
26558 * posix/tst-rfc3484-3.c: Likewise.
26560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26562 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26564 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26565 process_vm_writev from libc using GLIBC_2.15 version.
26567 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26569 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26571 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26574 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26577 * nss/getent.c (initgroups_keys): Show error message in case no group
26580 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26581 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26582 __bump_nl_timestamp.
26583 * nscd/connections (nscd_init): When host database is served open
26584 netlink socket and request notification about configuration changes.
26585 (main_loop_poll): Track netlink file descriptor and bump timestamp
26586 in case data becomes available.
26587 (main_loop_epoll): Likewise.
26588 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26589 (database_pers_head): Add extra_data fileds.
26590 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26591 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26592 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26595 in6ai data, call __free_in6ai.
26596 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26597 Add -DHAVE_NETLINK.
26598 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26599 interface information. Reuse previous data if netlink timestamp
26601 (__bump_nl_timestamp): New function.
26602 (__free_in6ai): New function.
26604 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26606 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26607 close_not_cancel_no_status here.
26608 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26610 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26613 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26616 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26617 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26618 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26620 2011-07-03 Andreas Jaeger <aj@suse.de>
26623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26624 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26625 * math/libm-test.inc (sin_test): Add test case.
26627 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26630 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26633 * elf/chroot_canon.c (chroot_canon): Cleanups.
26635 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26638 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26639 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26641 * string/test-strchr.c: Make usable for strchrnul testing.
26642 * string/test-strchrnul.c: New file.
26643 * string/Makefile (strop-tests): Add strchrnul.
26645 * po/it.po: Update from translation team.
26646 * po/es.po: Likewise.
26648 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26651 the three constants needed as parameters. Drop the others.
26652 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26653 __m128i_strloadu_tolower.
26654 Create and initialize variable zero and use it in all the places
26655 where _mm_setzero_si128 was used.
26657 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26658 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26659 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26662 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26663 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26664 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26665 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26667 __mpranred, __mptan.
26668 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26669 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26670 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26671 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26672 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26673 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26675 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26676 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26678 2011-10-28 Andreas Schwab <schwab@redhat.com>
26680 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26681 redefine if SHARED.
26682 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26685 wide char related routines to wcsmbs subdir.
26687 2011-10-27 Andreas Schwab <schwab@redhat.com>
26690 * misc/sys/cdefs.h (__THROWNL): Define.
26691 * posix/unistd.h: Use __THREADNL instead of __THREAD
26692 for memory synchronization functions.
26694 2011-10-26 Roland McGrath <roland@hack.frob.com>
26697 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26699 * manual/stdio.texi (Obstack Streams): Node removed.
26701 2011-10-26 Andreas Schwab <schwab@redhat.com>
26703 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26707 * math/math_private.h (math_force_eval): Allow non-addressable
26709 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26711 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26714 file is not needed.
26716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26718 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26719 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26723 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26730 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26731 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26732 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26735 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26736 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26738 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26742 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26743 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26745 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26746 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26749 place. Use VEX encoding when compiling for AVX.
26751 2011-10-25 Andreas Schwab <schwab@redhat.com>
26753 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26754 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26756 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26758 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26760 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26761 useless if() expression.
26762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26774 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26775 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26777 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26782 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26784 2011-10-25 Andreas Schwab <schwab@redhat.com>
26786 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26788 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26790 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26792 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26793 .text section. Avoid duplicate constants.
26794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26804 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26811 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26818 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26819 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26820 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26821 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26822 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26823 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26824 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26825 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26826 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26827 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26828 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26829 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26830 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26832 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26833 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26840 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26842 * sysdeps/x86_64/dla.h: Move to ...
26843 * sysdeps/x86_64/fpu/dla.h: ...here.
26844 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26845 situations. Use __builtin_fma only for gcc 4.6 and up.
26847 * config.make.in: Add have-mfma4 entry.
26848 * configure.in: Substitute libc_cv_cc_fma4.
26849 * math/Makefile (dbl-only-routines): Add sincostab.
26850 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26851 Use __sincostab not sincos.
26852 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26859 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26860 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26861 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26862 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26865 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26867 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26868 define aliases when function name is a macro.
26869 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26870 sysdeps/ieee754/dbl-64/sincos.tbl.
26871 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26872 fma4-enabled routines.
26873 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26874 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26876 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26880 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26883 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26885 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26895 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26896 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26898 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26899 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26900 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26901 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26902 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26904 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26915 2011-10-24 Andreas Schwab <schwab@redhat.com>
26917 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26919 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26923 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26925 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26927 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26928 Remove unused variable magic_bits.
26929 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26931 * string/strnlen.c: Define and use STRNLEN macro.
26932 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26933 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26935 * wcsmbs/wcslen.c: Define and use WCSLEN.
26936 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26937 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26938 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26939 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26940 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26941 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26944 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26947 strnlen-sse2-no-bsf.
26948 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26951 Add strnlen support.
26952 (USE_AS_STRNLEN): New macro.
26953 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26955 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26956 * sysdeps/x86_64/wcslen.S: New file.
26958 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26961 XMM-moves are used for copying on small sizes.
26963 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26965 * wcsmbs/Makefile (strop-tests): Add wcschr.
26966 * wcsmbs/test-wcschr.c: New file.
26967 * string/test-strchr.c: Update.
26968 Add wcschr support.
26971 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26973 * wcsmbs/Makefile (strop-tests): Add wcslen.
26974 * wcsmbs/test-wcslen.c: New file.
26975 * string/test-strlen.c: Update.
26976 Add wcslen support.
26979 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26981 * po/it.po: Update from translation team.
26983 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26985 * sysdeps/x86_64/wcscmp.S: Update.
26986 Fix wrong comparison semantics.
26987 wcscmp shall use signed comparison not unsigned.
26988 Don't use substraction to avoid overflow bug.
26989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26990 * wcsmbc/wcscmp.c: Likewise.
26991 * string/test-strcmp.c: Likewise.
26992 Add new tests to check cases with negative values.
26994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26996 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26997 * sysdeps/x86_64/dla.h: ...here. New file.
26998 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27008 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27011 __ynl_finite aliases.
27013 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27017 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27019 [DLA_FMA] (EMULV): Use DLA_FMA.
27020 [DLA_FMA] (MUL12): Use EMULV.
27021 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27022 that are not needed.
27023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27031 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27033 * math/s_nan.c: Undef __nan.
27034 * math/s_nanf.c: Undef __nanf.
27035 * math/s_nanl.c: Undef __nanl.
27036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27039 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27041 * math/s_catan.c: Add branch predictions.
27042 * math/s_catanf.c: Likewise.
27043 * math/s_catanh.c: Likewise.
27044 * math/s_catanhf.c: Likewise.
27045 * math/s_catanhl.c: Likewise.
27046 * math/s_catanl.c: Likewise.
27047 * math/s_cexp.c: Likewise.
27048 * math/s_cexpf.c: Likewise.
27049 * math/s_cexpl.c: Likewise.
27050 * math/s_clog.c: Likewise.
27051 * math/s_clog10.c: Likewise.
27052 * math/s_clog10f.c: Likewise.
27053 * math/s_clog10l.c: Likewise.
27054 * math/s_clogf.c: Likewise.
27055 * math/s_clogl.c: Likewise.
27056 * math/s_csqrt.c: Likewise.
27057 * math/s_csqrtf.c: Likewise.
27058 * math/s_csqrtl.c: Likewise.
27059 * math/s_ctanf.c: Likewise.
27060 * math/s_ctanh.c: Likewise.
27061 * math/s_ctanhf.c: Likewise.
27062 * math/s_ctanhl.c: Likewise.
27063 * math/s_ctanl.c: Likewise.
27065 * math/math_private.h: Define __nan, __nanf, __nanl.
27066 * math/s_cacosh.c: Include <math_private.h>.
27067 * math/s_cacoshl.c: Likewise.
27068 * math/s_casinh.c: Likewise.
27069 * math/s_casinhf.c: Likewise.
27070 * math/s_casinhl.c: Likewise.
27071 * math/s_ccos.c: Rely entire on ccosh.
27072 * math/s_ccosf.c: Rely entire on ccoshf.
27073 * math/s_ccosl.c: Rely entirely on ccoshl.
27074 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27075 Remove tests for FE_INVALID.
27076 * math/s_ccoshf.c: Likewise.
27077 * math/s_ccoshl.c: Likewise.
27078 * math/s_csin.c: Likewise.
27079 * math/s_csinf.c: Likewise.
27080 * math/s_csinh.c Likewise.
27081 * math/s_csinhf.c: Likewise.
27082 * math/s_csinhl.c: Likewise.
27083 * math/s_csinl.c: Likewise.
27084 * math/s_ctan.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27086 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27089 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27092 compilation problems.
27094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27097 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27099 * sysdeps/i386/configure.in: Test for -mfma4 option.
27100 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27101 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27102 COMMON_CPUID_INDEX_80000001.
27103 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27104 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27105 use it if FMA3 is not supported.
27106 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27108 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27109 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27111 2011-10-20 Andreas Schwab <schwab@redhat.com>
27114 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27115 it would create a cycle with a link time dependency.
27117 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27119 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27121 * string/Makefile (strop-tests): Add rawmemchr.
27122 * string/test-rawmemchr.c: New file.
27124 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27126 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27127 when compiling str{,n}casecmp and when AVX is available. Hook up
27128 new optimized code in initializers.
27130 2011-10-19 Andreas Schwab <schwab@redhat.com>
27132 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27133 __feraiseexcept instead of feraiseexcept.
27135 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27137 * math/math_private.h: Define defaults for libc_fetestexcept and
27139 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27140 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27141 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27142 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27144 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27145 libc_fetestexcept and libc_feupdateenv.
27147 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27148 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27149 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27150 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27151 libc_feholdexcept_setround.
27153 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27154 Add s_nearbyint-c and s_nearbyintf-c.
27155 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27156 nearbyintf inlines.
27157 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27158 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27159 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27160 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27162 * math/math_private.h: Define defaults for libc_fegetround,
27163 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27164 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27165 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27167 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27168 standard functions.
27169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27170 Remove comments and hacks for old compiler versions.
27171 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27172 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27173 libc_feholdexceptl.
27175 2011-10-18 Andreas Schwab <schwab@redhat.com>
27177 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27178 (__feraiseexcept_renamed): Add __NTH.
27179 (feraiseexcept): Add __NTH. Rename local variables to fix
27180 namespace violations.
27182 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27188 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27189 recently added interfaces.
27190 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27192 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27193 about macro parameter expansion.
27195 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27196 __NO_MATH_INLINES is defined. Cleanups.
27198 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27199 and __floorf is target has SSE4.1.
27200 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27201 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27205 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27207 (floorf): Likewise.
27209 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27211 2011-10-17 Andreas Schwab <schwab@redhat.com>
27213 * misc/sys/cdefs.h: Fix last change.
27215 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27218 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27220 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27222 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27230 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27231 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27232 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27234 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27236 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27238 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27239 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27240 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27241 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27243 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27245 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27246 ceil, ceilf, floor, floorf.
27248 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27249 Perform IRELATIVE relocations last.
27251 * elf/do-rel.h: Add another parameter nrelative, replacing the
27252 local variable with the same name. Change name of the function
27253 to end in Rel or Rela (uppercase).
27254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27255 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27256 elf_dynamic_do_##reloc function.
27258 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27260 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27261 is sufficient, at least on modern CPUs.
27263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27265 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27266 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27268 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27270 * math/bits/math-finite.h: Add entries for exp.
27271 * math/e_expl.c: Add __*_finite alias.
27272 * sysdeps/i386/fpu/e_exp.S: Likewise.
27273 * sysdeps/i386/fpu/e_expf.S: Likewise.
27274 * sysdeps/i386/fpu/e_expl.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27280 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27281 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27283 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27284 is sufficient, at least on modern CPUs.
27286 * ctype/ctype-info.c (__ctype_init): Define.
27287 * include/ctype.h (__ctype_init): Declare.
27288 (__ctype_b_loc): The variable is always initialized.
27289 (__ctype_toupper_loc): Likewise.
27290 (__ctype_tolower_loc): Likewise.
27291 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27292 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27294 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27296 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27298 * configure.in: Also look in $cxxmachine/include for C++ system
27301 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27303 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27304 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27305 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27306 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27308 (USE_AS_WMEMCMP): New macro.
27310 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27311 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27312 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27313 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27315 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27316 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27317 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27318 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27319 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27320 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27321 (USE_AS_WMEMCMP): New macro.
27322 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27323 * sysdeps/string/test-memcmp.c: Update.
27324 Fix simple_wmemcmp.
27326 * wcsmbs/wmemcmp.c: Update.
27327 (WMEMCMP): New macro.
27330 2011-10-12 Andreas Jaeger <aj@suse.de>
27333 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27335 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27337 * libio/iofwide.c (do_length): Avoid warning.
27339 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27341 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27343 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27345 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27346 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27347 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27348 * sysdeps/i386/i686/fpu/e_log.S: New file.
27349 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27350 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27352 * ctype/ctype.h: Add support for inlined isXXX functions when
27353 compiling C++ code.
27355 2011-10-14 Andreas Schwab <schwab@redhat.com>
27357 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27359 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27361 2011-10-13 Roland McGrath <roland@hack.frob.com>
27364 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27366 2011-10-13 Andreas Schwab <schwab@redhat.com>
27368 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27369 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27372 * sysdeps/x86_64/memrchr.S: Check for zero size.
27374 * string/stratcliff.c: Add memrchr tests.
27376 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27379 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27380 rawmemchr-sse2 rawmemchr-sse2-bsf.
27381 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27382 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27383 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27384 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27385 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27386 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27387 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27388 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27389 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27390 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27391 * string/memrchr.c (MEMRCHR): New macro.
27393 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27395 Add integration with gcc's -ffinite-math-only and optimize wrapper
27397 * Versions.def: Define GLIBC_2.15 version for libm.
27398 * math/Makefile (headers): Add bits/math-finite.h.
27399 * math/bits/math-finite.h: New file.
27400 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27401 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27402 * math/e_acoshl.c: Add __*_finite alias.
27403 * math/e_acosl.c: Likewise.
27404 * math/e_asinl.c: Likewise.
27405 * math/e_atan2l.c: Likewise.
27406 * math/e_atanhl.c: Likewise.
27407 * math/e_coshl.c: Likewise.
27408 * math/e_exp10.c: Likewise.
27409 * math/e_exp10f.c: Likewise.
27410 * math/e_exp10l.c: Likewise.
27411 * math/e_exp2l.c: Likewise.
27412 * math/e_fmodl.c: Likewise.
27413 * math/e_gammal_r.c: Likewise.
27414 * math/e_hypotl.c: Likewise.
27415 * math/e_j0l.c: Likewise.
27416 * math/e_j1l.c: Likewise.
27417 * math/e_jnl.c: Likewise.
27418 * math/e_lgammal_r.c: Likewise.
27419 * math/e_log10l.c: Likewise.
27420 * math/e_log2l.c: Likewise.
27421 * math/e_logl.c: Likewise.
27422 * math/e_powl.c: Likewise.
27423 * math/e_sinhl.c: Likewise.
27424 * math/e_sqrtl.c: Likewise.
27425 * math/e_scalb.c: Completely rewritten and optimized.
27426 * math/e_scalbf.c: Likewise.
27427 * math/e_scalbl.c: Likewise.
27428 * math/w_acos.c: Likewise.
27429 * math/w_acosf.c: Likewise.
27430 * math/w_acosl.c: Likewise.
27431 * math/w_acosh.c: Likewise.
27432 * math/w_acoshf.c: Likewise.
27433 * math/w_acoshl.c: Likewise.
27434 * math/w_asin.c: Likewise.
27435 * math/w_asinf.c: Likewise.
27436 * math/w_asinl.c: Likewise.
27437 * math/w_atan2.c: Likewise.
27438 * math/w_atan2f.c: Likewise.
27439 * math/w_atan2l.c: Likewise.
27440 * math/w_atanh.c: Likewise.
27441 * math/w_atanhf.c: Likewise.
27442 * math/w_atanhl.c: Likewise.
27443 * math/w_exp10.c: Likewise.
27444 * math/w_exp10f.c: Likewise.
27445 * math/w_exp10l.c: Likewise.
27446 * math/w_fmod.c: Likewise.
27447 * math/w_fmodf.c: Likewise.
27448 * math/w_fmodl.c: Likewise.
27449 * math/w_j0.c: Likewise.
27450 * math/w_j0f.c: Likewise.
27451 * math/w_j0l.c: Likewise.
27452 * math/w_j1.c: Likewise.
27453 * math/w_j1f.c: Likewise.
27454 * math/w_j1l.c: Likewise.
27455 * math/w_jn.c: Likewise.
27456 * math/w_jnf.c: Likewise.
27457 * math/w_log.c: Likewise.
27458 * math/w_logf.c: Likewise.
27459 * math/w_logl.c: Likewise.
27460 * math/w_log10.c: Likewise.
27461 * math/w_log10f.c: Likewise.
27462 * math/w_log10l.c: Likewise.
27463 * math/w_log2.c: Likewise.
27464 * math/w_log2f.c: Likewise.
27465 * math/w_log2l.c: Likewise.
27466 * math/w_pow.c: Likewise.
27467 * math/w_powf.c: Likewise.
27468 * math/w_powl.c: Likewise.
27469 * math/w_remainder.c: Likewise.
27470 * math/w_remainderf.c: Likewise.
27471 * math/w_remainderl.c: Likewise.
27472 * math/w_scalb.c: Likewise.
27473 * math/w_scalbf.c: Likewise.
27474 * math/w_scalbl.c: Likewise.
27475 * math/w_sqrt.c: Likewise.
27476 * math/w_sqrtf.c: Likewise.
27477 * math/w_sqrtl.c: Likewise.
27478 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27479 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27481 * math/math_private.h: Declare __kernel_standard_f.
27482 * math/w_cosh.c: Remove cruft and optimize a bit.
27483 * math/w_coshf.c: Likewise.
27484 * math/w_coshl.c: Likewise.
27485 * math/w_exp2.c: Likewise.
27486 * math/w_exp2f.c: Likewise.
27487 * math/w_exp2l.c: Likewise.
27488 * math/w_hypot.c: Likewise.
27489 * math/w_hypotf.c: Likewise.
27490 * math/w_hypotl.c: Likewise.
27491 * math/w_lgamma.c: Likewise.
27492 * math/w_lgamma_r.c: Likewise.
27493 * math/w_lgammaf.c: Likewise.
27494 * math/w_lgammaf_r.c: Likewise.
27495 * math/w_lgammal.c: Likewise.
27496 * math/w_lgammal_r.c: Likewise.
27497 * math/w_sinh.c: Likewise.
27498 * math/w_sinhf.c: Likewise.
27499 * math/w_sinhl.c: Likewise.
27500 * math/w_tgamma.c: Likewise.
27501 * math/w_tgammaf.c: Likewise.
27502 * math/w_tgammal.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27505 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27506 Minor optimizations. Pretty printing. Remove cruft.
27507 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27511 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27512 * sysdeps/i386/fpu/e_asin.S: Likewise.
27513 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27514 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27515 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27516 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27517 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27518 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27519 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27520 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27521 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27522 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27523 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27524 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27525 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27526 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27527 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27528 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27529 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27530 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27531 * sysdeps/i386/fpu/e_log.S: Likewise.
27532 * sysdeps/i386/fpu/e_log10.S: Likewise.
27533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27534 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27535 * sysdeps/i386/fpu/e_log2.S: Likewise.
27536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27537 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27538 * sysdeps/i386/fpu/e_logf.S: Likewise.
27539 * sysdeps/i386/fpu/e_logl.S: Likewise.
27540 * sysdeps/i386/fpu/e_pow.S: Likewise.
27541 * sysdeps/i386/fpu/e_powf.S: Likewise.
27542 * sysdeps/i386/fpu/e_powl.S: Likewise.
27543 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27544 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27545 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27546 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27549 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27550 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27551 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27577 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27578 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27580 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27593 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27594 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27597 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27598 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27602 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27603 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27604 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27608 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27632 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27643 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27644 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27645 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27646 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27647 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27648 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27649 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27650 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27651 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27652 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27653 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27654 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27655 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27657 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27658 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27660 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27661 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27662 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27663 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27664 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27665 (__isnanf): Likewise.
27666 (__isinf_ns): Likewise.
27667 (__isinf_nsf): Likewise.
27668 (__finite): Likewise.
27669 (__finitef): Likewise.
27670 (__ieee754_sqrt): Define as macro.
27671 (__ieee754_sqrtf): Define as macro.
27672 (__ieee754_sqrtl): Define as macro.
27673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27675 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27676 __FINITE_MATH_ONLY__ consistent.
27677 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27679 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27681 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27686 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27688 * po/ja.po: Update from translation team.
27690 2011-10-08 Roland McGrath <roland@hack.frob.com>
27692 * locale/programs/locarchive.c (prepare_address_space): New function.
27693 (create_archive, enlarge_archive, open_archive): Use it.
27695 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27696 inside [SHARED], where it is used.
27698 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27700 * nss/getent.c (netgroup_keys): Remove unused variable.
27701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27703 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27705 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27706 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27710 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27711 * math/Makefile (libm-calls): Add s_isinf_ns.
27712 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27713 * math/multc3.c: Likewise.
27714 * math/s_casin.c: Likewise.
27715 * math/s_casinf.c: Likewise.
27716 * math/s_casinl.c: Likewise.
27717 * math/s_ccos.c: Likewise.
27718 * math/s_ccosf.c: Likewise.
27719 * math/s_ccosl.c: Likewise.
27720 * math/s_ctan.c: Likewise.
27721 * math/s_ctanf.c: Likewise.
27722 * math/s_ctanh.c: Likewise.
27723 * math/s_ctanhf.c: Likewise.
27724 * math/s_ctanhl.c: Likewise.
27725 * math/s_ctanl.c: Likewise.
27726 * math/w_fmod.c: Likewise.
27727 * math/w_fmodf.c: Likewise.
27728 * math/w_fmodl.c: Likewise.
27729 * math/w_remainder.c: Likewise.
27730 * math/w_remainderf.c: Likewise.
27731 * math/w_remainderl.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27733 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27736 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27737 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27738 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27739 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27741 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27743 * stdio-common/printf_fphex.c: Likewise.
27744 * stdio-common/printf_size.c: Likewise.
27746 * math/e_exp10.c: Include math_private.h using <...> not "...".
27747 * math/e_exp10f.c: Likewise.
27748 * math/e_exp10l.c: Likewise.
27749 * math/e_exp2l.c: Likewise.
27750 * math/e_j0l.c: Likewise.
27751 * math/e_j1l.c: Likewise.
27752 * math/e_jnl.c: Likewise.
27753 * math/e_lgammal_r.c: Likewise.
27754 * math/e_rem_pio2l.c: Likewise.
27755 * math/e_scalb.c: Likewise.
27756 * math/e_scalbf.c: Likewise.
27757 * math/e_scalbl.c: Likewise.
27758 * math/k_cosl.c: Likewise.
27759 * math/k_sinl.c: Likewise.
27760 * math/k_tanl.c: Likewise.
27761 * math/s_cacoshf.c: Likewise.
27762 * math/s_catan.c: Likewise.
27763 * math/s_catanf.c: Likewise.
27764 * math/s_catanh.c: Likewise.
27765 * math/s_catanhf.c: Likewise.
27766 * math/s_catanhl.c: Likewise.
27767 * math/s_catanl.c: Likewise.
27768 * math/s_ccosh.c: Likewise.
27769 * math/s_ccoshf.c: Likewise.
27770 * math/s_ccoshl.c: Likewise.
27771 * math/s_cexp.c: Likewise.
27772 * math/s_cexpf.c: Likewise.
27773 * math/s_cexpl.c: Likewise.
27774 * math/s_clog.c: Likewise.
27775 * math/s_clog10.c: Likewise.
27776 * math/s_clog10f.c: Likewise.
27777 * math/s_clog10l.c: Likewise.
27778 * math/s_clogf.c: Likewise.
27779 * math/s_clogl.c: Likewise.
27780 * math/s_csin.c: Likewise.
27781 * math/s_csinf.c: Likewise.
27782 * math/s_csinh.c: Likewise.
27783 * math/s_csinhf.c: Likewise.
27784 * math/s_csinhl.c: Likewise.
27785 * math/s_csinl.c: Likewise.
27786 * math/s_csqrt.c: Likewise.
27787 * math/s_csqrtf.c: Likewise.
27788 * math/s_csqrtl.c: Likewise.
27789 * math/s_ctan.c: Likewise.
27790 * math/s_ctanf.c: Likewise.
27791 * math/s_ctanh.c: Likewise.
27792 * math/s_ctanhf.c: Likewise.
27793 * math/s_ctanhl.c: Likewise.
27794 * math/s_ctanl.c: Likewise.
27795 * math/s_ldexp.c: Likewise.
27796 * math/s_ldexpf.c: Likewise.
27797 * math/s_ldexpl.c: Likewise.
27798 * math/s_significand.c: Likewise.
27799 * math/s_significandf.c: Likewise.
27800 * math/s_significandl.c: Likewise.
27801 * math/w_acos.c: Likewise.
27802 * math/w_acosf.c: Likewise.
27803 * math/w_acosh.c: Likewise.
27804 * math/w_acoshf.c: Likewise.
27805 * math/w_acoshl.c: Likewise.
27806 * math/w_acosl.c: Likewise.
27807 * math/w_asin.c: Likewise.
27808 * math/w_asinf.c: Likewise.
27809 * math/w_asinl.c: Likewise.
27810 * math/w_atan2.c: Likewise.
27811 * math/w_atan2f.c: Likewise.
27812 * math/w_atan2l.c: Likewise.
27813 * math/w_atanh.c: Likewise.
27814 * math/w_atanhf.c: Likewise.
27815 * math/w_atanhl.c: Likewise.
27816 * math/w_cosh.c: Likewise.
27817 * math/w_coshf.c: Likewise.
27818 * math/w_coshl.c: Likewise.
27819 * math/w_dremf.c: Likewise.
27820 * math/w_exp10.c: Likewise.
27821 * math/w_exp10f.c: Likewise.
27822 * math/w_exp10l.c: Likewise.
27823 * math/w_exp2.c: Likewise.
27824 * math/w_exp2f.c: Likewise.
27825 * math/w_fmod.c: Likewise.
27826 * math/w_fmodf.c: Likewise.
27827 * math/w_fmodl.c: Likewise.
27828 * math/w_hypot.c: Likewise.
27829 * math/w_hypotf.c: Likewise.
27830 * math/w_hypotl.c: Likewise.
27831 * math/w_j0.c: Likewise.
27832 * math/w_j0f.c: Likewise.
27833 * math/w_j0l.c: Likewise.
27834 * math/w_j1.c: Likewise.
27835 * math/w_j1f.c: Likewise.
27836 * math/w_j1l.c: Likewise.
27837 * math/w_jn.c: Likewise.
27838 * math/w_jnf.c: Likewise.
27839 * math/w_jnl.c: Likewise.
27840 * math/w_lgamma.c: Likewise.
27841 * math/w_lgamma_r.c: Likewise.
27842 * math/w_lgammaf.c: Likewise.
27843 * math/w_lgammaf_r.c: Likewise.
27844 * math/w_lgammal.c: Likewise.
27845 * math/w_lgammal_r.c: Likewise.
27846 * math/w_log.c: Likewise.
27847 * math/w_log10.c: Likewise.
27848 * math/w_log10f.c: Likewise.
27849 * math/w_log10l.c: Likewise.
27850 * math/w_log2.c: Likewise.
27851 * math/w_log2f.c: Likewise.
27852 * math/w_log2l.c: Likewise.
27853 * math/w_logf.c: Likewise.
27854 * math/w_logl.c: Likewise.
27855 * math/w_pow.c: Likewise.
27856 * math/w_powf.c: Likewise.
27857 * math/w_powl.c: Likewise.
27858 * math/w_remainder.c: Likewise.
27859 * math/w_remainderf.c: Likewise.
27860 * math/w_remainderl.c: Likewise.
27861 * math/w_scalb.c: Likewise.
27862 * math/w_scalbf.c: Likewise.
27863 * math/w_scalbl.c: Likewise.
27864 * math/w_sinh.c: Likewise.
27865 * math/w_sinhf.c: Likewise.
27866 * math/w_sinhl.c: Likewise.
27867 * math/w_sqrt.c: Likewise.
27868 * math/w_sqrtf.c: Likewise.
27869 * math/w_sqrtl.c: Likewise.
27870 * math/w_tgamma.c: Likewise.
27871 * math/w_tgammaf.c: Likewise.
27872 * math/w_tgammal.c: Likewise.
27874 * po/ja.po: Update from translation team.
27876 2011-09-29 Andreas Jaeger <aj@suse.de>
27879 * sunrpc/netname.c (netname2host): Fix logic.
27883 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27885 * math/w_remainder.c (__remainder): Likewise.
27886 * math/w_remainderf.c (__remainderf): Likewise.
27887 * math/libm-test.inc (remainder_test): Add test cases.
27889 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27891 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27894 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27896 * string/test-memcmp.c: Avoid unncessary #defines.
27897 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27899 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27901 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27902 Use new sse2 version for core i3 - i7 as it's faster
27903 than sse42 version.
27904 (bit_Prefer_PMINUB_for_stringop): New.
27905 * sysdeps/x86_64/rawmemchr.S: Update.
27906 Replace with faster SSE2 version.
27907 * sysdeps/x86_64/memrchr.S: New file.
27908 * sysdeps/x86_64/memchr.S: Update.
27909 Replace with faster SSE2 version.
27911 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27913 * elf/dl-load.c (lose): Add cast to avoid warning.
27915 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27917 * po/ca.po: Update from translation team.
27919 * inet/getnetgrent_r.c: Hook up nscd.
27920 * nscd/Makefile (routines): Add nscd_netgroup.
27921 (nscd-modules): Add netgroupcache.
27922 (CFLAGS-netgroupcache.c): Define.
27923 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27924 (cache_search): Add const to second parameter.
27925 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27927 (dbs): Add netgrdb entry.
27928 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27929 (verify_persistent_db): Handle netgrdb.
27930 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27931 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27933 (netgroup_response_header): Define.
27934 (innetgroup_response_header): Define.
27935 (datahead): Add netgroup_response_header and innetgroup_response_header
27937 * nscd/nscd.conf: Add entries for netgroup cache.
27938 * nscd/nscd.h (dbtype): Add netgrdb.
27939 (_PATH_NSCD_NETGROUP_DB): Define.
27940 (netgroup_iov_disabled): Declare.
27941 (xmalloc, xcalloc, xrealloc): Move declarations here.
27942 (cache_search): Adjust prototype.
27943 Add netgroup-related prototypes.
27944 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27945 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27946 (__nscd_innetgr): Declare.
27947 * nscd/selinux.c (perms): Use access_vector_t as element type and
27948 add netgroup-related initializers.
27949 * nscd/netgroupcache.c: New file.
27950 * nscd/nscd_netgroup.c: New file.
27951 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27952 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27953 For four parameters use innetgr.
27954 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27955 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27956 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27957 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27959 * nscd/connections.c (register_traced_file): Don't register file
27960 for disabled databases.
27962 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27964 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27966 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27967 from tree and freeing node.
27969 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27971 * nss/nsswitch.c (__nss_database_lookup): Handle
27972 nss_parse_service_list out of memory case.
27974 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27976 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27977 out of memory case.
27979 2011-10-04 Andreas Schwab <schwab@redhat.com>
27981 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27982 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27984 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27985 elf_machine_rela, elf_machine_lazy_rel.
27986 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27987 (ELF_DYNAMIC_DO_REL): Likewise.
27988 (ELF_DYNAMIC_DO_RELA): Likewise.
27989 (ELF_DYNAMIC_RELOCATE): Likewise.
27990 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27991 to ELF_DYNAMIC_DO_REL.
27992 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27993 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27994 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27997 skip_ifunc, don't call ifunc function if non-zero.
27998 (elf_machine_rela): Likewise.
27999 (elf_machine_lazy_rel): Likewise.
28000 (elf_machine_lazy_rela): Likewise.
28001 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28002 (elf_machine_lazy_rel): Likewise.
28003 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28005 (elf_machine_lazy_rel): Likewise.
28006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28008 (elf_machine_lazy_rel): Likewise.
28009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28010 (elf_machine_lazy_rel): Likewise.
28011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28012 (elf_machine_lazy_rel): Likewise.
28013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28014 (elf_machine_lazy_rel): Likewise.
28015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28016 (elf_machine_lazy_rel): Likewise.
28017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28018 (elf_machine_lazy_rel): Likewise.
28019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28020 (elf_machine_lazy_rel): Likewise.
28022 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28024 * nss/nss_files/files-init.c (_nss_files_init): Use static
28025 initialization for all the *_traced_file variables.
28027 2011-09-28 Andreas Schwab <schwab@redhat.com>
28029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28031 2011-09-27 Roland McGrath <roland@hack.frob.com>
28034 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28036 2011-09-27 Andreas Schwab <schwab@redhat.com>
28038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28039 Reread the line before reparsing it.
28041 2011-09-26 Andreas Schwab <schwab@redhat.com>
28043 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28045 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28046 Maxim Kuvyrkov <maxim@codesourcery.com>
28047 Joseph Myers <joseph@codesourcery.com>
28049 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28050 if needed for __stack_chk_guard.
28052 2011-09-19 Roland McGrath <roland@hack.frob.com>
28054 * sysdeps/posix/spawni.c (script_execute): Always define it.
28055 It will be optimized away if unused.
28056 (maybe_script_execute): New function.
28057 (__spawni): Call it.
28059 * Makerules: Don't include tls.make.
28060 (config-tls): Always set to thread.
28061 * tls.make.c: File removed.
28063 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28065 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28066 * config.make.in (CPPFLAGS-config): New substituted variable.
28068 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28073 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28074 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28076 2011-09-15 Roland McGrath <roland@hack.frob.com>
28078 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28079 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28081 (CALL_FAIL): Likewise.
28082 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28083 (CALL_FAIL): Macro removed.
28084 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28086 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28088 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28089 for __FINITE_MATH_ONLY__ == 1.
28091 2011-09-15 Andreas Schwab <schwab@redhat.com>
28093 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28094 __ieee754_sqrt instead of sqrt.
28095 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28096 __ieee754_sqrtf instead of sqrtf.
28097 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28098 __floorf instead of floorf.
28099 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28100 __floorf, __truncf instead of floorf, truncf.
28102 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28104 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28106 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28107 __extern_always_inline.
28108 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28111 2011-09-14 Andreas Schwab <schwab@redhat.com>
28113 * elf/rtld.c (dl_main): Also relocate in dependency order when
28114 doing symbol dependency testing.
28116 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28119 Always define `refsym'.
28121 2011-09-13 Andreas Schwab <schwab@redhat.com>
28123 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28124 (__FD_ELT): Renamed from __FDELT.
28125 * misc/bits/select2.h (__FD_ELT): Likewise.
28126 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28127 __FD_MASK instead of __FDELT, __FDMASK.
28128 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28130 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28133 * elf/Makefile (gen-ldd): Fix pattern.
28135 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28136 (init_tls): Likewise.
28138 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28142 2011-09-12 Andreas Schwab <schwab@redhat.com>
28144 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28145 `struct cmsghdr *' instead of `void *'.
28146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28149 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28151 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28153 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28154 ldd_rewrite_script.
28156 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28158 * configure.in: Remove --with-tls option.
28159 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28160 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28161 out in case it is missing.
28162 * sysdeps/ia64/elf/configure.in: Likewise.
28163 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28164 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28165 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28166 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28167 * sysdeps/sh/elf/configure.in: Likewise.
28168 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28169 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28170 * sysdeps/x86_64/elf/configure.in: Likewise.
28171 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28172 * sysdeps/mach/hurd/tls.h: Likewise.
28175 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28178 * configure.in: Fix use of AC_INIT.
28180 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28182 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28184 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28186 * malloc/hooks.c: Likewise.
28189 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28190 variables statically.
28191 (narenas): Initialize.
28192 (list_lock): Initialize.
28193 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28194 initializtion of main_arena and list_lock. Small cleanups.
28195 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28196 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28197 Add initializers to main_arena and mp_.
28198 (malloc_state): Remove pagesize member. Change all users to use
28201 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28202 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28203 is always initialized.
28205 * malloc/malloc.c: Removed unused configurations and dead code.
28206 * malloc/arena.c: Likewise.
28207 * malloc/hooks.c: Likewise.
28208 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28210 * include/tls.h: Removed. USE___THREAD must always be defined.
28211 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28212 * elf/dl-libc.c: Likewise.
28213 * elf/dl-tsd.c: Likewise.
28214 * include/errno.h: Likewise.
28215 * include/netdb.h: Likewise.
28216 * include/resolv.h: Likewise.
28217 * inet/herrno-loc.c: Likewise.
28218 * inet/herrno.c: Likewise.
28219 * malloc/arena.c: Likewise.
28220 * malloc/hooks.c: Likewise.
28221 * malloc/malloc.c: Likewise.
28222 * resolv/res-state.c: Likewise.
28223 * resolv/res_libc.c: Likewise.
28224 * sysdeps/i386/dl-machine.h: Likewise.
28225 * sysdeps/ia64/dl-machine.h: Likewise.
28226 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28227 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28228 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28229 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28230 * sysdeps/sh/dl-machine.h: Likewise.
28231 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28232 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28233 * sysdeps/unix/i386/sysdep.S: Likewise.
28234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28235 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28240 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28244 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28245 * sysdeps/x86_64/dl-machine.h: Likewise.
28246 * tls.make.c: Likewise.
28248 * configure.in: Remove --with-__thread option. Make tests for
28249 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28250 tls_model attribute fail if no support is available. Remove
28252 * Makeconfig: Adjust for dropped configure option. All features are
28254 * Makerules: Likewise.
28255 * Versions.def: Likewise.
28256 * argp/argp-fmtstream.c: Likewise.
28257 * argp/argp-fmtstream.h: Likewise.
28258 * argp/argp-help.c: Likewise.
28259 * assert/assert.c: Likewise.
28260 * config.h.in: Likewise.
28261 * config.make.in: Likewise.
28262 * configure: Likewise.
28263 * configure.in: Likewise.
28264 * csu/Versions: Likewise.
28265 * csu/init.c: Likewise.
28266 * elf/tst-audit2.c: Likewise.
28267 * elf/tst-tls10.c: Likewise.
28268 * elf/tst-tls10.h: Likewise.
28269 * elf/tst-tls11.c: Likewise.
28270 * elf/tst-tls12.c: Likewise.
28271 * elf/tst-tls14.c: Likewise.
28272 * elf/tst-tlsmod11.c: Likewise.
28273 * elf/tst-tlsmod12.c: Likewise.
28274 * elf/tst-tlsmod13.c: Likewise.
28275 * elf/tst-tlsmod13a.c: Likewise.
28276 * elf/tst-tlsmod14a.c: Likewise.
28277 * elf/tst-tlsmod15b.c: Likewise.
28278 * elf/tst-tlsmod16a.c: Likewise.
28279 * elf/tst-tlsmod16b.c: Likewise.
28280 * elf/tst-tlsmod7.c: Likewise.
28281 * elf/tst-tlsmod8.c: Likewise.
28282 * elf/tst-tlsmod9.c: Likewise.
28283 * gmon/gmon.c: Likewise.
28284 * grp/fgetgrent_r.c: Likewise.
28285 * grp/putgrent.c: Likewise.
28286 * hurd/fopenport.c: Likewise.
28287 * include/libc-symbols.h: Likewise.
28288 * include/tls.h: Likewise.
28289 * intl/gettextP.h: Likewise.
28290 * intl/loadinfo.h: Likewise.
28291 * locale/global-locale.c: Likewise.
28292 * locale/localeinfo.h: Likewise.
28293 * mach/devstream.c: Likewise.
28294 * malloc/arena.c: Likewise.
28295 * malloc/set-freeres.c: Likewise.
28296 * misc/err.c: Likewise.
28297 * misc/getttyent.c: Likewise.
28298 * misc/mntent_r.c: Likewise.
28299 * posix/getopt.c: Likewise.
28300 * posix/wordexp.c: Likewise.
28301 * pwd/fgetpwent_r.c: Likewise.
28302 * resolv/Versions: Likewise.
28303 * resolv/res_hconf.c: Likewise.
28304 * shadow/fgetspent_r.c: Likewise.
28305 * shadow/putspent.c: Likewise.
28306 * stdio-common/printf_fphex.c: Likewise.
28307 * stdio-common/tmpfile.c: Likewise.
28308 * stdlib/abort.c: Likewise.
28309 * stdlib/fmtmsg.c: Likewise.
28310 * sunrpc/auth_unix.c: Likewise.
28311 * sunrpc/clnt_perr.c: Likewise.
28312 * sunrpc/clnt_tcp.c: Likewise.
28313 * sunrpc/clnt_udp.c: Likewise.
28314 * sunrpc/clnt_unix.c: Likewise.
28315 * sunrpc/openchild.c: Likewise.
28316 * sunrpc/svc_simple.c: Likewise.
28317 * sunrpc/svc_tcp.c: Likewise.
28318 * sunrpc/svc_udp.c: Likewise.
28319 * sunrpc/svc_unix.c: Likewise.
28320 * sunrpc/xdr.c: Likewise.
28321 * sunrpc/xdr_array.c: Likewise.
28322 * sunrpc/xdr_rec.c: Likewise.
28323 * sunrpc/xdr_ref.c: Likewise.
28324 * sunrpc/xdr_stdio.c: Likewise.
28326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28328 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28330 2011-07-03 Andreas Jaeger <aj@suse.de>
28332 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28333 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28334 regenerate with gen-libm-tests.pl.
28336 2010-05-12 Petr Baudis <pasky@suse.cz>
28339 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28340 around j0() zero points by switching to j1().
28341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28346 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28350 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28353 Patch in part by Pavel Roskin <proski@gnu.org>.
28356 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28358 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28359 Free memory block if necessary.
28362 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28363 be NULL. Don't lock in this case.
28365 2011-09-09 Roland McGrath <roland@hack.frob.com>
28367 * elf/elf.h (ELFOSABI_GNU): New macro.
28368 (ELFOSABI_LINUX): Define to that.
28370 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28372 * string/strncat.c (strncat): Undef the symbol in case it has been
28373 defined in bits/string.h.
28375 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28377 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28379 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28382 2011-08-17 Andreas Jaeger <aj@suse.de>
28384 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28386 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28387 Ian Lance Taylor <iant@google.com>
28389 * math/libm-test.inc (lround_test): New testcase.
28390 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28392 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28394 * Makefile: Remove support for automatic cvs check-ins.
28395 * Makerules: Likewise.
28396 * config.make.in: Likewise.
28397 * configure.in: Likewise.
28398 * intl/Makefile: Likewise.
28399 * locale/Makefile: Likewise.
28400 * po/Makefile: Likewise.
28401 * posix/Makefile: Likewise.
28402 * sysdeps/gnu/Makefile: Likewise.
28403 * sysdeps/mach/hurd/Makefile: Likewise.
28404 * sysdeps/sparc/sparc32/Makefile: Likewise.
28407 * posix/Makefile (bug-regex32-ENV): Define.
28408 Patch by John Stanley <jpsinthemix@verizon.net>.
28410 * misc/Makefile (headers): Add bits/select2.h.
28411 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28412 * misc/bits/select2.h: New file.
28413 * include/bits/select2.h: New file.
28414 * debug/Makefile (routines): Add fdelt_chk.
28415 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28416 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28418 * debug/fdelt_chk.c: New file.
28420 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28421 * wcsmbs/test-wmemcmp.c: Likewise.
28422 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28423 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28425 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28427 * string/Makefile (strop-tests): Add memcmp.
28428 * string/test-wmemcmp.c: New file.
28429 * string/test-memcmp.c: Add wmemcmp support.
28431 2011-09-08 Roland McGrath <roland@hack.frob.com>
28434 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28437 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28438 garbage value in a __mach_port_mod_refs call in the cases of the
28439 task-self and thread-self ports.
28441 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28443 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28445 2011-09-08 Andreas Schwab <schwab@redhat.com>
28447 * elf/dl-load.c (lose): Check for non-null L.
28449 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28451 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28453 * elf/dl-libc.c (dlerror_run): Pass back error code from
28457 * elf/dl-load.c (lose): Free l_origin if it is valid.
28459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28461 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28465 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28466 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28468 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28470 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28471 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28474 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28475 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28476 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28477 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28478 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28479 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28481 2011-08-15 Alan Modra <amodra@gmail.com>
28484 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28485 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28486 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28487 ppc_mcount to static-only-routines.
28488 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28490 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28491 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28493 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28495 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28496 for finite and infinity parameters.
28498 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28501 and add nop instructions for throughput optimization.
28502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28504 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28507 aligned copy for power7 with vector-scalar instructions.
28508 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28510 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28515 2011-09-07 Andreas Schwab <schwab@redhat.com>
28518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28521 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28523 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28524 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28525 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28526 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28529 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28532 Forgot to demangle the pointer.
28534 * sysdeps/i386/sysdep.h: Define atom_text_section.
28535 * sysdeps/x86_64/sysdep.h: Likewise.
28536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28537 section with atom_text_section.
28538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28540 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28542 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28544 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28545 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28546 already be defined. Change to take two parameters and don't assign
28547 result to variable. Adjust all users.
28548 Define INTERNAL_GETTIME if not already defined.
28549 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28552 HAVE_CLOCK_GETTIME_VSYSCALL.
28553 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28556 gettimeofday vsyscall, just use time.
28558 2011-09-06 Andreas Schwab <schwab@redhat.com>
28560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28563 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28565 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28569 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28571 syscall if possible.
28573 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28575 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28576 e_ident. Don't pass to find_mapsXX.
28577 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28579 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28582 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28583 * sysdeps/x86_64/multiarch/strchr.S: Update.
28584 Check bit_slow_BSF bit.
28585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28586 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28592 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28594 (tryshell): Define.
28595 (__spawni): Change last parameter to be flag. Test
28596 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28597 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28598 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28599 * posix/spawni.c: Likewise.
28600 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28601 * posix/spawnp.c: Likewise. Change normal version to use
28602 SPAWN_XFLAGS_USE_PATH.
28603 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28604 SPAWN_XFLAGS_TRY_SHELL.
28607 * posix/glob.h: Remove gcc 1.x support.
28610 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28612 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28615 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28617 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28618 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28619 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28620 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28622 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28624 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28626 * sysdeps/x86_64/wcscmp.S: New file.
28628 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28629 wcscmp-c wcscmp-sse2
28630 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28631 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28632 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28633 * wcsmbs/wcscmp.c: Allow renaming.
28635 2011-09-05 David S. Miller <davem@davemloft.net>
28637 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28638 stack slot, rather than the struct return pointer slot.
28639 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28640 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28642 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28644 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28646 * po/ja.po: Update from translation team.
28649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28650 kernel in 64-bit binaries.
28652 2011-09-01 David S. Miller <davem@davemloft.net>
28654 * elf/elf.h (HWCAP_SPARC_*): Move to..
28655 * sysdeps/sparc/sysdep.h: this new file and add new values.
28656 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28657 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28658 _DL_HWCAP_COUNT to 24.
28659 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28661 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28662 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28663 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28665 instead of magic constants.
28666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28668 2011-08-31 David S. Miller <davem@davemloft.net>
28670 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28672 Reimplement to do errno handling inline.
28673 (SYSCALL_ERROR_HANDLER): New macro.
28674 (__SYSCALL_STRING): Do not do errno handling in asm.
28675 (__CLONE_SYSCALL_STRING): Delete.
28676 (__INTERNAL_SYSCALL_STRING): Delete.
28677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28678 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28679 (PSEUDO): Reimplement to do errno handling inline.
28680 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28681 (SYSCALL_ERROR_HANDLER): New macro.
28682 (__SYSCALL_STRING): Do not do errno handling in asm.
28683 (__CLONE_SYSCALL_STRING): Delete.
28684 (__INTERNAL_SYSCALL_STRING): Delete.
28685 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28686 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28688 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28689 (inline_syscall*): Add 'err' argument.
28690 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28691 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28692 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28693 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28695 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28698 2011-08-30 Andreas Schwab <schwab@redhat.com>
28700 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28702 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28704 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28707 2011-08-24 David S. Miller <davem@davemloft.net>
28709 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28711 2011-08-24 Andreas Schwab <schwab@redhat.com>
28713 * elf/Makefile: Add rules to build and run unload8 test.
28714 * elf/unload8.c: New file.
28715 * elf/unload8mod1.c: New file.
28716 * elf/unload8mod1x.c: New file.
28717 * elf/unload8mod2.c: New file.
28718 * elf/unload8mod3.c: New file.
28720 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28723 2011-08-23 David S. Miller <davem@davemloft.net>
28725 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28726 subtract stack bias.
28727 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28728 %sp not %fp in calculations.
28729 (_JMPBUF_UNWINDS_ADJ): Likewise.
28731 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28732 (aio_suspend): Call it to force an exception region around the
28733 AIO_MISC_WAIT() invocation.
28735 2011-08-23 Andreas Schwab <schwab@redhat.com>
28737 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28740 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28742 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28744 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28745 and <dl-machine.h>.
28746 (Elf64_FuncDesc): Remove.
28748 2011-08-22 David S. Miller <davem@davemloft.net>
28750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28751 sigaltstack check, add missing cfi directives.
28752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28753 missing cfi directives, and sigaltstack handling.
28755 2011-08-16 Andreas Schwab <schwab@redhat.com>
28758 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28759 object is seen twice.
28760 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28762 * elf/Makefile (distribute): Add tst-initorder2.c.
28763 (tests): Add tst-initorder2.
28764 (modules-names): Add tst-initorder2a tst-initorder2b
28765 tst-initorder2c tst-initorder2d. Add rules to build them.
28766 ($(objpfx)tst-initorder2.out): New rule.
28767 * elf/tst-initorder2.c: New file.
28768 * elf/tst-initorder2.exp: New file.
28770 2011-08-22 Andreas Schwab <schwab@redhat.com>
28772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28774 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28775 dependencies back to end of function.
28777 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28778 $(elfobjdir)/ld.so.
28780 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28783 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28785 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28786 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28787 of __vdso_gettimeofday.
28788 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28789 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28791 (_libc_vdso_platform_setup): Remove initialization of
28792 __vdso_gettimeofday and __vdso_time.
28794 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28796 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28797 and fgetc_unlocked.
28798 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28801 * elf/dl-open.c (add_to_global): Report additions to the global scope
28802 for LD_DEBUG=scopes.
28803 (dl_open_worker): Also print scope of newly loaded dependencies.
28804 (_dl_show_scope): Indicate if there is no scope.
28807 * stdio-common/Makefile (tests): Add bug24.
28808 * stdio-common/bug24.c: New file.
28810 2011-08-19 Andreas Jaeger <aj@suse.de>
28813 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28814 non-existant file when using close-on-exec mode.
28816 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28819 the very first instruction.
28821 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28822 the CFI state in the end.
28823 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28824 inclusion of dl-trampoline.h.
28825 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28827 2011-08-19 Andreas Schwab <schwab@redhat.com>
28829 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28830 expectations for long double.
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28833 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28835 2011-08-14 David S. Miller <davem@davemloft.net>
28837 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28838 artificual limit depends upon the system page size.
28840 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28842 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28843 * resolv/Makefile: Define CFLAGS-libresolv.
28845 2011-08-17 Andreas Schwab <schwab@redhat.com>
28847 * nss/makedb.c (compute_tables): Make variables used in nested
28850 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28852 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28853 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28854 if buffer was too small.
28856 * elf/pldd.c (main): Attach to all threads in the process.
28857 Rewrite /proc handling to use *at functions.
28859 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28861 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28862 specifies first scope to show.
28863 (dl_open_worker): Update callers. Move printing scope of new
28864 object to before the relocation.
28865 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28866 * sysdeps/generic/ldsodefs.h: Update declaration.
28868 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28869 string for the scope number.
28871 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28873 * nscd/servicescache.c (cache_addserv): Make sure written is always
28876 2011-08-14 Roland McGrath <roland@hack.frob.com>
28878 * sysdeps/i386/i486/bits/atomic.h
28879 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28880 statement expression, so as to suppress "set but not used" warning.
28881 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28883 * string/strncat.c (STRNCAT): Use prototype definition.
28885 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28886 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28888 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28889 (localedef-modules): Add localedef.
28890 (locale-modules): Add locale.
28892 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28893 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28894 to avoid a warning.
28896 2011-08-14 David S. Miller <davem@davemloft.net>
28898 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28899 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28901 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28903 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28904 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28905 * elf/rtld.c (dl_main): Set l_name of vDSO.
28906 Call _dl_show_scope when DL_DEBUG_SCOPES.
28907 (process_dl_debug): Recognize scopes flag and also set it for all.
28908 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28909 Declare _dl_show_scope.
28911 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28912 (do_dlopen): Pass caller_dlopen to dl_open.
28913 (__libc_dlopen_mode): Initialize caller_dlopen.
28915 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28916 of libc. Make tolower call locale-independent. Optimize a bit by
28917 using isdigit instead of isalnum.
28918 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28920 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28922 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28923 was a dependency or dynamically loaded.
28925 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28927 * intl/l10nflist.c: Allow architecture-specific pop function.
28928 * sysdeps/x86_64/l10nflist.c: New file.
28930 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28933 2011-08-10 Andreas Schwab <schwab@redhat.com>
28935 * include/dirent.h: Add libc_hidden_proto for scandirat and
28936 scandirat64. Don't declare __scandirat64.
28937 * dirent/scandirat.c: Add libc_hidden_def.
28938 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28939 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28941 2011-08-10 David S. Miller <davem@davemloft.net>
28943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28949 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28951 * Versions.def [libc]: Add GLIBC_2.15.
28952 * dirent/Makefile (routines): Add scandirat and scandirat64.
28953 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28955 * dirent/dirent.h: Declare scandirat and scandirat64.
28956 * dirent/scandirat.c: New file.
28957 * dirent/scandirat64.c: New file.
28958 * sysdeps/wordsize-64/scandirat.c: New file.
28959 * sysdeps/wordsize-64/scandirat64.c: New file.
28960 * dirent/opendir.c: Define opendirat.
28961 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28963 * dirent/scandir64.c: Adjust for scandir.c change.
28964 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28965 __scandirat64, and __scandir_cancel_handler.
28966 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28967 additional parameter and use openat instead of open (outside of ld.so).
28968 Add new __opendir as wrapper around __opendirat.
28969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28970 here without requiring old scandirat implementation.
28972 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28974 * dirent/scandir.c (cancel_handler): Renamed to
28975 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28976 defined. Adjust users.
28977 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28978 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28980 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28982 * string/test-string.h (IMPL): Use __STRING to expand name and then
28985 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28988 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28990 * string/Makefile: Update.
28991 (strop-tests): Append strncat.
28992 * string/test-wcscmp.c: New file.
28993 New comprehensive test for wcscmp.
28994 * string/test-strcmp.c: Update.
28995 (WIDE): New define.
28997 2011-07-22 Andreas Schwab <schwab@redhat.com>
28999 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29002 2011-07-26 Andreas Schwab <schwab@redhat.com>
29004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29005 encoding to ACE if AI_IDN.
29007 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29010 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29012 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29015 Fix overflow bug in strncat.
29016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29018 * string/test-strncat.c: Update.
29019 Add new tests for checking overflow bugs.
29021 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29024 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29025 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29026 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29028 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29029 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29030 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29031 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29034 (USE_AS_STRCAT): Define.
29035 Add strcat and strncat support.
29036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29038 2011-07-25 Andreas Schwab <schwab@redhat.com>
29040 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29041 __n bigger than INT_MAX+1.
29042 (__strncmp_g): Likewise.
29044 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29046 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29047 * libio/stido.h: Likewise.
29049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29054 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29057 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29061 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29066 (_dl_x86_64_save_sse): Likewise.
29068 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29072 (_dl_x86_64_save_sse): Likewise.
29074 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29076 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29078 2011-07-21 Andreas Schwab <schwab@redhat.com>
29080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29082 (_dl_x86_64_save_sse): Use correct AVX check.
29084 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29087 bug in strncpy/strncat.
29088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29090 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29092 * string/tester.c (test_strcat): Add tests for different alignments
29093 of source and destination.
29094 (test_strncat): Likewise.
29096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29099 * posix/glob.c (glob): Check passed in values before using them in
29100 expressions to avoid some overflows.
29101 (glob_in_dir): Likewise.
29104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29105 check for AVX enablement so that we don't crash with old kernels and
29107 * elf/tst-audit4.c: Add same checks here.
29108 * elf/tst-audit6.c: Likewise.
29110 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29112 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29114 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29116 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29118 * po/cs.po: Update from translation team.
29119 * po/bg.po: Likewise.
29121 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29123 * misc/sys/cdefs.h: Add support for const attribute.
29124 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29125 to gnu_dev_{major,minor,makedev} functions.
29127 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29129 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29131 2011-07-20 Andreas Schwab <schwab@redhat.com>
29133 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29136 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29139 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29140 register in order to avoid conflicts with the soft frame pointer
29141 being held in r11 when necessary.
29142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29143 (INTERNAL_VSYSCALL_NCS): Likewise.
29145 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29147 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29148 * elf/dl-fini.c (_dl_fini): Adjust caller.
29149 * elf/dl-close.c (_dl_close_worker): Likewise.
29150 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29152 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29154 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29155 "aux_cache->nlibs < 0".
29157 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29158 in the reload-count case.
29160 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29163 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29164 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29166 * sysdeps/x86_64/multiarch/strcat.S: New file.
29167 * sysdeps/x86_64/multiarch/strncat.S: New file.
29168 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29170 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29171 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29173 (USE_AS_STRCAT): Define.
29174 Add strcat and strncat support.
29175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29177 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29178 * string/strncat.c: Update.
29179 (USE_AS_STRNCAT): Define.
29180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29181 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29183 * sysdeps/x86_64/multiarch/init-arch.h
29184 (bit_Prefer_PMINUB_for_stringop): New.
29185 (index_Prefer_PMINUB_for_stringop): Likewise.
29186 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29187 bit_Prefer_PMINUB_for_stringop.
29189 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29191 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29193 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29194 of casting of buffer.
29195 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29196 buffer32 and buffer64.
29197 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29198 writes instead of casting of buffer.
29199 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29201 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29204 2011-07-19 Andreas Schwab <schwab@redhat.com>
29206 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29208 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29210 * nscd/nscd.c (termination_handler): Don't do anything for a database
29211 if it has not yet been initialized.
29213 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29215 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29217 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29219 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29221 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29223 * po/nl.po: Update from translation team.
29224 * po/sv.po: Likewise.
29226 2011-07-16 Roland McGrath <roland@hack.frob.com>
29228 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29229 now disallowed by GCC.
29231 * configure.in (use-default-link): Default to yes if a test -shared
29232 link meets our qualifications.
29233 * configure: Regenerated.
29235 * config.make.in (output-format): New variable.
29236 * configure.in: Check for ld --print-output-format support.
29237 * configure: Regenerated.
29238 * Makerules ($(common-objpfx)format.lds)
29239 [$(output-format) != unknown]: Just use $(output-format),
29240 instead of the linker-script munging.
29242 2011-07-14 Roland McGrath <roland@hack.frob.com>
29244 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29245 of $(common-objpfx)shlib.lds.
29246 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29248 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29249 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29251 * configure.in (-z relro check): Adjust test code to add a large
29252 writable data section after it.
29253 * configure: Regenerated.
29255 2011-07-11 Roland McGrath <roland@hack.frob.com>
29257 * configure.in (-z relro check): Fix test code to make the variable
29259 * configure: Regenerated.
29261 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29263 * nscd/nscd.h (struct traced_file): Define.
29264 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29265 elements. Add traced_files.
29266 (inotify_fd): Declare.
29267 (register_traced_file): Declare.
29268 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29269 (inotify_fd): Export.
29270 (resolv_conf_descr): Remove.
29271 (nscd_init): Move inotify descriptor creation to main.
29272 Don't register files for notification here.
29273 (register_traced_file): New function.
29274 (invalidate_cache): Don't use reset_res to determine whether to call
29275 res_init, go through the list of registered files.
29276 (main_loop_poll): The inotify descriptors are now stored in the
29277 structures for the traced files.
29278 (main_loop_epoll): Likewise
29279 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29280 to __nss_disable_nscd.
29281 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29282 for a database anymore. Check the records for all the registered
29284 * nss/Makefile (libnss_files-routines): Add files-init.
29285 (libnss_db-routines): Add db-init.
29286 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29287 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29288 * nss/nss_db/db-init.c: New file.
29289 * nss/nss_files/files-init.c: New file.
29290 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29291 __nss_lookup_function.
29292 (__nss_lookup_function): Call nss_load_library.
29293 (nss_load_all_libraries): New function.
29294 (__nss_disable_nscd): Take parameter with callback function for files
29295 to register. Set is_nscd. Load all the DSOs for the NSS modules
29296 used for the cached services.
29297 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29298 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29299 options for features to all the files in nscd.
29301 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29303 2011-07-10 Roland McGrath <roland@hack.frob.com>
29305 * csu/elf-init.c (__libc_csu_init): Comment typo.
29307 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29309 * po/pl.po: Update from translation team.
29310 * po/ja.po: Likewise.
29311 * po/ru.po: Likewise.
29312 * po/ko.po: Likewise.
29313 * po/fr.po: Likewise.
29315 2011-07-09 Roland McGrath <roland@hack.frob.com>
29317 * configure.in (.ctors/.dtors header and trailer check):
29318 Use an empirical test on a built program.
29319 * configure: Regenerated.
29321 * configure.in (-z relro check): Use an empirical test on a built DSO.
29322 Detect, but do not require, on ia64.
29323 * configure: Regenerated.
29325 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29326 Update tests that use readelf to use $READELF instead.
29327 * configure: Regenerated.
29329 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29331 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29332 if the result is not used.
29334 2011-07-05 Andreas Jaeger <aj@suse.de>
29337 * stdlib/tst-strtod.c: Add testcase.
29339 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29341 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29342 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29343 The latter has a higher limit. Take additional parameter to pass to
29345 (__pathconf): Pass file to __statfs_link_max.
29346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29348 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29352 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29356 (__statfs_filesize_max): Likewise.
29357 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29359 2011-07-05 Andreas Jaeger <aj@suse.de>
29361 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29363 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29365 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29367 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29370 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29372 * Makefile (strop-tests): Add strncat.
29373 * string/test-strncat.c: New file.
29375 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29377 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29379 2011-06-21 Andreas Jaeger <aj@suse.de>
29381 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29382 Copy rule from iconvdata/Makefile.
29384 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29387 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29388 but no long options are defined, just return 'W'.
29390 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29393 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29395 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29397 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29399 (innetgr): Likewise.
29401 2011-07-05 Roland McGrath <roland@hack.frob.com>
29403 * config.make.in (install_root): Default to $(DESTDIR).
29405 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29409 2011-07-02 Roland McGrath <roland@hack.frob.com>
29411 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29413 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29414 containing directory rather than embedding absolute directory names.
29416 * scripts/check-local-headers.sh: Rewritten using awk.
29417 Match by word, not by line. Print error messages for matches.
29418 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29420 * Makerules [shlib-lds-flags empty]:
29421 ($(common-objpfx)libc_pic.opts): New target.
29422 ($(common-objpfx)libc_pic.os.clean): New target.
29423 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29425 * config.make.in (OBJCOPY): New variable.
29426 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29427 * configure: Regenerated.
29429 * config.make.in (use-default-link): New variable.
29430 * configure.in (use_default_link): Grok --with-default-link to set it.
29431 * configure: Regenerated.
29432 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29433 (shlib-lds, shlib-lds-flags): Define to empty.
29435 * Makerules (shlib-lds): New variable.
29436 (shlib-lds-flags): New variable.
29437 (build-shlib, build-moduile, build-module-asneeded): Use it.
29438 ($(common-objpfx)libc.so): Use $(shlib-lds).
29439 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29440 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29442 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29443 DT_FLAGS/DT_FLAGS_1 with zero flags.
29445 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29446 linker script munging.
29448 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29450 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29452 * crypt/sha512.c (sha512_process_block): Perform total addition using
29453 128-bit if possible.
29454 (__sha512_finish_ctx): Likewise.
29455 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29457 * crypt/sha256.c (SWAP64): Define.
29458 (sha256_process_block): Perform total addition using 64-bit if
29460 (__sha256_finish_ctx): Likewise.
29462 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29464 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29466 * nscd/hstcache.c (cache_addhst): Likewise.
29467 * nscd/grpcache.c (cache_addgr): Likewise.
29468 * nscd/aicache.c (addhstaiX): Likewise
29469 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29471 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29473 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29475 * nscd/hstcache.c (cache_addhst): Likewise.
29476 * nscd/grpcache.c (cache_addgr): Likewise.
29477 * nscd/aicache.c (addhstaiX): Likewise
29479 2011-07-01 Andreas Schwab <schwab@redhat.com>
29481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29482 domain only when needed.
29484 2011-06-30 Andreas Schwab <schwab@redhat.com>
29486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29487 is always restored.
29489 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29491 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29492 are re-adding the entry.
29493 * nscd/servicescache.c (cache_addserv): Likewise.
29495 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29497 * sysdeps/generic/dl-irel.h: fix protection against multiple
29499 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29501 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29504 * malloc/memusage.sh: Fix quoting in message.
29505 * debug/xtrace.sh: Likewise.
29507 * configure.in: Remove support for --experimental-malloc option, make
29509 * config.make.in: Likewise.
29510 * malloc/Makefile: Likewise.
29512 2011-06-27 Andreas Schwab <schwab@redhat.com>
29514 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29515 two-byte characters.
29517 2011-06-27 Roland McGrath <roland@hack.frob.com>
29519 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29520 AC_CACHE_CHECK invocation.
29521 * configure: Regenerated.
29523 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29525 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29528 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29529 bit from old_res_options.
29531 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29533 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29534 value type for setfct.
29536 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29539 __gettimeofday instead of gettimeofday.
29541 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29543 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29545 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29552 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29555 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29556 strcpy-sse2-unaligned strncpy-sse2-unaligned
29557 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29558 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29559 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29560 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29561 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29564 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29565 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29566 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29567 (STRCPY): Support SSE2 and SSSE3 versions.
29569 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29572 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29573 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29574 kernels which artificially limit size of requests.
29576 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29579 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29580 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29581 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29582 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29583 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29584 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29585 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29588 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29589 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29590 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29591 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29592 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29594 Enable unaligned load optimization for Intel Core i3, i5 and i7
29596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29598 (index_Fast_Unaligned_Load): Define.
29599 (HAS_FAST_UNALIGNED_LOAD): Define.
29601 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29603 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29605 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29609 until it is clear that the information is realy needed.
29610 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29612 2011-06-22 Andreas Schwab <schwab@redhat.com>
29614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29616 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29619 /sys/devices/system/cpu/online if it is usable.
29621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29622 reading the information from the /proc filesystem to once a second.
29624 2011-06-21 Andreas Jaeger <aj@suse.de>
29626 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29627 NULL after inclusion of kernel headers.
29629 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29631 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29632 calls to internal_setent.
29635 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29636 addresses using gethostbyname4_r ignore IPv4 addresses.
29638 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29639 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29641 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29643 2011-06-20 David S. Miller <davem@davemloft.net>
29645 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29647 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29649 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29650 (elf_irel): Use it.
29651 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29652 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29653 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29654 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29655 * sysdeps/x86_64/dl-irel.h: Likewise.
29657 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29658 * elf/dl-sym.c: Likewise.
29660 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29662 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29663 need to dereference resplen2.
29665 2011-06-14 Andreas Schwab <schwab@redhat.com>
29667 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29669 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29671 * Makeconfig: Define vardbdir and inst_vardbdir.
29672 * nss/Makefile: Add rules to install db-Makefile.
29674 * nss/nss_db/db-XXX.c: Cleanup.
29676 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29677 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29679 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29680 * nss/makedb.c: Implement -g option to specify that value strings
29681 are generated and should not be added to table iterated over for
29683 * nss/nss_db/db-initgroups.c: New file.
29685 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29688 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29689 (internal_getgrouplist): Adjust to name change.
29690 Update use_initgroups_entry if this is not the first call.
29691 * nss/databases.def: Add initgroups entry.
29693 * nss/makedb.c (compute_tables): Check result of multiple hash table
29694 sizes to minimize maximum chain length.
29696 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29698 * Versions.def: Add entry for libnss_db.
29699 * shlib-versions: Likewise.
29700 * nss/Makefile: Add rules to build libnss_db.
29701 * nss/Versions: Add libnss_db information. Organize libnss_files
29703 * nss/db-Makefile: Add gshadow support. Change rules for the new
29704 makedb progra. Some minor improvements to generate smaller files.
29705 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29707 * nss/makedb.c: ...here.
29708 Improve database format to be smaller and require less memory at
29710 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29712 * nss/nss_db/db-netgrp.c: Likewise.
29713 * nss/nss_db/db-open.c: Likewise.
29714 * nss/nss_files/flies-XXX.x: Adjust comments.
29715 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29716 * nss/nss_files/files-grp.c: Likewise.
29717 * nss/nss_files/files-hosts.c: Likewise.
29718 * nss/nss_files/files-network.c: Likewise.
29719 * nss/nss_files/files-proto.c: Likewise.
29720 * nss/nss_files/files-pwd.c: Likewise.
29721 * nss/nss_files/files-rpc.c: Likewise.
29722 * nss/nss_files/files-service.c: Likewise.
29723 * nss/nss_files/files-sgrp.c: Likewise.
29724 * nss/nss_files/files-spwd.c: Likewise.
29725 * nss/nss_db/db-alias.c: Removed.
29726 * nss/nss_db/dummy-db.h: Removed.
29728 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29730 * nss/makedb.c: Rewritten to not use database library.
29731 * nss/Makefile: Update to build new makedb program.
29733 2011-06-14 Andreas Jaeger <aj@suse.de>
29735 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29736 memset declaration.
29738 2011-06-10 Andreas Schwab <schwab@redhat.com>
29740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29743 2011-06-10 Roland McGrath <roland@hack.frob.com>
29745 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29746 * elf/Makefile ($(objpfx)ld.so): Likewise.
29748 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29749 Don't list ld.so twice in dependencies.
29751 * posix/bug-regex31.c: Include <stdlib.h>.
29753 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29755 * nis/nss_compat/compat-spwd.c
29756 (getspent_next_nss_netgr): Remove unused variable.
29757 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29759 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29760 nonmembers" output to use the right array.
29762 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29764 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29766 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29767 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29768 * catgets/gencat.c (read_input_file): Likewise.
29769 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29771 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29772 variable definition inside #if's controlling its use.
29774 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29776 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29778 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29780 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29783 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29785 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29786 * configure: Regenerated.
29788 * Makerules: Revert last change.
29789 * elf/Makefile: Likewise.
29791 2011-06-09 Roland McGrath <roland@hack.frob.com>
29793 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29794 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29795 (reloc-link): Likewise.
29797 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29799 * elf/Makefile: Add rules to build pldd.
29800 * elf/pldd.c: New file.
29801 * elf/pldd-xx.c: New file.
29803 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29805 * version.h: Update for 2.15 development version.
29807 2011-06-07 David S. Miller <davem@davemloft.net>
29809 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29812 elf_machine_lazy_rel): Likewise.
29813 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29815 elf_machine_lazy_rel): Likewise.
29816 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29817 dl_hwcap via passed in argument.
29818 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29821 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29823 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29825 2011-06-06 Roland McGrath <roland@hack.frob.com>
29828 * manual/fdl-1.1.texi: New file, verbatim from:
29829 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29830 * manual/lgpl-2.1.texi: New file, verbatim from:
29831 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29832 * manual/Makefile (licenses): New variable, list those new file names.
29834 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29836 * manual/fdl.texi: File removed.
29837 * manual/lesser.texi: File removed.
29838 * manual/libc.texinfo (Copying, Documentation License):
29839 Use new @include file names, put @appendix directive before @include.
29841 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29844 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29845 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29846 (mq_open): Add __NTH.
29848 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29851 Assume Intel Core i3/i5/i7 processor if AVX is available.
29853 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29858 2011-05-31 Andreas Schwab <schwab@redhat.com>
29860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29861 memory. Use alloca_account. Fix memory leak when retrying.
29863 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29865 * version.h (RELEASE): Bump for 2.14 release.
29866 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29868 * config.make.in (RANLIB): Remove entry.
29870 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29872 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29873 (libc.pot): Work around missing support for .ksh extension in xgettext.
29876 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29877 if both request failed.
29878 (send_dg): In case of server errors clear resplen or *resplen2.
29881 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29882 when there are multiple maps.
29883 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29884 (_dl_fini): Remove test here.
29886 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29888 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29891 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29892 bit from old_res_options.
29893 (gaih_inet): Likewise.
29896 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29899 * resolv/res_init.c (res_setoptions): Make the code more compact.
29902 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29906 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29908 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29911 * malloc/malloc.h: Declare malloc hook variables as volatile.
29913 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29917 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29918 raise in the comment.
29919 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29921 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29923 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29926 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29927 grow the buffers more if it already has to be sufficient.
29928 (build_wcs_upper_buffer): Likewise.
29929 * posix/regexec.c (check_matching): Likewise.
29930 (clean_state_log_if_needed): Likewise.
29931 (extend_buffers): Don't enlarge buffers beyond size of the input
29933 Patches mostly by Emil Wojak <emil@wojak.eu>.
29934 * posix/bug-regex32.c: New file.
29935 * posix/Makefile (tests): Add bug-regex32.
29937 * locale/findlocale.c (_nl_find_locale): Return right away if
29938 _nl_explode_name failed.
29939 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29943 * debug/xtrace.sh: Unify messages.
29944 * malloc/memusage.sh: Likewise.
29947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29948 time symbol from vDSO. Substitute with vsyscall if not available.
29949 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29952 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29953 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29954 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29955 Add sendmmsg and internal_sendmmsg.
29956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29960 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29961 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29964 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29967 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29968 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29974 * iconvdata/Makefile (tests): Add bug-iconv9.
29975 * iconvdata/bug-iconv9.c: New file.
29977 2011-05-27 Andreas Schwab <schwab@redhat.com>
29980 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29982 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29985 (struct user_regs_struct): Change intcs field back to cs.
29987 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29989 * po/ja.po: Update from translation team.
29991 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29994 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29997 2011-05-20 Andreas Schwab <schwab@redhat.com>
29999 * stdlib/longlong.h: Update from GCC.
30001 2011-05-23 Andreas Schwab <schwab@redhat.com>
30003 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30005 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30006 Add parameter name.
30007 (__sysconf): Pass it down.
30009 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30012 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30015 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30016 add in in __libc_use_alloca calls. Adjust callers.
30017 (glob): Use malloc in some situations.
30019 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30020 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30023 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30025 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30026 and CLOCK_BOOTTIME_ALARM.
30029 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30032 * string/_strerror.c (__strerror_r): Print negative errors as signed
30036 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30037 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30038 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30040 * configure.in: Fix typo in redirection and correct removal of test
30041 files in two cases.
30044 * locale/setlocale.c (new_composite_name): Fix test to check for
30045 identical name of all categories.
30048 * libio/filedoalloc.c (local_isatty): New function.
30049 (_IO_file_doallocate): Use local_isatty.
30050 * stdio-common/perror.c (perror): In case a new stream is used
30051 forward the stream error.
30052 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30055 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30060 * include/alloca.h (extend_alloca_account): Define.
30063 * posix/regex.h: Fix comments with documentation of user-accessible
30064 fields after compilation and describe correct free'ing of pattern
30065 after re_compile_pattern.
30066 Patch by Reuben Thomas <rrt@sc3d.org>.
30068 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30070 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30071 and -mno-altivec to prevent the compiler from using Altivec and/or
30072 VSX instructions when the corresponding registers are not available.
30074 2011-05-19 Andreas Schwab <schwab@redhat.com>
30076 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30078 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30080 * libio/freopen.c (freopen): Use __dup2, not dup2.
30081 * libio/freopen64.c (freopen64): Likewise.
30083 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30086 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30087 * math/Makefile (tests): Add test-powl.
30088 (CFLAGS-test-powl.c): Define.
30089 * math/test-powl.c: New file.
30091 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30093 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30095 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30098 * iconvdata/gb18030.c: Update to GB18020-2005.
30100 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30102 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30103 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30104 Patch by Aharon Robbins <arnold@skeeve.com>.
30107 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30111 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30112 through underflows.
30115 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30116 point to strings before performing equality test for error_one_per_line
30120 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30124 (struct user_fpregs_struct): Avoid __uint*_t types.
30127 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30128 symbol info. Use it instead of calling _dl_addr locally.
30129 (lock_and_info): New function.
30130 (tr_freehook): Call lock_and_info and pass symbol info as additional
30131 parameter to tr_where.
30132 (tr_mallochook): Likewise.
30133 (tr_reallochook): Likewise.
30134 (tr_memalignhook): Likewise.
30136 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30137 used and couldn't be at all thread-safe.
30139 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30141 * libio/freopen.c (freopen): Don't close old file descriptor
30142 before the new one is opened. Instead dup the new file descriptor
30143 to the old one after the new stream is created.
30144 * libio/freopen64.c (freopen64): Likewise.
30145 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30146 * libio/fileops.c (_IO_new_file_close_it): Handle new
30147 _IO_FLAGS2_NOCLOSE flag.
30148 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30149 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30150 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30151 _IO_FLAGS2_NOCLOSE flag.
30152 * include/unistd.h: Add hidden_proto for dup3.
30153 Define __have_dup3.
30154 * io/dup3.c: Define hidden symbol.
30155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30158 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30159 when an incomplete long option is used.
30160 * posix/tst-getopt_long1.c: New file.
30161 * posix/Makefile (tests): Add tst-getopt_long1.
30164 * scripts/config.guess: Update from autoconf-2.68.
30165 * scripts/config.sub: Likewise.
30168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30170 (has_cpuclock): ...this. New function.
30171 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30172 macro here based on has_cpuclock code.
30175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30176 First byte (not low byte) is now always NUL.
30177 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30180 Use non-cancelable interfaces.
30183 * locale/iso-639.def: Add entry for Sorani.
30186 * include/stdlib.h: Move include protection to the right place.
30187 Define abort_msg_s. Declare __abort_msg with it.
30188 * stdlib/abort.c (__abort_msg): Adjust type.
30189 * assert/assert.c (__assert_fail_base): New function. Majority
30190 of code from __assert_fail. Allocate memory for __abort_msg with
30192 (__assert_fail): Now call __assert_fail_base.
30193 * assert/assert-perr.c: Remove bulk of implementation. Use
30194 __assert_fail_base.
30195 * include/assert.hL Declare __assert_fail_base.
30196 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30198 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30200 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30204 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30205 until all modules are registered in the DTV.
30206 * elf/Makefile: Add rules to build and run tst-tls19.
30207 * elf/tst-tls19.c: New file.
30208 * elf/tst-tls19mod1.c: New file.
30209 * elf/tst-tls19mod2.c: New file.
30210 * elf/tst-tls19mod3.c: New file.
30211 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30214 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30218 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30219 two-byte sequence errors.
30220 * iconvdata/Makefile (tests): Add bug-iconv8.
30221 * iconvdata/bug-iconv8.c: New file.
30224 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30227 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30230 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30231 (dummy_getcfa): New function.
30232 (init): Get _Unwind_GetCFA address, use dummy if not found.
30233 (backtrace_helper): In recursion check, also check whether CFA changes.
30234 (__backtrace): Completely initialize arg.
30236 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30237 storing incomplete byte sequence in state object. Avoid testing for
30238 guaranteed too small input if we know there is enough data available.
30240 2011-05-11 Andreas Schwab <schwab@redhat.com>
30242 * Makeconfig (+link-pie): Indent.
30243 * Rules (binaries-pie): Define if $(have-fpie) and
30245 (binaries-shared): Also filter out $(binaries-pie).
30246 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30247 * nscd/Makefile (others-pie): Add nscd.
30248 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30249 ($(objpfx)nscd): Remove command override.
30250 * login/Makefile (others-pie): Add pt_chown.
30251 ($(objpfx)pt_chown): Remove command override.
30252 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30253 remove command overrides.
30255 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30257 * libio/tst_putwc.c: Fix error messages.
30260 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30261 currently writing and seek to current position when not.
30262 * libio/Makefile (tests): Add bug-fclose1.
30263 * libio/bug-fclose1.c: New file.
30265 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30268 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30269 don't set DF_1_NODELETE here.
30270 (do_lookup_x): When entering new entry test for copy relocation
30271 and if necessary set DF_1_NODELETE flag.
30272 * elf/tst-unique4.cc: New file.
30273 * elf/tst-unique4.h: New file.
30274 * elf/tst-unique4lib.cc: New file.
30275 * elf/Makefile: Add rules to build and run tst-unique4.
30276 Patch by Piotr Bury <pbury@goahead.com>.
30278 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30281 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30284 * misc/mntent_r.c (addmntent): Flush the stream after the output
30287 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30288 (is_trusted_path_normalize): Skip initial colon. Append slash
30289 to empty buffer. Duplicate is_trusted_path code but allow
30290 constructed patch to be prefix.
30291 (is_dst): Allow $ORIGIN followed by /.
30292 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30293 Correct testing of result of is_trusted_path_normalize
30294 (decompose_rpath): Fix warning.
30296 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30299 * grp/initgroups.c (internal_getgrouplist): When we found the service
30300 list through the initgroups entry in nsswitch.conf do not always
30301 continue on a successful lookup. Don't always use the
30302 __nss_group_database value if it is set.
30303 * nss/nsswitch.conf (initgroups): Change action for successful db
30304 lookup to continue for compatibility.
30306 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30309 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30311 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30313 * iconvdata/tst-tables.sh: Likewise.
30314 * iconvdata/cp770.c: New file.
30315 * iconvdata/cp771.c: New file.
30316 * iconvdata/cp772.c: New file.
30317 * iconvdata/cp773.c: New file.
30318 * iconvdata/cp774.c: New file.
30319 * iconvdata/testdata/CP770: New file.
30320 * iconvdata/testdata/CP770..UTF8: New file.
30321 * iconvdata/testdata/CP771: New file.
30322 * iconvdata/testdata/CP771..UTF8: New file.
30323 * iconvdata/testdata/CP772: New file.
30324 * iconvdata/testdata/CP772..UTF8: New file.
30325 * iconvdata/testdata/CP773: New file.
30326 * iconvdata/testdata/CP773..UTF8: New file.
30327 * iconvdata/testdata/CP774: New file.
30328 * iconvdata/testdata/CP774..UTF8: New file.
30330 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30332 * iconvdata/gen-8bit-gap.sh: Likewise.
30333 * iconvdata/gen-8bit.sh: Likewise.
30335 * locale/iso-639.def: Add ary entry.
30338 * locale/C-translit.h.in: Add U20A1 transliteration.
30341 * locale/iso-639.def: Add wae entry.
30342 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30345 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30349 * locale/C-translit.h.in: Add entry for U20B9.
30350 Patch by pravin.d.s@gmail.com.
30352 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30355 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30356 ENAMETOOLONG use generic getcwd.
30357 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30358 in rtld. Use *stat64.
30359 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30360 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30361 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30362 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30363 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30364 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30365 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30366 __fstatat64 macros.
30367 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30368 * dirent/rewinddir.c: Add libc_hidden_def.
30369 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30370 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30372 * include/dirent.h (__alloc_dir): Add flags parameter.
30373 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30374 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30376 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30377 from fdopendir if O_CLOEXEC is already set.
30379 2011-03-15 Alan Modra <amodra@gmail.com>
30381 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30382 l_tls_firstbyte_offset non-zero. Save padding offset in
30383 l_tls_firstbyte_offset for later use.
30384 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30385 freeing static tls block.
30387 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30389 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30390 where #ifdef was intended. The intent is to prevent ARG_MAX from
30391 being defined by the kernel headers.
30393 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30396 * resolv/resolv.h: Define RES_NOTLDQUERY.
30397 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30398 no-tld-query and set RES_NOTLDQUERY.
30399 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30400 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30401 modern BIND to search name as TLD unless forbidden.
30403 2011-05-07 Petr Baudis <pasky@suse.cz>
30404 Ulrich Drepper <drepper@gmail.com>
30407 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30408 (is_trusted_path): ...to here.
30409 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30410 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30411 using is_trusted_path_normalize() in setuid scripts.
30413 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30415 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30416 __BEGIN/__END_DECLS.
30418 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30421 NSS_STATUS_NOTFOUND if no record was found.
30423 2011-05-05 Andreas Schwab <schwab@redhat.com>
30425 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30426 (headers-not-in-tirpc): Remove rpc/netdb.h
30427 * resolv/netdb.h: Revert last change.
30429 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30431 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30432 circular dependency between libgcc.a and libc.a.
30434 2011-05-05 Andreas Schwab <schwab@redhat.com>
30436 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30437 * nis/Makefile: Don't install rpcsvc/*.
30438 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30439 instead of <rpc/types.h>.
30440 (MAXHOSTNAMELEN): Define.
30442 2011-05-03 Andreas Schwab <schwab@redhat.com>
30444 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30446 2011-04-28 Maciej Babinski <mbabinski@google.com>
30449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30450 gethostbyname4_r when IPv6 results are possible.
30452 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30455 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30456 _PC_PIPE_BUF handling.
30458 2011-04-30 Bruno Haible <bruno@clisp.org>
30461 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30462 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30464 * inet/getnameinfo.c (getnameinfo): Likewise.
30466 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30468 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30469 to groups setting in database lookup.
30470 * nss/nsswitch.conf: Add initgroups entry.
30472 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30475 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30477 Patch by Eric Blake <eblake@redhat.com>.
30479 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30481 * sunrpc/Makefile (need-export-routines): Add svc_run.
30482 (routines): Remove svc_run.
30483 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30484 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30485 * sunrpc/svc_run.c (svc_run): Likewise.
30486 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30488 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30491 problem in reallocation in last patch.
30493 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30495 * sunrpc/Makefile: Move inclusion of Rules.
30497 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30499 * nss/nss_files/files-initgroups.c: New file.
30500 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30501 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30502 _nss_files_initgroups_dyn.
30504 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30506 * elf/elf.h (R_ARM_IRELATIVE): Define.
30508 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30510 * po/ru.po: Update from translation team.
30512 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30514 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30517 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30521 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30526 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30530 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30534 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30537 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30539 * stdlib/bug-getcontext.c: New file.
30540 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30542 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30544 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30545 instructions into .machine "z9-109".
30546 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30547 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30549 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30551 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30552 between environment variables and auxiliary vector.
30554 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30556 * Makefile: Add rules to build linkobj/libc.so.
30557 * include/libc-symbols.h: Define libc_hidden_nolink.
30558 * include/rpc/auth.h: Mark functions which are to be hidden.
30559 * include/rpc/auth_des.h: Likewise.
30560 * include/rpc/auth_unix.h: Likewise.
30561 * include/rpc/clnt.h: Likewise.
30562 * include/rpc/des_crypt.h: Likewise.
30563 * include/rpc/key_prot.h: Likewise.
30564 * include/rpc/pmap_clnt.h: Likewise.
30565 * include/rpc/pmap_prot.h: Likewise.
30566 * include/rpc/pmap_rmt.h: Likewise.
30567 * include/rpc/rpc_msg.h: Likewise.
30568 * include/rpc/svc.h: Likewise.
30569 * include/rpc/svc_auth.h: Likewise.
30570 * include/rpc/xdr.h: Likewise.
30571 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30572 * nss/Makefile: Likewise.
30573 * sunrpc/Makefile: Don't install headers. Build library with normal
30574 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30575 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30576 for the compat linking library. Remove use of INTDEF/INTUSE.
30577 * sunrpc/auth_none.c: Likewise.
30578 * sunrpc/auth_unix.c: Likewise.
30579 * sunrpc/authdes_prot.c: Likewise.
30580 * sunrpc/authuxprot.c: Likewise.
30581 * sunrpc/clnt_gen.c: Likewise.
30582 * sunrpc/clnt_perr.c: Likewise.
30583 * sunrpc/clnt_raw.c: Likewise.
30584 * sunrpc/clnt_simp.c: Likewise.
30585 * sunrpc/clnt_tcp.c: Likewise.
30586 * sunrpc/clnt_udp.c: Likewise.
30587 * sunrpc/clnt_unix.c: Likewise.
30588 * sunrpc/des_crypt.c: Likewise.
30589 * sunrpc/des_soft.c: Likewise.
30590 * sunrpc/get_myaddr.c: Likewise.
30591 * sunrpc/key_call.c: Likewise.
30592 * sunrpc/key_prot.c: Likewise.
30593 * sunrpc/netname.c: Likewise.
30594 * sunrpc/pm_getmaps.c: Likewise.
30595 * sunrpc/pm_getport.c: Likewise.
30596 * sunrpc/pmap_clnt.c: Likewise.
30597 * sunrpc/pmap_prot.c: Likewise.
30598 * sunrpc/pmap_prot2.c: Likewise.
30599 * sunrpc/pmap_rmt.c: Likewise.
30600 * sunrpc/publickey.c: Likewise.
30601 * sunrpc/rpc_cmsg.c: Likewise.
30602 * sunrpc/rpc_common.c: Likewise.
30603 * sunrpc/rpc_dtable.c: Likewise.
30604 * sunrpc/rpc_prot.c: Likewise.
30605 * sunrpc/rpc_thread.c: Likewise.
30606 * sunrpc/rtime.c: Likewise.
30607 * sunrpc/svc.c: Likewise.
30608 * sunrpc/svc_auth.c: Likewise.
30609 * sunrpc/svc_authux.c: Likewise.
30610 * sunrpc/svc_raw.c: Likewise.
30611 * sunrpc/svc_run.c: Likewise.
30612 * sunrpc/svc_simple.c: Likewise.
30613 * sunrpc/svc_tcp.c: Likewise.
30614 * sunrpc/svc_udp.c: Likewise.
30615 * sunrpc/svc_unix.c: Likewise.
30616 * sunrpc/svcauth_des.c: Likewise.
30617 * sunrpc/xcrypt.c: Likewise.
30618 * sunrpc/xdr.c: Likewise.
30619 * sunrpc/xdr_array.c: Likewise.
30620 * sunrpc/xdr_float.c: Likewise.
30621 * sunrpc/xdr_intXX_t.c: Likewise.
30622 * sunrpc/xdr_mem.c: Likewise.
30623 * sunrpc/xdr_rec.c: Likewise.
30624 * sunrpc/xdr_ref.c: Likewise.
30625 * sunrpc/xdr_sizeof.c: Likewise.
30626 * sunrpc/xdr_stdio.c: Likewise.
30628 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30631 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30632 * sysdeps/ia64/dl-tls.h: Likewise.
30633 * sysdeps/powerpc/dl-tls.h: Likewise.
30634 * sysdeps/s390/dl-tls.h: Likewise.
30635 * sysdeps/sh/dl-tls.h: Likewise.
30636 * sysdeps/sparc/dl-tls.h: Likewise.
30637 * sysdeps/x86_64/dl-tls.h: Likewise.
30638 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30640 2011-03-14 Andreas Schwab <schwab@redhat.com>
30642 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30643 rpath element also skip the following colon.
30644 (expand_dynamic_string_token): Add is_path parameter and pass
30645 down to DL_DST_REQUIRED and _dl_dst_substitute.
30646 (decompose_rpath): Call expand_dynamic_string_token with
30647 non-zero is_path. Ignore empty rpaths.
30648 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30651 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30656 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30659 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30660 Patch by Filipe David Manana <fdmanana@apache.org>.
30662 2011-04-07 Andreas Schwab <schwab@redhat.com>
30664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30665 Maintain aligned stack.
30666 (CHECK_RSP): Remove unused macro.
30668 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30670 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30671 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30673 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30675 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30677 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30679 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30682 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30683 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30684 * sysdeps/x86_64/memmove.c: New file.
30685 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30686 (memcpy): Renamed to ...
30687 (__new_memcpy): This.
30688 (memcpy): Provide GLIBC_2_14 memcpy.
30689 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30690 (memcpy): Provide GLIBC_2_2_5 memcpy.
30692 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30695 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30697 2011-03-30 Andreas Schwab <schwab@redhat.com>
30699 * misc/syncfs.c: New file.
30700 * misc/Makefile (routines): Add syncfs.
30701 * posix/unistd.h: Declare syncfs.
30702 * sysdeps/unix/syscalls.list: Add syncfs.
30704 2011-04-01 Andreas Schwab <schwab@redhat.com>
30706 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30713 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30716 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30726 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30727 sync_file_range.c with -fexceptions.
30728 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30729 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30730 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30731 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30732 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30735 sync_file_range as cancellation point
30736 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30737 now a wrapper around __call_sync_file_range with cancellation handling.
30738 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30739 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30740 function name to __call_sync_file_range.
30741 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30742 Add call_sync_file_range.
30744 2011-04-01 Andreas Schwab <schwab@redhat.com>
30746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30749 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30751 * iconv/iconv.h: Fix typo in comment.
30752 * io/fcntl.h: Likewise.
30753 * libio/stdio.h: Likewise.
30754 * posix/spawn.h: Likewise.
30755 * posix/unistd.h: Likewise.
30756 * stdlib/stdlib.h: Likewise.
30757 * time/time.h: Likewise.
30758 * wcsmbs/wchar.h: Likewise.
30760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30761 open_by_handle): Add.
30762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30763 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30764 Augment a few comments.
30765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30770 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30773 * io/fcntl.h (AT_EMPTY_PATH): Define.
30775 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30777 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30778 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30779 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30781 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30782 * Versions.def: Add GLIBC_2.14.
30783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30786 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30788 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30790 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30792 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30795 * string/test-strncmp.c (do_page_test): New function.
30796 (check2): Likewise.
30797 (test_main): Call check2.
30798 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30800 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30804 Handle cache information in CPU leaf 4.
30805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30807 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30810 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30811 character representation.
30812 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30814 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30816 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30817 END(__isnan) to END(__isnanf) to match function entry point/label
30818 EALIGN(__isnanf,...).
30820 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30822 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30824 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30827 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30828 copy from the symbol referenced in the relocation to initialize the
30830 Patch by Piotr Bury <pbury@goahead.com>.
30831 * elf/Makefile: Add rules to build and tst-unique3.
30832 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30833 * elf/tst-unique3.cc: New file.
30834 * elf/tst-unique3.h: New file.
30835 * elf/tst-unique3lib.cc: New file.
30836 * elf/tst-unique3lib2.cc: New file.
30838 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30840 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30842 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30843 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30846 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30848 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30849 to-be-loaded object along a path to loader is ld.so.
30851 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30852 Ulrich Drepper <drepper@gmail.com>
30854 * sysdeps/x86_64/memset.S: After aligning destination, code
30855 branches to different locations depending on the value of
30856 misalignment, when multiarch is enabled. Fix this.
30858 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30860 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30861 Set _x86_64_preferred_memory_instruction for AMD processsors.
30862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30863 Set bit_Prefer_SSE_for_memop for AMD processors.
30865 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30867 * libio/fmemopen.c (fmemopen): Optimize a bit.
30869 2011-03-03 Andreas Schwab <schwab@redhat.com>
30871 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30873 2011-03-03 Roland McGrath <roland@redhat.com>
30875 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30877 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30879 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30880 __bzero_ultra1 instead of __memset_ultra1.
30882 2011-02-23 Andreas Schwab <schwab@redhat.com>
30883 Ulrich Drepper <drepper@gmail.com>
30886 * include/link.h (struct link_map): Add l_orig_initfini.
30887 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30888 returning unsuccessfully.
30889 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30890 close of a file loaded at startup, restore the original l_initfini
30892 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30893 list, store the pointer.
30894 * elf/Makefile ($(objpfx)noload-mem): New rule.
30895 (noload-ENV): Define.
30896 (tests): Add $(objpfx)noload-mem.
30897 * elf/noload.c: Include <memcheck.h>.
30898 (main): Call mtrace. Close all opened handles.
30900 2011-02-17 Andreas Schwab <schwab@redhat.com>
30903 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30904 dependencies are missing.
30906 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30908 Fix __if_freereq crash: Unlike the generic version which uses free,
30910 * sysdeps/mach/hurd/ifreq.h: New file.
30912 2011-01-27 Petr Baudis <pasky@suse.cz>
30913 Ulrich Drepper <drepper@gmail.com>
30916 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30917 to extend_alloca().
30918 * stdio-common/bug23.c: New file.
30919 * stdio-common/Makefile (tests): Add bug23.
30921 2010-09-28 Andreas Schwab <schwab@redhat.com>
30922 Ulrich Drepper <drepper@gmail.com>
30925 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30926 before performing relro protection. At old place add assertion
30927 to make sure nothing changed.
30929 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30930 Glauber de Oliveira Costa <glommer@gmail.com>
30932 * elf/elf.h: Add new ARM TLS relocs.
30934 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30937 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30939 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30941 * sysdeps/wordsize-64/tst-writev.c: New file.
30943 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30945 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30946 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30947 insns in _dl_start to prevent a TOC reference before relocs are
30950 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30953 * Makeconfig: Remove RANLIB definition.
30954 * Makerules: Don't use RANLIB.
30955 * aclocal.m4: Remove ranlib test.
30956 * configure.in: No need to check for ranlib.
30957 * elf/rtld-Rules: Don't use RANLIB.
30959 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30961 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30963 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30964 inclusion protection macro.
30966 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30967 SIGRTMIN and SIGRTMAX and print information in that case only when
30968 SIGRTMIN is defined.
30970 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30972 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30973 arginfo fn returning -1.
30975 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30976 and thousands string is zero terminated.
30978 2011-02-03 Andreas Schwab <schwab@redhat.com>
30980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30981 sysdeps/unix/sysv/linux/bits/socket.h.
30983 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30985 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30986 (__CPU_COUNT): Remove old macros.
30987 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30988 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30989 (__CPU_ALLOC, __CPU_FREE): Add macros.
30990 (__sched_cpualloc, __sched_cpufree): Add declarations.
30992 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30994 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30995 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30996 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30997 (readdhstai): Return value of addhstaiX call.
30998 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30999 (addgrbyX): Return value returned by cache_addgr.
31000 (readdgrbyname): Return value returned by addgrbyX.
31001 (readdgrbygid): Likewise.
31002 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31003 (addpwbyX): Return value returned by cache_addpw.
31004 (readdpwbyname): Return value returned by addhstbyX.
31005 (readdpwbyuid): Likewise.
31006 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31007 (addservbyX): Return value returned by cache_addserv.
31008 (readdservbyname): Return value returned by addservbyX:
31009 (readdservbyport): Likewise.
31010 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31011 (addhstbyX): Return value returned by cache_addhst.
31012 (readdhstbyname): Return value returned by addhstbyX.
31013 (readdhstbyaddr): Likewise.
31014 (readdhstbynamev6): Likewise.
31015 (readdhstbyaddrv6): Likewise.
31016 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31017 (readdinitgroups): Return value returned by addinitgroupsX.
31018 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31019 (prune_cache): Keep track of timeout value of re-added entries.
31020 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31021 * nscd/nscd.h: Adjust prototypes of readd* functions.
31023 2011-02-04 Roland McGrath <roland@redhat.com>
31025 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31026 (nis_stats): Likewise.
31027 * nis/nis_modify.c (nis_modify): Likewise.
31028 * nis/nis_remove.c (nis_remove): Likewise.
31029 * nis/nis_add.c (nis_add): Likewise.
31031 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31033 * posix/fnmatch_loop.c: Add some consts.
31035 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31037 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31040 * config.make.in (config-cflags-novzeroupper): Define.
31041 * configure.in: Substitute libc_cv_cc_novzeroupper.
31042 * elf/Makefile (AVX-CFLAGS): Define.
31043 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31044 (CFLAGS-tst-auditmod4a.c): Likewise.
31045 (CFLAGS-tst-auditmod4b.c): Likewise.
31046 (CFLAGS-tst-auditmod6b.c): Likewise.
31047 (CFLAGS-tst-auditmod6c.c): Likewise.
31048 (CFLAGS-tst-auditmod7b.c): Likewise.
31049 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31051 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31053 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31054 function to the callback.
31055 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31057 2011-02-02 Andreas Schwab <schwab@redhat.com>
31059 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31062 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31065 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31067 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31069 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31072 * elf/Makefile: Add rules to build and run new test.
31073 * elf/tst-initorder.c: New file.
31074 * elf/tst-initorder.exp: New file.
31075 * elf/tst-initordera1.c: New file.
31076 * elf/tst-initordera2.c: New file.
31077 * elf/tst-initordera3.c: New file.
31078 * elf/tst-initordera4.c: New file.
31079 * elf/tst-initorderb1.c: New file.
31080 * elf/tst-initorderb2.c: New file.
31081 * elf/tst-order-a1.c: New file.
31082 * elf/tst-order-a2.c: New file.
31083 * elf/tst-order-a3.c: New file.
31084 * elf/tst-order-a4.c: New file.
31085 * elf/tst-order-b1.c: New file.
31086 * elf/tst-order-b2.c: New file.
31087 * elf/tst-order-main.c: New file.
31088 New test case by George Gensure <werkt0@gmail.com>.
31090 2010-10-01 Andreas Schwab <schwab@redhat.com>
31092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31093 decoding ACE if AI_CANONIDN.
31095 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31097 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31099 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31101 * version.h (RELEASE): Bump for 2.13 release.
31102 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31104 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31108 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31111 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31112 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31115 * posix/getconf.c: Update copyright year.
31116 * catgets/gencat.c: Likewise.
31117 * csu/version.c: Likewise.
31118 * debug/catchsegv.sh: Likewise.
31119 * debug/xtrace.sh: Likewise.
31120 * elf/ldconfig.c: Likewise.
31121 * elf/ldd.bash.in: Likewise.
31122 * elf/sprof.c (print_version): Likewise.
31123 * iconv/iconv_prog.c: Likewise.
31124 * iconv/iconvconfig.c: Likewise.
31125 * locale/programs/locale.c: Likewise.
31126 * locale/programs/localedef.c: Likewise.
31127 * malloc/memusage.sh: Likewise.
31128 * malloc/mtrace.pl: Likewise.
31129 * nscd/nscd.c (print_version): Likewise.
31130 * nss/getent.c: Likewise.
31132 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31133 PF_CAIF, and PF_ALG.
31134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31136 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31138 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31139 (modules-names): Use them.
31140 (ifunc-test-modules, ifunc-pie-tests): Define.
31141 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31142 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31143 (test-extras): Likewise.
31144 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31145 $(compile-command.c).
31146 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31147 (all-built-dso): Define.
31148 (check-textrel.out, check-execstack.out): Depend on it.
31150 * configure.in: Don't override --enable-multi-arch.
31152 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31155 * nscd/hstcache.c (tryagain): Define.
31156 (cache_addhst): Return tryagain not notfound for temporary errors.
31157 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31160 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31163 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31164 to make the syscall.
31165 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31168 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31169 and fall back to matching as normal character if the string ends before
31170 the matching ']' is found. This is what POSIX requires.
31171 * posix/testfnm.c: Adjust test result.
31172 * posix/globtest.sh: Adjust test result. Add new test.
31173 * posix/tst-fnmatch.input: Likewise.
31174 * posix/tst-fnmatch2.c: Add new test.
31176 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31178 * elf/Makefile (check-execstack): Revert last change. Depend on
31180 (check-execstack.h): New target.
31181 (generated): Add check-execstack.h.
31182 * elf/check-execstack.c: Include "check-execstack.h".
31183 (main): Revert last change.
31184 (handle_file): Return zero if GNU_STACK is absent and
31185 DEFAULT_STACK_PERMS doesn't include PF_X.
31187 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31189 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31190 in child fails because the descriptor is already closed.
31191 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31192 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31193 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31196 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31200 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31201 temporary buffer used to handle multi lookups locally.
31202 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31204 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31206 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31209 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31211 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31212 alignment for SSE2.
31214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31217 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31218 characters. When rounding increased number of integer digits recompute
31220 * stdio-common/tst-grouping.c: New file.
31221 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31223 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31225 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31226 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31228 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31230 * bits/select.h: Likewise.
31232 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31234 * po/ja.po: Update from translation team.
31236 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31239 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31240 implementation just like for lxstat, fxstatat, et al.
31242 2010-12-27 Jim Meyering <meyering@redhat.com>
31245 * posix/regexec.c (build_trtable): Return failure indication upon
31246 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31248 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31251 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31252 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31253 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31254 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31257 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31260 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31261 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31263 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31265 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31266 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31267 script has SORT_BY_INIT_PRIORITY.
31268 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31269 NO_CTORS_DTORS_SECTIONS is defined.
31270 * elf/soinit.c: Likewise.
31271 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31272 NO_CTORS_DTORS_SECTIONS is defined.
31273 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31274 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31275 * sysdeps/sh/init-first.c: Likewise.
31276 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31278 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31280 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31281 always use the slow path.
31283 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31285 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31286 similar rule which adds the sysdep directories to the header search in
31287 order to pick up the correct platform stackinfo.h.
31288 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31289 perform test if it is, otherwise return successfully without testing.
31290 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31291 DEFAULT_STACK_PERMS define in stackinfo.h.
31292 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31293 defined in stackinfo.h.
31294 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31295 DEFAULT_STACK_PERMS defined in stackinfo.h.
31296 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31297 * sysdeps/ia64/stackinfo.h: Likewise.
31298 * sysdeps/s390/stackinfo.h: Likewise.
31299 * sysdeps/sh/stackinfo.h: Likewise.
31300 * sysdeps/sparc/stackinfo.h: Likewise.
31301 * sysdeps/x86_64/stackinfo.h: Likewise.
31302 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31303 PF_X for powerpc64. Retain PF_X for powerpc32.
31305 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31307 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31309 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31310 GETDENTS_64BIT_ALIGNED.
31312 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31314 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31316 2010-12-10 Andreas Schwab <schwab@redhat.com>
31318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31321 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31322 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31324 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31325 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31327 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31330 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31333 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31335 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31337 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31339 * po/it.po: Update from translation team.
31341 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31346 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31348 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31350 2010-11-24 Andreas Schwab <schwab@redhat.com>
31352 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31354 (gaih_getanswer_slice): Likewise.
31356 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31360 2010-05-31 Petr Baudis <pasky@suse.cz>
31363 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31364 silently even in the chroot mode.
31366 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31368 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31369 last patch a bit. Pretty printing
31371 2010-05-31 Petr Baudis <pasky@suse.cz>
31374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31375 initialization of skip_initgroups_dyn.
31377 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31382 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31384 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31386 2010-11-11 Andreas Schwab <schwab@redhat.com>
31388 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31389 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31390 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31391 ($(objpfx)tst-fnmatch-mem): New rule.
31392 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31393 * posix/tst-fnmatch.c (main): Call mtrace.
31395 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31398 Support Intel processor model 6 and model 0x2c.
31400 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31405 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31408 * string/test-strncasecmp.c (check_result): New function.
31409 (do_one_test): Use it.
31410 (check1): New function.
31411 (test_main): Use it.
31412 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31413 Support strcasecmp and strncasecmp.
31415 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31418 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31421 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31423 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31427 * sysdeps/x86_64/multiarch/bzero.S: New file.
31428 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31429 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31430 * sysdeps/x86_64/multiarch/memset.S: New file.
31431 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31433 Set bit_Prefer_SSE_for_memop for Intel processors.
31434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31436 (index_Prefer_SSE_for_memop): Define.
31437 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31439 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31441 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31442 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31444 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31447 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31448 (__x86_64_raw_data_cache_size_half): Likewise.
31449 (__x86_64_raw_shared_cache_size): Likewise.
31450 (__x86_64_raw_shared_cache_size_half): Likewise.
31452 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31453 (__x86_64_raw_data_cache_size_half): Likewise.
31454 (__x86_64_raw_shared_cache_size): Likewise.
31455 (__x86_64_raw_shared_cache_size_half): Likewise.
31456 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31457 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31458 and __x86_64_raw_shared_cache_size_half. Round
31459 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31460 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31461 to multiple of 256 bytes.
31463 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31467 of inacessible symlinks. Verify result of symlink before returning it.
31468 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31469 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31471 2010-10-28 Erich Ritz <erichritz@gmail.com>
31473 * math/math.h (isinf): Fix typo in comment.
31475 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31477 * po/da.po: Update from translation team.
31479 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31481 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31482 is added to the list.
31484 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31485 Ulrich Drepper <drepper@gmail.com>
31487 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31488 the global list here. Move code to...
31489 (_dl_add_to_namespace_list): ...here. New function.
31490 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31491 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31492 * elf/dl-load.c (lose): Don't remove the element from the list.
31493 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31494 (_dl_map_object): Likewise.
31496 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31499 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31500 into all bytes of SSE register.
31501 Patch by Richard Li <richardpku@gmail.com>.
31503 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31506 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31509 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31511 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31512 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31513 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31514 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31519 2010-10-22 Andreas Schwab <schwab@redhat.com>
31521 * include/dlfcn.h (__RTLD_SECURE): Define.
31522 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31523 mode & __RTLD_SECURE instead.
31524 (open_path): Rename preloaded parameter to secure.
31525 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31526 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31527 * elf/dl-deps.c (openaux): Likewise.
31528 * elf/rtld.c (struct map_args): Remove is_preloaded.
31529 (map_doit): Don't use it.
31530 (dl_main): Likewise.
31531 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31532 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31534 2010-09-09 Andreas Schwab <schwab@redhat.com>
31536 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31537 (sysd-rules-targets): Remove duplicates.
31538 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31539 rtld-%.$o dependency.
31541 2010-10-18 Andreas Schwab <schwab@redhat.com>
31543 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31544 _dl_map_object do it.
31546 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31548 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31549 fast fma builtins, define the macros in the C99 standard.
31550 (FP_FAST_FMAF): Likewise.
31551 (FP_FAST_FMAL): Likewise.
31552 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31554 * bits/mathdef.h: Update copyright year.
31555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31557 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31559 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31560 builtins, define the macros in the C99 standard.
31561 (FP_FAST_FMAF): Likewise.
31562 (FP_FAST_FMAL): Likewise.
31563 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31565 (FP_FAST_FMAF): Likewise.
31567 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31570 * math/libm-test.inc (fma_test): Some new testcases.
31571 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31573 y and infinite z. Do multiplication by C already in long double.
31574 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31576 y and infinite z. Do bitwise or of inexact bit into u.d.
31577 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31578 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31579 * sysdeps/i386/fpu/s_fma.S: Removed.
31580 * sysdeps/i386/fpu/s_fmal.S: Removed.
31582 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31585 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31587 computation is not scheduled after fetestexcept. Fix value
31588 of minimum denormal long double.
31590 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31593 * math/libm-test.inc (fma_test): Add some more tests.
31594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31597 2010-10-15 Andreas Schwab <schwab@redhat.com>
31599 * scripts/data/localplt-s390-linux-gnu.data: New file.
31600 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31602 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31605 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31606 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31608 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31610 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31612 if one of x and y is very large and the other is subnormal.
31613 * sysdeps/s390/fpu/s_fmaf.c: New file.
31614 * sysdeps/s390/fpu/s_fma.c: New file.
31615 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31616 * sysdeps/powerpc/fpu/s_fma.S: New file.
31617 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31618 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31619 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31621 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31624 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31627 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31628 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31629 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31630 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31631 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31632 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31634 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31637 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31638 * posix/bug-regex31.input: Add test case.
31640 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31642 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31643 * posix/bug-regex31.input: New file.
31646 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31647 (parse_sub_exp): Fix last change, use postorder.
31649 * posix/bug-regex31.c: New file.
31650 * posix/Makefile: Add rules to build and run bug-regex31.
31652 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31655 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31658 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31659 to have entries in sys_siglist.
31662 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31665 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31668 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31669 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31670 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31671 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31672 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31673 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31674 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31675 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31676 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31677 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31678 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31679 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31680 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31681 * math/ftestexcept.c (fetestexcept): Likewise.
31682 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31683 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31684 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31685 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31686 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31687 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31690 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31693 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31696 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31698 * string/bug-strstr1.c: New file.
31699 * string/Makefile: Add rules to build and run bug-strstr1.
31701 2010-10-05 Eric Blake <eblake@redhat.com>
31704 * string/str-two-way.h (two_way_long_needle): Always clear memory
31705 when skipping input due to the shift table.
31707 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31710 * malloc/mcheck.c: Handle large requests.
31713 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31714 for strncmp and strncasecmp.
31715 * string/stratcliff.c: Add tests for strcmp and strncmp.
31716 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31718 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31720 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31723 2010-09-30 Andreas Jaeger <aj@suse.de>
31725 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31726 (CGROUP_SUPER_MAGIC): Define.
31727 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31728 Handle btrfs and cgroup file systems.
31729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31732 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31734 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31735 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31737 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31740 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31741 trying to locate the ELF header.
31743 2010-09-27 Andreas Schwab <schwab@redhat.com>
31746 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31747 Mask out sign-bit copies when constructing f_fsid.
31749 2010-09-24 Petr Baudis <pasky@suse.cz>
31751 * debug/stack_chk_fail_local.c: Add missing licence exception.
31752 * debug/warning-nop.c: Likewise.
31754 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31757 implementing getdents64 using getdents syscall, set d_type if
31758 __ASSUME_GETDENTS32_D_TYPE.
31760 2010-09-16 Andreas Schwab <schwab@redhat.com>
31762 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31763 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31765 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31768 * posix/unistd.h: Undo change of feature selection for ftruncate from
31771 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31773 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31776 2010-09-20 Andreas Schwab <schwab@redhat.com>
31778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31782 2010-09-14 Andreas Schwab <schwab@redhat.com>
31784 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31785 variables after CHECK_SP call.
31786 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31788 2010-09-13 Andreas Schwab <schwab@redhat.com>
31789 Ulrich Drepper <drepper@redhat.com>
31791 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31792 re-relocationg ld.so.
31793 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31794 _dl_init_paths call.
31795 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31798 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31800 * resolv/res_init.c (__res_vinit): Count the default server we added.
31802 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31803 Ulrich Drepper <drepper@redhat.com>
31806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31807 (____longjmp_chk): Use %ebx for saving value across system call.
31810 2010-09-06 Andreas Schwab <schwab@redhat.com>
31812 * manual/Makefile: Don't mix pattern rules with normal rules.
31814 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31816 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31818 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31819 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31820 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31821 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31825 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31828 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31829 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31831 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31833 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31834 * sysdeps/x86_64/addmul_1.S: Likewise.
31835 * sysdeps/x86_64/lshift.S: Likewise.
31836 * sysdeps/x86_64/mul_1.S: Likewise.
31837 * sysdeps/x86_64/rshift.S: Likewise.
31838 * sysdeps/x86_64/sub_n.S: Likewise.
31839 * sysdeps/x86_64/submul_1.S: Likewise.
31841 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31843 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31844 Define __sched_param instead of SCHED_* and sched_param when
31845 <bits/sched.h> is included with __need_schedparam defined.
31846 * bits/sched.h [__need_schedparam]
31847 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31848 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31849 (__defined_schedparam): Define to 1.
31850 (__sched_param): New structure, identical to sched_param.
31851 (__need_schedparam): Undefine.
31853 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31856 (epoll_create1): Declare.
31858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31860 2010-08-31 Andreas Schwab <schwab@redhat.com>
31863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31864 shifting retval into place.
31866 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31868 * nis/rpcsvc/nis.h: Update copyright notice.
31869 * nis/rpcsvc/nis.x: Likewise.
31870 * nis/rpcsvc/nis_callback.h: Likewise.
31871 * nis/rpcsvc/nis_callback.x: Likewise.
31872 * nis/rpcsvc/nis_object.x: Likewise.
31873 * nis/rpcsvc/nis_tags.h: Likewise.
31874 * nis/rpcsvc/yp.h: Likewise.
31875 * nis/rpcsvc/yp.x: Likewise.
31876 * nis/rpcsvc/ypupd.h: Likewise.
31877 * nis/yp_xdr.c: Likewise.
31878 * nis/ypupdate_xdr.c: Likewise.
31880 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31881 mainly the body of pmap_getport. Add parameters to specify timeouts.
31882 (pmap_getport): Use __libc_rpc_getport.
31883 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31884 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31885 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31887 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31892 2010-08-27 Roland McGrath <roland@redhat.com>
31894 * sysdeps/i386/i686/multiarch/Makefile
31895 (CFLAGS-varshift.c): New variable.
31897 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31899 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31900 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31904 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31906 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31908 * sysdeps/x86_64/strlen.S: Unroll the loop.
31909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31910 strlen-sse2 strlen-sse2-bsf.
31911 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31912 __strlen_no_bsf if bit_Slow_BSF is set.
31913 (__strlen_sse42): Removed.
31914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31915 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31917 2010-08-25 Roland McGrath <roland@redhat.com>
31919 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31920 * sysdeps/x86_64/multiarch/varshift.c: New file.
31921 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31922 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31923 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31924 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31926 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31929 strlen-sse2 strlen-sse2-bsf.
31930 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31931 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31932 (__strlen_sse2): Removed.
31933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31936 bit_Slow_BSF for Atom.
31937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31938 (index_Slow_BSF): Define.
31939 (HAS_SLOW_BSF): Define.
31941 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31944 * resolv/res_init.c (__res_vinit): When no server address at all
31945 is given default to loopback.
31947 2010-08-24 Roland McGrath <roland@redhat.com>
31949 * configure.in: Remove config-name.h generation.
31950 * configure: Regenerated.
31951 * config-name.in: File removed.
31952 * scripts/config-uname.sh: New file.
31953 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31954 ($(objdir)config-name.h): New target.
31956 * sunrpc/rpc_parse.h: Avoid nested comment.
31958 2010-08-24 Richard Henderson <rth@redhat.com>
31959 Ulrich Drepper <drepper@redhat.com>
31960 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31964 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31965 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31966 _mm_alignr_epi8 with _mm_loadu_si128.
31967 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31968 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31969 (__m128i_shift_right): Removed.
31970 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31971 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31972 * sysdeps/x86_64/multiarch/varshift.h: New file.
31973 * sysdeps/x86_64/multiarch/varshift.S: New file.
31975 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31977 * configure.in: Move assembler checks to before sysdep dir checking.
31979 2010-08-20 Petr Baudis <pasky@suse.cz>
31981 * LICENSES: Sync the sunrpc license.
31983 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31985 * sunrpc/auth_des.c: Update copyright notice once again.
31986 * sunrpc/auth_none.c: Likewise.
31987 * sunrpc/auth_unix.c: Likewise.
31988 * sunrpc/authdes_prot.c: Likewise.
31989 * sunrpc/authuxprot.c: Likewise.
31990 * sunrpc/bindrsvprt.c: Likewise.
31991 * sunrpc/clnt_gen.c: Likewise.
31992 * sunrpc/clnt_perr.c: Likewise.
31993 * sunrpc/clnt_raw.c: Likewise.
31994 * sunrpc/clnt_simp.c: Likewise.
31995 * sunrpc/clnt_tcp.c: Likewise.
31996 * sunrpc/clnt_udp.c: Likewise.
31997 * sunrpc/clnt_unix.c: Likewise.
31998 * sunrpc/des_crypt.c: Likewise.
31999 * sunrpc/des_soft.c: Likewise.
32000 * sunrpc/get_myaddr.c: Likewise.
32001 * sunrpc/getrpcport.c: Likewise.
32002 * sunrpc/key_call.c: Likewise.
32003 * sunrpc/key_prot.c: Likewise.
32004 * sunrpc/openchild.c: Likewise.
32005 * sunrpc/pm_getmaps.c: Likewise.
32006 * sunrpc/pm_getport.c: Likewise.
32007 * sunrpc/pmap_clnt.c: Likewise.
32008 * sunrpc/pmap_prot.c: Likewise.
32009 * sunrpc/pmap_prot2.c: Likewise.
32010 * sunrpc/pmap_rmt.c: Likewise.
32011 * sunrpc/rpc/auth.h: Likewise.
32012 * sunrpc/rpc/auth_unix.h: Likewise.
32013 * sunrpc/rpc/clnt.h: Likewise.
32014 * sunrpc/rpc/des_crypt.h: Likewise.
32015 * sunrpc/rpc/key_prot.h: Likewise.
32016 * sunrpc/rpc/netdb.h: Likewise.
32017 * sunrpc/rpc/pmap_clnt.h: Likewise.
32018 * sunrpc/rpc/pmap_prot.h: Likewise.
32019 * sunrpc/rpc/pmap_rmt.h: Likewise.
32020 * sunrpc/rpc/rpc.h: Likewise.
32021 * sunrpc/rpc/rpc_des.h: Likewise.
32022 * sunrpc/rpc/rpc_msg.h: Likewise.
32023 * sunrpc/rpc/svc.h: Likewise.
32024 * sunrpc/rpc/svc_auth.h: Likewise.
32025 * sunrpc/rpc/types.h: Likewise.
32026 * sunrpc/rpc/xdr.h: Likewise.
32027 * sunrpc/rpc_clntout.c: Likewise.
32028 * sunrpc/rpc_cmsg.c: Likewise.
32029 * sunrpc/rpc_common.c: Likewise.
32030 * sunrpc/rpc_cout.c: Likewise.
32031 * sunrpc/rpc_dtable.c: Likewise.
32032 * sunrpc/rpc_hout.c: Likewise.
32033 * sunrpc/rpc_main.c: Likewise.
32034 * sunrpc/rpc_parse.c: Likewise.
32035 * sunrpc/rpc_parse.h: Likewise.
32036 * sunrpc/rpc_prot.c: Likewise.
32037 * sunrpc/rpc_sample.c: Likewise.
32038 * sunrpc/rpc_scan.c: Likewise.
32039 * sunrpc/rpc_scan.h: Likewise.
32040 * sunrpc/rpc_svcout.c: Likewise.
32041 * sunrpc/rpc_tblout.c: Likewise.
32042 * sunrpc/rpc_util.c: Likewise.
32043 * sunrpc/rpc_util.h: Likewise.
32044 * sunrpc/rpcinfo.c: Likewise.
32045 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32046 * sunrpc/rpcsvc/key_prot.x: Likewise.
32047 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32048 * sunrpc/rpcsvc/mount.x: Likewise.
32049 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32050 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32051 * sunrpc/rpcsvc/rex.x: Likewise.
32052 * sunrpc/rpcsvc/rstat.x: Likewise.
32053 * sunrpc/rpcsvc/rusers.x: Likewise.
32054 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32055 * sunrpc/rpcsvc/spray.x: Likewise.
32056 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32057 * sunrpc/rtime.c: Likewise.
32058 * sunrpc/svc.c: Likewise.
32059 * sunrpc/svc_auth.c: Likewise.
32060 * sunrpc/svc_authux.c: Likewise.
32061 * sunrpc/svc_raw.c: Likewise.
32062 * sunrpc/svc_run.c: Likewise.
32063 * sunrpc/svc_simple.c: Likewise.
32064 * sunrpc/svc_tcp.c: Likewise.
32065 * sunrpc/svc_udp.c: Likewise.
32066 * sunrpc/svc_unix.c: Likewise.
32067 * sunrpc/svcauth_des.c: Likewise.
32068 * sunrpc/xcrypt.c: Likewise.
32069 * sunrpc/xdr.c: Likewise.
32070 * sunrpc/xdr_array.c: Likewise.
32071 * sunrpc/xdr_float.c: Likewise.
32072 * sunrpc/xdr_mem.c: Likewise.
32073 * sunrpc/xdr_rec.c: Likewise.
32074 * sunrpc/xdr_ref.c: Likewise.
32075 * sunrpc/xdr_sizeof.c: Likewise.
32076 * sunrpc/xdr_stdio.c: Likewise.
32078 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32081 2010-08-19 Andreas Schwab <schwab@redhat.com>
32083 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32085 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32087 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32088 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32089 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32090 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32091 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32092 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32094 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32096 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32097 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32098 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32099 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32102 2010-07-26 Anton Blanchard <anton@samba.org>
32104 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32105 * malloc/arena.c (heap_trim): Likewise.
32107 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32109 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32112 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32114 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/i386/elf/Makefile: New file.
32118 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32120 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32121 from fanotify_init.
32122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32125 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32127 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32129 * sysdeps/multiarch/strcmp.S: Likewise.
32131 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32133 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32134 strncase_l-nonascii.
32135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32136 Add strncase_l-ssse3.
32137 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32138 * sysdeps/x86_64/strcmp.S: Likewise.
32139 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32140 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32141 * sysdeps/x86_64/strncase.S: New file.
32142 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32143 * sysdeps/x86_64/strncase_l.S: New file.
32144 * string/Makefile (strop-tests): Add strncasecmp.
32145 * string/test-strncasecmp.c: New file.
32147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32150 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32151 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32153 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32155 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32157 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32159 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32160 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32163 2010-05-01 Alan Modra <amodra@gmail.com>
32165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32166 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32167 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32168 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32169 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32170 tidying. Don't tail-call __sigjmp_save for static lib.
32171 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32173 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32174 (CALL_MCOUNT): Add eh info, and nop after bl.
32175 (TAIL_CALL_SYSCALL_ERROR): New macro.
32176 (PSEUDO_RET): Use it.
32177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32178 Correct save location of integer regs and cr.
32179 (_dl_profile_resolve): Correct cr save location. Delete nops
32180 after bl when SHARED. Reduce cfi size a little by better
32181 placement of cfi directives.
32182 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32183 make a stack frame. Instead use parm save area as a temp.
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32185 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32187 Don't make a stack frame for parent, use parm save area.
32188 Increase child stack frame to 112 bytes. Don't save unused reg,
32189 and adjust reg usage. Set up cfi on error recovery and
32190 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32192 (__makecontext): Add dummy nop after jump to exit.
32193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32194 Use correct parm save area and cr save, reduce stack frame.
32195 Correct cfi for possible PSEUDO_RET frame setup.
32196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32197 Branch to local label emitted by PSEUDO_RET rather than
32200 2010-08-12 Andreas Schwab <schwab@redhat.com>
32203 * locale/programs/locale.c (print_assignment): New function.
32204 (show_locale_vars): Use it.
32206 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32208 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32210 (struct statfs64): Likewise.
32211 (_STATFS_F_FLAGS): Define.
32212 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32214 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32215 (ST_VALID): Define locally.
32216 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32217 __statvfs_getflags, use the provided value.
32218 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32219 __ASSUME_STATFS_F_FLAGS.
32221 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32223 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32224 Add sys/fanotify.h.
32225 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32226 fanotify_mask for GLIBC_2.13.
32227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32228 fanotify_init and fanotify_mark.
32229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32230 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32232 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32234 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32235 prlimit64 for GLIBC_2.13.
32236 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32242 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32246 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32249 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32250 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32252 * nss/Makefile: Add rules to build and run tst-nss-test1.
32253 * shlib-versions: Add entry for libnss_test1.
32254 * nss/nss_test1.c: New file.
32255 * nss/tst-nss-test1.c: New file.
32257 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32258 (__nss_configure_lookup): Set appropriate entry in
32259 __nss_configure_lookup to true.
32260 * nss/nsswitch.h: Define enum with indeces of databases in
32261 databases and __nss_database_custom arrays. Declare
32262 __nss_database_custom.
32263 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32264 to avoid using nscd when custom rules are installed.
32265 * nss/getXXbyYY_r.c: Likewise.
32266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32268 * nss/nss_files/files-parse.c: Whitespace fixes.
32270 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32273 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32274 * posix/fnmatch_loop.c: Likewise.
32276 2010-07-17 Andi Kleen <ak@linux.intel.com>
32278 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32279 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32280 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32281 * Versions.def [GLIBC_2.13]: Add.
32283 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32285 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32286 Also fail if tpwd after pwuid call is NULL.
32288 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32290 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32291 when converting to ms.
32293 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32295 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32296 EOPNOTSUPP errors with ENOTTY.
32297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32298 EOPNOTSUPP errors with ENOTTY.
32300 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32302 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32303 Add strcasecmp_l-ssse3.
32304 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32306 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32307 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32308 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32310 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32312 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32314 * string/Makefile (strop-tests): Add strcasecmp.
32315 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32316 strcasecmp_l-nonascii.
32317 (gen-as-const-headers): Add locale-defines.sym.
32318 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32319 * sysdeps/x86_64/strcasecmp.S: New file.
32320 * sysdeps/x86_64/strcasecmp_l.S: New file.
32321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32322 * sysdeps/x86_64/locale-defines.sym: New file.
32323 * string/test-strcasecmp.c: New file.
32325 * string/test-strcasestr.c: Test both ends of the range of characters.
32326 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32328 2010-07-29 Roland McGrath <roland@redhat.com>
32331 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32333 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32335 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32338 2010-07-27 Andreas Schwab <schwab@redhat.com>
32340 * manual/memory.texi (Malloc Tunable Parameters): Document
32343 2010-07-26 Roland McGrath <roland@redhat.com>
32346 * configure.in (-fgnu89-inline check): Set and substitute
32347 gnu89_inline, not libc_cv_gnu89_inline.
32348 * configure: Regenerated.
32349 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32351 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32353 * string/test-strnlen.c: New file.
32354 * string/Makefile (strop-tests): Add strnlen.
32355 * string/tester.c (test_strnlen): Add a few more test cases.
32356 * string/tst-strlen.c: Better error reporting.
32358 * sysdeps/x86_64/strnlen.S: New file.
32360 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32363 lower-latency instructions.
32365 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32367 * string/test-strcasestr.c: New file.
32368 * string/test-strstr.c: New file.
32369 * string/Makefile (strop-tests): Add strstr and strcasestr.
32370 * string/str-two-way.h: Don't undefine MAX.
32371 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32373 2010-07-21 Andreas Schwab <schwab@redhat.com>
32375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32376 strcasestr-nonascii.
32377 (CFLAGS-strcasestr-nonascii.c): Define.
32378 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32380 Remove unused attribute.
32382 2010-07-20 Roland McGrath <roland@redhat.com>
32384 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32385 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32386 ld.so.cache was broken. With it, there is no way to disable dsocaps
32387 like LD_HWCAP_MASK can disable hwcaps.
32389 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32391 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32393 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32395 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32396 call in strcasestr.
32397 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32398 __strcasestr_sse42_nonascii.
32399 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32400 strcasestr-nonascii.c.
32401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32403 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32406 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32407 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32408 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32410 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32412 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32415 2010-07-06 Andreas Schwab <schwab@redhat.com>
32418 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32421 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32424 _PC_PIPE_BUF using F_GETPIPE_SZ.
32426 2010-07-05 Roland McGrath <roland@redhat.com>
32428 * manual/arith.texi (Rounding Functions): Fix rint description
32429 implicit in round description.
32431 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32433 * elf/Makefile: Fix linking for a few tests to make recent linker
32436 2010-06-30 Andreas Schwab <schwab@redhat.com>
32438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32439 $(common-objpfx)libc_nonshared.a.
32441 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32443 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32444 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32445 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32446 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32447 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32448 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32449 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32450 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32465 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32466 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32467 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32468 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32469 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32470 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32471 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32472 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32473 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32474 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32475 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32476 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32492 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32494 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32495 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32496 * string/memmove.c (memmove): Renamed to ...
32497 (MEMMOVE): ...this. Default to memmove.
32498 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32499 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32502 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32503 mempcpy-ssse3-back memmove-ssse3-back.
32504 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32507 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32508 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32509 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32510 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32511 * sysdeps/x86_64/multiarch/memmove.c: New file.
32512 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32513 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32514 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32515 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32516 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32519 (index_Fast_Copy_Backward): Define.
32520 (HAS_ARCH_FEATURE): Define.
32521 (HAS_FAST_REP_STRING): Define.
32522 (HAS_FAST_COPY_BACKWARD): Define.
32524 2010-06-21 Andreas Schwab <schwab@redhat.com>
32526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32527 Restore proper fallback handling.
32529 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32532 * posix/group_member.c (__group_member): Correct checking loop.
32534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32535 OOM in getpwuid_r correctly. Return error number when the caller
32536 should return, otherwise -1.
32537 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32538 call returning > 0 value.
32539 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32541 2010-06-07 Andreas Schwab <schwab@redhat.com>
32543 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32544 libc_nonshared.a from targets in modules-names.
32546 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32548 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32551 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32553 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32558 2010-06-02 Andreas Schwab <schwab@redhat.com>
32560 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32562 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32564 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32566 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32573 2010-06-14 Roland McGrath <roland@redhat.com>
32575 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32577 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32579 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32580 __REDIRECT followed by __THROW.
32581 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32582 * posix/getopt.h (getopt): Likewise.
32584 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32586 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32587 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32588 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32590 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32591 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32593 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32597 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32601 Properly check family and model.
32603 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32607 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32609 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32611 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32613 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32616 2010-05-19 Andreas Schwab <schwab@redhat.com>
32618 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32621 2010-05-21 Andreas Schwab <schwab@redhat.com>
32623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32624 and internal_recvmmsg.
32625 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32626 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32627 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32628 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32630 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32631 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32632 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32634 2010-05-20 Andreas Schwab <schwab@redhat.com>
32636 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32638 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32640 POWER7 optimizations.
32641 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32642 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32644 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32646 * version.h: Update for 2.13 development version.
32648 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32650 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32651 exceptions. Return 0.
32653 2010-05-07 Roland McGrath <roland@redhat.com>
32655 * elf/ldconfig.c (main): Add a const.
32657 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32659 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32660 (args_options): Add no-idn option.
32661 (ahosts_keys_int): Add idn_flags to ai_flags.
32662 (parse_option): Handle 'i' option to clear idn_flags.
32664 * malloc/malloc.c (_int_free): Possible race in the most recently
32665 added check. Only act on the data if no current modification
32668 See ChangeLog.17 for earlier changes.