Fix resource leak in resolver (bug 19257)
[glibc.git] / ChangeLog
bloba38c643f41d15e8e02d768bc83ebe2b9dd06e4cf
1 2016-03-15  Andreas Schwab  <schwab@suse.de>
3         [BZ #19257]
4         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5         statp->_u._ext.nscount as loop count.
7 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9         * math/test-signgam-finite-c99.c: Also #undef
10         __LIBC_INTERNAL_MATH_INLINES.
11         * math/test-signgam-main.c: Likewise.
13 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17         (MADV_FREE): Likewise.
18         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20         EPOLLEXCLUSIVE.
22 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
24         * timezone/README: Remove mention of checktab.awk. Mention wiki
25         SharedSourceFiles.
27 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
29         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
30         WUNTRACED.
32 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
35         order to match the type of p when calling atomic_exchange_acq().
37 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
40         cfi_offset calls.
41         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
42         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
43         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
44         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
45         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
47 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
49         * timezone/checktab.awk: Removed.
51 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
53         * manual/math.texi (Errors in Math Functions): Document relaxed
54         accuracy goals for IBM long double.
55         * math/libm-test.inc (test_exceptions): Always allow spurious
56         "underflow" and "inexact" exceptions for IBM long double.
58 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
60         [BZ #19762]
61         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
62         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
63         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
64         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
65         (bit_arch_*): This for feature array.
66         (bit_*): Renamed to ...
67         (bit_cpu_*): This for cpu array.
68         (index_*): Renamed to ...
69         (index_arch_*): This for feature array.
70         (index_*): Renamed to ...
71         (index_cpu_*): This for cpu array.
72         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
73         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
74         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
75         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
76         bit_##name with index_cpu_##name and bit_cpu_##name.
77         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
78         bit_##name with index_arch_##name and bit_arch_##name.
80 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
82         [BZ #19792]
83         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
84         Terminate FDE before return label.
86 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
88         [BZ #19790]
89         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
90         (rintl): Define as macro.
91         [USE_AS_NEARBYINTL] (__rintl): Likewise.
92         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
93         of fesetround.  Ensure results are evaluated before end of scope.
94         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
95         USE_AS_NEARBYINTL and include s_rintl.c.
96         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
97         Disable exception traps in new environment.
98         (libc_feholdsetround_ppc_ctx): Likewise.
100 2016-03-08  Roland McGrath  <roland@hack.frob.com>
102         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
103         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
104         (tst_audit10_aux) [__AVX512F__]: ... here.
106 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
108         * include/sys/auxv.h: New file.
110 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
112         [BZ #19759]
113         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
115 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
117         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
118         operand modifier.
119         (feclearexcept): Likewise.
121 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
123         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
124         to reflect the entire 32-bit HWCAP.
125         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
126         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
128 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
130         [BZ #19783]
131         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
132         $(test-via-rtld-prefix).
133         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
135 2016-03-08  Florian Weimer  <fweimer@redhat.com>
137         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
138         union wait.  Report any non-zero exit status as error.
140 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
143         configured with --enable-hardcoded-path-in-tests.
145 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
147         [BZ #19677]
148         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
149         (__ieee754_remainderl): Put zero low parts in canonical form.
150         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
151         file.  Based on
152         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
153         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
154         with wrapper round test-fmodrem-ldbl-128ibm.c.
155         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
156         file.
157         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
158         Likewise.
159         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
160         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
162 2016-03-07  Florian Weimer  <fweimer@redhat.com>
164         [BZ #19610]
165         * elf/ldconfig.c (opt_link): Update comment.
166         (options): Update help string for option -X.
167         (search_dir): Unlink stale symbolic link only if updating symbolic
168         links.
169         * elf/tst-ldconfig-X.sh: New file.
170         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
171         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
173 2016-03-07  Andreas Schwab  <schwab@suse.de>
175         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
176         needed arguments.
178 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
180         [BZ #15333]
181         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
182         to lstat64.
184 2016-03-07  Florian Weimer  <fweimer@redhat.com>
186         * libio/filedoalloc.c (isatty): Remove.
187         (local_isatty): Add comment.  Call __isatty directly.
188         (_IO_file_doallocate): Update comment.  Assume _LIBC.
189         * libio/wfiledoalloc.c (isatty): Remove.
190         (_IO_wfile_doallocate): Update comment.
192 2016-03-07  Florian Weimer  <fweimer@redhat.com>
194         [BZ #19269]
195         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
196         tst-audit4-aux.o.
197         (tst-audit10): Depend on tst-audit10-aux.o.
198         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
199         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
200         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
201         instead of inline AVX code.
202         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
203         instead of inline AVX512 code.
204         * sysdeps/x86_64/tst-audit4-aux.c: New file
205         * sysdeps/x86_64/tst-audit10-aux.c: New file
207         [BZ #19648]
208         * test-skeleton.c (main): Do not set RLIMIT_DATA.
210 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
212         [BZ #14750]
213         [BZ #10354]
214         [BZ #18433]
215         * include/sched.h (__clone): Add hidden prototype.
216         (__clone2): Likewise.
217         * include/unistd.h (__dup): Likewise.
218         * posix/Makefile (tests): Add tst-spawn2.
219         * posix/tst-spawn2.c: New file.
220         * sysdeps/posix/dup.c (__dup): Add hidden definition.
221         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
222         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
223         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
224         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
225         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
226         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
227         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
228         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
229         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
230         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
232         Likewise.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
234         Likewise.
235         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
236         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
237         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
238         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
239         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
240         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
241         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
242         * sysdeps/unix/sysv/linux/nptl-signals.h
243         (____nptl_is_internal_signal): New function.
244         * sysdeps/unix/sysv/linux/spawni.c: New file.
246         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
247         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
248         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
249         * posix/tst-execvp2.c (do_test): Likewise.
250         * posix/tst-execvp3.c (do_test): Likewise.
251         * posix/tst-execvp4.c (do_test): Likewise.
252         * posix/tst-execvpe1.c: New file.
253         * posix/tst-execvpe2.c: Likewise.
254         * posix/tst-execvpe3.c: Likewise.
255         * posix/tst-execvpe4.c: Likewise.
256         * posix/tst-execvpe5.c: Likewise.
257         * posix/tst-execvpe6.c: Likewise.
259         [BZ #19534]
260         * posix/execl.c (execl): Remove dynamic memory allocation.
261         * posix/execle.c (execle): Likewise.
262         * posix/execlp.c (execlp): Likewise.
264 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
266         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
267         Replace .text with .text.avx512.
268         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
269         Likewise.
271 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
273         * sysdeps/generic/libnsl.abilist: New file.
274         * sysdeps/generic/libutil.abilist: New file.
276 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
278         [BZ #19762]
279         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
280         HAS_ARCH_FEATURE with Fast_Rep_String.
281         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
282         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
283         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
284         Likewise.
285         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
286         Likewise.
287         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
288         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
289         Likewise.
290         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
291         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
292         Likewise.
294 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
296         [BZ #19745]
297         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
298         with *%rax in call.
300 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
302         [BZ #19745]
303         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
304         with *__libc_start_main@GOTPCREL(%rip) in call.
306 2016-03-04  Roland McGrath  <roland@hack.frob.com>
308         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
309         inside conditional for nonempty $(CXX).
311         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
312         nonempty.
314         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
315         to test for empty $(CXX) rather than $(CXX) of "no".
317 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
319         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
321 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
322             H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #18880]
325         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
326         instead of Slow_BSF, and also check for Fast_Copy_Backward to
327         enable __memcpy_ssse3_back.
329 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
331         [BZ #19758]
332         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
333         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
335 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
337         [BZ #19490]
338         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
339         (__fentry__): Likewise.
341 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
343         * gmon/Makefile (noprof): Add $(sysdep_noprof).
344         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
346 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
348         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
349         __mcount_internal directly.
350         (C_LABEL(__fentry__)): Likewise.
351         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
352         directly.
354 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
356         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
357         (__start_context): Call __setcontext directly.
359 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
362         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
363         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
364         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
366         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
367         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
368         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
369         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
370         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
371         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
372         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
374         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
375         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
376         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
377         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
379         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
380         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
381         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
382         * sysdeps/unix/sysv/linux/mips/kernel-features.h
383         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
384         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
385         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
386         Remove conditional code.
387         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
388         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
389         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
390         * sysdeps/unix/sysv/linux/sh/kernel-features.h
391         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
392         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
393         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
394         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
395         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
396         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
398         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
400 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
402         * NEWS (2.23): Fix typo in bug 19048 text.
404 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
406         [BZ #14259]
407         * Makeconfig: Rename msgcatdir to localedir.
408         Rename inst_msgcatdir to inst_localedir.
409         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
410         * config.make.in: Add localedir.
411         * elf/Makefile ($(objpfx)sotruss): Use localedir.
412         (ldd-rewrite): Likewise.
413         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
414         (install-others): Use inst_localedir.
415         (CPPFLAGS): Use localedir.
416         * locale/Makefile (locale-CPPFLAGS): Likewise.
417         * po/Makefile (mo-installed): Use inst_localedir.
419         [BZ #19575]
420         * localedata/charmaps/GB18030: Update comments regarding PAU to
421         non-PUA mappings.
423 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
425         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
426         test for header.
427         * sysdeps/unix/sysv/linux/configure: Regenerated.
428         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
429         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
430         Remove conditional code.
431         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
433         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
434         Define to 3.2.0.
435         (arch_minimum_kernel): Likewise.
436         * sysdeps/unix/sysv/linux/configure: Regenerated.
437         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
438         Define to 2.6.32.
439         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
440         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
441         (arch_minimum_kernel): Define to 2.6.32.
442         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
443         * README: Document Linux 3.2 requirement.
444         * manual/install.texi (Linux): Document Linux 3.2 headers
445         requirement.
446         * INSTALL: Regenerated.
448 2016-02-24  Andreas Schwab  <schwab@suse.de>
450         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
451         if !NO_LONG_DOUBLE.
453 2016-02-22  Roland McGrath  <roland@hack.frob.com>
455         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
456         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
458 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
460         [BZ #19512]
461         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
463 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
465         * posix/tst-dir.c: Include libc-internal.h.
467 2016-02-20  Florian Weimer  <fweimer@redhat.com>
469         [BZ #19056]
470         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
471         * manual/filesys.texi (Reading/Closing Directory): Mention
472         deprecaion.
473         * posix/tst-dir.c (main): Disable deprecation warning in test.
475 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
477         [BZ #19679]
478         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
479         Renamed to ...
480         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
481         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
482         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
483         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
484         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
485         * sysdeps/x86_64/dl-trampoline.h
486         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
487         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
489 2016-02-19  Mark Wielaard  <mjw@redhat.com>
491         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
493 2016-02-19  Mark Wielaard  <mjw@redhat.com>
495         * elf/elf.h (R_386_GOT32X): New.
496         (R_386_NUM): Update.
497         (R_X86_64_GOTPCRELX: New.
498         (R_X86_64_REX_GOTPCRELX): New.
499         (R_X86_64_NUM): Update.
501 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
503         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
505 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
507         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
508         assign attr->stackaddr to it, and adjust it down when
509         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
510         [_STACK_GROWS_UP]: Delete assert.
511         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
512         Implement stack grows up logic.
513         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
514         stack grows up logic.
516 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
518         * NEWS: Update with 2.24 template.
520 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
522         [BZ #19678]
523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
524         Ensure +0.0 is returned when taking the next value below the least
525         positive value.
527 2016-02-19  Florian Weimer  <fweimer@redhat.com>
529         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
530         available.  Do not define NO_THREADS.
531         * malloc/malloc.c: Do not check NO_THREADS.
532         * malloc/arena.c: Likewise.
534 2016-02-19  Florian Weimer  <fweimer@redhat.com>
536         * malloc/malloc.c (__libc_mallinfo): Update comment.
537         (struct malloc_par): Remove max_total_mem member, it was always 0.
538         (int_mallinfo): Store 0 into usmblks (no functional change).
539         * malloc/hooks.c (struct malloc_state): Document that
540         max_total_mem is always 0.
541         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
542         always 0.
543         * manual/memory.texi (Statistics of Malloc): Likewise.
545 2016-02-19  Florian Weimer  <fweimer@redhat.com>
547         * malloc/malloc.c (sysmalloc): Do not update arena_max.
548         * malloc/arena.c (arena_max): Remove.
549         (heap_trim, _int_new_arena): Do not update arena_max.
551 2016-02-19  Florian Weimer  <fweimer@redhat.com>
553         * resolv/res_init.c (res_ninit): Update comment.
555 2016-02-19  Florian Weimer  <fweimer@redhat.com>
557         [BZ #19505]
558         * posix/spawn_int.h: Add headers and include guard.
559         (__spawn_valid_fd): New function.
560         * posix/spawn_faction_addopen.c
561         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
562         * posix/spawn_faction_addclose.c
563         (posix_spawn_file_actions_addclose): Likewise.
564         * posix/spawn_faction_adddup2.c
565         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
566         second file descriptor.
567         * posix/spawn_valid_fd.c: New file.
568         * posix/tst-posix_spawn-fd.c: New file.
569         * posix/Makefile (routines): Add spawn_valid_fd.
570         (tests): Add tst-posix_spawn-fd.
572 2016-02-19  Florian Weimer  <fweimer@redhat.com>
574         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
575         (do_test): Limit the number of arenas, so that we can use fewer
576         outer threads.  Limit timeout to 3 seconds, in preparation for a
577         larger TIMEOUT value.
579 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
581         [BZ #19674]
582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
583         sign in overflowing and underflowing results when overflow or
584         underflow is detected early.  Include sign in result before rather
585         than after scaling.
587         [BZ #19603]
588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
589         (__ieee754_remainderl): Adjust sign of integer version of low part
590         when taking absolute value of high part.
591         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
592         * math/libm-test.inc (remainder_test_data): Add another test.
593         (remquo_test_data): Likewise.
595 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #19602]
598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
599         equal high parts and both low parts zero specially.
600         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
601         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
602         Add test-fmodl-ldbl-128ibm.
604         [BZ #19595]
605         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
606         common logic for all cases of shifting subnormal results.  Do not
607         insert sign bit in shifted mantissa.  Always pass -1023 as biased
608         exponent to ldbl_insert_mantissa in subnormal case.
610         [BZ #19594]
611         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
612         on high and low parts then adjust result and use
613         ldbl_canonicalize_int if needed.
615         [BZ #19593]
616         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
617         on high part and __floor or __ceil on low part then use
618         ldbl_canonicalize_int if needed.
620         [BZ #19592]
621         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
622         high and low parts then use ldbl_canonicalize_int if needed.
624         [BZ #17899]
625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
626         New function.
627         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
628         on high and low parts then use ldbl_canonicalize_int if needed.
630 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
632         * configure: Regenerated.
634         * po/libc.pot: Regenerated.
636         * po/be.po: Updated translation.
637         * po/bg.po: Likewise.
638         * po/ca.po: Likewise.
639         * po/cs.po: Likewise.
640         * po/da.po: Likewise.
641         * po/el.po: Likewise.
642         * po/eo.po: Likewise.
643         * po/es.po: Likewise.
644         * po/fi.po: Likewise.
645         * po/fr.po: Likewise.
646         * po/gl.po: Likewise.
647         * po/hr.po: Likewise.
648         * po/hu.po: Likewise.
649         * po/ia.po: Likewise.
650         * po/id.po: Likewise.
651         * po/it.po: Likewise.
652         * po/ja.po: Likewise.
653         * po/lt.po: Likewise.
654         * po/nb.po: Likewise.
655         * po/nl.po: Likewise.
656         * po/pt_BR.po: Likewise.
657         * po/rw.po: Likewise.
658         * po/sk.po: Likewise.
659         * po/sl.po: Likewise.
660         * po/sv.po: Likewise.
661         * po/tr.po: Likewise.
662         * po/zh_CN.po: Likewise.
663         * po/zh_TW.po: Likewise.
665         * version.h (RELEAES): Set to "development".
666         (VERSION): Set to 2.23.90.
668         * version.h (RELEASE): Set to "stable".
669         (VERSION): Set to 2.23.
670         * include/feature.h (__GLIBC_MINOR__): Set to 23.
672         * NEWS: Updated fixed bugs.
674 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
675             Wilco Dijkstra  <wdijkstr@arm.com>
677         [BZ #19462]
678         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
679         (_STRING_INLINE_unaligned): This.
680         * include/string.h: Include <string_private.h>.
681         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
682         _STRING_INLINE_unaligned.
683         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
684         (_STRING_INLINE_unaligned): New.
685         * sysdeps/aarch64/string_private.h: New file.
686         * sysdeps/generic/string_private.h: Likewise.
687         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
688         * sysdeps/s390/string_private.h: Likewise.
689         * sysdeps/x86/string_private.h: Likewise.
690         * sysdeps/m68k/m680x0/m68020/bits/string.h
691         (_STRING_ARCH_unaligned): Renamed to ...
692         (_STRING_INLINE_unaligned): This.
693         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
694         to ...
695         (_STRING_INLINE_unaligned): This.
696         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
697         to ...
698         (_STRING_INLINE_unaligned): This.
699         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
700         to ...
701         (_STRING_INLINE_unaligned): This.
703 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
704             H.J. Lu  <hongjiu.lu@intel.com>
706         [BZ #19590]
707         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
708         relocation.
710 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
712         [BZ #18665]
713         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
714         *herrno_p.
715         (gaih_getanswer): Document functional behviour. Return tryagain
716         if any result is tryagain.
717         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
718         when freed.
719         * resolv/res_send.c: Add copyright text.
720         (__libc_res_nsend): Document that MAXPACKET is expected.
721         (send_vc): Document. Remove buffer reuse.
722         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
723         size of the buffer. Add Dprint for truncated UDP buffer.
725 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
727         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
728         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
729         * INSTALL: Regenerate.
731 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
732             Jonathan Wakely  <jwakely@redhat.com>
733             Carlos O'Donell  <carlos@redhat.com>
735         [BZ 19439]
736         * math/Makefile (tests): Add test-math-isinff.
737         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
738         * math/bits/mathcalls.h [__USE_MISC]: Use
739         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
740         functions not in C++11 and which don't conflict e.g. isinff,
741         isinfl etc.
742         * math/test-math-isinff.cc: New file.
744 2016-02-12  Florian Weimer  <fweimer@redhat.com>
746         * misc/bug18240.c (do_test): Set RLIMIT_AS.
748 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
750         [BZ #19529]
751         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
753 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
755         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
757 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
759         [BZ #19550]
760         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
761         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
762         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
763         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
764         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
765         New syscall entry.
766         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
767         New syscall entry.
768         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
769         syscall entry.
771 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
773         [BZ #18240]
774         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
775         unsigned int wraparound.
777 2016-01-27  Florian Weimer  <fweimer@redhat.com>
779         [BZ #18240]
780         * misc/bug18240.c: New test.
781         * misc/Makefile (tests): Add it.
783 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
784             Joseph Myers  <joseph@codesourcery.com>
786         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
787         load in branch delay slot when less than a word of input left.
789 2016-01-27  Andreas Schwab  <schwab@suse.de>
791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
792         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
793         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
794         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
796 2016-01-26  David S. Miller  <davem@davemloft.net>
798         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
800 2016-01-25  David S. Miller  <davem@davemloft.net>
802         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
803         __sqrtl_finite.
804         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
805         instead using versioned_symbol.
806         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
807         of entries.
809         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
810         __sqrtl_finite to GLIBC_2.23
812 2016-01-25  Ricchard Henderson  <rth@redhat.com>
814         * sysdeps/alpha/fpu/libm-test-ulps: Update.
816 2016-01-25  Andreas Schwab  <schwab@suse.de>
818         [BZ #17514]
819         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
820         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
821         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
822         * nptl/tst-mutex-errorcheck.c: New file.
824 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
826         [BZ #18560]
827         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
828         (IPCOP_semop): Likewise.
829         (IPCOP_semget): Likewise.
830         (IPCOP_semctl): Likewise.
831         (IPCOP_msgsnd): Likewise.
832         (IPCOP_msgrcv): Likewise.
833         (IPCOP_msgget): Likewise.
834         (IPCOP_msgctl): Likewise.
835         (IPCOP_shmat): Likewise.
836         (IPCOP_shmdt): Likewise.
837         (IPCOP_shmget): Likewise.
838         (IPCOP_shmctl): Likewise.
840 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
842         * string/tst-endian.c: Include <libc-internal.h>.
843         (do_test): Ignore tautological-compare warnings around
844         "htobeXX (beXXtoh (i)) != i" and
845         "htoleXX (leXXtoh (i)) != i" if-statements.
847 2016-01-24  David S. Miller  <davem@davemloft.net>
849         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
850         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
851         alias.
852         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
853         __sqrtl_finite.
855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
857 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
859         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
860         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
861         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
863 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
865         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
866         (thread_func): Use new function to simplify barrier check.
867         (do_test): Use new function to simplify checking barrier exit
868         code, and actually join the child thread.
870 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
872         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
873         semicolon.
874         (__libc_tend): Likewise.
875         (__libc_tabort): Likewise.
877 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
879         * sysdeps/nios2/libm-test-ulps: Update.
880         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
881         (__gtsf2): Likewise.
882         (__unorddf2): Likewise.
883         (__unordsf2): Likewise.
884         (__ledf2): Likewise.
886 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
888         * nis/nis_table.c (__follow_path): Disable diagnostic for
889         uninitialized variable that is a false positive for gcc 4.7.
890         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
892 2016-01-20  Roland McGrath  <roland@hack.frob.com>
894         * sysdeps/nacl/lowlevellock-futex.h
895         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
896         Always evaluate PRIVATE argument.
898 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
900         [BZ #19490]
901         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
902         (pthread_cond_broadcast): Use ENTRY/END
903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
904         (pthread_cond_signal): Likewise.
905         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
906         Likewise.
907         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
908         Likewise.
909         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
910         Likewise.
912 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
914         * sysdeps/ieee754/dbl-64/s_finite.c
915         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
916         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
917         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
919         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
922         (__gtsf2): Add as optional for libc.so.
923         (__unordsf2): Likewise.
924         (__signbit): Remove for libc.so.
925         (__signbitl): Likewise.
927 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
929         * iconvdata/bug-iconv11.c (test_ibm93x):
930         Use %zu printf format specifier for size_t argument.
932 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
934         * math/gen-libm-test.pl (parse_ulps): Do not reduce
935         already-recorded ulps.
936         * sysdeps/arm/libm-test-ulps: Regenerated.
937         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
938         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
939         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
941 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
942             Paul Pluzhnikov  <ppluzhnikov@google.com>
944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
945         assembler not supporting AVX-512.
947 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
949         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
951 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
953         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
954         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
956         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
958         * sysdeps/arm/libm-test-ulps: Regenerated.
960 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
962         [BZ #19451]
963         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
965 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
967         [BZ #19486]
968         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
969         * sysdeps/generic/fix-fp-int-convert-overflow.h
970         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
971         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
972         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
973         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
974         Likewise.
975         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
976         Avoid conversions to long int where inexact exceptions
977         could be raised.
978         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
979         Likewise.
980         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
981         Avoid conversions to long long int where inexact exceptions
982         could be raised.
983         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
984         Likewise.
986 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
988         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
989         * configure: Regenerated.
991 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
993         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
995 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
997         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
998         outside of comment.
1000 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1002         * nptl/tst-barrier1.c: Add description on first line.
1003         * nptl/tst-barrier2.c: Likewise.
1004         * nptl/tst-barrier3.c: Likewise.
1005         * nptl/tst-barrier4.c: Likewise.
1006         * nptl/tst-barrier5.c: Likewise.
1008 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1010         [BZ #18868]
1011         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1013 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1017         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1018         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1019         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1020         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1021         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1022         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1023         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1024         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1025         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1027 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1029         [BZ #13065]
1030         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1031         new implementation.
1032         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1033         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1034         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1035         (BARRIER_IN_THRESHOLD): New macro.
1036         * nptl/pthread_barrierattr_setpshared.c
1037         (pthread_barrierattr_setpshared): Clean up.
1038         * nptl/tst-barrier4.c: Correct comment.
1039         * nptl/tst-barrier5.c: New file.
1040         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1041         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1042         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1043         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1044         * nptl/lowlevelbarrier.sym: Remove.
1045         * nptl/DESIGN-barrier.txt: Remove.
1046         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1047         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1048         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1049         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1050         error.
1051         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1052         implementation.
1054 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1056         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1057         (do_child): Mask SIGRTMIN while thr is running.
1059 2016-01-15  Martin Sebor  <msebor@redhat.com>
1061         [BZ #19432]
1062         * iconvdata/Makefile: Add bug-iconv11.
1063         * iconvdata/bug-iconv11.c: New test.
1064         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1065         * iconvdata/ibm933.c: Same.
1066         * iconvdata/ibm935.c: Same.
1067         * iconvdata/ibm937.c: Same.
1068         * iconvdata/ibm939.c: Same.
1070 2016-01-15  Martin Sebor  <msebor@redhat.com>
1072         [BZ #19443]
1073         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1074         [DEBUG] (_ufc_set_bits): Declare used.
1075         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1076         [DEBUG] (print_all): Declare used.
1077         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1078         operands of the ternary ?: expression to target type.
1079         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1080         calling the undeclared abort.
1081         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1083 2016-01-15  Martin Sebor  <msebor@redhat.com>
1085         [BZ #18755]
1086         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1087         warnings.
1088         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1089         (__gai_create_helper_thread): Same.
1090         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1091         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1092         to suppress -Wmaybe-uninitialized warnings.
1094 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1096         [BZ #19465]
1097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1098         inside if.
1099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1100         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1103 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1105         [BZ #19466]
1106         * time/tst-mktime2.c (time_t_max): Removed.
1107         (time_t_min): Likewise.
1108         (TYPE_SIGNED): New.
1109         (TYPE_MINIMUM): Likewise.
1110         (TYPE_MAXIMUM): Likewise.
1111         (TIME_T_MIN): Likewise.
1112         (TIME_T_MAX): Likewise.
1113         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1114         and TIME_T_MIN.
1115         (do_test): Likewise.
1117 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1119         [BZ #19467]
1120         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1121         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1123 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1125         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1127 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1129         * benchtests/Makefile (PYTHON): Define.
1130         (bench-func): Use $(PYTHON) to run python scripts.
1131         ($(objpfx)bench-%.c): Likewise.
1133 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1135         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1136         leading slash when `file_name' is "/".
1138 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1140         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1141         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1144         Likewise.
1145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1148         enum constant and macro.
1149         (PTRACE_SETSIGMASK): Likewise.
1150         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1151         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1152         (PTRACE_GETSIGMASK): Likewise.
1153         (PTRACE_SETSIGMASK): Likewise.
1154         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1155         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1156         Likewise.
1157         (PTRACE_SETSIGMASK): Likewise.
1158         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1160         (PTRACE_GETSIGMASK): Likewise.
1161         (PTRACE_SETSIGMASK): Likewise.
1162         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1164         Likewise.
1165         (PTRACE_SETSIGMASK): Likewise.
1166         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1167         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1168         Likewise.
1169         (PTRACE_SETSIGMASK): Likewise.
1170         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1171         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1172         Likewise.
1173         (PTRACE_SETSIGMASK): Likewise.
1174         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1176 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1177             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1179         [BZ #19439]
1180         * math/bits/mathcalls.h
1181         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1182         prototype.
1183         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1185 2016-01-11  Andreas Schwab  <schwab@suse.de>
1187         [BZ #19253]
1188         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1189         cache when TZDEFRULES was used.
1190         * time/tst-tzname.c: New file.
1191         * time/Makefile (test): Add tst-tzname.
1192         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1193         * timezone/Makefile (test-zones): Add $(posixrules-file).
1194         ($(testdata)/$(posixrules-file)): New rule.
1196 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1198         Fix doc quoting problems with Texinfo 5
1199         Without this change, in the info file output, Texinfo 5 quotes code
1200         in text with undirected single quotes 'like this' and generates
1201         code examples that with many PDF readers cannot be cut out of PDFs
1202         and pasted into code.
1203         * manual/libc.texinfo: Configure the libc manual like the GNU
1204         Emacs manual, by using @documentencoding and setting
1205         txicodequoteundirected and txicodequotebacktick.  This way,
1206         Texinfo 5 quotes code in text with directed single quotes ‘like
1207         this’ and produces examples that can be cut out of PDFs.  This
1208         change causes Texinfo 5 to generate info files that contain UTF-8
1209         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1210         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1212 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1214         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1215         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1216         barriers to their respective compiler built-ins.
1217         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1218         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1219         * sysdeps/powerpc/sysdep.h: Likewise.
1220         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1221         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1222         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1224 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1226         * scripts/config.guess: Revert previous shebang change.
1227         * scripts/config.sub: Likewise.
1228         * scripts/mkinstalldirs: Likewise.
1230 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1232         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1233         PPC_FEATURE2_HAS_IEEE128.
1234         * sysdeps/powerpc/dl-procinfo.c:
1235         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1237 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1239         [BZ #19415]
1240         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1241         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1242         (_dl_lookup_address): Rewrite using function resolver trampoline.
1243         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1244         two bits in address.
1246 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1248         * longlong.h: Change !__SHMEDIA__ to
1249         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1250         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1252 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1253             Joseph Myers  <joseph@codesourcery.com>
1254             Mark Shinwell  <shinwell@codesourcery.com>
1255             Andrew Stubbs  <ams@codesourcery.com>
1256             Rich Felker <dalias@libc.org>
1258         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1260 2016-01-07  Richard Henderson  <rth@redhat.com>
1262         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1264 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1266         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1267         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1268         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1269         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1270         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1272 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1273             Joseph Myers  <joseph@codesourcery.com>
1275         * timezone/private.h: Update from tzcode 2015g.
1276         * timezone/tzfile.h: Likewise.
1277         * timezone/tzselect.ksh: Likewise.
1278         * timezone/zdump.c: Likewise.
1279         * timezone/zic.c: Likewise.
1280         * timezone/ialloc.c: Remove file.
1281         * timezone/scheck.c: Likewise.
1282         * timezone/Makefile (extra-objs): Remove variable.
1283         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1284         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1285         -Wno-maybe-uninitialized.
1286         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1287         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1288         (CFLAGS-ialloc.c): Remove variable.
1289         (CFLAGS-scheck.c): Likewise.
1290         * timezone/README: Update list of files from tzcode.
1292 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1294         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1295         instead of __fxprintf when _LIBC is undefined.
1297 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1299         * catgets/test-gencat.sh: Remove space after shebang.
1300         * conform/GlibcConform.pm: Likewise.
1301         * conform/check-header-lists.sh: Likewise.
1302         * conform/conformtest.pl: Likewise.
1303         * conform/linknamespace.pl: Likewise.
1304         * conform/list-header-symbols.pl: Likewise.
1305         * debug/catchsegv.sh: Likewise.
1306         * elf/genrtldtbl.awk: Likewise.
1307         * elf/tst-pathopt.sh: Likewise.
1308         * elf/tst-rtld-load-self.sh: Likewise.
1309         * grp/tst_fgetgrent.sh: Likewise.
1310         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1311         * iconvdata/gen-8bit-gap.sh: Likewise.
1312         * iconvdata/gen-8bit.sh: Likewise.
1313         * iconvdata/run-iconv-test.sh: Likewise.
1314         * intl/tst-gettext.sh: Likewise.
1315         * intl/tst-gettext2.sh: Likewise.
1316         * intl/tst-gettext4.sh: Likewise.
1317         * intl/tst-gettext6.sh: Likewise.
1318         * intl/tst-translit.sh: Likewise.
1319         * io/ftwtest-sh: Likewise.
1320         * libio/test-freopen.sh: Likewise.
1321         * locale/gen-translit.pl: Likewise.
1322         * malloc/tst-mtrace.sh: Likewise.
1323         * manual/check-safety.sh: Likewise.
1324         * manual/libc-texinfo.sh: Likewise.
1325         * manual/tsort.awk: Likewise.
1326         * manual/xtract-typefun.awk: Likewise.
1327         * nptl/tst-cancel-wrappers.sh: Likewise.
1328         * nptl/tst-tls6.sh: Likewise.
1329         * posix/globtest.sh: Likewise.
1330         * posix/tst-getconf.sh: Likewise.
1331         * posix/wordexp-tst.sh: Likewise.
1332         * scripts/check-c++-types.sh: Likewise.
1333         * scripts/check-local-headers.sh: Likewise.
1334         * scripts/config.guess: Likewise.
1335         * scripts/config.sub: Likewise.
1336         * scripts/cpp: Likewise.
1337         * scripts/cross-test-ssh.sh: Likewise.
1338         * scripts/documented.sh: Likewise.
1339         * scripts/evaluate-test.sh: Likewise.
1340         * scripts/gen-libc-abis: Likewise.
1341         * scripts/gen-sorted.awk: Likewise.
1342         * scripts/list-fixed-bugs.py: Likewise.
1343         * scripts/merge-test-results.sh: Likewise.
1344         * scripts/mkinstalldirs: Likewise.
1345         * scripts/rellns-sh: Likewise.
1346         * scripts/test-installation.pl: Likewise.
1347         * scripts/update-copyrights: Likewise.
1348         * stdio-common/tst-printf.sh: Likewise.
1349         * stdio-common/tst-unbputc.sh: Likewise.
1350         * stdlib/tst-fmtmsg.sh: Likewise.
1351         * stdlib/tst-setcontext3.sh: Likewise.
1352         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1353         * sysdeps/unix/make-syscalls.sh: Likewise.
1355 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1357         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1358         asm stw with atomic_exchange_rel.  Add explanatory comment.
1359         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1360         Likewise.
1362 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1364         [BZ #19122]
1365         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1366         * sysdeps/generic/dl-unistd.h: New file.
1367         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1369 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1371          [BZ #19122]
1372          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1373          * sysdeps/generic/dl-mman.h: New file.
1374          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1376 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1378         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1379         trailing whitespace removed.
1380         * scripts/config.guess: Update to version 2016-01-01.
1381         * scripts/config.sub: Update to version 2016-01-01.
1382         * scripts/move-if-change: Update from gnulib.
1384 2016-01-04  Anton Blanchard  <anton@samba.org>
1386         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1387         for array indices.
1388         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1390 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1392         * NEWS: Update copyright dates.
1393         * catgets/gencat.c (print_version): Likewise.
1394         * csu/version.c (banner): Likewise.
1395         * debug/catchsegv.sh: Likewise.
1396         * debug/pcprofiledump.c (print_version): Likewise.
1397         * debug/xtrace.sh (do_version): Likewise.
1398         * elf/ldconfig.c (print_version): Likewise.
1399         * elf/ldd.bash.in: Likewise.
1400         * elf/pldd.c (print_version): Likewise.
1401         * elf/sotruss.sh: Likewise.
1402         * elf/sprof.c (print_version): Likewise.
1403         * iconv/iconv_prog.c (print_version): Likewise.
1404         * iconv/iconvconfig.c (print_version): Likewise.
1405         * locale/programs/locale.c (print_version): Likewise.
1406         * locale/programs/localedef.c (print_version): Likewise.
1407         * login/programs/pt_chown.c (print_version): Likewise.
1408         * malloc/memusage.sh (do_version): Likewise.
1409         * malloc/memusagestat.c (print_version): Likewise.
1410         * malloc/mtrace.pl: Likewise.
1411         * manual/libc.texinfo: Likewise.
1412         * nptl/version.c (banner): Likewise.
1413         * nscd/nscd.c (print_version): Likewise.
1414         * nss/getent.c (print_version): Likewise.
1415         * nss/makedb.c (print_version): Likewise.
1416         * posix/getconf.c (main): Likewise.
1417         * scripts/test-installation.pl: Likewise.
1418         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1420         * All files with FSF copyright notices: Update copyright dates
1421         using scripts/update-copyrights.
1422         * intl/plural.c: Regenerated.
1423         * locale/programs/charmap-kw.h: Likewise.
1424         * locale/programs/locfile-kw.h: Likewise.
1426 2016-01-02  Helge Deller  <deller@gmx.de>
1428         [BZ #19285]
1429         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1430         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1431         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1432         (MADV_xxK_PAGES): Remove.
1434 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1436         [BZ #15421]
1437         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1438         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1439         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1440         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1442 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1444         [BZ #19408]
1445         * sysdeps/unix/sysv/linux/personality.c: New file.
1446         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1447         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1448         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1449         (sysdep_routines): Add personality.
1450         (tests): Add tst-personality.
1451         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1453         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1454         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1455         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1456         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1457         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1458         Likewise.
1459         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1460         Likewise.
1461         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1462         Likewise.
1463         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1464         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1465         Likewise.
1467 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1469         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1470         (PATH_ARM_SYSTYPE): Remove.
1471         (PATH_CPUINFO): Likewise.
1472         (IO_BASE_FOOTBRIDGE): Likewise.
1473         (IO_SHIFT_FOOTBRIDGE): Likewise.
1474         (struct platform): Likewise.
1475         (init_iosys): Remove compatibility code for 2.4 kernels.
1476         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1478 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1480         * malloc/tst-malloc-thread-fail.c: New file.
1481         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1482         (tst-malloc-thread-fail): Link against libpthread.
1484 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1486         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1487         (get_parser): New function.
1488         (main): New function.
1490 2015-12-29  Rob Wu  <rob@robwu.nl>
1492         [BZ #19369]
1493         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1495 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1497         [BZ #19270]
1498         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1500 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1502         [BZ #15421]
1503         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1505 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1507         [BZ #13690]
1508         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1509         after releasing it.
1510         (__lll_robust_unlock): Likewise.
1511         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1512         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1513         (lll_robust_unlock): Likewise.
1514         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1515         Prevent warnings in callers.
1517 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1519         * malloc/arena.c (list_lock): Update comment.
1521 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1523         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1524         __parse_hwcap_and_convert_at_platform to libc.a.
1526 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1528         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1529         platform and feature support for POWER9.
1530         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1531         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1532         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1533         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1534         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1535         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1536         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1537         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1539 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1541         Harmonize generic stdio-lock support with nptl
1543         This fixes build when _IO_funlockfile is a macro, fixes build where
1544         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1545         stack unwind.
1547         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1548         _IO_release_lock ): Use cleanup attribute on new
1549         _IO_acquire_lock_file variable instead of assuming that
1550         _IO_release_lock will be called.
1551         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1552         _IO_acquire_lock_needs_exceptions_enabled.
1553         (_IO_acquire_lock_clear_flags2): New macro.
1555 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1557         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1559 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1561         [BZ #19182]
1562         * malloc/arena.c (list_lock): Document lock ordering requirements.
1563         (free_list_lock): New lock.
1564         (ptmalloc_lock_all): Comment on free_list_lock.
1565         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1566         (detach_arena): Update comment.  free_list_lock is now needed.
1567         (_int_new_arena): Use free_list_lock around detach_arena call.
1568         Acquire arena lock after list_lock.  Add comment, including FIXME
1569         about incorrect synchronization.
1570         (get_free_list): Switch to free_list_lock.
1571         (reused_arena): Acquire free_list_lock around detach_arena call
1572         and attached threads counter update.  Add two FIXMEs about
1573         incorrect synchronization.
1574         (arena_thread_freeres): Switch to free_list_lock.
1575         * malloc/malloc.c (struct malloc_state): Update comments to
1576         mention free_list_lock.
1578 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1580         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1581         Remove functions.
1582         (sloww, sloww1): Accept argument to offset quadrant.
1583         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1584         quadrant.
1585         (__sin, __cos): Consolidate common code into new functions.
1586         (reduce_sincos_1, do_sincos_1): New functions.
1587         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1590         code to new functions.
1591         (reduce_sincos_2, do_sincos_2): New functions.
1592         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1594         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1595         common code for sincos.
1596         (__cos) [!IN_SINCOS]: Likewise.
1597         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1598         New function.
1599         (__sincos): Use it.
1601 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1603         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1604         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1605         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1607 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1609         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1612         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1613         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1614         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1615         index_Prefer_No_VZEROUPPER): New feature.
1616         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1617         Prefer_No_VZEROUPPER for Knights Landing.
1619 015-12-18  Torvald Riegel  <triegel@redhat.com>
1621         * math/atest-exp2.c (mp_exp_m1): Remove.
1623 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1625         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1626         syscalls.
1627         (__SYSCALL0): New macro.
1628         (__SYSCALL1): Likewise.
1629         (__SYSCALL2): Likewise.
1630         (__SYSCALL3): Likewise.
1631         (__SYSCALL4): Likewise.
1632         (__SYSCALL5): Likewise.
1633         (__SYSCALL6): Likewise.
1634         (__SYSCALL_CONCAT_X): Likewise.
1635         (__SYSCALL_CONCAT): Likewise.
1636         (__SYSCALL_DIST): Likewise.
1637         (__SYSCALL_CALL): Likewise.
1639 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1641         [BZ #19363]
1642         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1644 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1646         [BZ #19375]
1647         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1648         negative subnormals.
1650 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1653         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1654         (INTERNAL_SYSCALL_NCS): Use it.
1655         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1657 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1659         [BZ #19243]
1660         * malloc/arena.c (get_free_list): Remove assert and adjust
1661         reference count handling.  Add comment about reused_arena
1662         interaction.
1663         (reused_arena): Add comments abount get_free_list interaction.
1664         * malloc/tst-malloc-thread-exit.c: New file.
1665         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1666         (tst-malloc-thread-exit): Link against libpthread.
1668 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1670         [BZ #19367]
1671         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1672         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1673         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1674         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1675         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1677 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1679         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1680         Silvermont optimizations for Knights Landing.
1682 2015-12-15  Andreas Schwab  <schwab@suse.de>
1684         [BZ #17197]
1685         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1686         immediately after emitting SI.
1687         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1688         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1689         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1690         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1691         * iconvdata/bug-iconv10.c: New file.
1692         * iconvdata/Makefile (tests): Add bug-iconv10.
1693         ($(objpfx)bug-iconv10.out): New rule.
1695 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1697         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1698         aliasing violation.
1700 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1702         [BZ #18472]
1703         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1704         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1705         conditionals for them.
1706         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1707         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1709         sys/kdaemon.h.
1710         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1711         compat-only syscall, obsoleted in glibc 2.23.
1712         (create_module): Likewise.
1713         (get_kernel_syms): Likewise.
1714         (query_module): Likewise.
1715         (uselib): Likewise.
1716         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1718 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1720         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1721         <linux/version.h>.
1722         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1723         conditional code.
1724         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1725         and ioshift_name initialization.
1727 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1729         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1730         Fix indentation.
1732 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1736 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1738         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1740 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1741             Jakub Wilk  <jwilk@debian.org>
1743         [BZ #19347]
1744         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1745         to change the group of the device to the tty group.
1747 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1749         Split large string section; add truncation advice
1750         * manual/examples/strncat.c: Remove.
1751         This example was misleading, as the code would have undefined
1752         behavior if "hello" was longer than SIZE.  Anyway, the manual
1753         shouldn't encourage strncpy+strncat for this sort of thing.
1754         * manual/string.texi (Copying Strings and Arrays): Split into
1755         three sections Copying Strings and Arrays, Concatenating Strings,
1756         and Truncating Strings, as this section was way too long.  All
1757         cross-referenced changed.  Add advice about string-truncation
1758         functions.  Remove misleading strncat example.
1760 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1762         * manual/nss.texi (NSS Modules Interface): Document
1763         NSS_STATUS_NOTFOUND and SUCCESS.
1765 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1767         [BZ 18568]
1768         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1769         201505L, for Unicode 8.
1771 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1773         * locale/C-translit.h: Regenerate.
1775 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1777         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1778         and U+0153.
1780 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1782         [BZ #19351]
1783         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1784         expanding log(1+z), compare z rather than its square with epsilon
1785         to determine when to avoid evaluating the expansion.
1787         [BZ #19350]
1788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1789         Increase overflow threshold.
1791         [BZ #19349]
1792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1793         when small.
1795         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1797         New macro.
1798         [__LINUX_KERNEL_VERSION >= 0x040300]
1799         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1801         Likewise.
1802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1803         Likewise.
1804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1805         Likewise.
1806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1807         Likewise.
1808         [__LINUX_KERNEL_VERSION >= 0x040300]
1809         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1810         [__LINUX_KERNEL_VERSION >= 0x040300]
1811         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1812         [__LINUX_KERNEL_VERSION >= 0x040300]
1813         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1814         [__LINUX_KERNEL_VERSION >= 0x040300]
1815         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1816         [__LINUX_KERNEL_VERSION >= 0x040300]
1817         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1819         Likewise.
1820         [__LINUX_KERNEL_VERSION >= 0x040300]
1821         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1822         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1823         Likewise.
1824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1825         Likewise.
1826         [__LINUX_KERNEL_VERSION >= 0x040300]
1827         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1829         Likewise.
1830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1834         Likewise.
1835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1836         Likewise.
1837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1838         Likewise.
1839         [__LINUX_KERNEL_VERSION >= 0x040300]
1840         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1842         Likewise.
1843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1844         Likewise.
1845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1846         Likewise.
1847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1848         Likewise.
1849         [__LINUX_KERNEL_VERSION >= 0x040300]
1850         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1851         [__LINUX_KERNEL_VERSION >= 0x040300]
1852         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1853         [__LINUX_KERNEL_VERSION >= 0x040300]
1854         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1855         [__LINUX_KERNEL_VERSION >= 0x040300]
1856         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1857         [__LINUX_KERNEL_VERSION >= 0x040300]
1858         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1860         Likewise.
1861         [__LINUX_KERNEL_VERSION >= 0x040300]
1862         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1864         Likewise.
1865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1866         Likewise.
1867         [__LINUX_KERNEL_VERSION >= 0x040300]
1868         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1870         Likewise.
1871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1872         Likewise.
1873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1874         (__ASSUME_SOCKET_SYSCALL): Likewise.
1875         (__ASSUME_BIND_SYSCALL): Likewise.
1876         (__ASSUME_CONNECT_SYSCALL): Likewise.
1877         (__ASSUME_LISTEN_SYSCALL): Likewise.
1878         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1879         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1880         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1881         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1882         (__ASSUME_SEND_SYSCALL): Likewise.
1883         (__ASSUME_SENDTO_SYSCALL): Likewise.
1884         (__ASSUME_RECV_SYSCALL): Likewise.
1885         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1886         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1887         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1888         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1889         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1890         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1891         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1892         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1893         Likewise.
1894         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1895         Likewise.
1896         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1897         Likewise.
1898         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1899         Likewise.
1900         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1901         Likewise.
1902         [__LINUX_KERNEL_VERSION >= 0x020625]
1903         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1904         [__LINUX_KERNEL_VERSION >= 0x020625]
1905         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1906         [__LINUX_KERNEL_VERSION >= 0x020625]
1907         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1908         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1909         Likewise.
1910         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1911         Likewise.
1912         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1913         Likewise.
1914         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1915         Likewise.
1916         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1917         Likewise.
1918         [__LINUX_KERNEL_VERSION >= 0x020625]
1919         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1920         [__LINUX_KERNEL_VERSION >= 0x020625]
1921         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1922         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1923         Likewise.
1924         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1925         Likewise.
1927 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1929         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1930         record the current if the current ABI and CPU support the FP64
1931         extension.
1932         (has-modd-spreg): Define to record the current if the current ABI and
1933         CPU support 32-bit floating point values in odd FPU registers.
1934         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1935         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1936         $(has-modd-spreg) equals yes.
1937         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1938         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1939         $(has-modd-spreg) equal yes.
1941 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1943         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1944         basename.
1946 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1948         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1949         (bench-string): ... here.
1950         (bench): Add bench-string.
1951         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1952         to *-benchset to reflect what they are.
1953         (benchset): Adjust.
1955         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1956         cos-inputs.
1958 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1960         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1961         __attribute__ ((__simd__)) for vector math function declarations.
1963 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1965         Fix typo in strncat, wcsncat manual entries
1966         * manual/string.texi (Copying and Concatenation): Fix typos in
1967         sample implementations of strncat and wcsncat, by having them use
1968         the old value of the destination length, not the new one.
1970 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1972         [BZ #16961]
1973         [BZ #16962]
1974         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1975         string on the stack for strtod.
1976         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1977         a string on the stack for strtof.
1978         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1979         constructing a string on the stack for strtold.
1980         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1981         __strtold_nan to GLIBC_PRIVATE.
1982         * math/test-nan-overflow.c: New file.
1983         * math/test-nan-payload.c: Likewise.
1984         * math/Makefile (tests): Add test-nan-overflow and
1985         test-nan-payload.
1987 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1989         Consistency about byte vs character in string.texi
1990         * manual/string.texi (String and Array Utilities):
1991         Distinguish more carefully among bytes, multibyte characters,
1992         and wide characters.  Use "byte" when talking about C 'char',
1993         to distinguish it more clearly from multibyte characters.
1994         Say "wide character" or "multibyte character" instead of
1995         "character", when a wide or multibyte character is intended.
1996         Similarly for "multibyte string" versus "string".
1997         Define these terms more carefully.
1999 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2001         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2002         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2003         Likewise.
2004         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2005         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2006         * sysdeps/sh/math_private.h: New file.
2007         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2008         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2009         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2010         long double function name.
2011         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2012         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2013         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2015         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2017         Remove __finitel, __isinfl, and __isnanl.
2018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2019         Likewise.
2020         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2022         Remove __finitel.
2023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2024         Likewise.
2025         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2027 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2029         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2030         installed libmvec_nonshared.a.
2032 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2034         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2035         (sysdep_routines): Likewise.
2036         (sysdep-rtld-routines): Likewise.
2037         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2038         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2039         * sysdeps/powerpc/Versions: Added new
2040         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2041         * sysdeps/powerpc/hwcapinfo.c: New file.
2042         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2043         and parse hwcap, hwcap2 and platform number information.
2044         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2045         to store HWCAP+HWCAP2 and platform number.
2046         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2047         for HWCAP+HWCAP2 and platform number in the TCB.
2048         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2049         the HWCAP, HWCAP2 and platform number in the TCB.
2050         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2051         (TLS_INIT_TP): Included calls to add the hwcap and
2052         at_platform values in the TCB in TP initialization.
2053         (TLS_DEFINE_INIT_TP): Likewise.
2054         (THREAD_GET_HWCAP): New macro.
2055         (THREAD_SET_HWCAP): Likewise.
2056         (THREAD_GET_AT_PLATFORM): Likewise.
2057         (THREAD_SET_AT_PLATFORM): Likewise.
2058         * sysdeps/powerpc/powerpc32/dl-machine.h:
2059         (dl_platform_init): New function that calls
2060         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2061         powerpc32.
2062         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2063         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2064         this functionality, static linking case.
2065         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2066         linking case.
2067         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2068         __parse_hwcap_and_convert_at_platform for the static linking case.
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2070         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2071         ABI list for GLIBC 2.23.
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2073         Likewise.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2075         Likewise.
2077 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2079         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2080         * configure: Regenerate.
2081         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2082         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2084 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2086         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2087         * iconvdata/ibm933.c: Likewise.
2088         * iconvdata/ibm935.c: Likewise.
2089         * iconvdata/ibm937.c: Likewise.
2090         * iconvdata/ibm939.c: Likewise.
2092 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2094         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2095         pthread_join.
2096         * nptl/tst-cancel21.c (tf): Likewise.
2098 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2100         [BZ #19313]
2101         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2102         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2103         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2104         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2105         Likewise.
2106         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2107         Likewise.
2108         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2109         Likewise.
2110         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2113         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2114         unsigned long int with __CPU_MASK_TYPE.
2116 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2118         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2120 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2122         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2123         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2124         t512.x.
2125         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2127 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2129         [BZ #19214]
2130         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2131         argument to return extended model.  Update family and model
2132         with extended family and model when family == 0x0f.
2133         (init_cpu_features): Updated.
2135 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2137         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2138         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2140         * sysdeps/mach/hurd/mmap64.c: New file.
2142 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2144         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2145         rights for its main user thread in NEWTASK.
2147 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2149         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2150         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2152 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2154         [BZ #14259]
2155         * Makeconfig: Rename localedir to complocaledir.
2156         Rename inst_localedir to inst_complocaledir.
2157         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2158         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2159         * configure.ac: Use libc_cv_complocaledir.
2160         * configure: Regenerate.
2161         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2162         -DCOMPLOCALEDIR.
2163         * locale/findlocale.c: Use COMPLOCALEDIR.
2164         * locale/loadarchive.c: Likewise.
2165         * locale/programs/locale.c: Likewise.
2166         * locale/programs/localedef.c: Likewise.
2167         * locale/programs/locarchive.c: Likewise.
2168         * localedata/Makefile: Use inst_complocaledir.
2169         * sysdeps/gnu/configure: Regenerate.
2170         * sysdeps/hppa/configure: Regenerate.
2171         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2172         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2174         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2175         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2176         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2177         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2179 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2181         [BZ #19058]
2182         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2183         AS_NEEDED.
2184         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2185         workaround.
2186         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2187         libmvec-static-only-routines): Added new file.
2188         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2190 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2192         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2193         of interrupted RPC instead of restoring it.
2195         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2196         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2197         libc_hidden_def.
2198         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2199         into initialized data instead of common. Define rtld_hidden_data_def.
2200         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2201         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2202         libc_hidden_def.
2203         (if_freenameindex): Add libc_hidden_weak.
2204         (if_nameindex): Add libc_hidden_weak.
2205         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2206         __open64.
2207         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2208         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2209         * sysdeps/mach/nanosleep.c: Include <time.h>
2210         (__nanosleep): Rename to __libc_nanosleep.
2211         (__nanosleep): Add weak_alias.
2212         (nanosleep): Update alias.
2214 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2216         * stdlib/strtod_nan.c: New file.
2217         * stdlib/strtod_nan_double.h: Likewise.
2218         * stdlib/strtod_nan_float.h: Likewise.
2219         * stdlib/strtod_nan_main.c: Likewise.
2220         * stdlib/strtod_nan_narrow.h: Likewise.
2221         * stdlib/strtod_nan_wide.h: Likewise.
2222         * stdlib/strtof_nan.c: Likewise.
2223         * stdlib/strtold_nan.c: Likewise.
2224         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2225         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2226         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2227         * wcsmbs/wcstod_nan.c: Likewise.
2228         * wcsmbs/wcstof_nan.c: Likewise.
2229         * wcsmbs/wcstold_nan.c: Likewise.
2230         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2231         strtold_nan.
2232         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2233         wcstof_nan.
2234         * include/stdlib.h (__strtof_nan): Declare and use
2235         libc_hidden_proto.
2236         (__strtod_nan): Likewise.
2237         (__strtold_nan): Likewise.
2238         (__wcstof_nan): Likewise.
2239         (__wcstod_nan): Likewise.
2240         (__wcstold_nan): Likewise.
2241         * include/wchar.h (____wcstoull_l_internal): Declare.
2242         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2243         (____strtoull_l_internal): Remove declaration.
2244         (STRTOF_NAN): Define macro.
2245         (SET_MANTISSA): Remove macro.
2246         (STRTOULL): Likewise.
2247         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2248         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2249         (STRTOF_NAN): Define macro.
2250         (SET_MANTISSA): Remove macro.
2251         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2252         (SET_MANTISSA): Remove macro.
2253         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2254         macro.
2255         (SET_MANTISSA): Remove macro.
2256         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2257         macro.
2258         (SET_MANTISSA): Remove macro.
2259         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2260         (SET_MANTISSA): Remove macro.
2261         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2262         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2263         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2265         [BZ #19266]
2266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2267         upper case and lower case letters inside NAN(), not using TOLOWER.
2268         * stdlib/tst-strtod-nan-locale-main.c: New file.
2269         * stdlib/tst-strtod-nan-locale.c: Likewise.
2270         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2271         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2272         Depend on $(gen-locales).
2273         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2274         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2275         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2276         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2277         Depend on $(gen-locales).
2278         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2280 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2282         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2284         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2286         __finitel, __isinfl, and __isnanl.
2287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2288         Likewise.
2289         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2291         __finitel.
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2296 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2298         * malloc/memusage.c (me): Remove redundant getenv call.
2300 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2302         [BZ #19143]
2303         [BZ #19164]
2304         * nptl/check-cpuset.h: Remove.
2305         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2306         Remove CPU set size check.
2307         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2308         Likewise.
2309         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2310         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2311         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2312         (__pthread_setaffinity_new): Remove CPU set size check.
2313         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2314         (__kernel_cpumask_size): Remove.
2315         (__sched_setaffinity_new): Remove CPU set size check.
2316         * manual/threads.texi (Default Thread Attributes): Remove stale
2317         reference to check_cpuset_attr, determine_cpumask_size in comment.
2318         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2319         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2320         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2321         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2322         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2323         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2324         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2325         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2326         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2327         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2328         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2329         skeleton test file.
2330         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2331         tst-affinity-pid.
2333 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2335         * scripts/update-abilist.sh: New file.
2336         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2337         * Makerules (update-all-abi-%, update-all-abi)
2338         (subdir_update-all-abi): New targets.
2339         * elf/Makefile (update-all-abi): New target.
2341 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2343         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2344         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2345         (__libc_lock_define_initialized): Use it.
2346         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2347         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2348         * malloc/malloc.c (main_arena): Likewise.
2349         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2350         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2352 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2354         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2355         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2356         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2357         (PTRACE_O_MASK): Update value.
2358         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2359         New value in enum __ptrace_setoptions.
2360         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2361         (PTRACE_O_MASK): Update value.
2362         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2363         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2364         (PTRACE_O_MASK): Update value.
2365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2366         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2367         (PTRACE_O_MASK): Update value.
2368         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2369         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2370         (PTRACE_O_MASK): Update value.
2371         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2372         New value in enum __ptrace_setoptions.
2373         (PTRACE_O_MASK): Update value.
2374         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2375         New value in enum __ptrace_setoptions.
2376         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2377         (PTRACE_O_MASK): Update value.
2379         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2380         New macro.
2381         (PACKET_AUXDATA): Likewise.
2382         (PACKET_ORIGDEV): Likewise.
2383         (PACKET_VERSION): Likewise.
2384         (PACKET_HDRLEN): Likewise.
2385         (PACKET_RESERVE): Likewise.
2386         (PACKET_TX_RING): Likewise.
2387         (PACKET_LOSS): Likewise.
2388         (PACKET_VNET_HDR): Likewise.
2389         (PACKET_TX_TIMESTAMP): Likewise.
2390         (PACKET_TIMESTAMP): Likewise.
2391         (PACKET_FANOUT): Likewise.
2392         (PACKET_TX_HAS_OFF): Likewise.
2393         (PACKET_QDISC_BYPASS): Likewise.
2394         (PACKET_ROLLOVER_STATS): Likewise.
2395         (PACKET_FANOUT_DATA): Likewise.
2396         (PACKET_MR_UNICAST): Likewise.
2398         [BZ #19242]
2399         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2400         (TOUPPER): Likewise.
2401         * stdlib/tst-strtol-locale-main.c: New file.
2402         * stdlib/tst-strtol-locale.c: Likewise.
2403         * stdlib/Makefile (tests): Add tst-strtol-locale.
2404         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2405         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2406         Depend on $(gen-locales).
2407         * wcsmbs/tst-wcstol-locale.c: New file.
2408         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2409         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2410         tr_TR.ISO-8859-9.
2411         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2412         Depend on $(gen-locales).
2414 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2416         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2417         __glibc_likely instead of __builtin_expect.  After falling back to
2418         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2419         system interface to register the code pages as occupied.
2421 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2423         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2424         [!ARM_MATH_PRIVATE_H].
2425         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2426         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2427         [!HPPA_MATH_PRIVATE_H].
2428         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2429         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2430         to [!I386_MATH_PRIVATE_H].
2431         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2432         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2433         Change guard to [!M68K_MATH_PRIVATE_H].
2434         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2435         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2436         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2437         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2438         macro.
2439         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2440         [!MIPS_MATH_PRIVATE_H].
2441         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2442         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2443         [!NIO2_MATH_PRIVATE_H].
2444         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2445         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2446         [!TILE_MATH_PRIVATE_H].
2447         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2449         [BZ #15421]
2450         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2451         initialize with 0 and define as weak alias of __signgam.
2452         * include/math.h [!_ISOMAC] (__signgam): Declare.
2453         * math/Makefile (libm-calls): Add w_lgamma_compat.
2454         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2455         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2456         test-signgam-ullong-init.
2457         (tests-static): Add test-signgam-uchar-static,
2458         test-signgam-uchar-init-static, test-signgam-uint-static,
2459         test-signgam-uint-init-static, test-signgam-ullong-static and
2460         test-signgam-ullong-init-static.
2461         (CFLAGS-test-signgam-uchar.c): New variable.
2462         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2463         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2464         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2465         (CFLAGS-test-signgam-uint.c): Likewise.
2466         (CFLAGS-test-signgam-uint-init.c): Likewise.
2467         (CFLAGS-test-signgam-uint-static.c): Likewise.
2468         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2469         (CFLAGS-test-signgam-ullong.c): Likewise.
2470         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2471         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2472         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2473         * math/Versions (libm): Add GLIBC_2.23.
2474         * math/lgamma-compat.h: New file.
2475         * math/test-signgam-main.c: Likewise.
2476         * math/test-signgam-uchar-init-static.c: Likewise.
2477         * math/test-signgam-uchar-init.c: Likewise.
2478         * math/test-signgam-uchar-static.c: Likewise.
2479         * math/test-signgam-uchar.c: Likewise.
2480         * math/test-signgam-uint-init-static.c: Likewise.
2481         * math/test-signgam-uint-init.c: Likewise.
2482         * math/test-signgam-uint-static.c: Likewise.
2483         * math/test-signgam-uint.c: Likewise.
2484         * math/test-signgam-ullong-init-static.c: Likewise.
2485         * math/test-signgam-ullong-init.c: Likewise.
2486         * math/test-signgam-ullong-static.c: Likewise.
2487         * math/test-signgam-ullong.c: Likewise.
2488         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2489         wrapper of w_lgamma_main.c.
2490         * math/w_lgamma_compat.c: New file.
2491         * math/w_lgamma_compatf.c: Likewise.
2492         * math/w_lgamma_compatl.c: Likewise.
2493         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2494         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2495         defining compatibility symbols.
2496         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2497         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2498         wrapper of w_lgammaf_main.c.
2499         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2500         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2501         defining compatibility symbols.
2502         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2503         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2504         wrapper of w_lgammal_main.c.
2505         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2506         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2507         defining compatibility symbols.
2508         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2509         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2510         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2511         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2512         <lgamma-compat.h>.
2513         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2514         (__ieee754_gamma): Define as alias.
2515         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2516         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2517         <lgamma-compat.h>.
2518         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2519         (__ieee754_gammaf): Define as alias.
2520         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2521         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2522         <lgamma-compat.h>.
2523         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2524         (__ieee754_gammal): Define as alias.
2525         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2526         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2527         <math/w_lgamma_compat.c>.
2528         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2529         Define as alias of __lgamma_compat and use in defining lgammal.
2530         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2531         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2532         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2533         (USE_AS_COMPAT): New macro.
2534         (LGAMMA_OLD_VER): Undefine and redefine.
2535         (lgammal): Do not define here.
2536         (gammal): Only define here if [GAMMA_ALIAS].
2537         * conform/linknamespace.pl (@whitelist): Remove signgam.
2538         * sysdeps/nacl/libm.abilist: Update.
2539         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2544         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2545         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2546         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2547         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2548         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2549         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2550         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2552         Likewise.
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2554         Likewise.
2555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2567         Likewise.
2568         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2572 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2574         [BZ #16364]
2575         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2576         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2578 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2580         * sysdeps/s390/fpu/bits/mathinline.h:
2581         Use __asm__ [__volatile__] instead of asm [volatile].
2582         * sysdeps/s390/abort-instr.h: Likewise.
2583         * sysdeps/s390/atomic-machine.h: Likewise.
2584         * sysdeps/s390/bits/string.h: Likewise.
2585         * sysdeps/s390/dl-tls.h: Likewise.
2586         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2587         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2588         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2589         * sysdeps/s390/fpu/fesetround.c: Likewise.
2590         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2591         * sysdeps/s390/fpu/s_fma.c: Likewise.
2592         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2593         * sysdeps/s390/memusage.h: Likewise.
2594         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2595         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2596         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2597         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2598         * sysdeps/s390/nptl/tls.h: Likewise.
2599         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2600         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2601         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2602         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2603         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2604         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2605         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2606         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2607         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2608         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2609         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2610         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2611         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2612         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2613         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2615         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2616         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2617         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2619         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2621         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2623 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2624             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2626         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2627         Add lwarx hint, and use macro for acquire instruction.
2628         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2629         Likewise.
2630         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2631         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2632         update to use new atomic macros.
2634 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2636         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2637         (__lll_trylock_elision): Fix setting of adapt_count.
2638         * sysdeps/unix/sysv/linux/powerpc/htm.h
2639         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2640         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2641         (_ABORT_SYSCALL): Renumber, and clarify definition.
2642         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2644 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2646         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2647         after system headers to prevent MIN/MAX redefinition.  Define
2648         HAVE_ALLOCA to preserve builtin alloca usage.
2650 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2653         static and don't set or restore rounding.
2654         (__cos)[IN_SINCOS]: Likewise.
2655         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2656         (__sincos): Set and restore rounding mode.  Remove check for infinite
2657         or NaN input.
2659         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2661         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2662         as used.
2664 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2666         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2668 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2670         * config.make.in (have-glob-dat-reloc): New.
2671         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2672         target supports GLOB_DAT relocaton. AC_SUBST.
2673         * configure: Regenerated.
2674         * elf/Makefile (tests): Add tst-prelink.
2675         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2676         (tst-prelink-ENV): New.
2677         ($(objpfx)tst-prelink-conflict.out): Likewise.
2678         ($(objpfx)tst-prelink-cmp.out): Likewise.
2679         * sysdeps/x86/tst-prelink.c: Moved to ...
2680         * elf/tst-prelink.c: Here.
2681         * sysdeps/x86/tst-prelink.exp: Moved to ...
2682         * elf/tst-prelink.exp: Here.
2683         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2684         (tst-prelink-ENV): Removed.
2685         ($(objpfx)tst-prelink-conflict.out): Likewise.
2686         ($(objpfx)tst-prelink-cmp.out): Likewise.
2687         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2689 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2691         [BZ #14551]
2692         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2693         (__mpn_construct_long_double): If high part overflows to infinity,
2694         set errno and recompute overflowed result of the correct sign.
2695         * sysdeps/ieee754/ldbl-128ibm/Makefile
2696         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2697         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2698         $(libm).
2699         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2701 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2703         [BZ #15479]
2704         [BZ #19238]
2705         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2706         floating-point state after first operation on input.  Restore full
2707         state rather than just rounding mode.
2708         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2709         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2710         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2712         [BZ #19235]
2713         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2714         add 0.5 to integer arguments.
2715         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2716         Likewise.
2717         (.LC2): New object.
2719 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2721         * scripts/pylintrc (reports): Set to no.
2723 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2725         * elf/dl-load.c (open_verify): Take new argument FD.
2726         Skip __open call if passed FD is not -1.
2727         (_dl_map_object, open_path): Update callers.
2728         * elf/dl-sysdep-open.h: New file.
2729         * elf/dl-load.c: Include it.
2730         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2731         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2732         * sysdeps/nacl/dl-sysdep-open.h: New file.
2733         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2734         from libc to rtld.
2736 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2738         [BZ #19228]
2739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2740         and restore full floating-point state.
2741         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2742         Likewise.
2743         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2744         Likewise.
2745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2746         Likewise.
2747         * math/test-nearbyint-except-2.c: New file.
2748         * math/Makefile (tests): Add test-nearbyint-except-2.
2750 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2752         [BZ #19178]
2753         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2754         (tst-prelink-ENV): New.
2755         ($(objpfx)tst-prelink-conflict.out): Likewise.
2756         ($(objpfx)tst-prelink-cmp.out): Likewise.
2757         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2758         * sysdeps/x86/tst-prelink.c: New file.
2759         * sysdeps/x86/tst-prelink.exp: Likewise.
2761 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2763         * math/auto-libm-test-in: Add another test of pow.
2764         * math/auto-libm-test-out: Regenerated.
2765         * math/libm-test.inc (pow_test_data): Add another test.
2767 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2769         [BZ #19219]
2770         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2771         weak_alias to nearbyintl.
2773 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2775         * sysdeps/aarch64/bits/string.h: New file.
2776         (_STRING_ARCH_unaligned): Define.
2778 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2780         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2781         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2782         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2783         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2786 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2788         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2789         for original name of the DSO.  Add it to the name list of the DSO
2790         if it is actually given.
2791         (_dl_map_object): Keep track of whether an audit module rewrote
2792         the file name.  If yes, pass the original name to
2793         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2794         debugging is enabled, log the change of the file name.
2795         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2796         _dl_map_object_from_fd.
2797         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2798         * elf/tst-audit11.c: New file
2799         * elf/tst-auditmod11.c: New file.
2800         * elf/tst-audit11mod1.c: New file.
2801         * elf/tst-audit11mod2.c: New file.
2802         * elf/tst-audit11mod2.map: New file.
2803         * elf/tst-audit12.c: New file
2804         * elf/tst-auditmod12.c: New file.
2805         * elf/tst-audit12mod1.c: New file.
2806         * elf/tst-audit12mod2.c: New file.
2807         * elf/tst-audit12mod2.map: New file.
2808         * elf/tst-audit12mod3.c: New file.
2810 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2812         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2813         Don't create weak aliases,
2814         because versioned symbols are created later.
2815         * sysdeps/s390/s390-32/setjmp.S
2816         (setjmp, _setjmp): Remove weak and rename to an unique name
2817         in SHARED case due to existing versioned symbols.
2818         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2820         (getcontext): Create weak alias only in non SHARED case.
2821         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2823 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2825         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2826         (__ASSUME_*_SYSCALL) Define new macros.
2827         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2828         Remove socketcall syscalls.
2829         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2830         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2831         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2832         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2833         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2834         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2836 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2838         [BZ #12926]
2839         Terminate process on invalid netlink response.
2840         * sysdeps/unix/sysv/linux/netlinkaccess.h
2841         (__netlink_assert_response): Declare.
2842         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2844         (sysdep_routines): Add netlink_assert_response.
2845         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2846         __netlink_assert_response.
2847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2848         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2849         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2850         __netlink_assert_response.
2852 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2854         [BZ #19178]
2855         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2856         (RTYPE_CLASS_PLT): Likewise.
2857         (RTYPE_CLASS_COPY): Likewise.
2858         (RTYPE_CLASS_TLS): Likewise.
2859         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2860         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2861         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2862         DL_DEBUG_PRELINK.
2864 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2866         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2867         calls with argument -0.5.
2868         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2870         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2871         (libc_cv_z_nodlopen): Likewise.
2872         (libc_cv_z_initfirst): Likewise.
2873         * configure: Regenerated.
2875 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2877         Simplify abilist format to be line-based.
2878         * scripts/abilist.awk: Collect descriptors in the descs variable.
2879         (emit): Write descs variable and sort it
2880         externally, with sort.
2881         * sysdeps/**/*.abilist: Convert to new format.
2883 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2885         [BZ #11460]
2886         * io/Makefile (routines): Add fts64.
2887         (tests): Add tst-fts and tst-fts-lfs.
2888         (CFLAGS-fts64.c): New.
2889         * io/Versions (GLIBC_2.23): New.
2890         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2891         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2892         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2893         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2894         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2895         (FTSENT64): Likewise.
2896         (fts64_children): Likewise.
2897         (fts64_close): Likewise.
2898         (fts64_open): Likewise.
2899         (fts64_read): Likewise.
2900         (fts64_set): Likewise.
2901         * io/fts64.c: New file.
2902         * io/tst-fts.c: New test.
2903         * io/tst-fts-lfs.c: Likewise.
2904         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2905         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2906         fts64_set.
2907         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2908         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2909         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2910         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2911         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2912         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2913         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2914         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2915         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2916         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2917         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2918         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2919         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2923         Likewise.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2926         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2927         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2928         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2929         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2930         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2933         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2934         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2935         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2936         * sysdeps/wordsize-64/fts.c: New file.
2937         * sysdeps/wordsize-64/fts64.c: Likewise.
2938         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2939         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2940         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2941         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2943 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2945         * math/libm-test.inc (NON_FINITE): New macro.
2946         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2947         * math/gen-libm-test.pl (show_exceptions): Add argument
2948         $non_finite.
2949         (parse_args): Update call to show_exceptions.
2950         * math/test-math-finite.h: New file.
2951         * math/test-math-no-finite.h: Likewise.
2952         * math/test-double-finite.c: Likewise.
2953         * math/test-float-finite.c: Likewise.
2954         * math/test-ldouble-finite.c: Likewise.
2955         * math/test-double.c: Include "test-math-no-finite.h".
2956         * math/test-float.c: Include "test-math-no-finite.h".
2957         * math/test-ldouble.c: Include "test-math-no-finite.h".
2958         * math/test-math-inline.h (TEST_FINITE): New macro.
2959         * math/test-math-vector.h (TEST_FINITE): Likewise.
2960         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2961         (libm-tests): Add test-float-finite and test-double-finite.
2962         ($(objpfx)test-float-finite.o): New dependency on
2963         $(objpfx)libm-test.stmp.
2964         ($(objpfx)test-double-finite.o): Likewise.
2965         ($(objpfx)test-ldouble-finite.o): Likewise.
2966         (libm-test-no-inline-cflags): New variable.
2967         (libm-test-finite-cflags): Likewise.
2968         (CFLAGS-test-float-finite.c): Likewise.
2969         (CFLAGS-test-double-finite.c): Likewise.
2970         (CFLAGS-test-ldouble-finite.c): Likewise.
2971         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2972         (CFLAGS-test-double.c): Likewise.
2973         (CFLAGS-test-ldouble.c): Likewise.
2975 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2977         * io/fcntl.c (__fcntl): Add ... to prototype.
2978         * misc/ioctl.c (__ioctl): Likewise.
2979         * misc/syscall.c (syscall): Likewise.
2981 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2983         * scripts/list-fixed-bugs.py: New file.
2985         [BZ #19213]
2986         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2987         returned for argument 1.
2988         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2989         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2990         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2991         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2992         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2993         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2995         [BZ #19211]
2996         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2997         __USE_XOPEN], not if [!__USE_ISOC99].
2998         (lgammaf): Likewise.
2999         (lgammal): Likewise.
3000         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3001         (gammaf): Likewise.
3002         (gammal): Likewise.
3003         * math/test-signgam-finite-c11.c: New file.
3004         * math/test-signgam-finite-c99.c: Likewise.
3005         * math/test-signgam-finite.c: Likewise.
3006         * math/Makefile (tests): Add test-signgam-finite,
3007         test-signgam-finite-c99 and test-signgam-finite-c11.
3008         (CFLAGS-test-signgam-finite.c): New variable.
3009         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3010         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3012         [BZ #19212]
3013         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3014         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3015         500].
3016         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3017         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3018         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3019         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3020         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3021         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3022         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3023         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3024         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3025         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3027         [BZ #19209]
3028         * math/bits/math-finite.h (ldexp): Remove declaration.
3029         (ldexpf): Likewise.
3030         (ldexpl): Likewise.
3032         [BZ #19205]
3033         * math/bits/math-finite.h (acosf): Condition declaration on
3034         [__USE_ISOC99].
3035         (acosl): Likewise.
3036         (acoshf): Likewise.
3037         (acoshl): Likewise.
3038         (asinf): Likewise.
3039         (asinl): Likewise.
3040         (atan2f): Likewise.
3041         (atan2l): Likewise.
3042         (atanhf): Likewise.
3043         (atanhl): Likewise.
3044         (coshf): Likewise.
3045         (coshl): Likewise.
3046         (expf): Likewise.
3047         (expl): Likewise.
3048         (fmodf): Likewise.
3049         (fmodl): Likewise.
3050         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3051         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3052         (j0l): Likewise.
3053         (y0f): Likewise.
3054         (y0l): Likewise.
3055         (j1f): Likewise.
3056         (j1l): Likewise.
3057         (y1f): Likewise.
3058         (y1l): Likewise.
3059         (jnf): Likewise.
3060         (jnl): Likewise.
3061         (ynf): Likewise.
3062         (ynl): Likewise.
3063         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3064         (lgammal_r): Likewise.
3065         (__lgamma_r_finite): New declaration.
3066         (__lgammaf_r_finite): Likewise.
3067         (__lgammal_r_finite): Likewise.
3068         (lgamma): Use __lgamma_r_finite.
3069         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3070         __lgammaf_r_finite.
3071         (lgammal): Condition definition on [__USE_ISOC99].  Use
3072         __lgammal_r_finite.
3073         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3074         __lgamma_r_finite.
3075         (gammaf): Condition definition on [__USE_ISOC99].  Use
3076         __lgammaf_r_finite.
3077         (gammal): Condition definition on [__USE_ISOC99].  Use
3078         __lgammal_r_finite.
3079         (logf): Condition declaration on [__USE_ISOC99].
3080         (logl): Likewise.
3081         (log10f): Likewise.
3082         (log10l): Likewise.
3083         (ldexpf): Likewise.
3084         (ldexpl): Likewise.
3085         (powf): Likewise.
3086         (powl): Likewise.
3087         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3088         __USE_ISOC99].
3089         (remainderf): Condition declaration on [__USE_ISOC99].
3090         (remainderl): Likewise.
3091         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3092         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3093         (scalbl): Likewise.
3094         (sinhf): Condition declaration on [__USE_ISOC99].
3095         (sinhl): Likewise.
3096         (sqrtf): Likewise.
3097         (sqrtl): Likewise.
3099 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3101         * sysdeps/arm/atomic-machine.h
3102         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3103         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3104         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3105         Remove conditional code.
3106         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3107         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3108         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3109         Change conditional to [__ASSEMBLER__].
3110         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3111         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3112         [!__ASSEMBLER__].
3113         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3114         code.
3115         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3116         conditional macro definitions.
3117         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3118         (__arch_compare_and_exchange_val_16_acq): Likewise.
3119         (__arch_compare_and_exchange_val_32_acq): Likewise.
3120         (atomic_exchange_and_add): Likewise.
3121         (atomic_add): Likewise.
3122         (atomic_add_negative): Likewise.
3123         (atomic_add_zero): Likewise.
3124         (atomic_bit_set): Likewise.
3125         (atomic_bit_test_set): Likewise.
3126         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3127         code unconditional.
3128         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3130         * math/test-math-errno.h: New file.
3131         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3132         empty.
3133         (TEST_ERRNO): New macro.
3134         (TEST_EXCEPTIONS): Likewise.
3135         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3136         (TEST_EXCEPTIONS): Likewise.
3137         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3138         * math/test-double.c: Include "test-math-errno.h".
3139         * math/test-float.c: Likewise.
3140         * math/test-ldouble.c: Likewise.
3141         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3142         code unconditional.
3143         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3144         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3145         unconditional.
3146         (test_errno): Only run code if TEST_ERRNO.
3147         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3149 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3151         * nptl/tst-once5.cc: Remove attribution.
3153 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3155         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3156         sqrt, tan, tanh, y0, y1 and yn.
3157         * math/auto-libm-test-out: Regenerated.
3158         * math/libm-test.inc (scalb_test_data): Add more tests.
3159         (scalbn_test_data): Likewise.
3160         (scalbln_test_data): Likewise.
3161         (signbit_test_data): Likewise.
3162         (sin_test_data): Likewise.
3163         (sincos_test_data): Likewise.
3164         (sinh_test_data): Likewise.
3165         (sqrt_test_data): Likewise.
3166         (tan_test_data): Likewise.
3167         (tanh_test_data): Likewise.
3168         (tgamma_test_data): Likewise.
3169         (y0_test_data): Likewise.
3170         (y1_test_data): Likewise.
3171         (yn_test_data): Likewise.
3172         (significand_test_data): Likewise.
3173         * sysdeps/i386/fpu/libm-test-ulps: Update.
3175 2015-11-03  David Kastrup  <dak@gnu.org>
3177         [BZ #18604]
3178         * assert/assert.h (assert): Don't macro-expand failed assertion
3179         expression in error message.
3180         * malloc/malloc.c (assert): Likewise.
3182 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3184         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3185         test.
3186         * configure: Regenerated.
3188 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3190         * math/libm-test.inc (modf_test_data): Add more tests.
3191         (nearbyint_test_data): Likewise.
3192         (nextafter_test_data): Likewise.
3193         (nexttoward_test_data): Likewise.
3194         (pow_test_data): Likewise.
3195         (remainder_test_data): Likewise.
3196         (remquo_test_data): Likewise.
3197         (rint_test_data): Likewise.
3199         [BZ #19201]
3200         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3201         Check for zero remainder in case of large exponents and ensure
3202         correct sign of result in that case.
3203         * math/libm-test.inc (remainder_test_data): Add more tests.
3205         [BZ #6799]
3206         * math/s_nextafter.c: Include <errno.h>.
3207         (__nextafter): Set errno on overflow and underflow.
3208         * math/s_nexttowardf.c: Include <errno.h>.
3209         (__nexttowardf): Set errno on overflow and underflow.
3210         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3211         (__nextafterl): Set errno on overflow and underflow.
3212         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3213         (__nexttoward): Set errno on overflow and underflow.
3214         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3215         (__nexttowardf): Set errno on overflow and underflow.
3216         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3217         (__nextafterf): Set errno on overflow and underflow.
3218         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3219         (__nextafterl): Set errno on overflow and underflow.
3220         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3221         (__nexttoward): Set errno on overflow and underflow.
3222         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3223         (__nexttowardf): Set errno on overflow and underflow.
3224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3225         (__nextafterl): Set errno on overflow and underflow.
3226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3227         (__nexttoward): Set errno on overflow and underflow.
3228         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3229         (__nexttowardf): Set errno on overflow and underflow.
3230         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3231         (__nexttoward): Set errno on overflow and underflow.
3232         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3233         (__nexttowardf): Set errno on overflow and underflow.
3234         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3235         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3236         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3237         (__nextafterl): Set errno on overflow and underflow.
3238         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3239         setting to be missing on overflow.  Add more tests.
3240         (nexttoward_test_data): Likewise.
3242         * configure.ac (libc_cv_initfini_array): Remove configure test.
3243         * configure: Regenerated.
3245 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3247         [BZ #19189]
3248         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3249         non-finite argument handle arguments with negative sign.
3251         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3252         result from infinite argument.
3253         (j1_test_data): Likewise.
3254         (jn_test_data): Likewise.
3255         (y0_test_data): Likewise.
3256         (y1_test_data): Likewise.
3257         (yn_test_data): Likewise.
3259         [BZ #16171]
3260         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3261         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3262         * math/w_remainderf.c (dremf): Define as weak alias of
3263         __remainderf.
3264         * math/w_remainderl.c (dreml): Define as weak alias of
3265         __remainderl.
3266         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3267         __remainder.
3268         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3269         __remainderf.
3270         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3271         __remainderl.
3272         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3273         weak alias of remainderl.
3274         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3275         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3276         alias of __remainder.
3277         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3278         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3279         strong alias of __remainderl.
3280         (dreml): Use long_double_symbol.
3281         * math/Makefile (libm-calls): Remove w_drem.
3282         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3283         (CFLAGS-nldbl-drem.c): Remove variable.
3284         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3285         * math/w_drem.c: Remove file.
3286         * math/w_dremf.c: Likewise.
3287         * math/w_dreml.c: Likewise.
3288         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3289         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3290         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3292         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3293         * sysdeps/i386/configure: Regenerated.
3294         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3295         * sysdeps/x86_64/configure: Regenerated.
3297         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3298         test.
3299         (libc_cv_visibility_attribute): Likewise.
3300         (libc_cv_protected_data): Test unconditionally.
3301         (libc_cv_broken_visibility_attribute): Remove configure test.
3302         (libc_cv_have_sdata_section): Test unconditionally.
3303         * configure: Regenerated.
3305         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3306         * include/scratch_buffer.h: Include <stddef.h> instead of
3307         <libc-internal.h>.
3308         (struct scratch_buffer): Use max_align_t instead of
3309         libc_max_align_t.
3311 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3313         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3314         instead of extend_alloca.  Change control flow to avoid a goto.
3315         Remove assert which is trivially always true.
3317 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3319         [BZ #16068]
3320         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3321         (FE_ALL_EXCEPT_X86): New macro.
3322         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3323         FE_ALL_EXCEPT.  Ensure precision control is included in
3324         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3325         handle "denormal operand exception" and clear FZ and DAZ bits.
3326         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3327         (FE_ALL_EXCEPT_X86): New macro.
3328         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3329         FE_ALL_EXCEPT.  Ensure precision control is included in
3330         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3331         handle "denormal operand exception" and clear FZ and DAZ bits.
3332         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3333         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3334         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3335         test-fenv-x87 and test-fenv-sse-2.
3336         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3338         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3339         * math/test-double.h (BUILD_COMPLEX): New macro.
3340         * math/test-float.h (BUILD_COMPLEX): Likewise.
3341         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3343         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3344         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3345         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3347         instead of DBL_DENORM_MIN in comment.
3348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3349         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3351         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3353         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3355 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3357         [BZ# 19048]
3358         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3359         attached_threads member.
3360         (main_arena): Initialize attached_threads.
3361         * malloc/arena.c (list_lock): Update comment.
3362         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3363         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3364         (deattach_arena): New function.
3365         (_int_new_arena): Initialize arena reference count and deattach
3366         replaced arena.
3367         (get_free_list, reused_arena): Update reference count and deattach
3368         replaced arena.
3369         (arena_thread_freeres): Update arena reference count and only put
3370         unreferenced arenas on the free list.
3372 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3374         [BZ #19181]
3375         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3376         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3377         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3378         * math/test-fenv-clear-main.c: New file.
3379         * math/test-fenv-clear.c: Likewise.
3380         * math/Makefile (tests): Add test-fenv-clear.
3381         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3382         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3383         test-fenv-clear-sse.
3384         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3386         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3387         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3388         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3390 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3392         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3393         static libc.
3395 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3397         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3398         test.
3399         * sysdeps/i386/configure: Regenerated.
3400         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3401         test.
3402         * sysdeps/x86_64/configure: Regenerated.
3403         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3405         memset-avx2 unconditionally instead of conditionally on
3406         [$(config-cflags-avx2) = yes].
3407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3408         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3409         unconditional.
3410         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3411         * sysdeps/x86_64/multiarch/memset_chk.S
3412         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3413         to [IS_IN (libc) && SHARED].
3415 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3417         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3418         configure test.
3419         * sysdeps/arm/configure: Regenerated.
3420         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3421         Define variable if not already defined.
3423         [BZ #17404]
3424         * sysdeps/mips/atomic-machine.h
3425         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3426         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3427         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3429         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3430         unconditional.
3431         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3432         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3433         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3434         unconditional.
3435         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3436         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3437         unconditional.
3438         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3439         * stdlib/setenv.c
3440         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3441         code unconditional.
3442         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3443         Remove conditional code.
3444         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3445         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3446         unconditional.
3447         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3448         code.
3449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3450         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3451         unconditional.
3452         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3453         code.
3454         * sysdeps/ieee754/ldbl-128/k_tanl.c
3455         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3456         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3457         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3458         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3459         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3460         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3461         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3462         unconditional.
3463         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3464         code.
3465         * sysdeps/ieee754/ldbl-96/k_tanl.c
3466         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3467         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3469         * nptl/tst-initializers1-c11.c: New file.
3470         * nptl/tst-initializers1-gnu11.c: Likewise.
3471         * nptl/Makefile (tests): Add these new tests.
3472         (CFLAGS-tst-initializers1-c11.c): New variable.
3473         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3475         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3476         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3477         instead of -std=gnu99.
3478         * configure.ac (systemtap): Test with -std=gnu11 instead of
3479         -std=gnu99.
3480         * configure: Regenerated.
3481         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3482         in compilation command in comment.
3484         * sysdeps/nptl/configure.ac: Remove file.
3485         * sysdeps/nptl/configure: Remove generated file.
3486         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3487         * configure: Regenerated.
3488         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3489         * config.make.in (have-forced-unwind): Remove variable.
3490         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3491         unconditional.
3492         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3493         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3494         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3495         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3496         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3497         unconditional.
3499 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3501         [BZ #19174]
3502         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3503         .skip_lock_out_of_tbegin_retries.
3504         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3505         (__lll_lock_elision): Likewise, and respect a value of
3506         try_tbegin <= 0.
3508 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3510         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3511         statement.
3513 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3515         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3516         variable.
3517         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3518         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3520         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3521         of -std=c1x -D_ISOC11_SOURCE.
3523         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3524         * configure: Regenerated.
3525         * manual/install.texi (Tools for Compilation): Document
3526         requirement for GCC 4.7 or later.
3527         * INSTALL: Regenerated.
3529 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3531         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3532         on CNT to a conditional jump to 'puntdata'.
3534 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3536         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3537         (libc_cv_gcc_tls_model_attr): Likewise.
3538         * configure: Regenerated.
3540         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3541         * configure: Regenerated.
3542         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3544 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3546         * configure.ac (old_glibc_headers): Remove configure test.
3547         * configure: Regenerated.
3548         * config.make.in (old-glibc-headers): Remove variable.
3549         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3550         (install): Remove dependency on remove-old-headers.
3551         (headers2_0): Remove variable.
3552         (remove-old-headers): Remove rule.
3554         * configure.ac (libc_cv_dot_text): Remove configure test.
3555         (libc_cv_asm_set_directive): Use .text instead of
3556         ${libc_cv_dot_text} in configure test.
3557         * configure: Regenerated.
3559 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3561         [BZ #19168]
3562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3564 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3566         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3567         not support static linking.
3568         * configure: Regenerate.
3570 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3572         * math/libm-test.inc (check_float_internal): Do not special-case
3573         errors up to 0.5 ulp.
3575         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3576         log2.
3577         * math/auto-libm-test-out: Regenerated.
3578         * math/libm-test.inc (MAX_EXP): New macro.
3579         (ilogb_test_data): Add more tests.
3580         (isfinite_test_data): Likewise.
3581         (isgreater_test_data): Likewise.
3582         (isgreaterequal_test_data): Likewise.
3583         (isinf_test_data): Likewise.
3584         (isless_test_data): Likewise.
3585         (islessequal_test_data): Likewise.
3586         (islessgreater_test_data): Likewise.
3587         (isnan_test_data): Likewise.
3588         (isnormal_test_data): Likewise.
3589         (issignaling_test_data): Likewise.
3590         (isunordered_test_data): Likewise.
3591         (j0_test_data): Likewise.
3592         (j1_test_data): Likewise.
3593         (jn_test_data): Likewise.
3594         (lgamma_test_data): Likewise.
3595         (log_test_data): Likewise.
3596         (log10_test_data): Likewise.
3597         (log1p_test_data): Likewise.
3598         (log2_test_data): Likewise.
3599         (logb_test_data): Likewise.
3600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3602         [BZ #18611]
3603         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3604         avoid excess range and precision on underflow.
3605         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3606         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3607         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3609         underflow.
3610         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3611         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3612         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3613         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3614         * math/auto-libm-test-in: Do not allow missing errno setting for
3615         tests of j1 and jn.
3616         * math/auto-libm-test-out: Regenerated.
3618 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #15491]
3621         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3622         floating-point environment instead of clearing all exceptions.
3623         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3624         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3625         merging in "invalid" exceptions from frndint.
3626         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3627         * math/test-nearbyint-except.c: New file.
3628         * math/Makefile (tests): Add test-nearbyint-except.
3630 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3632         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3634         * sysdeps/tile/libm-test-ulps: Regenerated.
3636 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3639         (__NR_sync_file_range2): Assume it is always defined.
3640         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3641         (__NR_sync_file_range): Assume it is always defined.
3643 2015-10-22  Andreas Schwab  <schwab@suse.de>
3645         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3646         INTERNAL_SYSCALL_ERRNO.
3647         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3648         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3649         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3650         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3651         Likewise.
3652         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3654 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3656         * io/tst-fcntl.c (fd): New static variable.
3657         (do_prepare): Open temporary file here....
3658         (do_test): ...not here.
3660         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3662 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3665         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3666         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3667         Moved before "#ifdef __ASSEMBLER__".
3669 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3671         [BZ #19156]
3672         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3673         arguments very close to 0.
3675 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3677         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3678         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3680 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3682         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3683         New.  Defined for GCC 5 and above when not compiling for
3684         profiling.
3685         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3687         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3688         Renamed to ...
3689         (CFLAGS-epoll_pwait.o): This.
3690         (CFLAGS-mmap.c): Renamed to ...
3691         (CFLAGS-mmap.o): This.
3692         (CFLAGS-mmap64.c): Renamed to ...
3693         (CFLAGS-mmap64.o): This.
3694         (CFLAGS-epoll_pwait.os): New.
3695         (CFLAGS-mmap.os): Likewise.
3696         (CFLAGS-mmap64.os): Likewise.
3697         (CFLAGS-semtimedop.os): Likewise.
3698         (CFLAGS-semtimedop.c): Renamed to ...
3699         (CFLAGS-semtimedop.o): This.
3701 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3703         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3704         warning message.
3706 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3708         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3709         * Makefile ($(objpfx)c++-types-check.out): Filter out
3710         $(+gccwarn-c) instead of -Wstrict-prototypes.
3712         * io/fts.c (fts_open): Convert to prototype-style function
3713         definition.
3714         * malloc/mcheck.c (mcheck): Likewise.
3715         (mcheck_pedantic): Likewise.
3716         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3717         internal_function.
3718         (re_search_internal): Likewise.
3719         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3720         prototype-style function definition.
3721         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3722         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3723         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3724         (xdr_utmpptr): Likewise.
3725         (xdr_utmparr): Likewise.
3726         (xdr_utmpidle): Likewise.
3727         (xdr_utmpidleptr): Likewise.
3728         (xdr_utmpidlearr): Likewise.
3730         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3731         log, log10 and log2.
3732         * math/auto-libm-test-out: Regenerated.
3733         * math/libm-test.inc (fmod_test_data): Add more tests.
3734         (fpclassify_test_data): Likewise.
3735         (frexp_test_data): Likewise.
3736         (hypot_test_data): Likewise.
3737         (ilogb_test_data): Likewise.
3739 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3741         * debug/fortify_fail.c (__fortify_fail): Convert to
3742         prototype-style function definition.  Use internal_function.
3743         * libio/genops.c (save_for_backup): Convert to prototype-style
3744         function definition.
3745         * libio/wgenops.c (save_for_wbackup): Likewise.
3746         * login/grantpt.c (grantpt): Likewise.
3747         * login/ptsname.c (ptsname): Likewise.
3748         (__ptsname_r): Likewise.
3749         * login/unlockpt.c (unlockpt): Likewise.
3750         * mach/msgserver.c (__mach_msg_server): Likewise.
3751         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3752         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3753         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3754         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3755         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3756         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3757         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3758         Likewise.
3759         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3760         internal_function.
3761         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3762         prototype-style function definition.
3763         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3764         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3765         (__pthread_create_2_0): Likewise.
3766         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3767         * nptl/register-atfork.c (__register_atfork): Likewise.
3768         * posix/glob.c (glob): Likewise.
3769         * posix/regcomp.c (re_comp): Likewise.
3770         * posix/regexec.c (re_exec): Likewise.
3771         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3772         [!__STDC__]: Remove conditional code.
3773         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3774         [!__STDC__]: Remove conditional code.
3775         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3776         [!__STDC__]: Remove conditional code.
3777         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3778         [!__STDC__]: Remove conditional code.
3779         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3780         [!__STDC__]: Remove conditional code.
3781         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3782         [!__STDC__]: Remove conditional code.
3783         * stdlib/mul.c [__STDC__]: Make code unconditional.
3784         [!__STDC__]: Remove conditional code.
3785         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3786         [!__STDC__]: Remove conditional code.
3787         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3788         [!__STDC__]: Remove conditional code.
3789         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3790         function definition.
3791         (STRTOF): Likewise.
3792         * stdlib/strtod_l.c (__STRTOF): Likewise.
3793         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3794         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3795         (__strtol_l): Likewise.
3796         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3797         [!__STDC__]: Remove conditional code.
3798         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3799         definition.
3800         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3801         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3802         type.
3803         (__strcasecmp): Convert to prototype-style function definition.
3804         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3805         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3806         type.
3807         (__strncasecmp): Convert to prototype-style function definition.
3808         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3809         * sunrpc/xdr.c (xdr_union): Likewise.
3810         * sunrpc/xdr_array.c (xdr_array): Likewise.
3811         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3812         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3813         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3814         Likewise.
3815         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3816         Likewise.
3817         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3818         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3819         Likewise.
3820         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3821         (LOCALE_PARAM_PROTO): Likewise.
3822         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3823         argument type.
3824         (ut_argument_spec): Remove macro.
3825         (ut_argument_spec_iso): Rename to ut_argument_spec.
3826         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3827         prototype-style function definition.
3828         (memcpy_uppcase): Likewise.
3829         (__strftime_internal): Likewise.
3830         (my_strftime): Likewise.
3831         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3832         (LOCALE_PARAM_DECL): Likewise.
3833         [_LIBC] (LOCALE_PARAM): Include argument type.
3834         (__strptime_internal): Convert to prototype-style function
3835         definition.
3836         (strptime): Likewise.
3837         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3838         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3839         type.
3840         (__wcscasecmp): Convert to prototype-style function definition.
3841         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3842         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3843         type.
3844         (__wcsncasecmp): Convert to prototype-style function definition.
3846         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3847         function definition.
3848         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3849         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3850         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3851         * elf/dl-minimal.c (_itoa): Likewise.
3852         * hurd/hurdmalloc.c (malloc): Likewise.
3853         (free): Likewise.
3854         (realloc): Likewise.
3855         * inet/inet6_option.c (inet6_option_space): Likewise.
3856         (inet6_option_init): Likewise.
3857         (inet6_option_append): Likewise.
3858         (inet6_option_alloc): Likewise.
3859         (inet6_option_next): Likewise.
3860         (inet6_option_find): Likewise.
3861         * io/ftw.c (FTW_NAME): Likewise.
3862         (NFTW_NAME): Likewise.
3863         (NFTW_NEW_NAME): Likewise.
3864         (NFTW_OLD_NAME): Likewise.
3865         * libio/iofwide.c (_IO_fwide): Likewise.
3866         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3867         (_IO_str_init_static): Likewise.
3868         (_IO_str_init_readonly): Likewise.
3869         (_IO_str_overflow): Likewise.
3870         (_IO_str_underflow): Likewise.
3871         (_IO_str_count): Likewise.
3872         (_IO_str_seekoff): Likewise.
3873         (_IO_str_pbackfail): Likewise.
3874         (_IO_str_finish): Likewise.
3875         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3876         (_IO_wstr_overflow): Likewise.
3877         (_IO_wstr_underflow): Likewise.
3878         (_IO_wstr_count): Likewise.
3879         (_IO_wstr_seekoff): Likewise.
3880         (_IO_wstr_pbackfail): Likewise.
3881         (_IO_wstr_finish): Likewise.
3882         * locale/programs/localedef.c (normalize_codeset): Likewise.
3883         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3884         (add_locales_to_archive): Likewise.
3885         (delete_locales_from_archive): Likewise.
3886         * malloc/malloc.c (__libc_mallinfo): Likewise.
3887         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3888         * misc/tsearch.c (__tfind): Likewise.
3889         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3890         * nptl/pthread_attr_getdetachstate.c
3891         (__pthread_attr_getdetachstate): Likewise.
3892         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3893         Likewise.
3894         * nptl/pthread_attr_getinheritsched.c
3895         (__pthread_attr_getinheritsched): Likewise.
3896         * nptl/pthread_attr_getschedparam.c
3897         (__pthread_attr_getschedparam): Likewise.
3898         * nptl/pthread_attr_getschedpolicy.c
3899         (__pthread_attr_getschedpolicy): Likewise.
3900         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3901         Likewise.
3902         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3903         Likewise.
3904         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3905         Likewise.
3906         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3907         Likewise.
3908         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3909         (__pthread_attr_init_2_0): Likewise.
3910         * nptl/pthread_attr_setdetachstate.c
3911         (__pthread_attr_setdetachstate): Likewise.
3912         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3913         Likewise.
3914         * nptl/pthread_attr_setinheritsched.c
3915         (__pthread_attr_setinheritsched): Likewise.
3916         * nptl/pthread_attr_setschedparam.c
3917         (__pthread_attr_setschedparam): Likewise.
3918         * nptl/pthread_attr_setschedpolicy.c
3919         (__pthread_attr_setschedpolicy): Likewise.
3920         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3921         Likewise.
3922         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3923         Likewise.
3924         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3925         Likewise.
3926         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3927         Likewise.
3928         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3929         Likewise.
3930         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3931         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3932         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3933         use internal_function.
3934         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3935         prototype-style function definition.
3936         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3937         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3938         internal_function.
3939         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3940         Convert to prototype-style function definition.
3941         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3942         Likewise.
3943         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3944         Likewise.
3945         (__pthread_mutex_unlock): Likewise.
3946         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3947         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3948         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3949         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3950         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3951         * nss/makedb.c (process_input): Likewise.
3952         * posix/fnmatch.c (__strchrnul): Likewise.
3953         (__wcschrnul): Likewise.
3954         (fnmatch): Likewise.
3955         * posix/fnmatch_loop.c (FCT): Likewise.
3956         * posix/glob.c (globfree): Likewise.
3957         (__glob_pattern_type): Likewise.
3958         (__glob_pattern_p): Likewise.
3959         * posix/regcomp.c (re_compile_pattern): Likewise.
3960         (re_set_syntax): Likewise.
3961         (re_compile_fastmap): Likewise.
3962         (regcomp): Likewise.
3963         (regerror): Likewise.
3964         (regfree): Likewise.
3965         * posix/regexec.c (regexec): Likewise.
3966         (re_match): Likewise.
3967         (re_search): Likewise.
3968         (re_match_2): Likewise.
3969         (re_search_2): Likewise.
3970         (re_search_stub): Likewise.  Use internal_function
3971         (re_copy_regs): Likewise.
3972         (re_set_registers): Convert to prototype-style function
3973         definition.
3974         (prune_impossible_nodes): Likewise.  Use internal_function.
3975         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3976         prototype-style function definition.
3977         (inet_net_pton_ipv4): Likewise.
3978         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3979         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3980         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3981         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3982         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3983         Make variadic.
3984         * time/strptime_l.c (localtime_r): Convert to prototype-style
3985         function definition.
3986         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3987         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3988         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3989         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3991         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3992         definition.
3993         (_ufc_doit_r): Likewise.
3994         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3995         (_ufc_output_conversion_r): Likewise.
3996         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3997         * inet/rcmd.c (rcmd_af): Likewise.
3998         (rcmd): Likewise.
3999         (ruserok_af): Likewise.
4000         (ruserok): Likewise.
4001         (ruserok2_sa): Likewise.
4002         (ruserok_sa): Likewise.
4003         (iruserok_af): Likewise.
4004         (iruserok): Likewise.
4005         (__ivaliduser): Likewise.
4006         (__validuser2_sa): Likewise.
4007         * inet/rexec.c (rexec_af): Likewise.
4008         (rexec): Likewise.
4009         * inet/ruserpass.c (ruserpass): Likewise.
4010         * locale/programs/xmalloc.c (xcalloc): Likewise.
4011         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4012         * math/w_drem.c (__drem): Likewise.
4013         * math/w_dremf.c (__dremf): Likewise.
4014         * math/w_dreml.c (__dreml): Likewise.
4015         * misc/daemon.c (daemon): Likewise.
4016         * resolv/res_debug.c (p_fqnname): Likewise.
4017         * stdlib/div.c (div): Likewise.
4018         * string/memcmp.c (memcmp_bytes): Likewise.
4019         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4020         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4022         * crypt/cert.c (main): Convert to prototype-style function
4023         definition.
4024         * io/pipe.c (__pipe): Likewise.
4025         * io/pipe2.c (__pipe2): Likewise.
4026         * misc/futimesat.c (futimesat): Likewise.
4027         * misc/utimes.c (__utimes): Likewise.
4028         * posix/execve.c (__execve): Likewise.
4029         * posix/execvp.c (execvp): Likewise.
4030         * posix/execvpe.c (__execvpe): Likewise.
4031         * posix/fexecve.c (fexecve): Likewise.
4032         * socket/socketpair.c (socketpair): Likewise.
4033         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4034         * stdlib/erand48.c (erand48): Likewise.
4035         * stdlib/erand48_r.c (__erand48_r): Likewise.
4036         * stdlib/jrand48.c (jrand48): Likewise.
4037         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4038         * stdlib/lcong48.c (lcong48): Likewise.
4039         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4040         * stdlib/nrand48.c (nrand48): Likewise.
4041         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4042         * stdlib/seed48.c (seed48): Likewise.
4043         * stdlib/seed48_r.c (__seed48_r): Likewise.
4044         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4045         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4046         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4048 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4050         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4051         * configure: Regenerated.
4052         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4053         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4054         unconditional.
4055         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4056         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4057         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4058         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4059         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4060         unconditional.
4061         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4063         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4064         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4066         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4067         function definition.
4068         * crypt/crypt_util.c (__encrypt_r): Likewise.
4069         * libio/genops.c (_IO_no_init): Likewise.
4070         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4071         (_IO_old_fopencookie): Likewise.
4072         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4073         * libio/iogetline.c (_IO_getline): Likewise.
4074         (_IO_getline_info): Likewise.
4075         * libio/iogetwline.c (_IO_getwline): Likewise.
4076         (_IO_getwline_info): Likewise.
4077         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4078         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4079         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4080         (find_entry): Likewise.
4081         (iterate_table): Likewise.
4082         (lookup): Likewise.
4083         * login/forkpty.c (forkpty): Likewise.
4084         * misc/hsearch_r.c (__hsearch_r): Likewise.
4085         * misc/select.c (__select): Likewise.
4086         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4087         Likewise.
4088         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4089         Likewise.
4090         * nptl/old_pthread_cond_timedwait.c
4091         (__pthread_cond_timedwait_2_0): Likewise.
4092         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4093         * nptl/pthread_barrierattr_getpshared.c
4094         (pthread_barrierattr_getpshared): Likewise.
4095         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4096         Likewise.
4097         * nptl/pthread_mutex_setprioceiling.c
4098         (pthread_mutex_setprioceiling): Likewise.
4099         * nptl/pthread_mutexattr_getprioceiling.c
4100         (pthread_mutexattr_getprioceiling): Likewise.
4101         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4102         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4103         Likewise.
4104         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4105         Likewise.
4106         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4107         Likewise.
4108         * socket/recvfrom.c (__recvfrom): Likewise.
4109         * socket/sendto.c (__sendto): Likewise.
4110         * socket/setsockopt.c (__setsockopt): Likewise.
4111         * stdio-common/_itoa.c (_itoa): Likewise.
4112         * stdio-common/_itowa.c (_itowa): Likewise.
4113         * stdio-common/reg-printf.c (__register_printf_specifier):
4114         Likewise.
4115         (__register_printf_function): Likewise.
4116         * stdio-common/tempname.c (__path_search): Likewise.
4117         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4118         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4119         * stdlib/random_r.c (__initstate_r): Likewise.
4120         * stdlib/setenv.c (__add_to_environ): Likewise.
4121         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4122         * streams/getpmsg.c (getpmsg): Likewise.
4123         * streams/putmsg.c (putmsg): Likewise.
4124         * streams/putpmsg.c (putpmsg): Likewise.
4125         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4126         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4127         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4128         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4129         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4130         * sunrpc/svc_udp.c (cache_get): Likewise.
4131         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4132         * sysdeps/mach/hurd/getcwd.c
4133         (__canonicalize_directory_name_internal): Likewise.
4134         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4135         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4136         * sysdeps/mach/hurd/select.c (__select): Likewise.
4137         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4138         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4139         * sysdeps/sparc/nptl/pthread_barrier_init.c
4140         (__pthread_barrier_init): Likewise.
4141         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4142         (__pthread_cond_timedwait): Likewise.
4143         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4144         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4145         Likewise.
4146         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4147         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4148         Likewise.
4149         * sysvipc/semtimedop.c (semtimedop): Likewise.
4150         * time/setitimer.c (__setitimer): Likewise.
4151         * time/strftime_l.c (emacs_strftime): Likewise.
4153 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4155         * config.make.in (have-ssp): Delete.
4156         (stack-protector): New variable.
4157         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4158         cache test for -fstack-protector-strong.  Export stack_protector to
4159         the best ssp flag.
4160         * configure: Regenerated.
4161         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4162         * nscd/Makefile (CFLAGS-nscd): Likewise.
4163         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4165 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4167         [BZ #19122]
4168         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4169         attribute_hidden.
4171 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4173         [BZ #18743]
4174         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4175         code to...
4176         (ELIDE_LOCK): ...here.
4177         (__get_new_count): New function with part of the code from
4178         __elide_lock that updates the value of adapt_count after a
4179         transaction abort.
4180         (__elided_trylock): Moved this code to...
4181         (ELIDE_TRYLOCK): ...here.
4183 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4185         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4186         * configure: Regenerate.
4187         * INSTALL: Regenerate.
4188         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4189         and tweak grammar.
4191 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4193         * login/programs/pt_chown.c: Include signal.h
4194         (main): Clear any signal mask from the parent process.
4196 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4198         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4199         * configure: Regenerated.
4200         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4201         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4202         $(gnu89-inline-CFLAGS).
4204         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4205         test.
4206         (libc_cv_asm_weakext_directive): Likewise.
4207         * configure: Regenerated.
4208         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4209         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4210         * include/libc-symbols.h
4211         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4212         #error.
4213         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4214         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4216         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4217         prototype-style function definition.
4218         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4219         * sysdeps/i386/ffs.c (__ffs): Likewise.
4220         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4221         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4222         Likewise.
4223         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4224         Likewise.
4225         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4226         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4227         Likewise.
4228         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4229         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4230         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4231         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4232         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4233         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4234         * sysdeps/mach/hurd/access.c (__access): Likewise.
4235         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4236         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4237         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4238         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4239         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4240         (cthread_getspecific): Likewise.
4241         (cthread_setspecific): Likewise.
4242         (__libc_getspecific): Likewise.
4243         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4244         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4245         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4246         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4247         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4248         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4249         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4250         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4251         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4252         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4253         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4254         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4255         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4256         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4257         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4258         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4259         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4260         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4261         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4262         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4263         * sysdeps/mach/hurd/link.c (__link): Likewise.
4264         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4265         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4266         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4267         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4268         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4269         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4270         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4271         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4272         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4273         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4274         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4275         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4276         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4277         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4278         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4279         * sysdeps/mach/hurd/send.c (__send): Likewise.
4280         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4281         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4282         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4283         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4284         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4285         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4286         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4287         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4288         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4289         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4290         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4291         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4292         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4293         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4294         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4295         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4296         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4297         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4298         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4299         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4300         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4301         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4302         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4303         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4304         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4305         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4306         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4307         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4308         * sysdeps/posix/alarm.c (alarm): Likewise.
4309         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4310         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4311         * sysdeps/posix/dup.c (__dup): Likewise.
4312         * sysdeps/posix/dup2.c (__dup2): Likewise.
4313         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4314         (main): Likewise.
4315         * sysdeps/posix/flock.c (__flock): Likewise.
4316         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4317         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4318         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4319         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4320         * sysdeps/posix/isatty.c (__isatty): Likewise.
4321         * sysdeps/posix/killpg.c (killpg): Likewise.
4322         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4323         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4324         * sysdeps/posix/raise.c (raise): Likewise.
4325         * sysdeps/posix/remove.c (remove): Likewise.
4326         * sysdeps/posix/rename.c (rename): Likewise.
4327         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4328         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4329         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4330         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4331         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4332         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4333         * sysdeps/posix/sigset.c (sigset): Likewise.
4334         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4335         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4336         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4337         * sysdeps/posix/time.c (time): Likewise.
4338         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4339         (ttyname): Likewise.
4340         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4341         * sysdeps/posix/utime.c (utime): Likewise.
4342         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4343         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4344         Likewise.
4345         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4346         (pthread_spin_trylock): Likewise.
4347         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4348         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4349         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4350         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4351         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4352         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4353         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4354         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4355         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4356         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4357         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4358         * sysdeps/s390/ffs.c (__ffs): Likewise.
4359         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4360         Likewise.
4361         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4362         Likewise.
4363         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4364         Likewise.
4365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4366         (pthread_barrier_destroy): Likewise.
4367         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4368         (__pthread_barrier_wait): Likewise.
4369         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4370         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4371         (__pthread_barrier_wait): Likewise.
4372         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4373         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4374         (memcmp_not_common_alignment): Likewise.
4375         (MEMCMP): Likewise.
4376         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4377         (_wordcopy_fwd_dest_aligned): Likewise.
4378         (_wordcopy_bwd_aligned): Likewise.
4379         (_wordcopy_bwd_dest_aligned): Likewise.
4380         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4381         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4382         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4383         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4384         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4385         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4386         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4387         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4388         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4389         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4390         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4391         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4392         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4393         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4394         * sysdeps/unix/stime.c (stime): Likewise.
4395         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4396         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4397         Likewise.  Use internal_function.
4398         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4399         Convert to prototype-style function definition.
4400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4401         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4402         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4403         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4404         Likewise.  Use internal_function.
4405         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4406         prototype-style function definition
4407         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4408         Likewise.
4409         (__getlogin_r): Likewise.
4410         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4412         (__pthread_cond_broadcast): Likewise.
4413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4414         (__pthread_cond_destroy): Likewise.
4415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4416         (__pthread_cond_init): Likewise.
4417         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4418         (__pthread_cond_signal): Likewise.
4419         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4420         (__pthread_cond_wait): Likewise.
4421         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4422         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4423         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4424         Likewise.
4425         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4426         Likewise.
4427         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4428         Likewise.
4429         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4433         (__ftruncate64): Likewise.
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4435         (truncate64): Likewise.
4436         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4437         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4438         (pthread_getcpuclockid): Likewise.
4439         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4440         Likewise.
4441         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4442         Likewise.
4443         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4444         Likewise.
4445         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4446         Likewise.
4447         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4448         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4449         (__libc_sigaction): Likewise.
4450         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4451         Likewise.
4452         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4453         (__sigprocmask): Likewise.
4454         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4455         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4456         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4457         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4458         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4459         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4460         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4461         Likewise.
4462         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4463         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4464         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4465         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4469         (__sigprocmask): Likewise.
4470         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4471         (cfgetispeed): Likewise.
4472         (cfsetospeed): Likewise.
4473         (cfsetispeed): Likewise.
4474         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4475         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4476         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4477         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4478         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4479         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4480         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4481         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4482         Likewise.
4483         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4484         Likewise.
4485         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4486         Likewise.
4487         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4488         Likewise.
4489         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4491 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4493         sunrpc: Rewrite with explicit TLS access using __thread.
4494         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4495         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4496         directly.
4497         (__rpc_thread_variables): Access thread_rpc_vars directly.
4498         Eliminate redundant assignment of the tvp variable.
4500 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4502         malloc: Rewrite with explicit TLS access using __thread.
4503         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4504         (tsd_setspecific, tsd_getspecific): Remove.
4505         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4506         (tsd_setspecific, tsd_getspecific): Likewise.
4507         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4508         (tsd_setspecific, tsd_getspecific): Likewise.
4509         * malloc/arena.c (thread_arena): New TLS variable.
4510         (arena_key): Remove variable.
4511         (arena_get): Use thread_arena.
4512         (arena_lookup): Remove macro.
4513         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4514         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4515         (_int_new_arena, get_free_list, reused_arena)
4516         (arena_thread_freeres): Use thread_arena.
4517         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4518         tsd_getspecific, tsd_setspecific from safety annotations.
4519         (Allocating Cleared Space): Remove arena_lookup from safety
4520         annotations.
4522 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4524         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4525         struct scratch_buffer instead of extend_alloca.
4527 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4529         * sysdeps/unix/sysv/linux/kernel-features.h
4530         (__ASSUME_SOCK_CLOEXEC): Remove.
4531         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4532         (__have_paccept): Remove unused macro.
4533         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4534         * misc/syslog.c (openlog_internal): Remove fallback code for
4535         !__ASSUME_SOCK_CLOEXEC.
4536         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4537         missing SOCK_CLOEXEC.
4538         * nscd/connections.c (have_sock_cloexec): Remove definition.
4539         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4540         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4541         !__ASSUME_SOCK_CLOEXEC.
4542         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4543         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4544         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4545         definition.
4546         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4547         code for !__ASSUME_SOCK_CLOEXEC.
4549 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4551         [BZ #18982]
4552         * manual/stdio.texi (Variable Arguments Output): Add portability
4553         note, explaining that vfprintf clobbers the va_list pointer.
4555 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4557         * math/libm-test.inc (fabs_test_data): Add more tests.
4558         (fdim_test_data): Likewise.
4559         (fma_test_data): Likewise.
4560         (fmax_test_data): Likewise.
4561         (fmin_test_data): Likewise.
4562         (fmod_test_data): Likewise.
4564 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4566         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4567         data.
4569 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4571         * math/libm-test.inc (ceil_test_data): Add more tests and more
4572         expectations for "inexact".
4573         (floor_test_data): Add more tests.
4574         (round_test_data): Likewise.
4575         (trunc_test_data): Likewise.
4577         * crypt/cert.c (good_bye): Convert to prototype-style function
4578         definition.
4579         (get8): Likewise.
4580         (put8): Likewise.
4581         * crypt/crypt-entry.c (crypt): Likewise.
4582         (__fcrypt): Likewise.
4583         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4584         (_ufc_set_bits): Likewise.
4585         (_ufc_clearmem): Likewise.
4586         (__init_des_r): Likewise.
4587         (shuffle_sb): Likewise.
4588         (shuffle_sb): Likewise.
4589         (_ufc_setup_salt_r): Likewise.
4590         (_ufc_mk_keytab_r): Likewise.
4591         (_ufc_dofinalperm_r): Likewise.
4592         (encrypt): Likewise.
4593         (__setkey_r): Likewise.
4594         (setkey): Likewise.
4595         * crypt/md5.c (md5_init_ctx): Likewise.
4596         (md5_read_ctx): Likewise.
4597         (md5_finish_ctx): Likewise.
4598         (md5_stream): Likewise.
4599         (md5_buffer): Likewise.
4600         (md5_process_bytes): Likewise.
4601         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4602         (__sha256_finish_ctx): Likewise.
4603         (__sha256_process_bytes): Likewise.
4604         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4605         (__sha512_finish_ctx): Likewise.
4606         (__sha512_process_bytes): Likewise.
4607         * ctype/isctype.c (__isctype): Likewise.
4608         * debug/backtrace.c (__backtrace): Likewise.
4609         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4610         * debug/fgets_chk.c (__fgets_chk): Likewise.
4611         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4612         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4613         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4614         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4615         * debug/memset_chk.c (__memset_chk): Likewise.
4616         * debug/strcat_chk.c (__strcat_chk): Likewise.
4617         * debug/strncat_chk.c (__strncat_chk): Likewise.
4618         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4619         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4620         * dirent/dirfd.c (dirfd): Likewise.
4621         * dirent/getdents.c (__getdirentries): Likewise.
4622         * dirent/getdents64.c (getdirentries64): Likewise.
4623         * dirent/rewinddir.c (__rewinddir): Likewise.
4624         * dirent/seekdir.c (seekdir): Likewise.
4625         * dirent/telldir.c (telldir): Likewise.
4626         * elf/sln.c (makesymlinks): Likewise.
4627         (makesymlink): Likewise.
4628         * gmon/gmon.c (__moncontrol): Likewise.
4629         (__monstartup): Likewise.
4630         (write_hist): Likewise.
4631         (write_call_graph): Likewise.
4632         (write_bb_counts): Likewise.
4633         * grp/setgroups.c (setgroups): Likewise.
4634         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4635         * inet/inet_net.c (inet_network): Likewise.
4636         * inet/inet_netof.c (inet_netof): Likewise.
4637         * inet/rcmd.c (rresvport_af): Likewise.
4638         (rresvport): Likewise.
4639         * io/access.c (__access): Likewise.
4640         * io/chdir.c (__chdir): Likewise.
4641         * io/chmod.c (__chmod): Likewise.
4642         * io/chown.c (__chown): Likewise.
4643         * io/close.c (__close): Likewise.
4644         * io/creat.c (creat): Likewise.
4645         * io/creat64.c (creat64): Likewise.
4646         * io/dup.c (__dup): Likewise.
4647         * io/dup2.c (__dup2): Likewise.
4648         * io/dup3.c (__dup3): Likewise.
4649         * io/euidaccess.c (__euidaccess): Likewise.
4650         * io/faccessat.c (faccessat): Likewise.
4651         * io/fchmod.c (__fchmod): Likewise.
4652         * io/fchmodat.c (fchmodat): Likewise.
4653         * io/fchown.c (__fchown): Likewise.
4654         * io/fchownat.c (fchownat): Likewise.
4655         * io/fcntl.c (__fcntl): Likewise.
4656         * io/flock.c (__flock): Likewise.
4657         * io/fts.c (fts_load): Likewise.
4658         (fts_close): Likewise.
4659         (fts_read): Likewise.
4660         (fts_set): Likewise.
4661         (fts_children): Likewise.
4662         (fts_build): Likewise.
4663         (fts_stat): Likewise.
4664         (fts_sort): Likewise.
4665         (fts_alloc): Likewise.
4666         (fts_lfree): Likewise.
4667         (fts_palloc): Likewise.
4668         (fts_padjust): Likewise.
4669         (fts_maxarglen): Likewise.
4670         (fts_safe_changedir): Likewise.
4671         * io/getwd.c (getwd): Likewise.
4672         * io/isatty.c (__isatty): Likewise.
4673         * io/lchown.c (__lchown): Likewise.
4674         * io/link.c (__link): Likewise.
4675         * io/linkat.c (linkat): Likewise.
4676         * io/lseek.c (__libc_lseek): Likewise.
4677         * io/mkdir.c (__mkdir): Likewise.
4678         * io/mkdirat.c (mkdirat): Likewise.
4679         * io/mkfifo.c (mkfifo): Likewise.
4680         * io/mkfifoat.c (mkfifoat): Likewise.
4681         * io/open.c (__libc_open): Likewise.
4682         * io/open64.c (__libc_open64): Likewise.
4683         * io/readlink.c (__readlink): Likewise.
4684         * io/readlinkat.c (readlinkat): Likewise.
4685         * io/rmdir.c (__rmdir): Likewise.
4686         * io/symlink.c (__symlink): Likewise.
4687         * io/symlinkat.c (symlinkat): Likewise.
4688         * io/ttyname.c (ttyname): Likewise.
4689         * io/ttyname_r.c (__ttyname_r): Likewise.
4690         * io/umask.c (__umask): Likewise.
4691         * io/unlink.c (__unlink): Likewise.
4692         * io/unlinkat.c (unlinkat): Likewise.
4693         * io/utime.c (utime): Likewise.
4694         * libio/clearerr.c (clearerr): Likewise.
4695         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4696         * libio/feof.c (_IO_feof): Likewise.
4697         * libio/feof_u.c (feof_unlocked): Likewise.
4698         * libio/ferror.c (_IO_ferror): Likewise.
4699         * libio/ferror_u.c (ferror_unlocked): Likewise.
4700         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4701         * libio/fileno.c (__fileno): Likewise.
4702         * libio/fputc.c (fputc): Likewise.
4703         * libio/fputc_u.c (fputc_unlocked): Likewise.
4704         * libio/fputwc.c (fputwc): Likewise.
4705         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4706         * libio/freopen.c (freopen): Likewise.
4707         * libio/freopen64.c (freopen64): Likewise.
4708         * libio/fseek.c (fseek): Likewise.
4709         * libio/fseeko.c (fseeko): Likewise.
4710         * libio/fseeko64.c (fseeko64): Likewise.
4711         * libio/ftello.c (__ftello): Likewise.
4712         * libio/ftello64.c (ftello64): Likewise.
4713         * libio/fwide.c (fwide): Likewise.
4714         * libio/genops.c (_IO_un_link): Likewise.
4715         (_IO_link_in): Likewise.
4716         (_IO_least_marker): Likewise.
4717         (_IO_switch_to_main_get_area): Likewise.
4718         (_IO_switch_to_backup_area): Likewise.
4719         (_IO_switch_to_get_mode): Likewise.
4720         (_IO_free_backup_area): Likewise.
4721         (_IO_switch_to_put_mode): Likewise.
4722         (__overflow): Likewise.
4723         (__underflow): Likewise.
4724         (__uflow): Likewise.
4725         (_IO_setb): Likewise.
4726         (_IO_doallocbuf): Likewise.
4727         (_IO_default_underflow): Likewise.
4728         (_IO_default_uflow): Likewise.
4729         (_IO_default_xsputn): Likewise.
4730         (_IO_sgetn): Likewise.
4731         (_IO_default_xsgetn): Likewise.
4732         (_IO_sync): Likewise.
4733         (_IO_default_setbuf): Likewise.
4734         (_IO_default_seekpos): Likewise.
4735         (_IO_default_doallocate): Likewise.
4736         (_IO_init): Likewise.
4737         (_IO_old_init): Likewise.
4738         (_IO_default_sync): Likewise.
4739         (_IO_default_finish): Likewise.
4740         (_IO_default_seekoff): Likewise.
4741         (_IO_sputbackc): Likewise.
4742         (_IO_sungetc): Likewise.
4743         (_IO_set_column): Likewise.
4744         (_IO_set_column): Likewise.
4745         (_IO_adjust_column): Likewise.
4746         (_IO_get_column): Likewise.
4747         (_IO_init_marker): Likewise.
4748         (_IO_remove_marker): Likewise.
4749         (_IO_marker_difference): Likewise.
4750         (_IO_marker_delta): Likewise.
4751         (_IO_seekmark): Likewise.
4752         (_IO_unsave_markers): Likewise.
4753         (_IO_nobackup_pbackfail): Likewise.
4754         (_IO_default_pbackfail): Likewise.
4755         (_IO_default_seek): Likewise.
4756         (_IO_default_stat): Likewise.
4757         (_IO_default_read): Likewise.
4758         (_IO_default_write): Likewise.
4759         (_IO_default_showmanyc): Likewise.
4760         (_IO_default_imbue): Likewise.
4761         (_IO_iter_next): Likewise.
4762         (_IO_iter_file): Likewise.
4763         * libio/getc.c (_IO_getc): Likewise.
4764         * libio/getwc.c (_IO_getwc): Likewise.
4765         * libio/iofclose.c (_IO_new_fclose): Likewise.
4766         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4767         * libio/iofflush.c (_IO_fflush): Likewise.
4768         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4769         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4770         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4771         * libio/iofgets.c (_IO_fgets): Likewise.
4772         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4773         * libio/iofgetws.c (fgetws): Likewise.
4774         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4775         * libio/iofopen64.c (_IO_fopen64): Likewise.
4776         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4777         (_IO_cookie_write): Likewise.
4778         (_IO_cookie_seek): Likewise.
4779         (_IO_cookie_close): Likewise.
4780         (_IO_cookie_seekoff): Likewise.
4781         (_IO_old_cookie_seek): Likewise.
4782         * libio/iofputs.c (_IO_fputs): Likewise.
4783         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4784         * libio/iofputws.c (fputws): Likewise.
4785         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4786         * libio/iofread.c (_IO_fread): Likewise.
4787         * libio/iofread_u.c (__fread_unlocked): Likewise.
4788         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4789         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4790         * libio/ioftell.c (_IO_ftell): Likewise.
4791         * libio/iofwrite.c (_IO_fwrite): Likewise.
4792         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4793         * libio/iogets.c (_IO_gets): Likewise.
4794         * libio/iopadn.c (_IO_padn): Likewise.
4795         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4796         (_IO_new_popen): Likewise.
4797         (_IO_new_proc_close): Likewise.
4798         * libio/ioputs.c (_IO_puts): Likewise.
4799         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4800         (_IO_seekoff): Likewise.
4801         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4802         (_IO_seekpos): Likewise.
4803         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4804         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4805         * libio/ioungetc.c (_IO_ungetc): Likewise.
4806         * libio/ioungetwc.c (ungetwc): Likewise.
4807         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4808         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4809         * libio/iowpadn.c (_IO_wpadn): Likewise.
4810         * libio/libc_fatal.c (__libc_fatal): Likewise.
4811         * libio/memstream.c (__open_memstream): Likewise.
4812         (_IO_mem_sync): Likewise.
4813         (_IO_mem_finish): Likewise.
4814         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4815         (_IO_old_file_close_it): Likewise.
4816         (_IO_old_file_finish): Likewise.
4817         (_IO_old_file_fopen): Likewise.
4818         (_IO_old_file_attach): Likewise.
4819         (_IO_old_file_setbuf): Likewise.
4820         (_IO_old_do_write): Likewise.
4821         (old_do_write): Likewise.
4822         (_IO_old_file_underflow): Likewise.
4823         (_IO_old_file_overflow): Likewise.
4824         (_IO_old_file_sync): Likewise.
4825         (_IO_old_file_seekoff): Likewise.
4826         (_IO_old_file_write): Likewise.
4827         (_IO_old_file_xsputn): Likewise.
4828         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4829         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4830         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4831         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4832         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4833         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4834         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4835         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4836         (_IO_old_popen): Likewise.
4837         (_IO_old_proc_close): Likewise.
4838         * libio/oldpclose.c (__old_pclose): Likewise.
4839         * libio/pclose.c (__new_pclose): Likewise.
4840         * libio/peekc.c (_IO_peekc_locked): Likewise.
4841         * libio/putc.c (_IO_putc): Likewise.
4842         * libio/putc_u.c (putc_unlocked): Likewise.
4843         * libio/putchar.c (putchar): Likewise.
4844         * libio/putchar_u.c (putchar_unlocked): Likewise.
4845         * libio/putwc.c (putwc): Likewise.
4846         * libio/putwc_u.c (putwc_unlocked): Likewise.
4847         * libio/putwchar.c (putwchar): Likewise.
4848         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4849         * libio/rewind.c (rewind): Likewise.
4850         * libio/setbuf.c (setbuf): Likewise.
4851         * libio/setlinebuf.c (setlinebuf): Likewise.
4852         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4853         * libio/vscanf.c (_IO_vscanf): Likewise.
4854         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4855         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4856         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4857         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4858         (_IO_switch_to_main_wget_area): Likewise.
4859         (_IO_switch_to_wbackup_area): Likewise.
4860         (_IO_wsetb): Likewise.
4861         (_IO_wdefault_pbackfail): Likewise.
4862         (_IO_wdefault_finish): Likewise.
4863         (_IO_wdefault_uflow): Likewise.
4864         (__woverflow): Likewise.
4865         (__wuflow): Likewise.
4866         (__wunderflow): Likewise.
4867         (_IO_wdefault_xsputn): Likewise.
4868         (_IO_wdefault_xsgetn): Likewise.
4869         (_IO_wdoallocbuf): Likewise.
4870         (_IO_wdefault_doallocate): Likewise.
4871         (_IO_switch_to_wget_mode): Likewise.
4872         (_IO_free_wbackup_area): Likewise.
4873         (_IO_switch_to_wput_mode): Likewise.
4874         (_IO_sputbackwc): Likewise.
4875         (_IO_sungetwc): Likewise.
4876         (_IO_adjust_wcolumn): Likewise.
4877         (_IO_init_wmarker): Likewise.
4878         (_IO_wmarker_delta): Likewise.
4879         (_IO_seekwmark): Likewise.
4880         (_IO_unsave_wmarkers): Likewise.
4881         * libio/wmemstream.c (open_wmemstream): Likewise.
4882         (_IO_wmem_sync): Likewise.
4883         (_IO_wmem_finish): Likewise.
4884         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4885         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4886         * locale/programs/simple-hash.c (init_hash): Likewise.
4887         (delete_hash): Likewise.
4888         (insert_entry): Likewise.
4889         (set_entry): Likewise.
4890         (next_prime): Likewise.
4891         (is_prime): Likewise.
4892         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4893         (xmalloc): Likewise.
4894         (xrealloc): Likewise.
4895         * locale/programs/xstrdup.c (xstrdup): Likewise.
4896         * localedata/collate-test.c (xstrcoll): Likewise.
4897         * localedata/xfrm-test.c (xstrcmp): Likewise.
4898         * login/getlogin_r.c (__getlogin_r): Likewise.
4899         * login/getpt.c (__posix_openpt): Likewise.
4900         * login/login_tty.c (login_tty): Likewise.
4901         * login/setlogin.c (setlogin): Likewise.
4902         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4903         (mach_msg_destroy_port): Likewise.
4904         (mach_msg_destroy_memory): Likewise.
4905         * malloc/mcheck.c (flood): Likewise.
4906         * misc/acct.c (acct): Likewise.
4907         * misc/brk.c (__brk): Likewise.
4908         * misc/chflags.c (chflags): Likewise.
4909         * misc/chroot.c (chroot): Likewise.
4910         * misc/fchflags.c (fchflags): Likewise.
4911         * misc/fstab.c (getfsspec): Likewise.
4912         (getfsfile): Likewise.
4913         * misc/fsync.c (fsync): Likewise.
4914         * misc/ftruncate.c (__ftruncate): Likewise.
4915         * misc/ftruncate64.c (__ftruncate64): Likewise.
4916         * misc/getdomain.c (getdomainname): Likewise.
4917         (getdomainname): Likewise.
4918         * misc/gethostname.c (__gethostname): Likewise.
4919         * misc/getpass.c (getpass): Likewise.
4920         * misc/getttyent.c (skip): Likewise.
4921         (value): Likewise.
4922         * misc/gtty.c (gtty): Likewise.
4923         * misc/hsearch.c (hsearch): Likewise.
4924         (hcreate): Likewise.
4925         * misc/hsearch_r.c (__hcreate_r): Likewise.
4926         (__hdestroy_r): Likewise.
4927         * misc/ioctl.c (__ioctl): Likewise.
4928         * misc/mkdtemp.c (mkdtemp): Likewise.
4929         * misc/mkostemp.c (mkostemp): Likewise.
4930         * misc/mkostemp64.c (mkostemp64): Likewise.
4931         * misc/mkostemps.c (mkostemps): Likewise.
4932         * misc/mkostemps64.c (mkostemps64): Likewise.
4933         * misc/mkstemp.c (mkstemp): Likewise.
4934         * misc/mkstemp64.c (mkstemp64): Likewise.
4935         * misc/mkstemps.c (mkstemps): Likewise.
4936         * misc/mkstemps64.c (mkstemps64): Likewise.
4937         * misc/mktemp.c (__mktemp): Likewise.
4938         * misc/preadv.c (preadv): Likewise.
4939         * misc/preadv64.c (preadv64): Likewise.
4940         * misc/pwritev.c (pwritev): Likewise.
4941         * misc/pwritev64.c (pwritev64): Likewise.
4942         * misc/readv.c (__readv): Likewise.
4943         * misc/revoke.c (revoke): Likewise.
4944         * misc/setdomain.c (setdomainname): Likewise.
4945         * misc/setegid.c (setegid): Likewise.
4946         * misc/seteuid.c (seteuid): Likewise.
4947         * misc/sethostid.c (sethostid): Likewise.
4948         * misc/sethostname.c (sethostname): Likewise.
4949         * misc/setregid.c (__setregid): Likewise.
4950         * misc/setreuid.c (__setreuid): Likewise.
4951         * misc/sstk.c (sstk): Likewise.
4952         * misc/stty.c (stty): Likewise.
4953         * misc/syscall.c (syscall): Likewise.
4954         * misc/syslog.c (setlogmask): Likewise.
4955         * misc/truncate.c (__truncate): Likewise.
4956         * misc/truncate64.c (truncate64): Likewise.
4957         * misc/ualarm.c (ualarm): Likewise.
4958         * misc/usleep.c (usleep): Likewise.
4959         * misc/ustat.c (ustat): Likewise.
4960         * misc/writev.c (__writev): Likewise.
4961         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4962         * nptl/old_pthread_cond_broadcast.c
4963         (__pthread_cond_broadcast_2_0): Likewise.
4964         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4965         Likewise.
4966         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4967         Likewise.
4968         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4969         Likewise.
4970         * nptl/pt-raise.c (raise): Likewise.
4971         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4972         Likewise.
4973         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4974         * nptl/pthread_barrierattr_destroy.c
4975         (pthread_barrierattr_destroy): Likewise.
4976         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4977         Likewise.
4978         * nptl/pthread_barrierattr_setpshared.c
4979         (pthread_barrierattr_setpshared): Likewise.
4980         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4981         Likewise.
4982         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4983         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4984         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4985         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4986         Likewise.
4987         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4988         Likewise.
4989         * nptl/pthread_condattr_getpshared.c
4990         (pthread_condattr_getpshared): Likewise.
4991         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4992         Likewise.
4993         * nptl/pthread_condattr_setpshared.c
4994         (pthread_condattr_setpshared): Likewise.
4995         * nptl/pthread_detach.c (pthread_detach): Likewise.
4996         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4997         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4998         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4999         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5000         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5001         Likewise.
5002         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5003         Likewise.
5004         * nptl/pthread_mutex_getprioceiling.c
5005         (pthread_mutex_getprioceiling): Likewise.
5006         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5007         Likewise.
5008         * nptl/pthread_mutexattr_getprotocol.c
5009         (pthread_mutexattr_getprotocol): Likewise.
5010         * nptl/pthread_mutexattr_getpshared.c
5011         (pthread_mutexattr_getpshared): Likewise.
5012         * nptl/pthread_mutexattr_getrobust.c
5013         (pthread_mutexattr_getrobust): Likewise.
5014         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5015         Likewise.
5016         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5017         Likewise.
5018         * nptl/pthread_mutexattr_setprioceiling.c
5019         (pthread_mutexattr_setprioceiling): Likewise.
5020         * nptl/pthread_mutexattr_setprotocol.c
5021         (pthread_mutexattr_setprotocol): Likewise.
5022         * nptl/pthread_mutexattr_setpshared.c
5023         (pthread_mutexattr_setpshared): Likewise.
5024         * nptl/pthread_mutexattr_setrobust.c
5025         (pthread_mutexattr_setrobust): Likewise.
5026         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5027         Likewise.
5028         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5029         Likewise.
5030         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5031         Likewise.
5032         * nptl/pthread_rwlockattr_getkind_np.c
5033         (pthread_rwlockattr_getkind_np): Likewise.
5034         * nptl/pthread_rwlockattr_getpshared.c
5035         (pthread_rwlockattr_getpshared): Likewise.
5036         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5037         Likewise.
5038         * nptl/pthread_rwlockattr_setkind_np.c
5039         (pthread_rwlockattr_setkind_np): Likewise.
5040         * nptl/pthread_rwlockattr_setpshared.c
5041         (pthread_rwlockattr_setpshared): Likewise.
5042         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5043         Likewise.
5044         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5045         Likewise.
5046         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5047         Likewise.
5048         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5049         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5050         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5051         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5052         * nptl/sem_close.c (sem_close): Likewise.
5053         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5054         * nptl/sem_init.c (__old_sem_init): Likewise.
5055         * nptl/sigaction.c (__sigaction): Likewise.
5056         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5057         * posix/_exit.c (_exit): Likewise.
5058         * posix/alarm.c (alarm): Likewise.
5059         * posix/confstr.c (confstr): Likewise.
5060         * posix/fpathconf.c (__fpathconf): Likewise.
5061         * posix/getgroups.c (__getgroups): Likewise.
5062         * posix/getpgid.c (__getpgid): Likewise.
5063         * posix/group_member.c (__group_member): Likewise.
5064         * posix/pathconf.c (__pathconf): Likewise.
5065         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5066         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5067         * posix/setgid.c (__setgid): Likewise.
5068         * posix/setpgid.c (__setpgid): Likewise.
5069         * posix/setuid.c (__setuid): Likewise.
5070         * posix/sleep.c (__sleep): Likewise.
5071         * posix/sysconf.c (__sysconf): Likewise.
5072         * posix/times.c (__times): Likewise.
5073         * posix/uname.c (__uname): Likewise.
5074         * posix/waitid.c (__waitid): Likewise.
5075         * pwd/getpw.c (__getpw): Likewise.
5076         * resolv/base64.c (b64_pton): Likewise.
5077         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5078         * resolv/gethnamaddr.c (Dprintf): Likewise.
5079         (gethostbyname): Likewise.
5080         (gethostbyname2): Likewise.
5081         (gethostbyaddr): Likewise.
5082         (_sethtent): Likewise.
5083         (_gethtbyname): Likewise.
5084         (_gethtbyname2): Likewise.
5085         (_gethtbyaddr): Likewise.
5086         (map_v4v6_address): Likewise.
5087         (map_v4v6_hostent): Likewise.
5088         (addrsort): Likewise.
5089         (ht_sethostent): Likewise.
5090         (ht_gethostbyname): Likewise.
5091         (ht_gethostbyaddr): Likewise.
5092         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5093         (inet_net_ntop_ipv4): Likewise.
5094         * resolv/inet_neta.c (inet_neta): Likewise.
5095         * resolv/inet_ntop.c (inet_ntop): Likewise.
5096         (inet_ntop4): Likewise.
5097         (inet_ntop6): Likewise.
5098         * resolv/inet_pton.c (__inet_pton): Likewise.
5099         (inet_pton4): Likewise.
5100         (inet_pton6): Likewise.
5101         * resolv/res_debug.c (loc_aton): Likewise.
5102         (loc_ntoa): Likewise.
5103         * resource/getpriority.c (__getpriority): Likewise.
5104         * resource/getrusage.c (__getrusage): Likewise.
5105         * resource/nice.c (nice): Likewise.
5106         * resource/setpriority.c (__setpriority): Likewise.
5107         * resource/setrlimit64.c (setrlimit64): Likewise.
5108         * resource/vlimit.c (vlimit): Likewise.
5109         * resource/vtimes.c (vtimes): Likewise.
5110         * rt/aio_error.c (aio_error): Likewise.
5111         * rt/aio_return.c (aio_return): Likewise.
5112         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5113         * signal/kill.c (__kill): Likewise.
5114         * signal/killpg.c (killpg): Likewise.
5115         * signal/raise.c (raise): Likewise.
5116         * signal/sigaction.c (__sigaction): Likewise.
5117         * signal/sigaddset.c (sigaddset): Likewise.
5118         * signal/sigaltstack.c (sigaltstack): Likewise.
5119         * signal/sigandset.c (sigandset): Likewise.
5120         * signal/sigblock.c (__sigblock): Likewise.
5121         * signal/sigdelset.c (sigdelset): Likewise.
5122         * signal/sigempty.c (sigemptyset): Likewise.
5123         * signal/sigfillset.c (sigfillset): Likewise.
5124         * signal/sighold.c (sighold): Likewise.
5125         * signal/sigignore.c (sigignore): Likewise.
5126         * signal/sigintr.c (siginterrupt): Likewise.
5127         * signal/sigisempty.c (sigisemptyset): Likewise.
5128         * signal/sigismem.c (sigismember): Likewise.
5129         * signal/signal.c (signal): Likewise.
5130         * signal/sigorset.c (sigorset): Likewise.
5131         * signal/sigpause.c (__sigpause): Likewise.
5132         * signal/sigpending.c (sigpending): Likewise.
5133         * signal/sigprocmask.c (__sigprocmask): Likewise.
5134         * signal/sigrelse.c (sigrelse): Likewise.
5135         * signal/sigreturn.c (__sigreturn): Likewise.
5136         * signal/sigset.c (sigset): Likewise.
5137         * signal/sigsetmask.c (__sigsetmask): Likewise.
5138         * signal/sigstack.c (sigstack): Likewise.
5139         * signal/sigsuspend.c (__sigsuspend): Likewise.
5140         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5141         * signal/sysv_signal.c (__sysv_signal): Likewise.
5142         * socket/accept.c (accept): Likewise.
5143         * socket/accept4.c (__libc_accept4): Likewise.
5144         * socket/bind.c (__bind): Likewise.
5145         * socket/connect.c (__connect): Likewise.
5146         * socket/getpeername.c (getpeername): Likewise.
5147         * socket/getsockname.c (__getsockname): Likewise.
5148         * socket/getsockopt.c (getsockopt): Likewise.
5149         * socket/listen.c (__listen): Likewise.
5150         * socket/recv.c (__recv): Likewise.
5151         * socket/recvmsg.c (__recvmsg): Likewise.
5152         * socket/send.c (__send): Likewise.
5153         * socket/sendmsg.c (__sendmsg): Likewise.
5154         * socket/shutdown.c (shutdown): Likewise.
5155         * socket/sockatmark.c (sockatmark): Likewise.
5156         * socket/socket.c (__socket): Likewise.
5157         * stdio-common/ctermid.c (ctermid): Likewise.
5158         * stdio-common/cuserid.c (cuserid): Likewise.
5159         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5160         * stdio-common/remove.c (remove): Likewise.
5161         * stdio-common/rename.c (rename): Likewise.
5162         * stdio-common/renameat.c (renameat): Likewise.
5163         * stdio-common/tempname.c (__gen_tempname): Likewise.
5164         * stdio-common/xbug.c (InitBuffer): Likewise.
5165         (AppendToBuffer): Likewise.
5166         (ReadFile): Likewise.
5167         * stdlib/a64l.c (a64l): Likewise.
5168         * stdlib/drand48_r.c (drand48_r): Likewise.
5169         * stdlib/getcontext.c (getcontext): Likewise.
5170         * stdlib/getenv.c (getenv): Likewise.
5171         * stdlib/l64a.c (l64a): Likewise.
5172         * stdlib/llabs.c (llabs): Likewise.
5173         * stdlib/lldiv.c (lldiv): Likewise.
5174         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5175         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5176         * stdlib/putenv.c (putenv): Likewise.
5177         * stdlib/random.c (__srandom): Likewise.
5178         (__initstate): Likewise.
5179         (__setstate): Likewise.
5180         * stdlib/random_r.c (__srandom_r): Likewise.
5181         (__setstate_r): Likewise.
5182         (__random_r): Likewise.
5183         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5184         * stdlib/setcontext.c (setcontext): Likewise.
5185         * stdlib/setenv.c (setenv): Likewise.
5186         (unsetenv): Likewise.
5187         * stdlib/srand48.c (srand48): Likewise.
5188         * stdlib/srand48_r.c (__srand48_r): Likewise.
5189         * stdlib/swapcontext.c (swapcontext): Likewise.
5190         * stdlib/system.c (__libc_system): Likewise.
5191         * stdlib/tst-strtod.c (expand): Likewise.
5192         * stdlib/tst-strtol.c (expand): Likewise.
5193         * stdlib/tst-strtoll.c (expand): Likewise.
5194         * streams/fattach.c (fattach): Likewise.
5195         * streams/fdetach.c (fdetach): Likewise.
5196         * streams/getmsg.c (getmsg): Likewise.
5197         * streams/isastream.c (isastream): Likewise.
5198         * string/ffs.c (__ffs): Likewise.
5199         * string/ffsll.c (ffsll): Likewise.
5200         * string/memcmp.c (memcmp_common_alignment): Likewise.
5201         (memcmp_not_common_alignment): Likewise.
5202         (MEMCMP): Likewise.
5203         * string/memcpy.c (memcpy): Likewise.
5204         * string/memmove.c (MEMMOVE): Likewise.
5205         * string/memset.c (memset): Likewise.
5206         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5207         * string/strchrnul.c (STRCHRNUL): Likewise.
5208         * string/strerror.c (strerror): Likewise.
5209         * string/strndup.c (__strndup): Likewise.
5210         * string/strverscmp.c (__strverscmp): Likewise.
5211         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5212         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5213         (clnttcp_freeres): Likewise.
5214         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5215         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5216         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5217         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5218         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5219         (xdr_callhdr): Likewise.
5220         * sunrpc/rpcinfo.c (udpping): Likewise.
5221         (tcpping): Likewise.
5222         (pstatus): Likewise.
5223         (pmapdump): Likewise.
5224         (brdcst): Likewise.
5225         (deletereg): Likewise.
5226         (getprognum): Likewise.
5227         (getvers): Likewise.
5228         (get_inet_address): Likewise.
5229         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5230         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5231         (svcudp_stat): Likewise.
5232         (svcudp_recv): Likewise.
5233         (svcudp_reply): Likewise.
5234         (svcudp_getargs): Likewise.
5235         (svcudp_freeargs): Likewise.
5236         (svcudp_destroy): Likewise.
5237         * sunrpc/xdr.c (xdr_bytes): Likewise.
5238         (xdr_netobj): Likewise.
5239         (xdr_string): Likewise.
5240         (xdr_wrapstring): Likewise.
5241         * sunrpc/xdr_float.c (xdr_float): Likewise.
5242         (xdr_double): Likewise.
5243         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5244         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5245         * sysvipc/ftok.c (ftok): Likewise.
5246         * sysvipc/msgctl.c (msgctl): Likewise.
5247         * sysvipc/msgget.c (msgget): Likewise.
5248         * sysvipc/msgrcv.c (msgrcv): Likewise.
5249         * sysvipc/msgsnd.c (msgsnd): Likewise.
5250         * sysvipc/semget.c (semget): Likewise.
5251         * sysvipc/semop.c (semop): Likewise.
5252         * sysvipc/shmat.c (shmat): Likewise.
5253         * sysvipc/shmctl.c (shmctl): Likewise.
5254         * sysvipc/shmdt.c (shmdt): Likewise.
5255         * sysvipc/shmget.c (shmget): Likewise.
5256         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5257         * termios/speed.c (cfgetospeed): Likewise.
5258         (cfgetispeed): Likewise.
5259         (cfsetospeed): Likewise.
5260         (cfsetispeed): Likewise.
5261         * termios/tcflow.c (tcflow): Likewise.
5262         * termios/tcflush.c (tcflush): Likewise.
5263         * termios/tcgetattr.c (__tcgetattr): Likewise.
5264         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5265         * termios/tcgetsid.c (tcgetsid): Likewise.
5266         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5267         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5268         * time/adjtime.c (__adjtime): Likewise.
5269         * time/dysize.c (dysize): Likewise.
5270         * time/ftime.c (ftime): Likewise.
5271         * time/getitimer.c (__getitimer): Likewise.
5272         * time/gettimeofday.c (__gettimeofday): Likewise.
5273         * time/gmtime.c (__gmtime_r): Likewise.
5274         (gmtime): Likewise.
5275         * time/localtime.c (__localtime_r): Likewise.
5276         (localtime): Likewise.
5277         * time/offtime.c (__offtime): Likewise.
5278         * time/settimeofday.c (__settimeofday): Likewise.
5279         * time/stime.c (stime): Likewise.
5280         * time/strftime_l.c (tm_diff): Likewise.
5281         (iso_week_days): Likewise.
5282         * time/strptime.c (strptime): Likewise.
5283         * time/time.c (time): Likewise.
5284         * time/timespec_get.c (timespec_get): Likewise.
5285         * time/tzset.c (tzset_internal): Likewise.
5286         (compute_change): Likewise.
5287         (__tz_compute): Likewise.
5288         * wcsmbs/btowc.c (__btowc): Likewise.
5289         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5290         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5291         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5292         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5293         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5294         * wcsmbs/wcscat.c (__wcscat): Likewise.
5295         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5296         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5297         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5298         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5299         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5300         * wcsmbs/wcslen.c (__wcslen): Likewise.
5301         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5302         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5303         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5304         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5305         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5306         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5307         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5308         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5309         * wcsmbs/wcstok.c (wcstok): Likewise.
5310         * wcsmbs/wctob.c (wctob): Likewise.
5311         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5312         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5313         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5314         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5315         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5316         * wcsmbs/wmemset.c (__wmemset): Likewise.
5317         * wctype/wcfuncs.c (__towlower): Likewise.
5318         (__towupper): Likewise.
5320         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5321         (lll_unlock_elision): Add adapt_count parameter.
5323 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5325         * sysdeps/nptl/configure.ac: Do not give errors based on the
5326         results of top-level configure tests.
5327         * sysdeps/nptl/configure: Regenerated.
5329         * configure.ac (libc_cv_Bgroup): Remove configure test.
5330         * configure: Regenerated.
5331         * config.make.in (have-Bgroup): Remove variable.
5333         * configure.ac (sizeof_long_double): Remove configure test.
5334         * configure: Regenerated.
5335         * config.make.in (sizeof-long-double): Remove variable.
5337         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5338         * configure: Regenerated.
5339         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5340         variable.
5341         (exceptions): Likewise.
5342         * sysdeps/arm/configure: Regenerated.
5343         * config.make.in (exceptions): Remove variable.
5344         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5345         $(exceptions).
5346         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5347         (CFLAGS-vdprintf_chk.c): Likewise.
5348         (CFLAGS-printf_chk.c): Likewise.
5349         (CFLAGS-fprintf_chk.c): Likewise.
5350         (CFLAGS-vprintf_chk.c): Likewise.
5351         (CFLAGS-vfprintf_chk.c): Likewise.
5352         (CFLAGS-gets_chk.c): Likewise.
5353         (CFLAGS-fgets_chk.c): Likewise.
5354         (CFLAGS-fgets_u_chk.c): Likewise.
5355         (CFLAGS-fread_chk.c): Likewise.
5356         (CFLAGS-fread_u_chk.c): Likewise.
5357         (CFLAGS-wprintf_chk.c): Likewise.
5358         (CFLAGS-fwprintf_chk.c): Likewise.
5359         (CFLAGS-vwprintf_chk.c): Likewise.
5360         (CFLAGS-vfwprintf_chk.c): Likewise.
5361         (CFLAGS-fgetws_chk.c): Likewise.
5362         (CFLAGS-fgetws_u_chk.c): Likewise.
5363         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5364         (CFLAGS-fputc.c): Likewise.
5365         (CFLAGS-fputwc.c): Likewise.
5366         (CFLAGS-freopen64.c): Likewise.
5367         (CFLAGS-freopen.c): Likewise.
5368         (CFLAGS-fseek.c): Likewise.
5369         (CFLAGS-fseeko64.c): Likewise.
5370         (CFLAGS-fseeko.c): Likewise.
5371         (CFLAGS-ftello64.c): Likewise.
5372         (CFLAGS-ftello.c): Likewise.
5373         (CFLAGS-fwide.c): Likewise.
5374         (CFLAGS-genops.c): Likewise.
5375         (CFLAGS-getc.c): Likewise.
5376         (CFLAGS-getchar.c): Likewise.
5377         (CFLAGS-getwc.c): Likewise.
5378         (CFLAGS-getwchar.c): Likewise.
5379         (CFLAGS-iofclose.c): Likewise.
5380         (CFLAGS-iofflush.c): Likewise.
5381         (CFLAGS-iofgetpos64.c): Likewise.
5382         (CFLAGS-iofgetpos.c): Likewise.
5383         (CFLAGS-iofgets.c): Likewise.
5384         (CFLAGS-iofgetws.c): Likewise.
5385         (CFLAGS-iofputs.c): Likewise.
5386         (CFLAGS-iofputws.c): Likewise.
5387         (CFLAGS-iofread.c): Likewise.
5388         (CFLAGS-iofsetpos64.c): Likewise.
5389         (CFLAGS-iofsetpos.c): Likewise.
5390         (CFLAGS-ioftell.c): Likewise.
5391         (CFLAGS-iofwrite.c): Likewise.
5392         (CFLAGS-iogetdelim.c): Likewise.
5393         (CFLAGS-iogetline.c): Likewise.
5394         (CFLAGS-iogets.c): Likewise.
5395         (CFLAGS-iogetwline.c): Likewise.
5396         (CFLAGS-ioputs.c): Likewise.
5397         (CFLAGS-ioseekoff.c): Likewise.
5398         (CFLAGS-ioseekpos.c): Likewise.
5399         (CFLAGS-iosetbuffer.c): Likewise.
5400         (CFLAGS-iosetvbuf.c): Likewise.
5401         (CFLAGS-ioungetc.c): Likewise.
5402         (CFLAGS-ioungetwc.c): Likewise.
5403         (CFLAGS-oldfileops.c): Likewise.
5404         (CFLAGS-oldiofclose.c): Likewise.
5405         (CFLAGS-oldiofgetpos64.c): Likewise.
5406         (CFLAGS-oldiofgetpos.c): Likewise.
5407         (CFLAGS-oldiofsetpos64.c): Likewise.
5408         (CFLAGS-oldiofsetpos.c): Likewise.
5409         (CFLAGS-peekc.c): Likewise.
5410         (CFLAGS-putc.c): Likewise.
5411         (CFLAGS-putchar.c): Likewise.
5412         (CFLAGS-putwc.c): Likewise.
5413         (CFLAGS-putwchar.c): Likewise.
5414         (CFLAGS-rewind.c): Likewise.
5415         (CFLAGS-wfileops.c): Likewise.
5416         (CFLAGS-wgenops.c): Likewise.
5417         (CFLAGS-oldiofopen.c): Likewise.
5418         (CFLAGS-iofopen.c): Likewise.
5419         (CFLAGS-iofopen64.c): Likewise.
5420         (CFLAGS-oldtmpfile.c): Likewise.
5421         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5422         (CFLAGS-fprintf.c): Likewise.
5423         (CFLAGS-printf.c): Likewise.
5424         (CFLAGS-vfwprintf.c): Likewise.
5425         (CFLAGS-vfscanf.c): Likewise.
5426         (CFLAGS-vfwscanf.c): Likewise.
5427         (CFLAGS-fscanf.c): Likewise.
5428         (CFLAGS-scanf.c): Likewise.
5429         (CFLAGS-isoc99_vfscanf.c): Likewise.
5430         (CFLAGS-isoc99_vscanf.c): Likewise.
5431         (CFLAGS-isoc99_fscanf.c): Likewise.
5432         (CFLAGS-isoc99_scanf.c): Likewise.
5433         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5434         (CFLAGS-isoc99_fwscanf.c): Likewise.
5435         (CFLAGS-isoc99_vwscanf.c): Likewise.
5436         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5438         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5439         after mkstemp64.
5440         * login/tst-utmp.c (do_prepare): Likewise.
5441         * rt/tst-aio.c (do_prepare): Likewise.
5442         * rt/tst-aio64.c (do_prepare): Likewise.
5444 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5446         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5447         (__lll_lock_elision): Remove adapt_count decrement...
5448         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5449         (__lll_trylock_elision): Likewise.
5450         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5451         (__lll_unlock_elision): ... to here. And utilize
5452         new adapt_count parameter.
5453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5454         (__lll_unlock_elision): Update to include adapt_count
5455         parameter.
5456         (lll_unlock_elision): Pass pointer to adapt_count
5457         variable.
5459 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5461         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5462         Add elision adapt_count parameter to list of arguments.
5463         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5464         (lll_unlock_elision): Update with new parameter list
5465         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5466         (lll_unlock_elision): Likewise.
5467         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5468         (lll_unlock_elision): Likewise.
5470 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5472         [BZ #19122]
5473         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5474         attribute_hidden.
5476         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5477         attribute_hidden.
5478         [IS_IN (rtld)] (__strdup): Likewise.
5479         [IS_IN (rtld)] (__strerror_r): Likewise.
5480         [IS_IN (rtld)] (__strsep_g): Likewise.
5481         [IS_IN (rtld)] (memchr): Likewise.
5482         [IS_IN (rtld)] (memcmp): Likewise.
5483         [IS_IN (rtld)] (memcpy): Likewise.
5484         [IS_IN (rtld)] (memmove): Likewise.
5485         [IS_IN (rtld)] (memset): Likewise.
5486         [IS_IN (rtld)] (rawmemchr): Likewise.
5487         [IS_IN (rtld)] (stpcpy): Likewise.
5488         [IS_IN (rtld)] (strchr): Likewise.
5489         [IS_IN (rtld)] (strcmp): Likewise.
5490         [IS_IN (rtld)] (strlen): Likewise.
5491         [IS_IN (rtld)] (strnlen): Likewise.
5492         [IS_IN (rtld)] (strsep): Likewise.
5494         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5495         attribute_hidden.
5496         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5498         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5499         attribute_hidden.
5500         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5502         * include/setjmp.h (__longjmp): Add attribute_hidden.
5503         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5505         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5506         Add attribute_hidden.
5508         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5509         [IS_IN (rtld)] (__open): Likewise.
5510         [IS_IN (rtld)] (__fcntl): Likewise.
5512         * include/dirent.h (__opendirat): Add attribute_hidden.
5513         (__getdents): Likewise.
5514         (__getdents64): Likewise.
5515         (__alloc_dir): Likewise.
5516         [IS_IN (rtld)] (__closedir): Likewise.
5517         [IS_IN (rtld)] (__fdopendir): Likewise.
5518         [IS_IN (rtld)] (__readdir): Likewise.
5519         [IS_IN (rtld)] (__readdir64): Likewise.
5520         [IS_IN (rtld)] (__rewinddir): Likewise.
5522         * include/dlfcn.h (_dl_catch_error): Moved to ...
5523         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5524         attribute_hidden.
5526         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5527         (_itoa_word): Likewise.
5529         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5530         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5531         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5532         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5533         (_dl_higher_prime_number): Likewise.
5534         (_dl_debug_printf_c): Likewise.
5535         (_dl_signal_cerror): Likewise.
5536         (_dl_receive_error): Likewise.
5537         (_dl_reloc_bad_type): Likewise.
5538         (_dl_resolve_conflicts): Likewise.
5539         (_dl_check_all_versions): Likewise.
5540         (_dl_check_map_versions): Likewise.
5541         (_dl_sort_fini): Likewise.
5542         (_dl_debug_initialize): Likewise.
5543         (_dl_init_paths): Likewise.
5544         (_dl_show_auxv): Likewise.
5545         (_dl_next_ld_env_entry): Likewise.
5546         (_dl_important_hwcaps): Likewise.
5547         (_dl_load_cache_lookup): Likewise.
5548         (_dl_update_slotinfo): Likewise.
5549         (_dl_show_scope): Likewise.
5551         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5552         attribute_hidden.
5553         (_wordcopy_fwd_dest_aligned): Likewise.
5554         (_wordcopy_bwd_aligned): Likewise.
5555         (_wordcopy_bwd_dest_aligned): Likewise.
5557         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5558         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5559         Likewise.
5560         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5561         Likewise.
5562         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5564 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5566         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5567         GCC 5 requirement.
5569 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5571         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5572         test.
5573         * sysdeps/i386/configure: Regenerated.
5574         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5575         code unconditional.
5577         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5578         test.
5579         (libc_cv_asm_popsection_directive): Likewise.
5580         * configure: Regenerated.
5581         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5582         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5583         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5584         (__make_section_unallocated): Make definition unconditional.
5585         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5586         Remove conditional definition.
5587         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5588         (__make_section_unallocated): Likewise.
5590         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5591         * configure: Regenerated.
5592         * config.make.in (static-libgcc): Remove variable.
5593         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5594         $(static-libgcc).
5595         (build-module-helper): Likewise.
5597         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5598         * configure: Regenerated.
5600 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5602         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5603         (struct char_buffer): New type.
5604         (char_buffer_start, char_buffer_size, char_buffer_error)
5605         (char_buffer_rewind, char_buffer_add): New functions.
5606         (ADDW): Remove macro, replaced by the char_buffer_add function.
5607         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5608         of extend_alloca.  Make control flow more explicit.
5610 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5612         [BZ #19137]
5613         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5614         Add -fomit-frame-pointer.
5615         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5617 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5619         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5620         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5621         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5622         only if !__GNUC_PREREQ (5,0).
5623         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5624         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5625         (INTERNAL_SYSCALL_NCS): Likewise.
5626         (LOADREGS_0): New macro for GCC 5.
5627         (ASMARGS_0): Likewise.
5628         (LOADREGS_1): Likewise.
5629         (ASMARGS_1): Likewise.
5630         (LOADREGS_2): Likewise.
5631         (ASMARGS_2): Likewise.
5632         (LOADREGS_3): Likewise.
5633         (ASMARGS_3): Likewise.
5634         (LOADREGS_4): Likewise.
5635         (ASMARGS_4): Likewise.
5636         (LOADREGS_5): Likewise.
5637         (ASMARGS_5): Likewise.
5638         (LOADREGS_6): Likewise.
5639         (ASMARGS_6): Likewise.
5641 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5643         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5644         -fomit-frame-pointer.
5645         (CFLAGS-mmap64.c): Likewise.
5646         (CFLAGS-semtimedop.c): Likewise.
5647         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5648         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5649         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5650         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5652 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5654         [BZ #18928]
5655         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5656         _dl_pointer_guard member.
5657         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5658         initializer.
5659         (security_init): Always set up pointer guard.
5660         (process_envvars): Do not process LD_POINTER_GUARD.
5662 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5664         [BZ #19134]
5665         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5666         (.LC2): Likewise.
5667         (.LC3): Likewise.
5668         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5670 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5672         [BZ #19129]
5673         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5674         r0 and r1.
5676 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5678         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5680 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5682         * include/stap-probe.h: Fix macro definition formatting.
5684 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5686         [BZ #19074]
5687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5688         load and store num_ifs.
5690 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5692         [BZ #18822]
5693         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5694         (__sched_getaffinity_new): Add libc_hidden_proto and
5695         libc_hidden_def.
5697 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5699         [BZ #19007]
5700         * scripts/localplt.awk: Also allow GOT references.
5701         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5702         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5703         with "+ REL R_386_GLOB_DAT".
5704         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5705         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5707 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5709         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5710         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5712         Likewise.
5713         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5714         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5715         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5716         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5717         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5718         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5719         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5720         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5721         Likewise.
5722         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5724 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5726         [BZ #19125]
5727         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5728         <math_private.h> and <stdint.h>.
5729         (__llround): Avoid conversions to and from long long int, and
5730         subtractions, where those might raise spurious exceptions.
5731         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5732         <math_private.h> and <stdint.h>.
5733         (__llroundf): Avoid conversions to and from long long int, and
5734         subtractions, where those might raise spurious exceptions.
5736 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5738         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5739         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5740         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5741         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5742         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5743         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5744         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5745         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5746         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5747         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5748         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5749         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5750         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5751         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5752         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5753         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5754         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5755         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5756         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5757         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5758         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5759         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5760         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5761         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5762         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5763         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5764         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5765         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5766         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5767         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5768         (__xstat64_conv): Likewise.
5769         (__xstat32_conv): Likewise.
5771 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5773         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5774         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5775         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5776         <sysdeps/unix/sysv/linux/sysdep.h>.
5777         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5778         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5779         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5781         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5782         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5783         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5784         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5785         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5790         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5791         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5793         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5794         (sysdep-dl-routines): Add sysdep.
5795         [$(subdir) == nptl] (libpthread-routines): Likewise.
5796         [$(subdir) == rt] (librt-routines): Likewise.
5797         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5798         PIC when branching to SYSCALL_ERROR_LABEL.
5799         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5800         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5801         <sysdeps/unix/sysv/linux/sysdep.h>.
5802         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5803         (SYSCALL_ERROR_ERRNO): Removed.
5804         (SYSCALL_ERROR_HANDLER): Changed to empty.
5805         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5806         (__syscall_error): New prototype.
5807         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5808         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5810 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5812         [BZ #19124]
5813         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5814         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5815         _dl_runtime_resolve_avx.
5816         (_dl_runtime_profile_avx512): Make it a hidden alias of
5817         _dl_runtime_profile_avx.
5819 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5821         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5822         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5823         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5824         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5826         [BZ #16422]
5827         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5828         New configure test.
5829         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5830         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5831         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5832         <math_private.h> and <stdint.h>.
5833         (__llrint): Avoid conversions to long long int where those might
5834         raise spurious exceptions.
5835         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5836         <math_private.h> and <stdint.h>.
5837         (__llrintf): Avoid conversions to long long int where those might
5838         raise spurious exceptions.
5840 2015-10-12  Andreas Schwab  <schwab@suse.de>
5842         [BZ #18969]
5843         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5844         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5845         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5846         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5847         $(gen-locales).
5848         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5849         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5850         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5851         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5852         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5853         $(gen-locales).
5854         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5855         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5856         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5857         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5858         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5859         ($(objpfx)tst-ftell-active-handler.out)
5860         ($(objpfx)tst-ftell-append.out)
5861         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5862         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5863         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5864         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5865         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5866         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5867         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5868         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5869         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5870         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5871         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5872         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5873         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5874         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5875         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5876         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5877         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5878         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5879         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5880         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5881         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5882         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5883         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5884         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5885         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5886         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5887         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5888         $(gen-locales).
5889         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5890         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5891         $(gen-locales).
5892         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5893         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5894         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5895         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5896         $(gen-locales).
5897         * libio/tst_wprintf2.c (main): Use explicit locale.
5898         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5900 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5902         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5903         __msg_sig_post.
5904         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5906 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5908         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5909         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5911         * sysdeps/arm/libm-test-ulps: Regenerated.
5913         [BZ #15470]
5914         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5916         [BZ #16399]
5917         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5918         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5919         and <fix-fp-int-convert-overflow.h>.
5920         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5921         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5922         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5923         and <fix-fp-int-convert-overflow.h>.
5924         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5925         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5926         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5927         <fix-fp-int-convert-overflow.h>.
5928         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5929         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5930         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5931         <fix-fp-int-convert-overflow.h>.
5932         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5933         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5934         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5935         and <fix-fp-int-convert-overflow.h>.
5936         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5937         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5938         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5939         <limits.h> and <fix-fp-int-convert-overflow.h>.
5940         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5941         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5942         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5943         and <fix-fp-int-convert-overflow.h>.
5944         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5945         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5946         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5947         and <fix-fp-int-convert-overflow.h>.
5948         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5949         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5950         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5952 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5954         [BZ #18589]
5955         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5956         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5957         $(gen-locales).
5959 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5960             Phil Blundell <pb@pbcl.net>
5962         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5963         * nptl/tst-cancel26.c: New file.
5964         * nptl/tst-cancel27.c: Likewise.
5966 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5968         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5969         __ILP32__ isn't defined.
5970         (lrint): Likewise.
5971         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5972         (lrintf): Likewise.
5973         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5974         (lrintl): Likewise.
5975         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5976         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5977         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5979 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5982         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5984         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5985         file.
5986         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5987         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5989 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5991         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5992         configure test.
5993         * sysdeps/i386/configure: Regenerated.
5994         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5995         configure test.
5996         * sysdeps/x86_64/configure: Regenerated.
5997         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5998         Make code unconditional.
6000         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6001         test.
6002         * sysdeps/i386/configure: Regenerated.
6003         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6004         test.
6005         * sysdeps/x86_64/configure: Regenerated.
6006         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6007         Make code unconditional.
6008         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6009         Likewise.
6010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6011         Likewise.
6012         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6013         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6014         code unconditional.
6015         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6016         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6017         code unconditional.
6018         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6019         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6020         code unconditional.
6021         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6022         code unconditional.
6023         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6024         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6025         code unconditional.
6026         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6027         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6028         code unconditional.
6029         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6030         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6031         code unconditional.
6032         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6033         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6034         code unconditional.
6035         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6036         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6038         [BZ #19095]
6039         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6040         mantissa to long int before shifting left.
6042 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6044         [BZ #19094]
6045         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6046         <limits.h>.
6047         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6048         when result overflows but exception would not result from cast.
6049         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6050         <limits.h>.
6051         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6052         when result overflows but exception would not result from cast.
6053         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6054         <limits.h>.
6055         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6056         when result overflows but exception would not result from cast.
6057         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6058         <limits.h>.
6059         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6060         when result overflows but exception would not result from cast.
6061         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6062         <limits.h>.
6063         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6064         when result overflows but exception would not result from cast.
6065         * math/libm-test.inc (lrint_test_data): Add more tests.
6066         (llrint_test_data): Likewise.
6068 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6070         [BZ #18872]
6071         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6072         Move out from under [$(run-built-tests) = yes] conditional.
6073         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6074         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6076 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6078         [BZ #18589]
6079         * string/Makefile (tests): Add bug-strcoll2.
6080         (LOCALES): Add cs_CZ.UTF-8.
6081         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6083         [BZ #18589]
6084         * string/bug-strcoll2.c: New file.
6085         * locale/categories.def: Revert commit
6086         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6087         * locale/langinfo.h: Likewise.
6088         * locale/localeinfo.h: Likewise.
6089         * locale/C-collate.c: Likewise.
6090         * locale/programs/ld-collate.c (collate_output): Likewise.
6091         * string/strcoll_l.c (STRDIFF): Likewise.
6092         (STRCOLL): Likewise.
6093         * wcsmbs/wcscoll_l.c: Likewise.
6095 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6097         * math/libm-test.inc (lround_test_data): Do not expect the absence
6098         of "inexact" for some tests with non-integer arguments.
6099         (llround_test_data): Likewise.
6101         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6102         test.
6103         (libc_cv_cc_sse2avx): Likewise.
6104         * sysdeps/i386/configure: Regenerated.
6105         * sysdeps/i386/i686/multiarch/Makefile
6106         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6107         [$(subdir) = math].
6108         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6109         code unconditional.
6110         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6111         Likewise.
6112         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6113         Likewise.
6114         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6115         Likewise.
6116         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6117         test.
6118         (libc_cv_cc_sse2avx): Likewise.
6119         * sysdeps/x86_64/configure: Regenerated.
6120         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6121         unconditional.
6122         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6123         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6124         unconditional.
6125         (_dl_runtime_profile)
6126         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6127         conditional code.
6128         * sysdeps/x86_64/fpu/multiarch/Makefile
6129         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6131         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6132         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6133         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6134         * sysdeps/x86_64/fpu/multiarch/e_log.c
6135         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6136         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6137         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6138         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6139         Likewise.
6140         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6141         Likewise.
6142         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6143         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6144         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6146         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6147         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6148         (HAVE_SSE2AVX_SUPPORT): Likewise.
6150 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6152         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6153         instead of #pragma optimize.
6155 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6157         [BZ #17195]
6158         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6159         as is similarly done in systrim and _int_free already.
6161 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6163         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6165 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6167         [BZ #19088]
6168         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6169         <limits.h>.
6170         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6171         overflows but exception would not result from cast.
6172         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6173         and <limits.h>.
6174         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6175         overflows but exception would not result from cast.
6176         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6177         <limits.h>.
6178         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6179         overflows but exception would not result from cast.
6180         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6181         <limits.h>.
6182         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6183         overflows but exception would not result from cast.
6184         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6185         <limits.h>.
6186         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6187         overflows but exception would not result from cast.
6188         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6189         <limits.h>.
6190         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6191         overflows but exception would not result from cast.
6192         * math/libm-test.inc (lround_test_data): Add more tests.
6193         (llround_test_data): Likewise.
6195 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6197         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6198         (CFLAGS-ialloc.c): Ditto.
6199         (CFLAGS-scheck.c): Ditto.
6201 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6203         [BZ #19086]
6204         * manual/filesys.texi (Storage Allocation): Fix argument order for
6205         posix_fallocate64.
6207 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6209         [BZ #19085]
6210         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6211         exponent below 48 inside case for non-overflowing exponent.
6212         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6214 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6216         * iconvdata/cp737.h (from_idx): Add const.
6217         * iconvdata/cp775.h (from_idx): Likewise.
6219 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6221         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6222         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6223         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6225         [BZ #19079]
6226         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6227         file, conditioned on [!_LP64].
6228         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6229         [!_LP64] (__lround): Do not define as function or alias.
6230         [!_LP64] (lround): Likewise.
6231         [!_LP64] (__lroundl): Likewise.
6232         [!_LP64] (lroundl): Likewise.
6233         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6234         macro.
6235         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6236         Likewise.
6238 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6240         * math/libm-test.inc (lrint_test_data): Add more tests.
6241         (llrint_test_data): Likewise.
6242         (lround_test_data): Likewise.
6243         (llround_test_data): Likewise.
6245         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6246         (llrint_test_data): Add tests used for lrint.
6248         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6249         test.
6250         * sysdeps/i386/configure: Regenerated.
6251         * sysdeps/i386/i686/multiarch/Makefile
6252         [$(config-cflags-sse4) = yes]: Make code unconditional.
6253         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6254         Likewise.
6255         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6256         Likewise.
6257         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6258         test.
6259         * sysdeps/x86_64/configure: Regenerated.
6260         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6261         Make code unconditional.
6262         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6263         Likewise.
6264         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6265         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6267         * scripts/rpm2dynsym.sh: Remove file.
6269 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6271         * configure.ac (libc_cv_cxx_thread_local): Define.
6272         * configure: Regenerate.
6273         * config.make.in (have-cxx-thread_local): Define.
6274         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6275         (LDLIBS-tst-thread_local1): Define.
6276         (tests): Add tst-thread_local1.
6277         [have-cxx-thread_local != yes] (tests-unsupported): Add
6278         tst-thread_local1.
6279         * nptl/tst-thread_local1.cc: New file.
6281 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6283         [BZ #19078]
6284         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6285         (u_thres): Likewise.
6286         (__expl): Determine whether to call __kernel_standard_l based on
6287         value of result, not argument.
6289         * math/libm-test.inc (scalb_test_data): Add more expectations for
6290         the "inexact" exception.
6292         [BZ #19077]
6293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6294         0.0L for argument 1.0L.
6296         [BZ #19076]
6297         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6298         constant 0.0L when computing infinite result.
6300 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6302         [BZ #10432]
6303         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6304         malloc_usable_size.
6306 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6308         [BZ #19018]
6309         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6310         Mangle function pointer before storing it.
6311         (__call_tls_dtors): Demangle function pointer before calling it.
6313 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6315         [BZ #19012]
6316         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6317         Clean up on failure.
6319 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6321         [BZ #19071]
6322         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6323         long int variable to store possibly incremented high part of
6324         mantissa.
6325         * math/libm-test.inc (lround_test_data): Add tests used for
6326         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6327         for tests requiring 64-bit long.  Do not condition tests on
6328         [TEST_FLOAT] unnecessarily.
6329         (llround_test_data): Add tests used for lround.  Add another
6330         expectation for the "inexact" exception.  Do not condition tests
6331         on [TEST_FLOAT] unnecessarily.
6333         [BZ #887]
6334         [BZ #19049]
6335         [BZ #19050]
6336         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6337         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6338         <fix-int-fp-convert-zero.h>.
6339         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6340         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6341         <fix-int-fp-convert-zero.h>.
6342         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6343         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6344         <fix-int-fp-convert-zero.h>.
6345         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6346         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6347         <fix-int-fp-convert-zero.h>.
6348         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6349         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6350         <fix-int-fp-convert-zero.h>.
6351         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6352         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6353         <fix-int-fp-convert-zero.h>.
6354         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6355         * sysdeps/ieee754/flt-32/s_erff.c: Include
6356         <fix-int-fp-convert-zero.h>.
6357         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6358         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6359         <fix-int-fp-convert-zero.h>.
6360         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6362         <fix-int-fp-convert-zero.h>.
6363         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6364         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6365         <fix-int-fp-convert-zero.h>.
6366         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6367         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6368         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6369         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6370         file.
6371         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6373 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6377 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6379         [BZ #19059]
6380         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6381         overflowing computation.
6382         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6383         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6384         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6385         Likewise.
6386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6387         Likewise.
6388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6389         Likewise.
6390         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6391         Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6394         Likewise.
6395         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6396         Likewise.
6397         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6399         * nss/rewrite_field.c (__nss_rewrite_field): Use
6400         internal_function.
6401         * nss/valid_field.c (__nss_valid_field): Likewise.
6402         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6404 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6406         [BZ #18724]
6407         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6408         (__nss_invalid_field_characters, __nss_valid_field)
6409         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6410         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6411         tst-field.c: New file.
6412         * nss/Makefile (routines): Add valid_field, rewrite_field.
6413         (tests-static): Define unconditionally.
6414         (tests): Include tests-static.
6415         [build-static-nss] (tests-static): Use append.
6416         [build-static-nss] (tests): Remove modification.
6417         * nss/getent.c (print_group): Call putgrent.  Report error.
6418         (print_gshadow): Call putsgent.  Report error.
6419         (print_passwd): Call putpwent.  Report error.
6420         (print_shadow): Call putspent.  Report error.
6421         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6422         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6423         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6424         name, password, directory, shell fields for valid syntax.  Rewrite
6425         GECOS field to match syntax.
6426         * pwd/Makefile (tests): Add tst-putpwent.
6427         * pwd/tst-putpwent.c: New file.
6428         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6429         Check grName, grpasswd, gr_mem fields for valid syntax.
6430         Change loop variable i to size_t.
6431         * grp/Makefile (tests): Add tst-putgrent.
6432         * grp/tst-putgrent.c: New file.
6433         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6434         valid syntax.
6435         * shadow/Makefile (tests): Add tst-putspent.
6436         * shadow/tst-putspent.c: New file.
6437         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6438         sg_mem fields for valid syntax.
6439         * gshadow/Makefile (tests): Add tst-putsgent.
6440         * gshadow/tst-putsgent.c: New file.
6442 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6444         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6445         assembly instructions.
6447 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6449         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6450         prefix from operands.
6452 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6454         [BZ #16347]
6455         [BZ #19046]
6456         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6457         <libc-internal.h>.
6458         (MAXLGM): Do not use diagnostic control macros.
6459         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6460         threshold for ldbl-128ibm.
6461         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6462         instead of multiplying by log then subtracting.
6463         * math/auto-libm-test-in: Add more tests of lgamma.
6464         * math/auto-libm-test-out: Regenerated.
6466         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6467         (TYPE_HEX_DIG): Likewise.
6468         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6469         precisions when printing floating-point numbers.
6470         (check_float_internal): Likewise.
6472 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6474         [BZ #16620]
6475         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6476         of log (10) rounded downward to 48 bits.
6477         (log10_low): Use corresponding low part of log (10).
6479         [BZ #19032]
6480         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6481         compute result as (x - x) / (x - x) not as 0 / 0.
6482         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6483         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6485         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6486         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6487         and expm1.
6488         * math/auto-libm-test-out: Regenerated.
6489         * math/libm-test.inc (acos_test_data): Add more tests.
6490         (asin_test_data): Likewise.
6491         (asinh_test_data): Likewise.
6492         (atan_test_data): Likewise.
6493         (atanh_test_data): Likewise.
6494         (atan2_test_data): Likewise.
6495         (cbrt_test_data): Likewise.
6496         (ceil_test_data): Likewise.
6497         (copysign_test_data): Likewise.
6498         (cos_test_data): Likewise.
6499         (cosh_test_data): Likewise.
6500         (erf_test_data): Likewise.
6501         (erfc_test_data): Likewise.
6502         (exp_test_data): Likewise.
6503         (exp10_test_data): Likewise.
6504         (exp2_test_data): Likewise.
6505         (expm1_test_data): Likewise.
6506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6508 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6510         [BZ #19006]
6511         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6512         to ...
6513         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6514         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6515         to ...
6516         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6517         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6518         to ...
6519         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6520         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6521         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6522         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6523         to ...
6524         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6525         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6526         Moved to ...
6527         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6529         Moved to ...
6530         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6531         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6532         to ...
6533         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6534         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6535         Moved to ...
6536         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6537         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6538         to ...
6539         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6540         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6541         Removed.
6542         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6545         Likewise.
6546         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6547         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6556         Likewise.
6557         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6558         Likewise.
6559         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6560         Likewise.
6561         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6562         Likewise.
6563         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6564         Likewise.
6565         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6566         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6577         Replace ../i486/pthread_cond_timedwait.S with
6578         ../pthread_cond_timedwait.S.
6580 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6582         * math/libm-test.inc (acos_test_data): Refine expectations for
6583         errno and "inexact" exceptions.
6584         (acosh_test_data): Likewise.
6585         (asin_test_data): Likewise.
6586         (asinh_test_data): Likewise.
6587         (atan_test_data): Likewise.
6588         (atanh_test_data): Likewise.
6589         (atan2_test_data): Likewise.
6590         (cbrt_test_data): Likewise.
6591         (ceil_test_data): Likewise.
6592         (copysign_test_data): Likewise.
6593         (cosh_test_data): Likewise.
6594         (erf_test_data): Likewise.
6595         (erfc_test_data): Likewise.
6596         (exp_test_data): Likewise.
6597         (exp10_test_data): Likewise.
6598         (exp2_test_data): Likewise.
6599         (expm1_test_data): Likewise.
6600         (fabs_test_data): Likewise.
6601         (floor_test_data): Likewise.
6602         (fma_test_data): Likewise.
6603         (fmax_test_data): Likewise.
6604         (fmin_test_data): Likewise.
6605         (fmod_test_data): Likewise.
6606         (fpclassify_test_data): Likewise.
6607         (frexp_test_data): Likewise.
6608         (hypot_test_data): Likewise.
6609         (ilogb_test_data): Likewise.
6610         (isgreater_test_data): Likewise.
6611         (isgreaterequal_test_data): Likewise.
6612         (isinf_test_data): Likewise.
6613         (isless_test_data): Likewise.
6614         (islessequal_test_data): Likewise.
6615         (islessgreater_test_data): Likewise.
6616         (isnan_test_data): Likewise.
6617         (isnormal_test_data): Likewise.
6618         (issignaling_test_data): Likewise.
6619         (isunordered_test_data): Likewise.
6620         (j0_test_data): Likewise.
6621         (j1_test_data): Likewise.
6622         (jn_test_data): Likewise.
6623         (lgamma_test_data): Likewise.
6624         (lrint_test_data): Likewise.
6625         (llrint_test_data): Likewise.
6626         (log_test_data): Likewise.
6627         (log10_test_data): Likewise.
6628         (log1p_test_data): Likewise.
6629         (log2_test_data): Likewise.
6630         (logb_test_data): Likewise.
6631         (lround_test_data): Likewise.
6632         (llround_test_data): Likewise.
6633         (modf_test_data): Likewise.
6634         (nearbyint_test_data): Likewise.
6635         (nextafter_test_data): Likewise.
6636         (nexttoward_test_data): Likewise.
6637         (pow_test_data): Likewise.
6638         (remainder_test_data): Likewise.
6639         (remquo_test_data): Likewise.
6640         (rint_test_data): Likewise.
6641         (round_test_data): Likewise.
6642         (signbit_test_data): Likewise.
6643         (sinh_test_data): Likewise.
6644         (sqrt_test_data): Likewise.
6645         (tanh_test_data): Likewise.
6646         (tgamma_test_data): Likewise.
6647         (trunc_test_data): Likewise.
6648         (y0_test_data): Likewise.
6649         (y1_test_data): Likewise.
6650         (yn_test_data): Likewise.
6651         (significand_test_data): Likewise.
6653 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6655         * manual/filesys.texi (Storage Allocation): Document that
6656         posix_fallocate emulation fails when fd is open with O_WRONLY.
6658 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6660         [BZ #19016]
6661         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6662         allow more cases with X^2 + Y^2 >= 0.5.
6663         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6664         normal element in sum instead of special-casing based on values of
6665         arguments.
6666         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6667         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6668         -1 as normal element in sum instead of special-casing based on
6669         values of arguments.
6670         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6671         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6672         (__x2y2m1): Update comment.
6673         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6674         as normal element in sum instead of special-casing based on values
6675         of arguments.
6676         * math/s_clog.c (__clog): Handle more cases using log1p without
6677         hypot.
6678         * math/s_clog10.c (__clog10): Likewise.
6679         * math/s_clog10f.c (__clog10f): Likewise.
6680         * math/s_clog10l.c (__clog10l): Likewise.
6681         * math/s_clogf.c (__clogf): Likewise.
6682         * math/s_clogl.c (__clogl): Likewise.
6683         * math/auto-libm-test-in: Add more tests of clog and clog10.
6684         * math/auto-libm-test-out: Regenerated.
6685         * sysdeps/i386/fpu/libm-test-ulps: Update.
6686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6688 2015-09-28  Martin Sebor  <msebor@redhat.com>
6690         [BZ #18969]
6691         * string/Makefile (LOCALES): Define.
6692         (gen-locales.mk): Include.
6693         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6694         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6695         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6696         on setlocale failure.
6698 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6700         [BZ #18985]
6701         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6702         (__strftime_internal): Likewise.
6703         * time/tst-strftime.c (do_bz18985): New test.
6704         (do_test): Call it.
6706 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6708         [BZ #18956]
6709         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6710         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6711         extracting high part.
6712         * math/auto-libm-test-in: Add another test of pow.
6713         * math/auto-libm-test-out: Regenerated.
6714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6716 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #18825]
6719         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6720         New macro.
6721         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6722         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6723         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6724         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6725         DBL_NARROW_EVAL, reloading the PIC register as needed.
6726         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6727         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6728         FLT_NARROW_EVAL.  Use separate return path for case when first
6729         argument is NaN.
6730         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6731         DEFINE_LDBL_MIN.
6732         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6733         PIC register.
6734         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6735         math_check_force_underflow_nonneg.
6736         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6737         underflow for subnormal result.
6738         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6740         math_check_force_underflow_nonneg.
6741         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6742         math_check_force_underflow.
6743         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6744         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6745         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6746         DEFINE_LDBL_MIN.
6747         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6748         * math/auto-libm-test-in: Add more tests of pow.
6749         * math/auto-libm-test-out: Regenerated.
6751 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6753         * nss/bug17079.c (init_test_items): Add diagnostic for
6754         inconsistent entries.
6755         (test_buffer_size): Skip inconsistent entries.
6757 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6759         [BZ #13304]
6760         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6761         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6762         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6764         [BZ #13304]
6765         * sysdeps/microblaze/s_fma.c: New file.
6766         * sysdeps/microblaze/s_fmaf.c: Likewise.
6767         * sysdeps/microblaze/sfp-machine.h: Likewise.
6769 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6771         [BZ #17250]
6772         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6773         member.
6775 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6777         [BZ #18803]
6778         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6779         (MO): New macro.
6780         (__ieee754_hypot) [PIC]: Load PIC register.
6781         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6782         DBL_NARROW_EVAL.
6783         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6784         math_check_force_underflow_nonneg in case where result might be
6785         tiny.
6786         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6787         Likewise.
6788         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6789         Likewise.
6790         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6791         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6792         * math/auto-libm-test-in: Add more tests of hypot.
6793         * math/auto-libm-test-out: Regenerated.
6795 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6797         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6799 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6801         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6802         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6803         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6804         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6805         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6806         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6807         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6809         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6810         LOAD_PIC_REG.
6812         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6813         (FLT_CHECK_FORCE_UFLOW): Likewise.
6814         (DBL_CHECK_FORCE_UFLOW): Likewise.
6815         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6816         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6817         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6818         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6819         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6820         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6821         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6822         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6823         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6824         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6825         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6826         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6827         (flt_min): Replace with use of DEFINE_FLT_MIN.
6828         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6829         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6830         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6831         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6832         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6833         (flt_min): Replace with use of DEFINE_FLT_MIN.
6834         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6835         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6836         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6837         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6838         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6839         (flt_min): Replace with use of DEFINE_FLT_MIN.
6840         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6841         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6842         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6843         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6844         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6845         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6846         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6847         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6848         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6849         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6850         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6851         (flt_min): Replace with use of DEFINE_FLT_MIN.
6852         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6853         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6854         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6855         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6856         main computation.
6857         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6858         (flt_min): Replace with use of DEFINE_FLT_MIN.
6859         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6860         main computation.
6861         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6862         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6863         (MO): New macro.
6864         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6865         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6866         (flt_min): Replace with use of DEFINE_FLT_MIN.
6867         (MO): New macro.
6868         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6869         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6870         (__log1pl): Use MO.
6872         [BZ #19003]
6873         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6874         $(config-cflags-nofma).
6876 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6878         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6880 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6882         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6883         (TWO127): Likewise.
6885         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6886         (min_of_type): Likewise.
6887         (math_check_force_underflow): Likewise.
6888         (math_check_force_underflow_nonneg): Likewise.
6889         (math_check_force_underflow_complex): Likewise.
6890         * math/e_exp2l.c (__ieee754_exp2l): Use
6891         math_check_force_underflow_nonneg.
6892         * math/k_casinh.c (__kernel_casinh): Likewise.
6893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6895         * math/s_catan.c (__catan): Use
6896         math_check_force_underflow_complex.
6897         * math/s_catanf.c (__catanf): Likewise.
6898         * math/s_catanh.c (__catanh): Likewise.
6899         * math/s_catanhf.c (__catanhf): Likewise.
6900         * math/s_catanhl.c (__catanhl): Likewise.
6901         * math/s_catanl.c (__catanl): Likewise.
6902         * math/s_ccosh.c (__ccosh): Likewise.
6903         * math/s_ccoshf.c (__ccoshf): Likewise.
6904         * math/s_ccoshl.c (__ccoshl): Likewise.
6905         * math/s_cexp.c (__cexp): Likewise.
6906         * math/s_cexpf.c (__cexpf): Likewise.
6907         * math/s_cexpl.c (__cexpl): Likewise.
6908         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6909         * math/s_clog10.c (__clog10): Likewise.
6910         * math/s_clog10f.c (__clog10f): Likewise.
6911         * math/s_clog10l.c (__clog10l): Likewise.
6912         * math/s_clogf.c (__clogf): Likewise.
6913         * math/s_clogl.c (__clogl): Likewise.
6914         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6915         * math/s_csinf.c (__csinf): Likewise.
6916         * math/s_csinh.c (__csinh): Likewise.
6917         * math/s_csinhf.c (__csinhf): Likewise.
6918         * math/s_csinhl.c (__csinhl): Likewise.
6919         * math/s_csinl.c (__csinl): Likewise.
6920         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6921         * math/s_csqrtf.c (__csqrtf): Likewise.
6922         * math/s_csqrtl.c (__csqrtl): Likewise.
6923         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6924         * math/s_ctanf.c (__ctanf): Likewise.
6925         * math/s_ctanh.c (__ctanh): Likewise.
6926         * math/s_ctanhf.c (__ctanhf): Likewise.
6927         * math/s_ctanhl.c (__ctanhl): Likewise.
6928         * math/s_ctanl.c (__ctanl): Likewise.
6929         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6930         instead of volatile.
6931         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6932         math_check_force_underflow.
6933         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6934         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6935         volatile when forcing underflow.
6936         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6937         math_check_force_underflow_nonneg.
6938         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6939         Likewise.
6940         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6941         math_check_force_underflow.
6942         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6943         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6944         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6945         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6946         math_check_force_underflow_nonneg.
6947         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6948         math_check_force_underflow.
6949         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6951         instead of volatile.
6952         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6953         math_check_force_underflow.
6954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6955         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6956         math_check_force_underflow_nonneg.
6957         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6958         math_check_force_underflow.
6959         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6960         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6961         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6962         math_check_force_underflow_nonneg.
6963         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6964         Likewise.
6965         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6966         math_check_force_underflow.
6967         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6968         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6969         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6970         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6971         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6972         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6973         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6974         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6975         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6976         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6977         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6978         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6979         Likewise.
6980         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6981         math_check_force_underflow_nonneg.
6982         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6983         Likewise.
6984         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6985         math_check_force_underflow.
6986         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6987         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6988         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6989         Likewise.
6990         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6991         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6992         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6993         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6994         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6995         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6997         instead of volatile.
6998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6999         math_check_force_underflow.
7000         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7002         math_check_force_underflow.
7003         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7004         Likewise.
7005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7006         Use math_check_force_underflow_nonneg.
7007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7008         math_check_force_underflow.
7009         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7010         Likewise.
7011         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7012         Likewise.
7013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7018         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7019         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7020         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7021         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7022         math_check_force_underflow_nonneg.
7023         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7024         math_check_force_underflow.
7025         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7026         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7027         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7028         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7029         math_check_force_underflow_nonneg.
7030         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7031         math_check_force_underflow.
7032         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7034         instead of volatile.
7035         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7036         math_check_force_underflow.
7038         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7039         * stdlib/strtod_l.c: Include <math_private.h>.
7040         (overflow_value): Use math_narrow_eval.
7041         (underflow_value): Likewise.
7042         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7043         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7044         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7045         (__ieee754_gamma_r): Likewise.
7046         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7047         Likewise.
7048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7049         Likewise.
7050         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7051         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7052         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7053         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7054         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7055         (__ieee754_gammaf_r): Likewise.
7056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7057         Likewise.
7058         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7059         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7060         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7061         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7062         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7063         volatile.
7064         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7065         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7066         math_narrow_eval.
7067         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7068         Likewise.
7069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7070         Likewise.
7071         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7072         Likewise.
7073         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7074         volatile.
7075         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7076         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7077         math_narrow_eval.
7078         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7079         Likewise.
7080         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7081         Likewise.
7083 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7085         * nptl/Versions: Remove ignored symbols.
7087 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7089         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7090         * nss/Makefile (tests): Update.
7092 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7094         * nss/bug18287.c: New file.
7095         * nss/Makefile (tests): Add bug18287.
7097 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7099         * mach/Versions (__mach_host_self_): Add symbol.
7101 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7103         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7104         vm_page_size.
7106 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7108         Really fix sysdeps/i386/fpu/s_scalbn.S build
7110         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7111         (libc: GLIBC_2_22): Remove unused version set.
7113 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7115         * config.make.in (enable-timezone-tools): New variable.
7116         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7117         (enable_timezone_tools): Export to generated files.
7118         * configure: Regenerate.
7119         * INSTALL: Regenerate.
7120         * manual/install.texi (--disable-timezone-tools): Document new flag.
7121         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7122         ifeq ($(enable-timezone-tools),yes) check.
7124 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7126         * timezone/Makefile: Revert previous change.
7128         [BZ #18980]
7129         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7130         (DEFINE_DBL_MIN): Likewise.
7131         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7132         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7133         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7134         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7135         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7136         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7137         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7138         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7139         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7140         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7141         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7142         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7143         (flt_min): Replace with use of DEFINE_FLT_MIN.
7144         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7145         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7146         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7147         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7148         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7149         (flt_min): Replace with use of DEFINE_FLT_MIN.
7150         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7151         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7152         (flt_min): Replace with use of DEFINE_FLT_MIN.
7153         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7154         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7155         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7156         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7157         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7158         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7159         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7160         (__ieee754_pow): Use DBL_NARROW_EVAL.
7161         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7162         (__ieee754_powf): Use FLT_NARROW_EVAL.
7163         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7164         (__ieee754_expf_sse2): Convert double-precision result to single
7165         precision.
7166         * sysdeps/i386/fpu/libm-test-ulps: Update.
7168 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7170         * timezone/Makefile: Ignore unused variable errors due to private.h
7171         (time_t_min) and (time_t_max).
7172         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7173         Likewise.
7175 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7177         [BZ #18981]
7178         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7179         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7180         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7181         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7182         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7183         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7184         (__scalbn): Use DBL_NARROW_EVAL.
7185         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7186         (__scalbnf): Use FLT_NARROW_EVAL.
7188 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7190         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7191         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7192         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7193         * stdio-common/printf_fp.c (___printf_fp):
7194         Use signbit to get the sign. Use isinf macro to allow inlining.
7195         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7196         * stdio-common/printf_size.c (__printf_size): Likewise.
7198 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7200         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7202 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7204         [BZ #18980]
7205         * sysdeps/generic/math_private.h: Include <float.h>.
7206         (math_narrow_eval): New macro.
7207         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7208         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7209         math_narrow_eval on overflowing return value.
7210         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7211         Likewise.
7212         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7213         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7215         Likewise.
7216         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7218 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7220         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7221         * math/Makefile: Remove isinf_ns.c.
7222         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7223         * math/multc3.c (__multc3): Likewise.
7224         * math/s_casin.c (__casin): Likewise.
7225         * math/s_casinf.c (__casinf): Likewise.
7226         * math/s_casinl.c (__casinl): Likewise.
7227         * math/s_cproj.c (__cproj): Likewise.
7228         * math/s_cprojf.c (__cprojf): Likewise.
7229         * math/s_cprojl.c (__cprofl): Likewise.
7230         * math/s_ctan.c (__ctan): Likewise.
7231         * math/s_ctanf.c (__ctanf): Likewise.
7232         * math/s_ctanh.c (__ctanh): Likewise.
7233         * math/s_ctanhf.c (__ctanhf): Likewise.
7234         * math/s_ctanhl.c (__ctanhl): Likewise.
7235         * math/s_ctanl.c (__ctanl): Likewise.
7236         * math/w_fmod.c (__fmod): Likewise.
7237         * math/w_fmodf.c (__fmodf): Likewise.
7238         * math/w_fmodl.c (_fmodl): Likewise.
7239         * math/w_remainder.c (__remainder): Likewise.
7240         * math/w_remainderf.c (__remainderf): Likewise.
7241         * math/w_remainderl.c (__remainderl): Likewise.
7242         * math/w_scalb.c (__scalb): Likewise.
7243         * math/w_scalbf.c (__scalbf): Likewise.
7244         * math/w_scalbl.c (__scalbl): Likewise.
7245         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7246         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7247         with isinf.
7248         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7250         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7251         __isinf_nsf with isinf.
7252         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7253         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7254         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7255         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7256         with isinf.
7257         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7258         __isinf_nsl with isinf.
7259         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7260         with isinf.
7261         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7262         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7263         __isinf_nsl with isinf.
7264         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7265         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7266         with isinf.
7268 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7270         * resolv/base64.c (rcsid): Remove unused static.
7271         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7272         static.  (tqpi1): Likewise.
7273         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7274         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7275         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7276         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7277         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7278         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7279         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7280         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7281         Likewise.
7283 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7285         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7286         <nptl/pthreadP.h>.
7287         (_longjmp_unwind): Use __libc_ptf_call.
7288         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7290 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7292         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7293         * sysdeps/arm/__longjmp.S: Likewise.
7295 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7297         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7298         Use __builtin_signbit.
7299         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7300         Use __builtin_signbitf.
7301         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7302         Use __builtin_signbitl.
7303         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7304         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7306 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7308         [BZ #15367]
7309         [BZ #17441]
7311         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7312         * math/math.h (fpclassify): Use __builtin_fpclassify when
7313         available.  (signbit): Use __builtin_signbit(f/l).
7314         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7315         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7316         (isinf): Use __builtin_isinf_sign.
7318 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7320         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7321         * benchtests/bench-math-inlines.c: New benchmark.
7322         * benchtests/bench-util.h: New file.
7323         * benchtests/bench-util.c: New file.
7324         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7326 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7328         * elf/tst-dlmopen1.c: Define TEST_SO.
7329         (do_test): Use TEST_SO.
7331         * elf/dl-load.c: Include libc-internal.h.
7332         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7334 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7336         [BZ #17887]
7337         * time/strptime_l.c (__strptime_internal): Make %z accept
7338         [+-]HH:MM time zones.
7340 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7342         [BZ #17886]
7343         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7344         valid time zone.
7346 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7348         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7349         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7350         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7351         (__ASSUME_FDATASYNC): Delete.
7353 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7355         * conform/linknamespace.pl: Require weak undefined symbols to be
7356         in the standard namespace.
7357         (%strong_syms): Rename to %seen_syms.
7358         (%strong_seen): Rename to %seen_where.
7360 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7362         [BZ #18970]
7363         * misc/error.c (error): Replace pthread_setcancelstate with
7364         __pthread_setcancelstate.
7365         (error_at_line): Likewise.
7366         * posix/wordexp.c (parse_comm): Likewise.
7367         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7368         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7369         (__pthread_setcancelstate): This.
7370         (pthread_setcancelstate): Add an alias.
7371         * nptl/nptl-init.c (pthread_functions): Replace
7372         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7373         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7374         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7375         hidden_proto.
7376         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7377         it with hidden_def.
7378         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7379         (pthread_setcancelstate): Renamed to ...
7380         (__pthread_setcancelstate): This.
7381         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7382         __libc_ptf_call with __pthread_setcancelstate.
7384 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7385             Andreas Schwab  <schwab@suse.de>
7387         [BZ #17118]
7388         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7389         result when imaginary part of argument is infinite using sine and
7390         cosine.
7391         * math/s_ctanf.c (__ctanf): Likewise.
7392         * math/s_ctanl.c (__ctanl): Likewise.
7393         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7394         of result when real part of argument is infinite using sine and
7395         cosine.
7396         * math/s_ctanhf.c (__ctanhf): Likewise.
7397         * math/s_ctanhl.c (__ctanhl): Likewise.
7398         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7399         (ctanh_test_data): Add more tests of ctanh.
7401 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7403         [BZ #15384]
7404         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7405         bit-mask as in subtraction.
7406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7407         Likewise.
7408         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7409         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7410         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7412         [BZ #18951]
7413         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7414         underflow exception for small results.
7415         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7416         Likewise.
7417         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7418         Likewise.
7419         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7420         Likewise.
7421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7422         Likewise.
7423         * math/auto-libm-test-in: Add more tests of tgamma.
7424         * math/auto-libm-test-out: Regenerated.
7426 2015-09-17  Andreas Schwab  <schwab@suse.de>
7428         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7430 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7432         [BZ #18977]
7433         * math/bits/mathcalls.h
7434         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7435         not declare.
7436         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7437         Likewise.
7438         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7439         Likewise.
7440         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7441         Likewise.
7442         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7443         Likewise.
7444         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7445         Likewise.
7446         * conform/data/math.h-data
7447         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7448         function.
7449         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7450         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7451         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7452         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7453         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7454         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7455         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7456         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7457         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7458         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7459         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7461         [BZ #6803]
7462         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7463         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7464         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7465         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7466         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7467         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7468         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7469         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7470         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7471         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7472         Likewise.
7473         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7474         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7475         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7477         long_double_symbol calls.
7478         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7479         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7480         strong alias of __ldexpl.
7481         (scalbnl): Define using long_double_symbol.
7482         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7483         Remove alias.
7484         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7485         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7486         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7487         (scalbln_test_data): Add more errno expectations.
7489 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7491         Cache the host port like we cache the task port.  This way we do not
7492         need to call the kernel just to get the port.  Furthermore, we no
7493         longer increase the reference count on every invocation of
7494         `mach_host_self'.
7496         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7497         Protect declarations against the macro expansion.
7498         * mach/mach_init.c (__mach_host_self_): New variable.
7499         (mach_init): Initialize `__mach_host_self_'.
7500         * mach/mach_init.h (__mach_host_self_): New declaration.
7501         (__mach_host_self, mach_host_self): New macros.
7502         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7503         Release reference.
7505 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #4404]
7508         * po/de.po: Update from Translation Project.
7510         [BZ #16415]
7511         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7512         (__expm1l): Remove code to handle positive infinity and overflow.
7513         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7514         variable.
7515         (__expm1l): Remove code to handle positive infinity and overflow.
7517 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7518             Paul Pluzhnikov  <ppluzhnikov@google.com>
7520         [BZ #18872]
7521         * stdio-common/Makefile (tst-printf-bz18872): New test.
7522         (tst-printf-bz18872-mem.out): Likewise.
7523         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7524         * stdio-common/vfprintf.c: Fix memory leaks.
7526 2015-09-16  Andreas Schwab  <schwab@suse.de>
7528         [BZ #17244]
7529         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7530         Remove extra va_start/va_end calls.
7532         [BZ #17243]
7533         * posix/execl.c (execl): Add missing va_end.
7534         * posix/execle.c (execle): Likewise.
7535         * posix/execlp.c (execlp): Likewise.
7537 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7539         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7540         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7542 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7544         [BZ #18967]
7545         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7546         undefine around includes of <bits/mathcalls.h>.
7547         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7548         not declare function.
7549         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7550         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7551         (scalb): Likewise.
7552         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7553         not define macro.
7554         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7555         variable.
7556         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7557         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7558         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7560         [BZ #18857]
7561         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7562         return non-finite argument without doing ordered comparisons on
7563         it.
7565         [BZ #16296]
7566         * math/fenv.h (fegetround): Use __attribute_pure__.
7567         * include/fenv.h (__fegetround): Likewise.
7569         [BZ #18595]
7570         * math/s_ctan.c (__ctan): Force underflow exception for results
7571         whose real or imaginary part has small absolute value.
7572         * math/s_ctanf.c (__ctanf): Likewise.
7573         * math/s_ctanh.c (__ctanh): Likewise.
7574         * math/s_ctanhf.c (__ctanhf): Likewise.
7575         * math/s_ctanhl.c (__ctanhl): Likewise.
7576         * math/s_ctanl.c (__ctanl): Likewise.
7577         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7578         and ctanh.  Add more tests of ctan and ctanh.
7580         [BZ #15918]
7581         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7582         handling of cases where one argument is an infinity.
7584         [BZ #18875]
7585         [BZ #18966]
7586         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7587         (MO): New macro.
7588         (__ieee754_exp10): For small results, force underflow exception
7589         and remove excess range and precision from return value.
7590         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7591         (MO): New macro.
7592         (__ieee754_exp10f): For small results, force underflow exception
7593         and remove excess range and precision from return value.
7594         * math/auto-libm-test-in: Add more tests of exp10.
7595         * math/auto-libm-test-out: Regenerated.
7597 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7599         [BZ #18875]
7600         [BZ #18961]
7601         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7602         (MO): New macro.
7603         (__ieee754_exp): For small results, force underflow exception and
7604         remove excess range and precision from return value.
7605         (__exp_finite): Likewise.
7606         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7607         (MO): New macro.
7608         (__ieee754_expf): For small results, force underflow exception and
7609         remove excess range and precision from return value.
7610         (__expf_finite): Likewise.
7611         * math/auto-libm-test-in: Add more tests of exp.
7612         * math/auto-libm-test-out: Regenerated.
7614         [BZ #16521]
7615         [BZ #18875]
7616         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7617         small results.
7618         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7619         (MO): New macro.
7620         (__ieee754_exp2): For small results, force underflow exception and
7621         remove excess range and precision from return value.
7622         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7623         (MO): New macro.
7624         (__ieee754_exp2f): For small results, force underflow exception
7625         and remove excess range and precision from return value.
7626         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7627         (MO): New macro.
7628         (__ieee754_exp2l): Force underflow exception for small results.
7629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7630         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7631         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7632         (MO): New macro.
7633         (__ieee754_exp2l): Force underflow exception for small results.
7634         * math/auto-libm-test-in: Add more tests or exp2.
7635         * math/auto-libm-test-out: Regenerated.
7637 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7639         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7641         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7642         /dev/null.
7644 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7646         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7647         io fs process)): Drop spurious backslash.
7649 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7652         Use sysinfo system call instead of parsing /proc/meminfo.
7653         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7654         Likewise.
7656 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7658         [BZ #16985]
7659         * programs/localedef.c (main): Display argv[remaining] when
7660         output_path is NULL.
7662 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7664         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7665         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7666         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7667         tanh.
7668         * math/auto-libm-test-out: Regenerated.
7669         * sysdeps/i386/fpu/libm-test-ulps: Update.
7670         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7671         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7676         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7677         Use 'override' keyword to freeze the value here, preventing
7678         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7680 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7682         [BZ #14912]
7683         * sysdeps/aarch64/bits/atomic.h: Move to ...
7684         * sysdeps/aarch64/atomic-machine.h: ...here.
7685         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7686         _AARCH64_ATOMIC_MACHINE_H.
7687         * sysdeps/alpha/bits/atomic.h: Move to ...
7688         * sysdeps/alpha/atomic-machine.h: ...here.
7689         * sysdeps/arm/bits/atomic.h: Move to ...
7690         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7691         * bits/atomic.h: Move to ...
7692         * sysdeps/generic/atomic-machine.h: ...here.
7693         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7694         * sysdeps/i386/bits/atomic.h: Move to ...
7695         * sysdeps/i386/atomic-machine.h: ...here.
7696         * sysdeps/ia64/bits/atomic.h: Move to ...
7697         * sysdeps/ia64/atomic-machine.h: ...here.
7698         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7699         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7700         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7701         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7702         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7703         * sysdeps/microblaze/bits/atomic.h: Move to ...
7704         * sysdeps/microblaze/atomic-machine.h: ...here.
7705         * sysdeps/mips/bits/atomic.h: Move to ...
7706         * sysdeps/mips/atomic-machine.h: ...here.
7707         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7708         * sysdeps/powerpc/bits/atomic.h: Move to ...
7709         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7710         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7711         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7712         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7713         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7714         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7715         <atomic-machine.h> instead of <bits/atomic.h>.
7716         * sysdeps/s390/bits/atomic.h: Move to ...
7717         * sysdeps/s390/atomic-machine.h: ...here.
7718         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7719         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7720         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7721         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7722         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7723         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7724         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7725         * sysdeps/tile/bits/atomic.h: Move to ...
7726         * sysdeps/tile/atomic-machine.h: ...here.
7727         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7728         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7729         <sysdeps/tile/atomic-machine.h> instead of
7730         <sysdeps/tile/bits/atomic.h>.
7731         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7732         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7733         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7734         <sysdeps/tile/atomic-machine.h> instead of
7735         <sysdeps/tile/bits/atomic.h>.
7736         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7737         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7738         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7739         <sysdeps/arm/atomic-machine.h> instead of
7740         <sysdeps/arm/bits/atomic.h>.
7741         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7742         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7743         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7744         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7745         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7746         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7747         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7748         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7749         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7750         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7751         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7752         * sysdeps/x86_64/bits/atomic.h: Move to ...
7753         * sysdeps/x86_64/atomic-machine.h: ...here.
7754         * include/atomic.h: Include <atomic-machine.h> instead of
7755         <bits/atomic.h>.
7757         * sysdeps/mips/mips32/libm-test-ulps: Update.
7758         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7760         [BZ #18952]
7761         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7762         not convert non-integer negative arguments to int to determine the
7763         value of signgam.
7764         * math/auto-libm-test-in: Add more tests of lgamma.
7765         * math/auto-libm-test-out: Regenerated.
7767         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7768         cosh, csqrt, erfc, expm1 and lgamma.
7769         * math/auto-libm-test-out: Regenerated.
7770         * sysdeps/i386/fpu/libm-test-ulps: Update.
7771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7773 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7775         [BZ #2542]
7776         [BZ #2543]
7777         [BZ #2558]
7778         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7779         __lgamma_neg for arguments from -28.0 to -2.0.
7780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7781         __lgamma_negf for arguments from -15.0 to -2.0.
7782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7783         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7784         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7785         Call __lgamma_negl for arguments from -33.0 to -2.0.
7786         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7787         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7788         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7789         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7790         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7791         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7792         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7793         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7794         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7795         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7796         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7797         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7798         (__lgamma_neg): Likewise.
7799         (__lgamma_negl): Likewise.
7800         (__lgamma_product): Likewise.
7801         (__lgamma_productl): Likewise.
7802         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7803         * math/auto-libm-test-in: Add more tests of lgamma.
7804         * math/auto-libm-test-out: Regenerated.
7805         * sysdeps/i386/fpu/libm-test-ulps: Update.
7806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7810         [BZ #18675]
7811         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7813 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7815         [BZ #14912]
7816         * bits/libc-lock.h: Move to ...
7817         * sysdeps/generic/libc-lock.h: ...here.
7818         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7819         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7820         * sysdeps/mach/hurd/libc-lock.h: ...here.
7821         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7822         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7823         * sysdeps/mach/bits/libc-lock.h: Move to ...
7824         * sysdeps/mach/libc-lock.h: ...here.
7825         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7826         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7827         * sysdeps/nptl/libc-lock.h: ...here.
7828         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7829         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7830         * sysdeps/nptl/libc-lockP.h: ...here.
7831         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7832         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7833         <bits/libc-lock.h>.
7834         * dirent/scandir-tail.c: Likewise.
7835         * dlfcn/dlerror.c: Likewise.
7836         * elf/dl-close.c: Likewise.
7837         * elf/dl-iteratephdr.c: Likewise.
7838         * elf/dl-lookup.c: Likewise.
7839         * elf/dl-open.c: Likewise.
7840         * elf/dl-support.c: Likewise.
7841         * elf/dl-writev.h: Likewise.
7842         * elf/rtld.c: Likewise.
7843         * grp/fgetgrent.c: Likewise.
7844         * gshadow/fgetsgent.c: Likewise.
7845         * gshadow/sgetsgent.c: Likewise.
7846         * iconv/gconv_conf.c: Likewise.
7847         * iconv/gconv_db.c: Likewise.
7848         * iconv/gconv_dl.c: Likewise.
7849         * iconv/gconv_int.h: Likewise.
7850         * iconv/gconv_trans.c: Likewise.
7851         * include/link.h: Likewise.
7852         * inet/getnameinfo.c: Likewise.
7853         * inet/getnetgrent.c: Likewise.
7854         * inet/getnetgrent_r.c: Likewise.
7855         * intl/bindtextdom.c: Likewise.
7856         * intl/dcigettext.c: Likewise.
7857         * intl/finddomain.c: Likewise.
7858         * intl/gettextP.h: Likewise.
7859         * intl/loadmsgcat.c: Likewise.
7860         * intl/localealias.c: Likewise.
7861         * intl/textdomain.c: Likewise.
7862         * libidn/idn-stub.c: Likewise.
7863         * libio/libioP.h: Likewise.
7864         * locale/duplocale.c: Likewise.
7865         * locale/freelocale.c: Likewise.
7866         * locale/newlocale.c: Likewise.
7867         * locale/setlocale.c: Likewise.
7868         * login/getutent_r.c: Likewise.
7869         * login/getutid_r.c: Likewise.
7870         * login/getutline_r.c: Likewise.
7871         * login/utmp-private.h: Likewise.
7872         * login/utmpname.c: Likewise.
7873         * malloc/mtrace.c: Likewise.
7874         * misc/efgcvt.c: Likewise.
7875         * misc/error.c: Likewise.
7876         * misc/fstab.c: Likewise.
7877         * misc/getpass.c: Likewise.
7878         * misc/mntent.c: Likewise.
7879         * misc/syslog.c: Likewise.
7880         * nis/nis_call.c: Likewise.
7881         * nis/nis_callback.c: Likewise.
7882         * nis/nss-default.c: Likewise.
7883         * nis/nss_compat/compat-grp.c: Likewise.
7884         * nis/nss_compat/compat-initgroups.c: Likewise.
7885         * nis/nss_compat/compat-pwd.c: Likewise.
7886         * nis/nss_compat/compat-spwd.c: Likewise.
7887         * nis/nss_nis/nis-alias.c: Likewise.
7888         * nis/nss_nis/nis-ethers.c: Likewise.
7889         * nis/nss_nis/nis-grp.c: Likewise.
7890         * nis/nss_nis/nis-hosts.c: Likewise.
7891         * nis/nss_nis/nis-network.c: Likewise.
7892         * nis/nss_nis/nis-proto.c: Likewise.
7893         * nis/nss_nis/nis-pwd.c: Likewise.
7894         * nis/nss_nis/nis-rpc.c: Likewise.
7895         * nis/nss_nis/nis-service.c: Likewise.
7896         * nis/nss_nis/nis-spwd.c: Likewise.
7897         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7898         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7899         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7900         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7901         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7902         * nis/nss_nisplus/nisplus-network.c: Likewise.
7903         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7904         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7905         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7906         * nis/nss_nisplus/nisplus-service.c: Likewise.
7907         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7908         * nis/ypclnt.c: Likewise.
7909         * nptl/libc_pthread_init.c: Likewise.
7910         * nss/getXXbyYY.c: Likewise.
7911         * nss/getXXent.c: Likewise.
7912         * nss/getXXent_r.c: Likewise.
7913         * nss/nss_db/db-XXX.c: Likewise.
7914         * nss/nss_db/db-netgrp.c: Likewise.
7915         * nss/nss_db/nss_db.h: Likewise.
7916         * nss/nss_files/files-XXX.c: Likewise.
7917         * nss/nss_files/files-alias.c: Likewise.
7918         * nss/nsswitch.c: Likewise.
7919         * posix/regex_internal.h: Likewise.
7920         * posix/wordexp.c: Likewise.
7921         * pwd/fgetpwent.c: Likewise.
7922         * resolv/res_hconf.c: Likewise.
7923         * resolv/res_libc.c: Likewise.
7924         * shadow/fgetspent.c: Likewise.
7925         * shadow/lckpwdf.c: Likewise.
7926         * shadow/sgetspent.c: Likewise.
7927         * socket/opensock.c: Likewise.
7928         * stdio-common/reg-modifier.c: Likewise.
7929         * stdio-common/reg-printf.c: Likewise.
7930         * stdio-common/reg-type.c: Likewise.
7931         * stdio-common/vfprintf.c: Likewise.
7932         * stdio-common/vfscanf.c: Likewise.
7933         * stdlib/abort.c: Likewise.
7934         * stdlib/cxa_atexit.c: Likewise.
7935         * stdlib/fmtmsg.c: Likewise.
7936         * stdlib/random.c: Likewise.
7937         * stdlib/setenv.c: Likewise.
7938         * string/strsignal.c: Likewise.
7939         * sunrpc/auth_none.c: Likewise.
7940         * sunrpc/bindrsvprt.c: Likewise.
7941         * sunrpc/create_xid.c: Likewise.
7942         * sunrpc/key_call.c: Likewise.
7943         * sunrpc/rpc_thread.c: Likewise.
7944         * sysdeps/arm/backtrace.c: Likewise.
7945         * sysdeps/generic/ldsodefs.h: Likewise.
7946         * sysdeps/generic/stdio-lock.h: Likewise.
7947         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7948         * sysdeps/i386/backtrace.c: Likewise.
7949         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7950         * sysdeps/m68k/backtrace.c: Likewise.
7951         * sysdeps/mach/hurd/cthreads.c: Likewise.
7952         * sysdeps/mach/hurd/dirstream.h: Likewise.
7953         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7954         * sysdeps/nptl/malloc-machine.h: Likewise.
7955         * sysdeps/nptl/stdio-lock.h: Likewise.
7956         * sysdeps/posix/dirstream.h: Likewise.
7957         * sysdeps/posix/getaddrinfo.c: Likewise.
7958         * sysdeps/posix/system.c: Likewise.
7959         * sysdeps/pthread/aio_suspend.c: Likewise.
7960         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7961         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7962         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7963         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7964         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7965         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7966         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7967         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7968         * sysdeps/unix/sysv/linux/system.c: Likewise.
7969         * sysdeps/x86_64/backtrace.c: Likewise.
7970         * time/alt_digit.c: Likewise.
7971         * time/era.c: Likewise.
7972         * time/tzset.c: Likewise.
7973         * wcsmbs/wcsmbsload.c: Likewise.
7974         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7975         instead of <bits/libc-lock.h> in comment.
7977 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7979         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7980         Only use .set mips2 if the current ISA is below mips2.
7981         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7982         Likewise.
7983         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7984         mips32r2 if the current ISA is below mips32r2.
7985         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7986         (TLS_IE): Updated to use the TLD_RDHWR macro.
7987         (TLS_LE): Likewise.
7988         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7989         __ASSEMBLER__ condition.
7991 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7993         Fix parallel build of before-compile targets.
7995         * sysdeps/mach/Makefile ($(patsubst
7996         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7997         mach-before-compile target.
7998         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7999         io fs process)): Move rule to dedicated hurd-before-compile target.
8001 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8003         Fix rules generating headers in hurd/ and mach/ when initial make call
8004         has subdir= explicitly set.
8006         * sysdeps/mach/Makefile ($(patsubst
8007         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8008         calling $(MAKE).
8009         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8010         io fs process)): Force subdir to hurd when calling $(MAKE).
8011         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8012         subdir to mach when calling $(MAKE).
8014 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8016         Check sysheaders when looking for Mach and Hurd headers
8018         * sysdeps/mach/configure.ac: Add sysheaders check.
8019         * sysdeps/mach/configure: Regenerate.
8020         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8021         * sysdeps/mach/hurd/configure: Regenerate.
8023 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8025         [BZ #18921]
8026         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8027         Fix inverted sense of test of 'o_directory_works' value.
8028         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8029         Bernhard Voelker <mail@bernhard-voelker.de>.
8031 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8033         [BZ #14912]
8034         * bits/linkmap.h: Move to ...
8035         * sysdeps/generic/linkmap.h: ...here.
8036         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8037         * sysdeps/aarch64/linkmap.h: ...here.
8038         * sysdeps/arm/bits/linkmap.h: Move to ...
8039         * sysdeps/arm/linkmap.h: ...here.
8040         * sysdeps/hppa/bits/linkmap.h: Move to ...
8041         * sysdeps/hppa/linkmap.h: ...here.
8042         * sysdeps/ia64/bits/linkmap.h: Move to ...
8043         * sysdeps/ia64/linkmap.h: ...here.
8044         * sysdeps/mips/bits/linkmap.h: Move to ...
8045         * sysdeps/mips/linkmap.h: ...here.
8046         * sysdeps/s390/bits/linkmap.h: Move to ...
8047         * sysdeps/s390/linkmap.h: ...here.
8048         * sysdeps/sh/bits/linkmap.h: Move to ...
8049         * sysdeps/sh/linkmap.h: ...here.
8050         * sysdeps/x86/bits/linkmap.h: Move to ...
8051         * sysdeps/x86/linkmap.h: ...here.
8052         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8054 2015-09-04  Andreas Schwab  <schwab@suse.de>
8056         [BZ #18635]
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8058         (__makecontext): Terminate FDE before return label.
8059         (__novec_makecontext): Likewise.
8061 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8063         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8064         first member of struct sv in syscall macro.
8066 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8068         [BZ #14912]
8069         * bits/stdio-lock.h: Move to ...
8070         * sysdeps/generic/stdio-lock.h: ...here.
8071         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8072         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8073         * sysdeps/nptl/stdio-lock.h: ...here.
8074         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8075         * include/libio.h: Include <stdio-lock.h> instead of
8076         <bits/stdio-lock.h>.
8077         * sysdeps/nptl/fork.c: Likewise.
8078         * sysdeps/pthread/flockfile.c: Likewise.
8079         * sysdeps/pthread/ftrylockfile.c: Likewise.
8080         * sysdeps/pthread/funlockfile.c: Likewise.
8082         [BZ #14912]
8083         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8084         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8085         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8086         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8087         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8088         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8089         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8091 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8093         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8094         (test-xfail-tst-protected1b): New variable.
8096 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8098         [BZ #14912]
8099         * bits/libc-tsd.h: Move to ...
8100         * sysdeps/generic/libc-tsd.h: ...here.
8101         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8102         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8103         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8104         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8105         * include/ctype.h: Include <libc-tsd.h> instead of
8106         <bits/libc-tsd.h>.
8107         * include/rpc/rpc.h: Likewise.
8108         * locale/localeinfo.h: Likewise.
8109         * sunrpc/rpc_thread.c: Likewise.
8110         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8111         * sysdeps/nptl/malloc-machine.h: Likewise.
8113         * Makefile (headers): Remove bits/libc-lock.h.
8114         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8116         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8117         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8118         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8119         <bits/stdio-lock.h>.
8120         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8121         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8123 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8125         [BZ #18757]
8126         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8127         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8128         BZ #18757.
8130 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8132         * malloc/mtrace.pl: Filter out NULL entries.
8134 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8136         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8137         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8138         macro.
8140         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8141         (TCP_CC_INFO): Likewise.
8142         (TCP_SAVE_SYN): Likewise.
8143         (TCP_SAVED_SYN): Likewise.
8145 2015-08-31  Brett Neumeier <brett@neumeier.us>
8147         [BZ #18870]
8148         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8150 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8152         [BZ #18873]
8153         Fix broken overflow check in posix_fallocate
8154         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8155         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8156         Fix parenthesization typo.
8158 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8160         [BZ #18887]
8161         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8162         tst-mntent-blank-passno.
8163         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8164         * misc/tst-mntent-blank-corrupt.c: New test.
8165         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8166         * misc/tst-mntent.c (do_test): ... here.
8168 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8170         [BZ #4404]
8171         * po/de.po: Fix SIGALRM typo.
8173 2015-08-28  James Perkins  <james@loowit.net>
8175         * time/tst-strptime2.c (tests): Replace short list of test
8176         strings for strptime %z specifier with code which exhaustively
8177         tests every combination of sign and 0 to 5 digits. Tests for
8178         rejection of invalid strings.
8180 2015-08-28  James Perkins  <james@loowit.net>
8182         [BZ #16141]
8183         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8184         calculation, removing incorrect decimal time rounding, so that
8185         all minute values result in a valid seconds value.
8186         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8187         offset range limits to UTC-99:59 through UTC+99:59 to parse
8188         current and historical use cases.
8189         * time/tst-strptime2.c (tests): Modify and add tests for the
8190         strptime %z input field descriptor, specifically conversion of
8191         minutes to seconds and validating an offset range of -9959 to
8192         +9959.
8194 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8195             Dmitry V. Levin  <ldv@altlinux.org>
8197         [BZ #18877]
8198         * posix/Makefile (tests): Add tst-mmap-offset.
8199         * posix/tst-mmap.c: New file.
8200         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8201         offset calculation for negative values.
8203 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8205         * sysdeps/i386/init-arch.h: New file.
8206         * sysdeps/i386/i586/init-arch.h: Likewise.
8207         * sysdeps/i386/i686/init-arch.h: Likewise.
8208         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8209         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8210         * sysdeps/x86/cpu-features.h (bit_I586): New.
8211         (bit_I686): Likewise.
8212         (bit_CX8): Likewise.
8213         (bit_CMOV): Likewise.
8214         (index_CX8): Likewise.
8215         (index_CMOV): Likewise.
8216         (index_I586): Likewise.
8217         (index_I686): Likewise.
8218         (reg_CX8): Likewise.
8219         (reg_CMOV): Likewise.
8220         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8221         available at compile-time.
8222         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8223         available at compile-time.
8224         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8225         (USE_I686): Likewise.
8227 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8229         * sysdeps/i386/bcopy.S: New file.
8230         * sysdeps/i386/bzero.S: Likewise.
8231         * sysdeps/i386/memcpy.S: Likewise.
8232         * sysdeps/i386/memmove.S: Likewise.
8233         * sysdeps/i386/mempcpy.S: Likewise.
8234         * sysdeps/i386/memset.S: Likewise.
8235         * sysdeps/i386/bzero.c: Removed.
8236         * sysdeps/i386/memset.c: Likewise.
8237         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8238         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8239         * sysdeps/i386/i586/memset_chk.S: Likewise.
8240         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8241         * sysdeps/i386/memcpy_chk.S: Here.
8242         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8243         * sysdeps/i386/memmove_chk.S: Here.
8244         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8245         * sysdeps/i386/mempcpy_chk.S: Likewise.
8246         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8247         * sysdeps/i386/memset_chk.S: Likewise.
8249 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8251         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8252         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8253         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8254         * soft-fp/fmadf4.c: Ditto.
8255         * soft-fp/fmatf4.c: Ditto.
8257 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8259         * sysdeps/i386/i586/Implies: Removed.
8260         * sysdeps/i386/i686/Implies: Likewise.
8262 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8264         * sysdeps/i386/i486/strlen.S: Moved to ...
8265         * sysdeps/i386/strlen.S: Here.
8267 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8269         * sysdeps/i386/i486/strcat.S: Moved to ...
8270         * sysdeps/i386/strcat.S: Here.
8272 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8274         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8275         * sysdeps/i386/pthread_spin_trylock.S: Here.
8276         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8277         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8279 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8281         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8282         * sysdeps/i386/string-inlines.c: Here.
8284 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8286         * sysdeps/i386/i486/htonl.S: Moved ...
8287         * sysdeps/i386/htonl.S: here.
8289 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8291         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8292         * sysdeps/i386/bits/atomic.h: Here.
8294 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8296         * sysdeps/i386/i486/Versions: Removed.
8298 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8300         [BZ #2898]
8301         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8302         Based on patch by Aurelien Jarno.
8304 2015-08-26  Stan Shebs  <stanshebs@google.com>
8306         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8307         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8309 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8311         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8312         * sysdeps/powerpc/dl-procinfo.c:
8313         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8314         feature so it shows when LD_SHOW_AUXV=1.
8316 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8318         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8319         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8320         definition.  ISA 2.07B no longer requires full sync.
8322 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8324         [BZ #18863]
8325         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8326         (si_call_addr): Define.
8327         (si_syscall): Define.
8328         (si_arch): Define.
8330 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8332         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8333         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8334         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8335         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8336         (__memset_zero_constant_len_parameter): New.
8337         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8338         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8339         (__memset_zero_constant_len_parameter): Don't define if
8340         __memset_chk or USE_AS_BZERO are defined.
8342         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8343         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8344         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8346         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8347         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8348         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8349         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8350         comments.
8351         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8352         -mno-mmx for $(all-rtld-routines).
8353         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8354         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8355         i386.
8357 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8359         * sysdeps/generic/unwind.h
8360         (_Unwind_Word): Use __mode__(__unwind_word__)
8361         instead of __mode__(__word__).
8362         (_Unwind_Sword): Likewise.
8364         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8365         (MAX_NEEDED_INPUT): New define.
8366         (MAX_NEEDED_OUTPUT): New define.
8368         * NEWS: New item for IBM z13 string optimizations.
8370         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8371         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8372         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8373         * sysdeps/s390/multiarch/Makefile
8374         (sysdep_routines): Add memrchr functions.
8375         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8376         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8378         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8379         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8380         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8381         * sysdeps/s390/multiarch/Makefile
8382         (sysdep_routines): Add wmemcmp functions.
8383         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8384         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8385         * benchtests/bench-wmemcmp.c: New File.
8386         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8388         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8389         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8390         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8391         * sysdeps/s390/multiarch/Makefile
8392         (sysdep_routines): Add wmemset functions.
8393         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8394         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8395         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8396         * string/test-memset.c: Add wmemset support.
8397         * wcsmbs/test-wmemset.c: New File.
8398         * wcsmbs/Makefile (strop-tests): Add wmemset.
8399         * benchtests/bench-memset.c: Add wmemset support.
8400         * benchtests/bench-wmemset.c: New File.
8401         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8403         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8404         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8405         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8406         * sysdeps/s390/multiarch/Makefile
8407         (sysdep_routines): Add memccpy functions.
8408         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8409         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8410         * string/memccpy.c: Use MEMCCPY if defined.
8412         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8413         * sysdeps/s390/multiarch/memchr.c: Likewise.
8414         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8415         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8416         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8417         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8418         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8419         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8420         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8421         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8423         and rawmemchr functions.
8424         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8425         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8426         and wmemchr.
8427         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8428         * string/test-memchr.c: Add wmemchr support.
8429         * wcsmbs/test-wmemchr.c: New File.
8430         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8431         * benchtests/bench-memchr.c: Add wmemchr support.
8432         * benchtests/bench-wmemchr.c: New File.
8433         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8435         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8436         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8437         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8438         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8439         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8440         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8442         wcscspn functions.
8443         * sysdeps/s390/multiarch/ifunc-impl-list.c
8444         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8445         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8446         * string/test-strcspn.c: Add wcscspn support.
8447         * wcsmbs/test-wcscspn.c: New File.
8448         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8449         * benchtests/bench-strcspn.c: Add wcscspn support.
8450         * benchtests/bench-wcscspn.c: New File.
8451         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8453         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8454         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8455         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8456         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8457         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8458         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8459         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8460         wcspbrk functions.
8461         * sysdeps/s390/multiarch/ifunc-impl-list.c
8462         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8463         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8464         * string/test-strpbrk.c: Add wcspbrk support.
8465         * wcsmbs/test-wcspbrk.c: New File.
8466         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8467         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8468         * benchtests/bench-wcspbrk.c: New File.
8469         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8471         * sysdeps/s390/multiarch/strspn-c.c: New File.
8472         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8473         * sysdeps/s390/multiarch/strspn.c: Likewise.
8474         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8475         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8476         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8477         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8479         wcsspn functions.
8480         * sysdeps/s390/multiarch/ifunc-impl-list.c
8481         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8482         * string/test-strspn.c: Add wcsspn support.
8483         * wcsmbs/test-wcsspn.c: New File.
8484         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8485         * benchtests/bench-strspn.c: Add wcsspn support.
8486         * benchtests/bench-wcsspn.c: New File.
8487         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8489         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8490         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8491         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8492         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8493         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8494         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8495         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8496         wcsrchr functions.
8497         * sysdeps/s390/multiarch/ifunc-impl-list.c
8498         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8499         * benchtests/bench-wcsrchr.c: New File.
8500         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8502         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8503         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8504         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8505         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8506         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8507         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8509         wcschrnul functions.
8510         * sysdeps/s390/multiarch/ifunc-impl-list.c
8511         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8512         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8513         * string/test-strchr.c: Add wcschrnul support.
8514         * wcsmbs/test-wcschrnul.c: New File.
8515         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8516         * benchtests/bench-strchr.c: Add wcschrnul support.
8517         * benchtests/bench-wcschrnul.c: New File.
8518         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8520         * sysdeps/s390/multiarch/strchr-c.c: New File.
8521         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8522         * sysdeps/s390/multiarch/strchr.c: Likewise.
8523         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8524         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8525         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8527         wcschr functions.
8528         * sysdeps/s390/multiarch/ifunc-impl-list.c
8529         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8530         * string/strchr.c (STRCHR): Define and use macro.
8531         * benchtests/bench-wcschr.c: New File.
8532         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8534         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8535         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8536         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8537         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8538         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8539         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8541         wcsncmp functions.
8542         * sysdeps/s390/multiarch/ifunc-impl-list.c
8543         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8544         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8545         * benchtests/bench-strncmp.c: Add wcsncmp support.
8546         * benchtests/bench-wcsncmp.c: New File.
8547         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8549         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8550         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8551         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8552         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8553         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8554         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8555         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8557         wcscmp functions.
8558         * sysdeps/s390/multiarch/ifunc-impl-list.c
8559         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8560         * string/strcmp.c (STRCMP): Define and use macro.
8561         * benchtests/bench-wcscmp.c: New File.
8562         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8563         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8564         instead of _HAVE_STRING_ARCH_memchr.
8566         * sysdeps/s390/multiarch/strncat-c.c: New File.
8567         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8568         * sysdeps/s390/multiarch/strncat.c: Likewise.
8569         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8570         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8571         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8572         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8573         wcsncat functions.
8574         * sysdeps/s390/multiarch/ifunc-impl-list.c
8575         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8576         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8577         * string/test-strncat.c: Add wcsncat support.
8578         * wcsmbs/test-wcsncat.c: New File.
8579         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8580         * benchtests/bench-strncat.c: Add wcsncat support.
8581         * benchtests/bench-wcsncat.c: New File.
8582         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8584         * sysdeps/s390/multiarch/strcat-c.c: New File.
8585         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8586         * sysdeps/s390/multiarch/strcat.c: Likewise.
8587         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8588         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8589         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8590         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8591         wcscat functions.
8592         * sysdeps/s390/multiarch/ifunc-impl-list.c
8593         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8594         * string/strcat.c (STRCAT): Define and use macro.
8595         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8596         * string/test-strcat.c: Add wcscat support.
8597         * wcsmbs/test-wcscat.c: New File.
8598         * wcsmbs/Makefile (strop-tests): Add wcscat.
8599         * benchtests/bench-strcat.c: Add wcscat support.
8600         * benchtests/bench-wcscat.c: New File.
8601         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8603         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8604         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8605         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8606         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8607         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8608         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8609         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8610         wcpncpy functions.
8611         * sysdeps/s390/multiarch/ifunc-impl-list.c
8612         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8613         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8614         * string/test-stpncpy.c: Add wcpncpy support.
8615         * wcsmbs/test-wcpncpy.c: New File.
8616         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8617         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8618         * benchtests/bench-wcpncpy.c: New File.
8619         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8621         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8622         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8623         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8624         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8625         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8626         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8627         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8628         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8629         wcsncpy functions.
8630         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8631         * sysdeps/s390/multiarch/ifunc-impl-list.c
8632         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8633         * string/test-strncpy.c: Add wcsncpy support.
8634         * wcsmbs/test-wcsncpy.c: New File.
8635         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8636         * benchtests/bench-strncpy.c: Add wcsncpy support.
8637         * benchtests/bench-wcsncpy.c: New File.
8638         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8640         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8641         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8642         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8643         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8644         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8645         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8646         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8647         wcpcpy functions.
8648         * string/stpcpy.c: Use STPCPY if defined.
8649         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8650         * sysdeps/s390/multiarch/ifunc-impl-list.c
8651         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8652         * string/test-stpcpy.c: Add wcpcpy support.
8653         * wcsmbs/test-wcpcpy.c: New File.
8654         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8655         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8656         * benchtests/bench-wcpcpy.c: New File.
8657         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8659         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8660         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8661         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8662         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8663         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8664         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8665         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8667         wcscpy functions.
8668         * sysdeps/s390/multiarch/ifunc-impl-list.c
8669         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8670         * benchtests/bench-wcscpy.c: New File.
8671         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8673         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8674         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8675         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8676         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8677         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8678         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8679         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8680         wcsnlen functions.
8681         * sysdeps/s390/multiarch/ifunc-impl-list.c
8682         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8683         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8684         * string/test-strnlen.c: Add wcsnlen support.
8685         * wcsmbs/test-wcsnlen.c: New File.
8686         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8687         * benchtests/bench-strnlen.c: Add wcsnlen support.
8688         * benchtests/bench-wcsnlen.c: New File.
8689         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8691         * sysdeps/s390/multiarch/Makefile: New File.
8692         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8693         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8694         * sysdeps/s390/multiarch/strlen.c: Likewise.
8695         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8696         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8697         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8698         * string/strlen.c (STRLEN): Define and use macro.
8699         * sysdeps/s390/multiarch/ifunc-impl-list.c
8700         (IFUNC_VX_IMPL): New macro function.
8701         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8702         * benchtests/Makefile (wcsmbs-bench): New variable.
8703         (string-bench-all): Added wcsmbs-bench.
8704         * benchtests/bench-wcslen.c: New File.
8706         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8707         s390_vx_libc_ifunc2): New macro function.
8709         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8710         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8711         assembler support.
8712         * sysdeps/s390/configure: Regenerated.
8714         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8715         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8717         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8718         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8719         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8721         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8722         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8723         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8724         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8725         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8726         (memcmp, bcmp): Use __memcmp_default as alias source.
8727         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8728         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8729         Rename to __memcmp_default.
8730         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8731         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8732         (memcpy): Use __memcpy_default as alias source.
8733         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8734         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8735         Rename to __memcpy_default.
8736         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8737         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8738         (memset): Use __memset_default as alias source.
8739         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8740         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8741         Rename to __memset_default.
8742         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8743         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8744         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8745         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8746         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8747         (memcmp, bcmp): Use __memcmp_default as alias source.
8748         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8749         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8750         Rename to __memcmp_default.
8751         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8752         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8753         (memcpy): Use __memcpy_default as alias source.
8754         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8755         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8756         Rename to __memcpy_default.
8757         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8758         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8759         (memset): Use __memset_default as alias source.
8760         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8761         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8762         Rename to __memset_default.
8763         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8764         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8766         [BZ #18610]
8767         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8768         __ieee_instruction_pointer to __unused.
8769         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8770         __ieee_instruction_pointer.
8771         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8772         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8773         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8774         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8775         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8776         Mark dxc-field as reserved.
8778 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8780         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8781         if the weak reference is not null.
8783 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8785         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8787         [BZ #11214]
8788         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8790 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8792         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8793         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8794         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8795         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8796         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8797         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8798         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8799         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8800         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8801         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8802         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8803         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8804         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8805         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8806         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8807         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8808         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8809         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8811 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8813         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8814         register other than r0 for tabort, it has special meaning.
8815         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8816         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8817         transaction before starting syscall.
8819 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8821         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8823 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8825         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8827         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8828         * sysdeps/x86_64/rtld-memset.S: Likewise.
8829         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8830         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8831         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8832         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8834         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8836 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8838         * debug/strcpy_chk.c: Improve performance.
8839         * debug/stpcpy_chk.c: Likewise.
8840         * sysdeps/x86_64/strcpy_chk.S: Remove.
8841         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8843         [BZ #18240]
8844         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8846 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8848         [BZ #15128]
8849         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8850         ifuncmain8.
8851         (modules-names): Add ifuncmod8.
8852         ($(objpfx)ifuncmain8): New rule.
8853         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8854         <cpuid.h>.
8855         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8856         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8857         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8858         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8859         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8860         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8861         * sysdeps/x86_64/ifuncmain8.c: New file.
8862         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8863         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8864         Removed.
8865         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8866         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8867         Change rtld_savespace_sse to __glibc_unused2.
8868         (RTLD_CHECK_FOREIGN_CALL): Removed.
8869         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8870         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8871         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8873 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8875         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8877 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8879         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8880         Unconditionally set __fpcr to avoid uninialized warning.
8881         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8883 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8885         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8886         is corrupt.
8888         * malloc/arena.c (arena_get2): Drop unused argument.
8889         (arena_lock): Adjust.
8890         (arena_get_retry): Likewise.
8892 2015-08-24  Andreas Schwab  <schwab@suse.de>
8894         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8895         Don't define.
8896         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8897         (__ASSUME_IPC64): Don't undef.
8898         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8899         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8900         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8902         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8903         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8904         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8905         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8906         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8907         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8908         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8909         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8910         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8911         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8912         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8913         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8914         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8915         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8916         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8917         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8918         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8920 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8922         * manual/Makefile (install): Only build manual when perl is available.
8924 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8927         '#undef memcpy' by '#undef memchr'.
8929 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8931         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8932         memchr not point to the internal __GI_memchr implementation.
8934 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8936         * timezone/Makefile (CFLAGS-zdump.c): Remove
8937         -Wno-strict-prototypes.
8938         (CFLAGS-zic.c): Likewise.
8939         (CFLAGS-ialloc.c): Likewise.
8940         (CFLAGS-scheck.c): Likewise.
8942         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8943         -Wno-error=undef.
8945 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8947         * i386/i686/multiarch/strcasestr-c.c: Removed.
8948         * x86_64/multiarch/strcasestr.c: Likewise.
8949         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8950         Remove strcasestr.
8952 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8954         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8956         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8957         variables for high and low parts before possibly modifying them.
8959 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8961         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8962         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8963         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8964         of "multiarch/init-arch.h".
8965         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8966         * sysdeps/x86/init-arch.h: This.
8968 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8970         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8971         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8973 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8975         [BZ #17787]
8976         * manual/macros.texi: Add twoexp macro.
8977         * manual/filesys.texi: Fix exponents.
8978         * manual/llio.texi: Likewise.
8979         * manual/stdio.texi: Likewise.
8981 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8983         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8984         incorrect use.
8986 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8988         [BZ #18370]
8989         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8990         whose real or imaginary part has small absolute value.
8991         * math/s_csqrtf.c (__csqrtf): Likewise.
8992         * math/s_csqrtl.c (__csqrtl): Likewise.
8993         * math/auto-libm-test-in: Add more tests of csqrt.
8994         * math/auto-libm-test-out: Regenerated.
8995         * sysdeps/i386/fpu/libm-test-ulps: Update.
8997 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8999         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9000         __ppc_set_ppr_very_low): New functions.
9001         * manual/platform.texi: Add documentation about
9002         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9004 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9006         * string/stpncpy.c (stpncpy): Improve performance using
9007         __strnlen/memcpy/memset.
9009 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9011         [BZ #18796]
9012         * scripts/test-installation.pl: Don't add -lmvec to build options if
9013         libmvec wasn't built.
9015 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9017         [BZ #14341]
9018         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9019         case when there is a gap between DT_REL and DT_JMPREL sections.
9020         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9021         (LDFLAGS-tst-split-dynreloc): New.
9022         (tst-split-dynreloc-ENV): Likewise.
9023         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9024         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9026 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9028         [BZ #18822]
9029         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9030         attribute_hidden.
9031         (__xstat64_conv): Likewise.
9032         (__xstat32_conv): Likewise.
9034 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9036         [BZ #18822]
9037         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9038         Don't load %ebx when calling __setcontext.  Call __setcontext
9039         with HIDDEN_JUMPTARGET.
9040         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9041         libc_hidden_def.
9043 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9045         * sysdeps/i386/i686/Makefile
9046         [$(subdir) == string] (sysdep_routines): Moved to ...
9047         * sysdeps/i386/Makefile: Here.
9048         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9049         * sysdeps/i386/cacheinfo.c: Here.
9050         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9051         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9052         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9053         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9055 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9057         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9058         __i586__ is defined.
9059         (HAS_I686): Defined to 1 if __i686__ is defined.
9061 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9063         * elf/Makefile [$(have-z-execstack) = yes]
9064         (CPPFLAGS-tst-execstack.c): New variable.
9066         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9067         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9068         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9069         UTMPX || _HAVE_UT_TV].
9070         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9071         UTMPX || _HAVE_UT_TV - 0].
9073 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9075         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9076         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9077         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9079 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9081         * sysdeps/powerpc/dl-procinfo.c:
9082         (_dl_powerpc_cap_flags): Added missing strings for some
9083         hwcap features.
9084         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9086 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9088         Port the 0x7efe...feff pattern to GCC 6.
9089         See Steve Ellcey's bug report in:
9090         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9091         * string/memrchr.c (MEMRCHR):
9092         * string/rawmemchr.c (RAWMEMCHR):
9093         * string/strchr.c (strchr):
9094         * string/strchrnul.c (STRCHRNUL):
9095         Rewrite code to avoid issues with signed shift overflow.
9097 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9099         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9100         whether cpuid is available only if HAS_CPUID is 0.
9101         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9102         (HAS_I586): Likewise.
9103         (HAS_I686): Likewise.
9105 2015-08-18  Zack Weinberg  <zackw@panix.com>
9107         * misc/Versions (libc): Add GLIBC_2.23.
9109 2015-08-18  Alan Modra  <amodra@gmail.com>
9111         [BZ #18421]
9112         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9113         .Lp__global.
9114         (_start): Load %dp via .Lp__global.
9115         [!SHARED]: Use .section .rodata.
9117 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9119         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9120         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9122 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9124         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9125         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9127 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9129         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9130         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9132 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9134         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9135         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9137 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9139         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9140         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9142 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9144         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9145         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9147 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9149         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9151 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9153         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9154         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9155         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9156         (__ASSUME_LWS_CAS): Delete.
9158 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9160         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9161         * sysdeps/hppa/configure: Regenerated.
9162         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9163         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9164         * sysdeps/hppa/nptl/tls.h: Likewise.
9166 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9168         [BZ #18823]
9169         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9170         for scaling up small arguments.
9171         * math/s_csqrtf.c (__csqrtf): Likewise.
9172         * math/s_csqrtl.c (__csqrtl): Likewise.
9173         * math/auto-libm-test-in: Add more tests of csqrt.
9174         * math/auto-libm-test-out: Regenerated.
9176 2015-08-17  Andreas Schwab  <schwab@suse.de>
9178         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9179         version set GLIBC_2.19.
9181 2015-08-16  Zack Weinberg  <zackw@panix.com>
9183         [BZ #18681]
9184         * misc/regexp.h: This interface is no longer supported.
9185         Remove all contents, leaving only an #error directive.
9186         * misc/regexp.c (loc1, loc2, locs, step, advance):
9187         Demote to compatibility symbols.
9189 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9191         [BZ #18084]
9192         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9193         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9194         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9195         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9196         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9197         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9198         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9199         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9200         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9202 2015-08-15  Zack Weinberg  <zackw@panix.com>
9204         [BZ #18795]
9205         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9206         buffer length is known to be too large, not if it's known to be
9207         small enough.
9208         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9209         overflow at runtime, involving a length parameter, twice: once
9210         with a compile-time constant length parameter, once without.
9212 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9214         [BZ #18824]
9215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9216         scaling x * y up instead of down.
9217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9219         * math/auto-libm-test-in: Add more tests of fma.
9220         * math/auto-libm-test-out: Regenerated.
9222 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9226 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9228         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9229         unnecessary movq.
9230         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9231         Likewise.
9233 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9235         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9236         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9237         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9238         and tgamma.
9239         * math/auto-libm-test-out: Regenerated.
9240         * sysdeps/i386/fpu/libm-test-ulps: Update.
9241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9243         [BZ #16520]
9244         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9245         (__tanh): Force underflow exception for arguments with small
9246         absolute value.
9247         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9248         (__tanhf): Force underflow exception for arguments with small
9249         absolute value.
9250         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9251         (__tanhl): Force underflow exception for arguments with small
9252         absolute value.
9253         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9254         (__tanhl): Force underflow exception for arguments with small
9255         absolute value.
9256         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9257         (__tanhl): Force underflow exception for arguments with small
9258         absolute value.
9259         * math/auto-libm-test-in: Add more tests of tanh.
9260         * math/auto-libm-test-out: Regenerated.
9261         * sysdeps/i386/fpu/libm-test-ulps: Update.
9263 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9265         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9266         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9268 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9270         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9271         <cpuid.h>.
9273 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9275         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9276         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9278 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9280         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9281         Remove $(objpfx)init-arch.o.
9282         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9283         init-arch.
9284         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9285         (INIT_ARCH_EXT): Defined as empty.
9286         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9287         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9288         __init_cpu_features call.  Replace HAS_XXX with
9289         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9290         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9292         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9293         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9295         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9296         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9297         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9298         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9299         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9300         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9301         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9302         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9303         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9307         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9310         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9311         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9312         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9313         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9314         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9315         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9323         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9326 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9328         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9329         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9330         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9331         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9332         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9333         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9334         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9335         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9336         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9337         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9338         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9339         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9340         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9341         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9342         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9343         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9344         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9345         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9346         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9347         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9348         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9350         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9351         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9352         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9353         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9354         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9355         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9356         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9357         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9358         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9359         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9360         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9361         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9362         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9363         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9364         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9365         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9366         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9367         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9368         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9369         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9370         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9372 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9374         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9375         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9376         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9377         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9379         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9380         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9381         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9382         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9383         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9384         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9385         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9386         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9387         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9388         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9389         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9390         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9391         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9392         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9393         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9395         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9396         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9397         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9398         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9399         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9400         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9401         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9402         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9403         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9404         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9405         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9406         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9407         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9408         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9409         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9410         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9411         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9412         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9413         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9414         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9415         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9416         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9418 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9420         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9421         (dl_platform_init): Call init_cpu_features.
9422         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9423         * sysdeps/i386/i686/cacheinfo.c
9424         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9425         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9426         * sysdeps/i386/i686/multiarch/Versions: Removed.
9427         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9428         Removed.
9429         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9430         * sysdeps/unix/sysv/linux/x86/Makefile
9431         (libpthread-sysdep_routines): Remove init-arch.
9432         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9433         <sysdeps/x86_64/dl-procinfo.c> instead of
9434         sysdeps/generic/dl-procinfo.c>.
9435         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9436         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9437         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9438         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9439         [$(subdir) == elf] (tests-static): Add
9440         tst-get-cpu-features-static.
9441         * sysdeps/x86/Versions: New file.
9442         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9443         * sysdeps/x86/cpu-features.c: Likewise.
9444         * sysdeps/x86/cpu-features.h: Likewise.
9445         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9446         * sysdeps/x86/libc-start.c: Likewise.
9447         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9448         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9449         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9450         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9451         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9452         Assume USE_MULTIARCH is defined and don't check it.
9453         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9454         (is_amd): Likewise.
9455         (max_cpuid): Likewise.
9456         (intel_check_word): Likewise.
9457         (__cache_sysconf): Don't call __init_cpu_features.
9458         (__x86_preferred_memory_instruction): Removed.
9459         (init_cacheinfo): Don't call __init_cpu_features. Replace
9460         __cpu_features with GLRO(dl_x86_cpu_features).
9461         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9462         (dl_platform_init): Call init_cpu_features.
9463         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9464         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9465         * sysdeps/x86_64/multiarch/Versions: Removed.
9466         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9467         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9468         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9469         Removed.
9470         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9472 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9474         [BZ #18820]
9475         * libio/Makefile (test-fmemopen-mem): New test.
9476         * libio/test-fmemopen.c (do_bz18820): New test.
9477         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9478         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9480 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9482         [BZ #16734]
9483         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9484         (FREE_BUF): Delete.
9485         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9486         * libio/genops.c (_IO_setb): Use malloc and free directly.
9487         (_IO_default_doallocate, _IO_default_finish): Likewise.
9488         ( _IO_unbuffer_all): Likewise.
9489         ( libc_freeres_fn): Likewise.
9490         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9491         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9492         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9493         (_IO_wdefault_doallocate): Likewise.
9495 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9497         [BZ #18086]
9498         * sysdeps/posix/nice.c (nice): Restore old errno.
9499         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9501 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9505 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9507         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9508         __bcopy and add a weak_alias to bcopy.
9509         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9510         for static build.
9512         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9513         cleanup macro usage.
9514         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9515         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9517         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9518         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9519         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9520         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9521         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9522         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9523         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9524         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9525         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9526         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9527         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9530         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9532         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9534         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9535         libc_hidden_def.
9536         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9538         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9539         (sysdep_routines): Add strstr-ppc64.
9540         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9542 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9544         [BZ #18778]
9545         * elf/Makefile (tests): Add Add tst-nodelete2.
9546         (modules-names): Add tst-nodelete2mod.
9547         (tst-nodelete2mod.so-no-z-defs): New.
9548         ($(objpfx)tst-nodelete2): Likewise.
9549         ($(objpfx)tst-nodelete2.out): Likewise.
9550         (LDFLAGS-tst-nodelete2): Likewise.
9551         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9552         out of loop through all loaded libraries.
9553         * elf/tst-nodelete2.c: New file.
9554         * elf/tst-nodelete2mod.c: Likewise.
9555         * elf/tst-znodelete-zlib.cc: Delete.
9557 2015-08-11  Andreas Schwab  <schwab@suse.de>
9559         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9560         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9561         (__openat64_nocancel): Likewise.
9563 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9565         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9566         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9567         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9568         * math/auto-libm-test-out: Regenerated.
9569         * sysdeps/i386/fpu/libm-test-ulps: Update.
9570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9572 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9574         [BZ #18790]
9575         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9576         threshold for returning +/- 1.
9577         * math/auto-libm-test-in: Add more tests of tanh.
9578         * math/auto-libm-test-out: Regenerated.
9579         * sysdeps/i386/fpu/libm-test-ulps: Update.
9581 2015-08-10  Andreas Schwab  <schwab@suse.de>
9583         [BZ #18781]
9584         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9585         MORE_OFLAGS to oflag.
9586         * io/test-lfs.c (do_test): Test openat64.
9588 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9590         [BZ #18789]
9591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9592         smaller threshold for returning the argument.
9593         * math/auto-libm-test-in: Add more tests of sinh.
9594         * math/auto-libm-test-out: Regenerated.
9595         * sysdeps/i386/fpu/libm-test-ulps: Update.
9597 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9599         [BZ #18674]
9600         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9601         break.
9603 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9605         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9606         (generated): Don't add $(addprefix z.,$(tzfiles)).
9608 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9610         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9611         * scripts/sysd-rules.awk: Likewise.
9613 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9615         * iconvdata/tst-tables.sh: Change echo -n to printf.
9616         * nss/db-Makefile: Likewise.
9617         * posix/tst-getconf.sh: Likewise.
9618         * stdio-common/tst-unbputc.sh: Likewise.
9620 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9622         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9623         MADV_*_PAGES defines behind this feature check.
9625 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9627         [BZ #18480]
9628         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9629         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9630         Define.
9631         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9632         LOAD_REGS_5, LOAD_REGS_6): Update.
9633         (INTERNAL_SYSCALL): Update using new LOAD defines.
9634         (INTERNAL_SYSCALL_NCS): Likewise.
9635         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9637 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9639         [BZ #16734]
9640         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9642 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9644         [BZ #17905]
9645         * catgets/Makefile (tst-catgets-mem): New test.
9646         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9647         * catgets/open_catalog.c (__open_catalog): Likewise.
9648         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9650 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9652         [BZ #18787]
9653         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9654         clobber registers.
9655         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9656         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9657         Cast return to __typeof (oldval).
9659 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9661         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9662         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9663         and delete sys/syscall.h include.
9665 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9667         [BZ #16517]
9668         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9669         (tan): Force underflow exception for arguments with small absolute
9670         value.
9671         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9672         (__kernel_tanf): Force underflow exception for arguments with
9673         small absolute value.
9674         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9675         (__kernel_tanl): Force underflow exception for arguments with
9676         small absolute value.
9677         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9678         (__kernel_tanl): Force underflow exception for arguments with
9679         small absolute value.
9680         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9681         (__kernel_tanl): Force underflow exception for arguments with
9682         small absolute value.
9683         * math/auto-libm-test-in: Add more tests of tan.
9684         * math/auto-libm-test-out: Regenerated.
9686 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9688         Fix sysdeps/i386/fpu/s_scalbn.S build
9690         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9692 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9694         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9696 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9698         Fix gcrt0.o compilation
9700         When static-start-installed-name is different from
9701         start-installed-name, we must not use the shared objects.
9703         * csu/Makefile
9704         (extra-objs): Add gmon-start.o when building shared library and
9705         $(static-start-installed-name) is different from
9706         $(start-installed-name).
9707         $(objpfx)g$(static-start-installed-name): When building shared
9708         library and $(static-start-installed-name) is different from
9709         $(static-start-installed-name), revert to non-shared rule,
9710         i.e. using $(objpfx)% and gmon-start.o.
9712 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9714         [BZ #16519]
9715         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9716         (__ieee754_sinh): Force underflow exception for arguments with
9717         small absolute value.
9718         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9719         (__ieee754_sinhf): Force underflow exception for arguments with
9720         small absolute value.
9721         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9722         (__ieee754_sinhl): Force underflow exception for arguments with
9723         small absolute value.
9724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9725         (__ieee754_sinhl): Force underflow exception for arguments with
9726         small absolute value.
9727         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9728         (__ieee754_sinhl): Force underflow exception for arguments with
9729         small absolute value.
9730         * math/auto-libm-test-in: Add more tests of sinh.
9731         * math/auto-libm-test-out: Regenerated.
9732         * sysdeps/i386/fpu/libm-test-ulps: Update.
9734 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9736         * libio/oldfileops.c: Include unistd.h.
9738 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9740         * stdlib/isomac.c: Include ctype.h.
9742 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9744         * dirent/tst-seekdir.c (main): Converted to ...
9745         (do_test): ... this.
9746         (TEST_FUNCTION): New macro.
9747         Include test-skeleton.c.
9748         * elf/tst-dlmodcount.c (main): Converted to ...
9749         (do_test): ... this.
9750         (TEST_FUNCTION): New macro.
9751         Include test-skeleton.c.
9752         * elf/tst-order-main.c (main): Converted to ...
9753         (do_test): ... this.
9754         (TEST_FUNCTION): New macro.
9755         Include test-skeleton.c.
9756         * elf/tst-pie2.c (main): Converted to ...
9757         (do_test): ... this.
9758         (TEST_FUNCTION): New macro.
9759         Include test-skeleton.c.
9760         * inet/tst-ether_aton.c (main): Converted to ...
9761         (do_test): ... this.
9762         (TEST_FUNCTION): New macro.
9763         Include test-skeleton.c.
9764         * misc/tst-mntent.c (main): Converted to ...
9765         (do_test): ... this.
9766         (TEST_FUNCTION): New macro.
9767         Include test-skeleton.c.
9768         * misc/tst-tsearch.c (main): Converted to ...
9769         (do_test): ... this.
9770         (TEST_FUNCTION): New macro.
9771         Include test-skeleton.c.
9772         * posix/tst-regexloc.c (main): Converted to ...
9773         (do_test): ... this.
9774         (TEST_FUNCTION): New macro.
9775         Include test-skeleton.c.
9776         * resolv/tst-aton.c (main): Converted to ...
9777         (do_test): ... this.
9778         (TEST_FUNCTION): New macro.
9779         Include test-skeleton.c.
9780         * stdio-common/test-fwrite.c (main): Converted to ...
9781         (do_test): ... this.
9782         (TEST_FUNCTION): New macro.
9783         Include test-skeleton.c.
9784         * stdio-common/tst-ferror.c (main): Converted to ...
9785         (do_test): ... this.
9786         (TEST_FUNCTION): New macro.
9787         Include test-skeleton.c.
9788         * stdio-common/tst-printf.c (main): Converted to ...
9789         (do_test): ... this.
9790         (TEST_FUNCTION): New macro.
9791         Include test-skeleton.c.
9792         * stdio-common/tst-printfsz.c (main): Converted to ...
9793         (do_test): ... this.
9794         (TEST_FUNCTION): New macro.
9795         Include test-skeleton.c.
9796         * stdlib/tst-strtod.c (main): Converted to ...
9797         (do_test): ... this.
9798         (TEST_FUNCTION): New macro.
9799         Include test-skeleton.c.
9800         * string/tst-strlen.c (main): Converted to ...
9801         (do_test): ... this.
9802         (TEST_FUNCTION): New macro.
9803         Include test-skeleton.c.
9804         * string/tst-svc.c (main): Converted to ...
9805         (do_test): ... this.
9806         (TEST_FUNCTION): New macro.
9807         Include test-skeleton.c.
9808         * time/tst-strptime.c (main): Converted to ...
9809         (do_test): ... this.
9810         (TEST_FUNCTION): New macro.
9811         Include test-skeleton.c.
9812         * timezone/tst-timezone.c (main): Converted to ...
9813         (do_test): ... this.
9814         (TEST_FUNCTION): New macro.
9815         Include test-skeleton.c.
9817 2015-08-05  Zack Weinberg  <zackw@panix.com>
9819         * misc/regexp.h: Update comments.
9821 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9823         [BZ #18635]
9824         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9825         before return label.
9827 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9829         [BZ #18661]
9830         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9831         when calling __errno_location.
9832         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9833         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9835 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9837         [BZ #18661]
9838         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9839         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9840         __gettimeofday.
9842 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9844         [BZ #18661]
9845         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9846         (__start_context): Don't use pop to restore %rdi so that stack
9847         is aligned to 16 bytes when calling __setcontext.
9849 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9851         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9852         only for libc.
9853         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9855 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9857         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9858         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9859         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9861 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9863         * string/memccpy.c (memccpy):
9864         Improve performance by using memchr/memcpy/__mempcpy.
9866 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9868         * string/strncpy.c (strncpy):
9869         Improve performance by using __strnlen/memcpy.
9871 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9873         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9874         Optimize to avoid an unnecessary FPCR read.
9876 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9878         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9879         Optimize to reduce FPCR/FPSR accesses.
9881 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9883         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9884         dead->data[category] != NULL.
9886 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9888         [BZ #18647]
9889         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9890         and |x| close to 1, use absolute value of x when computing log.
9891         * math/auto-libm-test-in: Add more tests of pow.
9892         * math/auto-libm-test-out: Regenerated.
9894 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9896         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9897         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9898         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9900 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9902         [BZ #18525]
9903         * locales/km_KH: Remove timezone definition.
9904         * locales/lo_LA: Likewise.
9905         * locales/my_MM: Likewise.
9906         * locales/nan_TW@latin: Likewise.
9907         * locales/th_TH: Likewise.
9908         * locales/uk_UA: Likewise.
9910 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9912         [BZ #18265]
9913         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9914         (wcsncat): Likewise.
9915         (wcscmp): Likewise.
9916         (wcsncmp): Likewise.
9918 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9920         * test-skeleton.c (usage): New function.
9921         (main): Call usage when opt is '?'.
9923 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9925         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9926         before first use.
9928 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9930         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9931         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9932         in there too.
9934 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9936         * version.h (RELEASE): Set to "development".
9937         (VERSION): Set to "2.22.90"
9939         * version.h (RELEASE): Set to "stable".
9940         (VERSION): Set to "2.22"
9941         * include/features.h (__GLIBC_MINOR__): Set to 22.
9943 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9945         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9946         Restructure macro to avoid "value computed is not used" warning.
9947         (atomic_compare_and_exchange_val_acq): Likewise.
9949 2015-08-04  Andreas Schwab  <schwab@suse.de>
9951         [BZ #18635]
9952         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9953         ret.
9954         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9956 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9958         * po/pl.po: Updated translation.
9959         * po/uk.po: Likewise.
9960         * po/fi.po: Likewise.
9961         * po/ko.po: Likewise.
9962         * po/ru.po: Likewise.
9963         * po/vi.po: Likewise.
9965 2015-07-31  Zack Weinberg  <zackw@panix.com>
9967         [BZ #18681]
9968         * regexp.h: Add unconditional #warning stating that this header
9969         will be removed soon.  Revise banner comment to match.
9970         (compile): Consistently use ERROR instead of RETURN to report
9971         errors (partial fix for bz#18681).
9972         * regexp.c: Don't include regexp.h. Remove some unnecessary
9973         declarations.
9975 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9977         * po/libc.pot: Regenerated.
9979 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9981         [BZ #18740]
9982         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9983         float-vlen4-arch-ext-cflags): Removed.
9984         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9985         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9987 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9989         [BZ #14113]
9990         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9991         aligned to __aligned__.
9992         (pthread_cond_t, pthread_rwlock_t): Likewise.
9994 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9996         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9998 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10000         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10001         (struct sigaction): Change sa_flags from a long to an int, and add
10002         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10004 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10006         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10007         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10008         sysdeps/generic/sysdep.h include.
10009         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10010         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10011         sysdeps/hppa/sysdep.h.
10012         (ENTRY, PSEUDO): Undefine before defining.
10014 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10016         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10017         from scratch to use INTERNAL_SYSCALL.
10019 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10021         [BZ #18078]
10022         * scripts/check-localplt.awk: Support alternate relocations.
10023         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10024         sections.
10025         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10026         malloc entries with + REL R_386_GLOB_DAT.
10027         * sysdeps/x86_64/localplt.data: New file.
10029 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10031         [BZ #18731]
10032         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10033         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10034         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10036 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10038         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10040 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10042         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10043         directly in terms of __sync_fetch_and_add and delete (int) cast.
10045 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10047         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10048         the -D_ASM_IA64_CURRENT_H flag.
10050 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10052         [BZ #18641]
10053         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10055 2015-07-27  Andreas Schwab  <schwab@suse.de>
10057         * conform/conformtest.pl (checknamespace): Filter out string
10058         literals while tokenizing.
10060 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10062         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10063         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10064         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10066 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10068         * nptl/tst-join7mod.c: Add #include <string.h>.
10070 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10072         * sysdeps/nios2/libm-test-ulps: Update.
10074 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10076         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10077         Fix order of arguments to the rt_sigprocmask syscall.
10078         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10079         Likewise.
10081 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10083         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10085 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10087         [BZ #18457]
10088         * nptl/Makefile (tests): New test case tst-join7.
10089         (modules-names): New test case module tst-join7mod.
10090         * nptl/tst-join7.c: New file.
10091         * nptl/tst-join7mod.c: New file.
10092         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10093         all translation units in libc.so, libpthread.so and rtld.
10095 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10099 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10102         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10103         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10104         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10105         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10107         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10108         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10109         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10111         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10113         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10114         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10115         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10116         implementation.
10118 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10120         [BZ #17711]
10121         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10122         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10123         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10124         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10125         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10126         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10128 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10130         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10131         instead of just saying load lock in the comments.
10133 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10135         * sysdeps/unix/Subdirs: Moved ...
10136         * sysdeps/posix/Subdirs: ... here.
10137         * login/pty.h (struct termios, struct winsize): Add forward decls.
10138         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10139         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10140         * sysdeps/arm/nacl/libc.abilist: Updated.
10141         * sysdeps/nacl/libutil.abilist: New file.
10143         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10144         (SIGWINCH): New macro.
10146         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10147         * sysdeps/arm/nacl/libc.abilist: Add it.
10149 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10151         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10153 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10155         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10156         Swap __glibc_reserved0 and sa_flags order.
10158 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160         [BZ #18657]
10161         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10162         are pending TLS destructor calls.
10163         * include/link.h (struct link_map): Add concurrency note for
10164         L_TLS_DTOR_COUNT.
10165         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10166         Don't touch the link map flag.  Atomically increment
10167         l_tls_dtor_count.
10168         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10169         Avoid taking the load lock and don't touch the link map flag.
10170         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10171         * stdlib/Makefile (tests): Use it.
10172         * stdlib/tst-tls-atexit.c (do_test): dlopen
10173         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10174         to allow tst-tls-atexit-nodelete test case to use it.
10176 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10178         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10179         to bits/types.h.
10180         (msgqnum_t): New typedef.
10181         (msglen_t): Likewise.
10182         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10183         and msg_qbytes type to msglen_t.
10185 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10187         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10188         pad0 to __glibc_reserved0.
10189         (struct stat64): Likewise.
10191 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10193         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10194         Change sa_flags from a long to an int and add __glibc_reserved0 before
10195         it for padding.
10197 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10199         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10200         anonymous by deleting "siginfo" name.
10202 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10204         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10205         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10206         rather than __nacl_irt_filename.
10207         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10209         * NEWS: New item for arm-nacl port.
10210         * sysdeps/arm/nacl/libc.abilist: New file.
10211         * sysdeps/nacl/ld.abilist: New file.
10212         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10213         * sysdeps/nacl/libanl.abilist: New file.
10214         * sysdeps/nacl/libcrypt.abilist: New file.
10215         * sysdeps/nacl/libdl.abilist: New file.
10216         * sysdeps/nacl/libm.abilist: New file.
10217         * sysdeps/nacl/libpthread.abilist: New file.
10218         * sysdeps/nacl/libresolv.abilist: New file.
10219         * sysdeps/nacl/librt.abilist: New file.
10221 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10223         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10224         __startcontext to initialize the new context.
10225         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10226         up CFI directive to forbid further backtracing.
10228 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10230         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10231         reference.
10232         * charmaps/ANSI_X3.4-1968: Likewise.
10233         * charmaps/BS_4730: Likewise.
10234         * charmaps/BS_VIEWDATA: Likewise.
10235         * charmaps/CP1250: Likewise.
10236         * charmaps/CP1251: Likewise.
10237         * charmaps/CP1252: Likewise.
10238         * charmaps/CP1253: Likewise.
10239         * charmaps/CP1254: Likewise.
10240         * charmaps/CP1255: Likewise.
10241         * charmaps/CP1256: Likewise.
10242         * charmaps/CSN_369103: Likewise.
10243         * charmaps/EBCDIC-DK-NO: Likewise.
10244         * charmaps/GB_1988-80: Likewise.
10245         * charmaps/GREEK-CCITT: Likewise.
10246         * charmaps/GREEK7: Likewise.
10247         * charmaps/INIS-8: Likewise.
10248         * charmaps/ISIRI-3342: Likewise.
10249         * charmaps/ISO_2033-1983: Likewise.
10250         * charmaps/ISO_5427-EXT: Likewise.
10251         * locales/POSIX: Likewise.
10252         * locales/ar_SA: Likewise.
10253         * locales/be_BY: Likewise.
10254         * locales/be_BY@latin: Likewise.
10255         * locales/ca_ES: Likewise.
10256         * locales/cs_CZ: Likewise.
10257         * locales/da_DK: Likewise.
10258         * locales/de_BE: Likewise.
10259         * locales/de_CH: Likewise.
10260         * locales/de_LU: Likewise.
10261         * locales/en_AU: Likewise.
10262         * locales/en_BW: Likewise.
10263         * locales/en_CA: Likewise.
10264         * locales/en_DK: Likewise.
10265         * locales/en_GB: Likewise.
10266         * locales/en_IE: Likewise.
10267         * locales/en_NZ: Likewise.
10268         * locales/en_ZA: Likewise.
10269         * locales/en_ZW: Likewise.
10270         * locales/es_AR: Likewise.
10271         * locales/es_BO: Likewise.
10272         * locales/es_CL: Likewise.
10273         * locales/es_CO: Likewise.
10274         * locales/es_DO: Likewise.
10275         * locales/es_EC: Likewise.
10276         * locales/es_ES: Likewise.
10277         * locales/es_HN: Likewise.
10278         * locales/es_MX: Likewise.
10279         * locales/es_PA: Likewise.
10280         * locales/es_PE: Likewise.
10281         * locales/es_PY: Likewise.
10282         * locales/es_SV: Likewise.
10283         * locales/es_US: Likewise.
10284         * locales/es_UY: Likewise.
10285         * locales/es_VE: Likewise.
10286         * locales/et_EE: Likewise.
10287         * locales/fa_IR: Likewise.
10288         * locales/fo_FO: Likewise.
10289         * locales/fr_CA: Likewise.
10290         * locales/fr_CH: Likewise.
10291         * locales/gv_GB: Likewise.
10292         * locales/he_IL: Likewise.
10293         * locales/hr_HR: Likewise.
10294         * locales/id_ID: Likewise.
10295         * locales/is_IS: Likewise.
10296         * locales/it_CH: Likewise.
10297         * locales/iw_IL: Likewise.
10298         * locales/kl_GL: Likewise.
10299         * locales/ko_KR: Likewise.
10300         * locales/kw_GB: Likewise.
10301         * locales/lg_UG: Likewise.
10302         * locales/lt_LT: Likewise.
10303         * locales/lv_LV: Likewise.
10304         * locales/mi_NZ: Likewise.
10305         * locales/nhn_MX: Likewise.
10306         * locales/nl_BE: Likewise.
10307         * locales/pl_PL: Likewise.
10308         * locales/sk_SK: Likewise.
10309         * locales/sl_SI: Likewise.
10310         * locales/sv_FI: Likewise.
10311         * locales/tl_PH: Likewise.
10312         * locales/tr_TR: Likewise.
10313         * locales/vi_VN: Likewise.
10315 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10317         [BZ #17475]
10318         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10319         of tu_IN and bh_IN.
10321 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10323         [BZ #18694]
10324         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10325         bits/wordsize.h.
10326         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10328 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10330         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10331         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10332         (spawn_thread): New function.
10333         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10334         (do_test): ... here.  Use IS_LOADED to test for its
10335         availability.
10337 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10339         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10341 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10343         [BZ #18696]
10344         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10345         si_addr_bnd.
10346         (si_lower): New.
10347         (si_upper): Likewise.
10349 2015-07-16  David S. Miller  <davem@davemloft.net>
10351         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10353 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10355         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10356         buffer.
10357         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10358         fail output information.
10360 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10363         and strstr-ppc64..
10364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10365         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10366         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10367         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10368         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10370 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10372         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10373         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10374         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10375         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10377 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10379         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10380         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10381         rtld_hidden_proto.
10382         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10384 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10386         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10387         the test can fail.
10389         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10391         [BZ #18676]
10392         * elf/tst-nodelete-opened.c: New test case.
10393         * elf/tst-nodelete-opened-lib.c: New test case module.
10394         * elf/Makefile (tests, modules-names): Use them.
10395         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10396         early.
10398 2015-07-15  David S. Miller  <davem@davemloft.net>
10400         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10401         futex-intenal.h
10402         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10403         * sysdeps/sparc/sparc64/Makefile: Likewise.
10404         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10405         Remove space from macro define.
10406         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10408 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10410         [BZ #17475]
10411         * locale/iso-639.def: Update Bhili and Tulu language codes as
10412         per iso639-3.
10414 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10416         * elf/tst-leaks1.c (main): Converted to ...
10417         (do_test): ... this.
10418         (TEST_FUNCTION): New macro.
10419         Include test-skeleton.c.
10420         * localedata/tst-langinfo.c (main): Converted to ...
10421         (do_test): ... this.
10422         (TEST_FUNCTION): New macro.
10423         Include test-skeleton.c.
10424         * math/test-fpucw.c (main): Converted to ...
10425         (do_test): ... this.
10426         (TEST_FUNCTION): New macro.
10427         Include test-skeleton.c.
10428         * math/test-tgmath.c (main): Converted to ...
10429         (do_test): ... this.
10430         (TEST_FUNCTION): New macro.
10431         Include test-skeleton.c.
10432         * math/test-tgmath2.c (main): Converted to ...
10433         (do_test): ... this.
10434         (TEST_FUNCTION): New macro.
10435         Include test-skeleton.c.
10436         * setjmp/tst-setjmp.c (main): Converted to ...
10437         (do_test): ... this.
10438         (TEST_FUNCTION): New macro.
10439         Include test-skeleton.c.
10440         * stdio-common/tst-sscanf.c (main): Converted to ...
10441         (do_test): ... this.
10442         (TEST_FUNCTION): New macro.
10443         Include test-skeleton.c.
10444         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10445         (do_test): ... this.
10446         (TEST_FUNCTION): New macro.
10447         Include test-skeleton.c.
10449         * elf/tst-audit9.c (main): Converted to ...
10450         (do_test): ... this.
10451         (TEST_FUNCTION): New macro.
10452         Include test-skeleton.c.
10454 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10456         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10458 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10460         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10461         New variable.
10463 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10465         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10467 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10469         * sysdeps/generic/dl-fileid.h: New file.
10470         * sysdeps/posix/dl-fileid.h: New file.
10471         * sysdeps/nacl/dl-fileid.h: New file.
10472         * include/link.h: Include <dl-fileid.h>.
10473         (struct link_map): Replace l_dev and l_ino with l_file_id.
10474         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10475         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10476         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10478 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10480         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10482 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10484         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10485         Add iff $CXX is set.
10486         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10487         Likewise.
10488         (tst-nodelete-zmodiff): Likewise.
10489         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10491 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10493         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10495 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10497         * sysdeps/aarch64/fpu/math_private.h
10498         (define math_opt_barrier): Add AArch64 version.
10499         (math_force_eval): Likewise.
10501 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10503         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10505 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10507         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10508         %ld with %jd and cast to intmax_t.
10509         (do_test_length_zero): Likewise.
10511 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10513         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10515 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10517         * sysdeps/tile/libm-test-ulps: Regenerated.
10519         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10520         Comment out the whole function, not just its body.
10522 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10524         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10525         locks.
10527         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10529 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10531         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10532         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10534 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10536         * sysdeps/nptl/futex-internal.h: New file.
10537         * sysdeps/nacl/futex-internal.h: New file.
10538         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10539         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10540         error checking.
10541         (setxid_unmark_thread): Likewise.
10542         (__nptl_setxid): Likewise.
10543         (__wait_lookup_done): Likewise.
10544         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10545         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10546         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10547         * nptl/pthread_once.c (clear_once_control): Likewise.
10548         (__pthread_once_slow): Likewise.
10549         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10550         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10551         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10552         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10553         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10554         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10555         Likewise.
10556         (__pthread_rwlock_rdlock): Likewise.
10557         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10558         Likewise.
10559         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10560         Likewise.
10561         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10562         Likewise.
10563         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10564         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10565         Likewise.
10566         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10567         __ASSUME_PRIVATE_FUTEX check.
10568         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10569         Check that shared futexes are supported.
10570         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10571         wrappers with error checking.
10572         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10573         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10574         * nptl/pthread_barrierattr_setpshared.c
10575         (pthread_barrierattr_setpshared): Check that shared futexes are
10576         supported.
10577         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10578         Likewise.
10579         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10580         Likewise.
10581         * nptl/sem_init.c (futex_private_if_supported): Remove.
10582         (__new_sem_init): Adapt and check that shared futexes are supported.
10583         * nptl/sem_open.c (sem_open): Likewise.
10584         * nptl/sem_post.c (futex_wake): Remove.
10585         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10586         (do_futex_wait): Use futex wrappers with error checking.
10587         * nptl/sem_wait.c: Include lowlevellock.h.
10588         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10589         Use futex_supports_pshared.
10590         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10591         Use futex wrappers with error checking.
10592         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10593         Likewise.
10594         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10595         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10596         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10597         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10598         (futex_wake): Likewise.
10599         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10600         (do_futex_wait): Use futex wrappers with error checking.
10601         (__new_sem_wait_slow): Update EINTR handling.
10602         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10604 2015-07-09  Martin Sebor  <msebor@redhat.com>
10606         [BZ #18435]
10607         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10608         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10609         * nptl/Makefile (test-xfail-tst-once5): Define.
10611 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10613         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10614         * elf/dl-minimal.c: For readability, reorder some definitions and
10615         introduce more page breaks.  Include <stdio.h>.
10616         (__libc_fatal): New function.
10618         * include/unistd.h: Add rtld_hidden_proto for _exit.
10619         * posix/_exit.c: Add rtld_hidden_def.
10620         * sysdeps/mach/hurd/_exit.c: Likewise.
10621         * sysdeps/nacl/_exit.c: Likewise.
10622         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10623         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10625 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10628         bndmov encoding with zero displacement.
10630 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10631             H.J. Lu  <hongjiu.lu@intel.com>
10633         [BZ #18134]
10634         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10635         * sysdeps/i386/configure: Regenerated.
10636         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10637         (_dl_runtime_profile): Save and restore Intel MPX return bound
10638         registers when calling _dl_call_pltexit.  Add
10639         PRESERVE_BND_REGS_PREFIX before return.
10640         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10641         (LRV_BND1_OFFSET): Likewise.
10642         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10643         lrv_bnd1.
10644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10645         typo in bndmov encoding.
10646         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10647         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10648         branch instructions to preserve bounds.
10650 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10653         [GLIBC_2.22]: Add fmemopen.
10655 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10657         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10658         returns an error, also try to use host port from __mach_host_self for
10659         the __vm_wire call.
10660         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10662 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10664         [BZ #18400]
10665         [BZ #18648]
10666         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10667         Fix pr_uid and pr_gid members.
10668         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10669         definition to elf_greg_t.
10671 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10673         [BZ #18383]
10674         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10675         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10676         * sysdeps/arm/configure: Regenerated.
10677         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10678         (test-xfail-tst-tlsalign-static): Variable removed.
10680         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10681         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10682         rather than explicit 'ln -s'.
10684         * resolv/rpc/netdb.h: New file.
10685         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10687 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10689         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10690         length buffers.
10691         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10692         test-skeleton.c.
10694         [BZ #6544]
10695         [BZ #11216]
10696         [BZ #12836]
10697         [BZ #13151]
10698         [BZ #13152]
10699         [BZ #14292]
10700         * include/stdio.h (fmemopen): Remove hidden prototype.
10701         (__fmemopen): Add new hidden prototype.
10702         * libio/Makefile: Add oldfmemopen object.
10703         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10704         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10705         compliance.
10706         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10707         symbol compatibility.
10708         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10709         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10710         fmemopen.
10711         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10712         on append and read mode.
10713         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10714         fmemopen.
10715         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10716         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10717         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10718         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10719         Likewise.
10720         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10721         [GLIBC_2.22]: Likewise.
10722         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10725         Likewise.
10726         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10727         [GLIBC_2.22]: Likewise.
10728         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10729         [GLIBC_2.22]: Likewise.
10730         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10731         [GLIBC_2.22]: Likewise.
10732         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10733         [GLIBC_2.22]: Likewise.
10734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10735         [GLIBC_2.22]: Likewise.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10737         [GLIBC_2.22]: Likewise.
10738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10739         [GLIBC_2.22]: Likewise.
10740         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10741         Likewise.
10742         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10743         Likewise.
10744         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10746         [GLIBC_2.22]: Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10748         [GLIBC_2.22]: Likewise.
10749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10750         [GLIBC_2.22]: Likewise.
10751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10752         [GLIBC_2.22]: Likewise.
10753         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10754         Likewise.
10755         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10758         Likewise.
10759         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10760         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10762 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10764         [BZ #18643]
10765         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10766         IPV6_PATHMTU, and IPV6_DONTFRAG.
10768 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10770         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10771         and _IO_UNBUFFERED.
10772         * libio/oldfileops.c: Likewise.
10773         * libio/wfileops.c: Likewise.
10775 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10777         * nscd/selinux.c: Delete selinux/flask.h include.
10779 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10781         [BZ #18641]
10782         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10783         (putpwent): Likewise.
10784         (getpwnam): Likewise.
10785         (getpwent_r): Likewise.
10786         (getpwuid_r): Likewise.
10787         (getpwnam_r): Likewise.
10788         (fgetpwent_r): Likewise.
10790 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10792         [BZ #18557]
10793         * inet/rcmd.c (__validuser2_sa): Check user first to
10794         short-circuit host check.
10796 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10797             Mikhail Ilin  <m.ilin@samsung.com>
10799         [BZ #17833]
10800         * elf/Makefile (tests): Add tst-nodelete.
10801         (modules-names): Add tst-nodelete-uniquemod.
10802         (tst-nodelete-uniquemod.so-no-z-defs): New.
10803         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10804         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10805         ($(objpfx)tst-nodelete): Likewise.
10806         ($(objpfx)tst-nodelete.out): Likewise.
10807         (LDFLAGS-tst-nodelete): Likewise.
10808         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10809         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10810         implement forced object deletion.
10811         (_dl_close): Pass false to _dl_close_worker.
10812         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10813         * elf/tst-nodelete.cc: New file.
10814         * elf/tst-nodeletelib.cc: Likewise.
10815         * elf/tst-znodeletelib.cc: Likewise.
10816         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10818 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10820         [BZ #18508]
10821         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10822         Depend on $(libdl).
10823         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10824         is not called infinitely times.
10825         (backtrace_helper): New function.
10826         (trace_arg): New struct.
10827         (st1): Enlarge stack size.
10828         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10829         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10830         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10831         Likewise.
10833 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10835         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10837 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10839         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10840         Include sys/types.h instead of bits/types.h.
10841         Remove inclusion of bits/wordsize.h.
10843 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10845         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10846         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10847         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10848         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10849         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10850         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10852 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10854         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10855         link-defines.sym.
10856         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10857         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10858         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10859         and LR_SIZE.
10860         * sysdeps/i386/link-defines.sym: New file.
10862 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10864         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10865         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10866         ($(objpfx)tst-audit3): New rule.
10867         ($(objpfx)tst-audit3.out): Likewise.
10868         * sysdeps/i386/tst-audit3.c: New file.
10869         * sysdeps/i386/tst-audit3.h: Likewise.
10870         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10871         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10873 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10875         [BZ #18633]
10876         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10877         pointer in C code.
10878         (__strcat_c): Likewise.
10879         (__strcat_g): Likewise.
10881 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10883         [BZ #18592]
10884         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10886 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10888         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10889         New function.  (__ieee754_sqrtf): New function.
10890         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10891         New function.
10892         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10893         New function.
10895 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10897         * sysdeps/ieee754/support.c: Remove unused file.
10899 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10901         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10902         registers instead of d ones so the layout is kernel abi compatible.
10903         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10904         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10905         Likewise.
10907 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10909         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10911 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10913         [BZ #18619]
10914         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10915         and return argument in case of subnormal argument.
10917 2015-07-01  Martin Sebor  <msebor@redhat.com>
10919         [BZ #18435]
10920         * nptl/Makefile: Add tst-once5.cc.
10921         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10922         Remove macro redefinitions.
10923         * nptl/tst-once5.cc: New test.
10925 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10927         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10929         * sysdeps/arm/libm-test-ulps: Regenerated.
10931         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10932         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10934 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10936         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10937         lll_lock_wait_private and lll_futex_wake probes.
10939         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10940         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10941         Likewise.
10942         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10943         atomic_spin_nop.
10944         * sysdeps/x86_64/bits/atomic.h: Likewise.
10945         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10946         to atomic_spin_nop and move ...
10947         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10948         ... here and ...
10949         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10950         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10951         atomic_spin_nop instead of BUSY_WAIT_NOP.
10952         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10953         Likewise.
10954         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10955         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10956         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10957         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10958         instead of atomic_delay.
10960 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #18613]
10963         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10964         X_ADJ not X when adjusting exponent.
10965         (__ieee754_gamma_r): Do intermediate computations in
10966         round-to-nearest then adjust overflowing and underflowing results
10967         as needed.
10968         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10969         of X_ADJ not X when adjusting exponent.
10970         (__ieee754_gammaf_r): Do intermediate computations in
10971         round-to-nearest then adjust overflowing and underflowing results
10972         as needed.
10973         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10974         log of X_ADJ not X when adjusting exponent.
10975         (__ieee754_gammal_r): Do intermediate computations in
10976         round-to-nearest then adjust overflowing and underflowing results
10977         as needed.  Use 1.0L not 1.0f as numerator of division.
10978         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10979         log of X_ADJ not X when adjusting exponent.
10980         (__ieee754_gammal_r): Do intermediate computations in
10981         round-to-nearest then adjust overflowing and underflowing results
10982         as needed.  Use 1.0L not 1.0f as numerator of division.
10983         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10984         of X_ADJ not X when adjusting exponent.
10985         (__ieee754_gammal_r): Do intermediate computations in
10986         round-to-nearest then adjust overflowing and underflowing results
10987         as needed.  Use 1.0L not 1.0f as numerator of division.
10988         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10989         to auto-libm-test-in.
10990         (tgamma_test): Use ALL_RM_TEST.
10991         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10992         tests of tgamma with spurious-overflow.
10993         * math/auto-libm-test-out: Regenerated.
10994         * math/gen-libm-have-vector-test.sh: Do not check for START.
10995         * sysdeps/i386/fpu/libm-test-ulps: Update.
10996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10998         [BZ #18612]
10999         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11000         arguments, just return 0.5 times the argument, with underflow
11001         forced as needed.
11002         * math/auto-libm-test-in: Add more tests of j1.
11003         * math/auto-libm-test-out: Regenerated.
11005         [BZ #16559]
11006         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11007         (__ieee754_j1): Force underflow exception for small results.
11008         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11009         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11010         (__ieee754_j1f): Force underflow exception for small results.
11011         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11012         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11014         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11015         (__ieee754_j1l): Force underflow exception for small results.
11016         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11017         * math/auto-libm-test-in: Add more tests of j1 and jn.
11018         * math/auto-libm-test-out: Regenerated.
11020         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11021         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11022         (PF_MPLS): Likewise.
11023         (AF_IB): Likewise.
11024         (AF_MPLS): Likewise.
11025         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11026         value and macro.
11027         (MS_RMT_MASK): Include MS_LAZYTIME.
11029 2015-06-26  Mel Gorman  <mgorman@suse.de>
11031         [BZ #18502]
11032         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11033         already minimal.
11035 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11037         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11038         (DT_MIPS_NUM): Update.
11039         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11040         DT_MIPS_RLD_MAP_REL.
11042 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11044         [BZ #16559]
11045         [BZ #18602]
11046         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11047         round-to-nearest internally then recompute results that
11048         underflowed to zero in the original rounding mode.
11049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11050         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11052         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11053         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11054         * sysdeps/i386/fpu/libm-test-ulps: Update.
11055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11057 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11059         * NEWS: Fixed description of link with vector math library.
11061 2015-06-25  Andreas Schwab  <schwab@suse.de>
11063         [BZ #18549]
11064         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11065         * libio/test-fmemopen.c (do_test): Add test for it.
11067 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11069         [BZ #17841]
11070         * Makeconfig (no-pie-ldflag): New.
11071         (+link): Set to $(+link-pie) if default to PIE.
11072         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11073         * config.make.in (build-pie-default): New.
11074         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11075         is default.  AC_SUBST.
11076         * configure: Regenerated.
11077         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11079 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11081         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11082         to 'unsigned int'.
11084         * resolv/gai_misc.h (struct waitlist): Change type of field
11085         counterp to 'volatile unsigned int *'.
11086         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11087         FUTEXADDR and OLDVAL.
11088         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11089         Give local variable TOTAL type 'volatile unsigned int'.
11090         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11091         * resolv/gai_suspend.c (gai_suspend):
11092         Give local variable CNTR type 'unsigned int'.
11094         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11095         counterp to 'volatile unsigned int *'.
11096         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11097         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11098         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11099         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11100         Give local variable TOTAL type 'volatile unsigned int'.
11101         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11103 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11105         [BZ #18383]
11106         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11107         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11108         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11109         comment for i386/x86-64.
11110         (test-xfail-tst-tlsalign-extern-static): Removed.
11112 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11114         * math/test-double.h: New file.
11115         * math/test-float.h: Likewise.
11116         * math/test-ldouble.h: Likewise.
11117         * math/test-math-inline.h: Likewise.
11118         * math/test-math-no-inline.h: Likewise.
11119         * math/test-math-scalar.h: Likewise.
11120         * math/test-math-vector.h: Likewise.
11121         * math/test-vec-loop.h: Remove file.  Contents moved into
11122         test-math-vector.h.
11123         * math/libm-test.inc (MATHCONST): Do not document macro.
11124         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11125         and test-math-scalar.h.
11126         (FUNC): Remove macro.
11127         (FUNC_TEST): Likewise.
11128         (FLOAT): Likewise.
11129         (MATHCONST): Likewise.
11130         (PRINTF_EXPR): Likewise.
11131         (PRINTF_XEXPR): Likewise.
11132         (PRINTF_NEXPR): Likewise.
11133         (TEST_DOUBLE): Likewise.
11134         (TEST_MATHVEC): Likewise.
11135         (__NO_MATH_INLINES): Likewise.
11136         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11137         and test-math-scalar.h.
11138         (FUNC): Remove macro.
11139         (FUNC_TEST): Likewise.
11140         (FLOAT): Likewise.
11141         (MATHCONST): Likewise.
11142         (PRINTF_EXPR): Likewise.
11143         (PRINTF_XEXPR): Likewise.
11144         (PRINTF_NEXPR): Likewise.
11145         (TEST_FLOAT): Likewise.
11146         (TEST_MATHVEC): Likewise.
11147         (__NO_MATH_INLINES): Likewise.
11148         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11149         and test-math-scalar.h.
11150         (FUNC): Remove macro.
11151         (FUNC_TEST): Likewise.
11152         (FLOAT): Likewise.
11153         (MATHCONST): Likewise.
11154         (PRINTF_EXPR): Likewise.
11155         (PRINTF_XEXPR): Likewise.
11156         (PRINTF_NEXPR): Likewise.
11157         (TEST_DOUBLE): Likewise.
11158         (TEST_MATHVEC): Likewise.
11159         (TEST_INLINE): Likewise.
11160         (__NO_MATH_INLINES): Likewise.
11161         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11162         test-math-scalar.h.
11163         (FUNC): Remove macro.
11164         (FUNC_TEST): Likewise.
11165         (FLOAT): Likewise.
11166         (MATHCONST): Likewise.
11167         (PRINTF_EXPR): Likewise.
11168         (PRINTF_XEXPR): Likewise.
11169         (PRINTF_NEXPR): Likewise.
11170         (TEST_FLOAT): Likewise.
11171         (TEST_MATHVEC): Likewise.
11172         (TEST_INLINE): Likewise.
11173         (__NO_MATH_INLINES): Likewise.
11174         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11175         and test-math-scalar.h.
11176         (FUNC): Remove macro.
11177         (FUNC_TEST): Likewise.
11178         (FLOAT): Likewise.
11179         (MATHCONST): Likewise.
11180         (PRINTF_EXPR): Likewise.
11181         (PRINTF_XEXPR): Likewise.
11182         (PRINTF_NEXPR): Likewise.
11183         (TEST_LDOUBLE): Likewise.
11184         (TEST_MATHVEC): Likewise.
11185         (TEST_INLINE): Likewise.
11186         (__NO_MATH_INLINES): Likewise.
11187         * math/test-ldouble.c: Include test-ldouble.h,
11188         test-math-no-inline.h and test-math-scalar.h.
11189         (FUNC): Remove macro.
11190         (FUNC_TEST): Likewise.
11191         (FLOAT): Likewise.
11192         (MATHCONST): Likewise.
11193         (PRINTF_EXPR): Likewise.
11194         (PRINTF_XEXPR): Likewise.
11195         (PRINTF_NEXPR): Likewise.
11196         (TEST_LDOUBLE): Likewise.
11197         (TEST_MATHVEC): Likewise.
11198         (__NO_MATH_INLINES): Likewise.
11199         * math/test-double-vlen2.h: Include test-double.h,
11200         test-math-no-inline.h and test-math-vector.h.
11201         (FLOAT): Remove macro.
11202         (FUNC): Likewise.
11203         (MATHCONST): Likewise.
11204         (PRINTF_EXPR): Likewise.
11205         (PRINTF_XEXPR): Likewise.
11206         (PRINTF_NEXPR): Likewise.
11207         (TEST_DOUBLE): Likewise.
11208         (TEST_MATHVEC): Likewise.
11209         (__NO_MATH_INLINES): Likewise.
11210         (CNCT): Likewise.
11211         (CONCAT): Likewise.
11212         (WRAPPER_NAME): Likewise.
11213         (WRAPPER_DECL): Likewise.
11214         (WRAPPER_DECL_ff): Likewise.
11215         (WRAPPER_DECL_fFF): Likewise.
11216         (VECTOR_WRAPPER): Likewise.
11217         (VECTOR_WRAPPER_ff): Likewise.
11218         (VECTOR_WRAPPER_fFF): Likewise.
11219         (VEC_LEN): New macro.
11220         * math/test-double-vlen4.h: Include test-double.h,
11221         test-math-no-inline.h and test-math-vector.h.
11222         (FLOAT): Remove macro.
11223         (FUNC): Likewise.
11224         (MATHCONST): Likewise.
11225         (PRINTF_EXPR): Likewise.
11226         (PRINTF_XEXPR): Likewise.
11227         (PRINTF_NEXPR): Likewise.
11228         (TEST_DOUBLE): Likewise.
11229         (TEST_MATHVEC): Likewise.
11230         (__NO_MATH_INLINES): Likewise.
11231         (CNCT): Likewise.
11232         (CONCAT): Likewise.
11233         (WRAPPER_NAME): Likewise.
11234         (WRAPPER_DECL): Likewise.
11235         (WRAPPER_DECL_ff): Likewise.
11236         (WRAPPER_DECL_fFF): Likewise.
11237         (VECTOR_WRAPPER): Likewise.
11238         (VECTOR_WRAPPER_ff): Likewise.
11239         (VECTOR_WRAPPER_fFF): Likewise.
11240         (VEC_LEN): New macro.
11241         * math/test-double-vlen8.h: Include test-double.h,
11242         test-math-no-inline.h and test-math-vector.h.
11243         (FLOAT): Remove macro.
11244         (FUNC): Likewise.
11245         (MATHCONST): Likewise.
11246         (PRINTF_EXPR): Likewise.
11247         (PRINTF_XEXPR): Likewise.
11248         (PRINTF_NEXPR): Likewise.
11249         (TEST_DOUBLE): Likewise.
11250         (TEST_MATHVEC): Likewise.
11251         (__NO_MATH_INLINES): Likewise.
11252         (CNCT): Likewise.
11253         (CONCAT): Likewise.
11254         (WRAPPER_NAME): Likewise.
11255         (WRAPPER_DECL): Likewise.
11256         (WRAPPER_DECL_ff): Likewise.
11257         (WRAPPER_DECL_fFF): Likewise.
11258         (VECTOR_WRAPPER): Likewise.
11259         (VECTOR_WRAPPER_ff): Likewise.
11260         (VECTOR_WRAPPER_fFF): Likewise.
11261         (VEC_LEN): New macro.
11262         * math/test-float-vlen4.h: Include test-float.h,
11263         test-math-no-inline.h and test-math-vector.h.
11264         (FLOAT): Remove macro.
11265         (FUNC): Likewise.
11266         (MATHCONST): Likewise.
11267         (PRINTF_EXPR): Likewise.
11268         (PRINTF_XEXPR): Likewise.
11269         (PRINTF_NEXPR): Likewise.
11270         (TEST_FLOAT): Likewise.
11271         (TEST_MATHVEC): Likewise.
11272         (__NO_MATH_INLINES): Likewise.
11273         (CNCT): Likewise.
11274         (CONCAT): Likewise.
11275         (WRAPPER_NAME): Likewise.
11276         (WRAPPER_DECL): Likewise.
11277         (WRAPPER_DECL_ff): Likewise.
11278         (WRAPPER_DECL_fFF): Likewise.
11279         (VECTOR_WRAPPER): Likewise.
11280         (VECTOR_WRAPPER_ff): Likewise.
11281         (VECTOR_WRAPPER_fFF): Likewise.
11282         (VEC_LEN): New macro.
11283         * math/test-float-vlen8.h: Include test-float.h,
11284         test-math-no-inline.h and test-math-vector.h.
11285         (FLOAT): Remove macro.
11286         (FUNC): Likewise.
11287         (MATHCONST): Likewise.
11288         (PRINTF_EXPR): Likewise.
11289         (PRINTF_XEXPR): Likewise.
11290         (PRINTF_NEXPR): Likewise.
11291         (TEST_FLOAT): Likewise.
11292         (TEST_MATHVEC): Likewise.
11293         (__NO_MATH_INLINES): Likewise.
11294         (CNCT): Likewise.
11295         (CONCAT): Likewise.
11296         (WRAPPER_NAME): Likewise.
11297         (WRAPPER_DECL): Likewise.
11298         (WRAPPER_DECL_ff): Likewise.
11299         (WRAPPER_DECL_fFF): Likewise.
11300         (VECTOR_WRAPPER): Likewise.
11301         (VECTOR_WRAPPER_ff): Likewise.
11302         (VECTOR_WRAPPER_fFF): Likewise.
11303         (VEC_LEN): New macro.
11304         * math/test-float-vlen16.h: Include test-float.h,
11305         test-math-no-inline.h and test-math-vector.h.
11306         (FLOAT): Remove macro.
11307         (FUNC): Likewise.
11308         (MATHCONST): Likewise.
11309         (PRINTF_EXPR): Likewise.
11310         (PRINTF_XEXPR): Likewise.
11311         (PRINTF_NEXPR): Likewise.
11312         (TEST_FLOAT): Likewise.
11313         (TEST_MATHVEC): Likewise.
11314         (__NO_MATH_INLINES): Likewise.
11315         (CNCT): Likewise.
11316         (CONCAT): Likewise.
11317         (WRAPPER_NAME): Likewise.
11318         (WRAPPER_DECL): Likewise.
11319         (WRAPPER_DECL_ff): Likewise.
11320         (WRAPPER_DECL_fFF): Likewise.
11321         (VECTOR_WRAPPER): Likewise.
11322         (VECTOR_WRAPPER_ff): Likewise.
11323         (VECTOR_WRAPPER_fFF): Likewise.
11324         (VEC_LEN): New macro.
11325         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11326         test-vec-loop.h.
11327         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11329         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11330         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11331         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11333         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11335 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11337         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11338         (__getlogin_r): ... this.
11340 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11342         [BZ #18594]
11343         * math/s_ccosh.c (__ccosh): Compare with least normal value
11344         instead of comparing class with FP_SUBNORMAL.
11345         * math/s_ccoshf.c (__ccoshf): Likewise.
11346         * math/s_ccoshl.c (__ccoshl): Likewise.
11347         * math/s_cexp.c (__cexp): Likewise.
11348         * math/s_cexpf.c (__cexpf): Likewise.
11349         * math/s_cexpl.c (__cexpl): Likewise.
11350         * math/s_csin.c (__csin): Likewise.
11351         * math/s_csinf.c (__csinf): Likewise.
11352         * math/s_csinh.c (__csinh): Likewise.
11353         * math/s_csinhf.c (__csinhf): Likewise.
11354         * math/s_csinhl.c (__csinhl): Likewise.
11355         * math/s_csinl.c (__csinl): Likewise.
11356         * math/s_ctan.c (__ctan): Likewise.
11357         * math/s_ctanf.c (__ctanf): Likewise.
11358         * math/s_ctanh.c (__ctanh): Likewise.
11359         * math/s_ctanhf.c (__ctanhf): Likewise.
11360         * math/s_ctanhl.c (__ctanhl): Likewise.
11361         * math/s_ctanl.c (__ctanl): Likewise.
11362         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11363         csin, csinh, ctan and ctanh.
11364         * math/auto-libm-test-out: Regenerated.
11365         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11366         * sysdeps/i386/fpu/libm-test-ulps: Update.
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11371         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11372         return value is wrong, print the expected value too.
11374 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11376         [BZ #18585]
11377         * elf/readlib.c (is_gdb_python_file): New.
11378         (process_file): Don't issue errors on filenames with -gdb.py
11379         suffix.
11381 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11383         * math/auto-libm-test-in: Add more tests of csin and csinh.
11384         * math/auto-libm-test-out: Regenerated.
11385         * math/libm-test.inc (csin_test_data): Remove tests moved to
11386         auto-libm-test-in.
11387         (csinh_test_data): Likewise.
11389         [BZ #18593]
11390         * math/s_csin.c (__csin): Negate before rather than after possibly
11391         overflowing multiplication.
11392         * math/s_csinf.c (__csinf): Likewise.
11393         * math/s_csinh.c (__csinh): Likewise.
11394         * math/s_csinhf.c (__csinhf): Likewise.
11395         * math/s_csinhl.c (__csinhl): Likewise.
11396         * math/s_csinl.c (__csinl): Likewise.
11397         * math/auto-libm-test-in: Add some tests of csin and csinh.
11398         * math/auto-libm-test-out: Regenerated.
11399         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11400         (csinh_test_data): Likewise.
11401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11403         [BZ #18586]
11404         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11405         underflow exception for small results.
11407 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11409         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11411         variable and included header.
11412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11415         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11420         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11421         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11422         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11423         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11424         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11425         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11426         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11427         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11429 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #16526]
11432         [BZ #16538]
11433         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11434         (__sin): Force underflow exception for arguments with small
11435         absolute value.
11436         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11437         (__kernel_sinf): Force underflow exception for arguments with
11438         small absolute value.
11439         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11440         (__kernel_sincosl): Force underflow exception for arguments with
11441         small absolute value.
11442         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11443         (__kernel_sinl): Force underflow exception for arguments with
11444         small absolute value.
11445         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11446         (__kernel_sincosl): Force underflow exception for arguments with
11447         small absolute value.
11448         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11449         (__kernel_sinl): Force underflow exception for arguments with
11450         small absolute value.
11451         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11452         (__kernel_sinl): Force underflow exception for arguments with
11453         small absolute value.
11454         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11455         (__kernel_sinf): Force underflow exception for arguments with
11456         small absolute value.
11457         * math/auto-libm-test-in: Add more tests of sin and sincos.
11458         * math/auto-libm-test-out: Regenerated.
11460         [BZ #18245]
11461         [BZ #18583]
11462         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11463         (__kernel_standard_l): Use feholdexcept and fesetenv around
11464         conversion to double instead of special-casing overflow and
11465         underflow.
11466         * math/libm-test.inc (fmod_test_data): Add more tests.
11467         (remainder_test_data): Likewise.
11468         (sqrt_test_data): Likewise.
11470 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11472         [BZ #17403]
11473         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11474         atomic_read_barrier, atomic_write_barrier): Define.
11475         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11476         atomic_read_barrier, atomic_write_barrier): Define.
11478 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11480         * math/Makefile [$(PERL) != no]
11481         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11482         dependency on libm-test.stmp below the inclusion of Rules.
11484 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11486         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11488         and included header.
11489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11491         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11492         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11494         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11497         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11498         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11499         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11500         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11501         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11502         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11503         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11504         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11505         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11506         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11507         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11509 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11511         [BZ #18371]
11512         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11513         intermediate but not final result might underflow.
11514         * math/s_csqrtf.c (__csqrtf): Likewise.
11515         * math/s_csqrtl.c (__csqrtl): Likewise.
11516         * math/auto-libm-test-in: Add more tests of csqrt.
11517         * math/auto-libm-test-out: Regenerated.
11518         * sysdeps/i386/fpu/libm-test-ulps: Update.
11520         [BZ #18219]
11521         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11522         threshold on absolute value of exponent for which scaling is used.
11523         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11524         * math/auto-libm-test-in: Add more tests of exp2.
11525         * math/auto-libm-test-out: Regenerated.
11527 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11529         [BZ #17977]
11530         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11531         when initializing interface list, based on the bug analysis
11532         and the patch proposed by Eric Newton.
11533         * resolv/tst-res_hconf_reorder.c: New test.
11534         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11535         tst-res_hconf_reorder.
11536         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11537         and $(shared-thread-library).
11538         (tst-res_hconf_reorder-ENV): New variable.
11540         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11541         in comment.
11543 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11545         [BZ #16353]
11546         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11547         (__expm1): Force underflow exception for arguments with small
11548         absolute value.
11549         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11550         (__expm1f): Force underflow exception for arguments with small
11551         absolute value.
11552         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11553         (__expm1): Force underflow exception for arguments with small
11554         absolute value.
11555         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11556         (__expm1f): Force underflow exception for arguments with small
11557         absolute value.
11558         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11559         Check for small arguments before calling __expm1.
11560         * math/auto-libm-test-in: Do not mark underflow exceptions as
11561         possibly missing for bug 16353.
11562         * math/auto-libm-test-out: Regenerated.
11564 2015-06-22  Andreas Schwab  <schwab@suse.de>
11566         [BZ #18513]
11567         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11568         PTR queries.
11570 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11572         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11574         * string/strcoll_l.c: Remove unused struct element idxnow.
11576 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11578         [BZ #18569]
11579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11580         underflow and return argument in case of subnormal argument.
11581         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11582         Likewise.
11583         * math/auto-libm-test-in: Add more tests of expm1.
11584         * math/auto-libm-test-out: Regenerated.
11586         [BZ #16361]
11587         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11588         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11589         tiny results.
11590         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11591         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11592         tiny results.
11593         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11594         mark underflow exceptions as possibly missing for bug 16361.
11595         * math/auto-libm-test-out: Regenerated.
11597 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11599         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11600         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11601         Remove variable.
11602         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11603         (test-xfail-XOPEN2K8/utmpx.h/conform).
11605         * conform/conformtest.pl ($xerrors): New variable.
11606         (note_error): New function.
11607         (compiletest): New argument $xfail.  Use not_error.
11608         (runtest): Likewise.
11609         (top level): Handle xfail- lines.  Update calls to compiletest and
11610         runtest.  Handle xfail- and optional- in headers listed with
11611         allow-header.
11612         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11613         (O_EXEC): Likewise.
11614         (O_SEARCH): Likewise.
11615         * conform/data/stropts.h-data (ioctl): Likewise.
11616         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11617         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11618         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11619         (msghdr.msg_controllen): Likewise.
11620         (cmsghdr.cmsg_len): Likewise.
11621         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11622         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11623         variable.
11624         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11625         (test-xfail-XPG4/stropts.h/conform): Likewise.
11626         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11627         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11628         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11629         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11630         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11631         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11632         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11633         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11634         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11635         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11636         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11637         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11638         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11639         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11640         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11641         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11642         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11643         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11644         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11646 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11648         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11649         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11650         definitions for proper unfolding of __MATHDECL_VEC.
11652 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11654         * benchtests/bench-strcoll.c:
11655         Include string.h.
11656         (main): Remove unused variable res.
11658 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11660         * timezone/Makefile (%/UTC %/Universal):
11661         Generate test-result files for UTC and Universal.
11663 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11665         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11667 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11669         [BZ #16350]
11670         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11671         for arguments with small absolute value.
11672         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11673         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11674         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11675         (__asinh): Force underflow exception for arguments with small
11676         absolute value.
11677         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11678         (__asinhf): Force underflow exception for arguments with small
11679         absolute value.
11680         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11681         (__asinhl): Force underflow exception for arguments with small
11682         absolute value.
11683         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11684         (__asinhl): Force underflow exception for arguments with small
11685         absolute value.
11686         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11687         (__asinhl): Force underflow exception for arguments with small
11688         absolute value.
11689         * math/auto-libm-test-in: Do not mark underflow exceptions as
11690         possibly missing for bug 16350.
11691         * math/auto-libm-test-out: Regenerated.
11693         * include/bits/ipc.h: Remove file.
11694         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11695         variable.
11696         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11697         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11698         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11699         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11700         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11701         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11702         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11703         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11704         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11706         * math/auto-libm-test-in: Remove spurious underflow allowance for
11707         tests of cexp.
11708         * math/auto-libm-test-out: Regenerated.
11710         [BZ #18558]
11711         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11712         unconditional definition.
11713         (MCAST_BLOCK_SOURCE): Likewise.
11714         (MCAST_UNBLOCK_SOURCE): Likewise.
11715         (MCAST_LEAVE_GROUP): Likewise.
11716         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11717         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11718         (MCAST_MSFILTER): Likewise.
11719         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11720         Remove variable.
11721         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11722         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11723         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11724         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11725         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11727 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11729         * NEWS: Mention addition of x86_64 vector sincosf.
11730         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11731         * math/test-float-vlen4.h: Likewise.
11732         * math/test-float-vlen8.h: Likewise.
11733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11734         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11736         * sysdeps/x86_64/fpu/Versions: New versions added.
11737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11738         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11739         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11740         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11741         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11742         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11746         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11747         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11748         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11749         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11750         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11751         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11752         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11753         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11754         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11755         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11756         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11757         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11758         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11759         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11760         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11762         * NEWS: Mention addition of x86_64 vector sincos.
11763         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11764         * math/math.h (__MATHDECL_VEC): New macro.
11765         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11766         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11767         declaration under condition.
11768         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11769         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11770         TEST_VEC_LOOP change.
11771         * math/test-double-vlen4.h: Likewise.
11772         * math/test-double-vlen8.h: Likewise.
11773         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11774         * math/test-float-vlen4.h: Likewise.
11775         * math/test-float-vlen8.h: Likewise.
11776         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11777         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11778         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11779         * sysdeps/x86_64/fpu/Versions: New versions added.
11780         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11781         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11782         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11783         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11784         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11785         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11787         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11789         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11790         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11791         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11792         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11793         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11794         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11795         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11796         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11797         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11798         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11799         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11800         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11801         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11802         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11803         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11806         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11807         redirections for powf.
11808         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11809         * sysdeps/x86_64/fpu/Versions: New versions added.
11810         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11811         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11812         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11813         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11814         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11815         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11816         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11817         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11818         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11819         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11820         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11821         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11822         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11823         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11824         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11825         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11826         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11827         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11828         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11829         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11830         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11831         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11832         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11833         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11834         * math/test-float-vlen16.h: Fixed 2 argument macro.
11835         * math/test-float-vlen4.h: Likewise.
11836         * math/test-float-vlen8.h: Likewise.
11837         * NEWS: Mention addition of x86_64 vector powf.
11839 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11841         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11842         and redefine.
11843         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11844         and redefine.
11845         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11846         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11849         [BZ #18553]
11850         * resource/getpriority.c (getpriority): Rename to __getpriority
11851         and define as weak alias of __getpriority.
11852         * resource/setpriority.c (setpriority): Rename to __setpriority
11853         and define as weak alias of __setpriority.
11854         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11855         __getpriority and define as weak alias of __getpriority.
11856         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11857         __setpriority and define as weak alias of __setpriority.
11858         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11859         strong name.
11860         (setpriority): Use __setpriority as strong name.
11861         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11862         __getpriority and define as weak alias of __getpriority.
11863         * include/sys/resource.h (__getpriority): Declare.  Use
11864         libc_hidden_proto.
11865         (__setpriority): Likewise.
11866         (getpriority): Don't use libc_hidden_proto.
11867         (setpriority): Likewise.
11868         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11869         getpriority.  Call __setpriority instead of setpriority.
11870         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11871         Remove variable.
11873         [BZ #18547]
11874         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11875         as weak alias of __getttynam.  Use prototype function definition.
11876         Call __setttyent, __getttyent and __endttyent instead of
11877         setttyent, getttyent and endttyent.
11878         (getttyent): Rename to __getttyent and define as weak alias of
11879         __getttyent.  Call __setttyent instead of setttyent.  Call
11880         __fgets_unlocked instead of fgets_unlocked.
11881         (setttyent): Rename to __setttyent and define as weak alias of
11882         __setttyent.
11883         (endttyent): Rename to __endttyent and define as weak alias of
11884         __endttyent.
11885         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11886         (__setttyent): Likewise.
11887         (__endttyent): Likewise.
11888         (getttyent): Don't use libc_hidden_proto.
11889         (setttyent): Likewise.
11890         (endttyent): Likewise.
11891         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11892         __endttyent instead of setttyent, getttyent and endttyent.
11893         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11894         Remove variable.
11896         [BZ #18546]
11897         * socket/recv.c (__recv): Use libc_hidden_def.
11898         * socket/socket.c (__socket): Likewise.
11899         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11900         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11901         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11902         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11903         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11904         libc_hidden_def.
11905         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11906         libc_hidden_weak.
11907         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11908         Use libc_hidden_proto.
11909         (__recv): Likewise.
11910         * socket/Versions (libc): Export __recv and __socket at version
11911         GLIBC_PRIVATE.
11912         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11913         instead of recv.
11914         (init_mq_netlink): Call __socket instead of socket.
11915         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11916         Remove variable.
11918         [BZ #18545]
11919         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11920         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11921         hidden_weak.
11922         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11923         define as alias of __mq_timedsend.  Use hidden_weak.
11924         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11925         __mq_timedsend as strong name.
11926         (mq_timedreceive): Use __mq_timedreceive as strong name.
11927         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11928         (__mq_timedreceive): Likewise.
11929         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11930         __mq_timedreceive instead of mq_timedreceive.
11931         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11932         instead of mq_timedsend.
11933         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11934         Remove variable.
11936         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11937         hidden_def and hidden_weak instead of libc_hidden_def and
11938         libc_hidden_weak.
11939         (top level): Refer to hidden_def in comment.
11940         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11941         macro.  Use it instead of libc_hidden_def.
11942         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11943         specify __GI_* name explicitly.
11944         (mq_timedreceive): Likewise.
11945         (mq_setattr): Likewise.
11947         [BZ #18544]
11948         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11949         __pthread_barrier_init and define as weak alias of
11950         __pthread_barrier_init.
11951         * sysdeps/sparc/nptl/pthread_barrier_init.c
11952         (pthread_barrier_init): Likewise.
11953         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11954         __pthread_barrier_wait and define as weak alias of
11955         __pthread_barrier_wait.
11956         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11957         (pthread_barrier_wait): Likewise.
11958         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11959         (pthread_barrier_wait): Likewise.
11960         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11961         (pthread_barrier_wait): Likewise.
11962         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11963         (pthread_barrier_wait): Likewise.
11964         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11965         __pthread_barrier_wait at version GLIBC_PRIVATE.
11966         * include/pthread.h (__pthread_barrier_init): Declare.
11967         (__pthread_barrier_wait): Likewise.
11968         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11969         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11970         (helper_thread): Likewise.
11971         (init_mq_netlink): Call __pthread_barrier_init instead of
11972         pthread_barrier_init.
11974         [BZ #18542]
11975         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11976         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11977         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11978         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11979         vswscanf.
11980         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11981         Remove variable.
11983         [BZ #18540]
11984         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11985         strong alias of _IO_fflush.  Use libc_hidden_def.
11986         * libio/iofflush_u.c (fflush_unlocked): Rename to
11987         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11988         Use libc_hidden_weak.
11989         * include/stdio.h (__fflush_unlocked): Declare.  Use
11990         libc_hidden_proto.
11991         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11992         fflush_unlocked.
11993         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11994         Remove variable.
11996         [BZ #18539]
11997         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11998         define as weak alias of __addseverity.
11999         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12000         Remove variable.
12001         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12002         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12003         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12005         [BZ #18536]
12006         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12007         (__tfind): Likewise.
12008         (__tdelete): Likewise.
12009         (__twalk): Likewise.
12010         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12011         __twalk to GLIBC_PRIVATE.
12012         * include/search.h (__tsearch): Use libc_hidden_proto.
12013         (__tfind): Likewise.
12014         (__tdelete): Likewise.
12015         (__twalk): Likewise.
12016         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12017         Call __tdelete instead of tdelete.
12018         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12019         tfind.  Call __tsearch instead of tsearch.
12020         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12021         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12022         Remove variable.
12023         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12025         [BZ #18534]
12026         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12027         (dprintf): Define as a weak alias of __dprintf, not a strong
12028         alias.
12029         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12030         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12031         dprintf.
12032         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12033         Remove variable.
12034         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12035         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12037         [BZ #18533]
12038         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12039         not a strong alias.
12040         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12041         Remove variable.
12043         [BZ #18532]
12044         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12045         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12046         (in6addr_loopback): Rename to __in6addr_loopback and define as
12047         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12048         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12049         libc_hidden_proto.
12050         (__in6addr_any): Likewise.
12051         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12052         in6addr_any.
12053         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12054         variable.
12055         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12057 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12059         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12060         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12061         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12062         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12063         redirections for pow.
12064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12065         * sysdeps/x86_64/fpu/Versions: New versions added.
12066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12068         build of SSE, AVX2 and AVX512 IFUNC versions.
12069         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12071         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12072         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12075         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12076         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12077         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12078         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12079         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12080         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12081         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12082         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12083         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12084         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12085         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12086         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12087         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12088         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12089         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12090         * NEWS: Mention addition of x86_64 vector pow.
12092         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12093         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12094         redirections for expf.
12095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12096         * sysdeps/x86_64/fpu/Versions: New versions added.
12097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12098         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12099         build of SSE, AVX2 and AVX512 IFUNC versions.
12100         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12101         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12103         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12104         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12105         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12106         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12107         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12108         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12109         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12110         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12111         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12113         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12114         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12115         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12117         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12118         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12119         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12120         * NEWS: Mention addition of x86_64 vector expf.
12122         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12123         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12124         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12125         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12126         redirections for exp.
12127         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12128         * sysdeps/x86_64/fpu/Versions: New versions added.
12129         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12130         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12131         build of SSE, AVX2 and AVX512 IFUNC versions.
12132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12138         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12139         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12140         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12141         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12142         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12143         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12144         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12145         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12147         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12148         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12149         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12150         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12151         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12152         * NEWS: Mention addition of x86_64 vector exp.
12154         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12155         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12156         redirections for logf.
12157         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12158         * sysdeps/x86_64/fpu/Versions: New versions added.
12159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12160         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12161         build of SSE, AVX2 and AVX512 IFUNC versions.
12162         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12163         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12168         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12169         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12170         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12171         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12172         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12173         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12174         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12175         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12176         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12177         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12180         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12181         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12182         * NEWS: Mention addition of x86_64 vector logf.
12184         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12185         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12186         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12187         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12188         redirections for log.
12189         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12190         * sysdeps/x86_64/fpu/Versions: New versions added.
12191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12192         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12193         build of SSE, AVX2 and AVX512 IFUNC versions.
12194         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12195         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12196         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12197         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12198         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12199         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12200         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12201         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12202         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12203         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12204         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12205         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12206         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12207         test.
12208         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12209         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12211         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12212         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12213         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12214         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12215         * NEWS: Mention addition of x86_64 vector log.
12217 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12219         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12220         cfi_adjust_cfa_offset argument.
12221         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12222         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12224         [BZ #18034]
12225         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12226         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12227         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12228         ordering using ldar.
12229         (_dl_tlsdesc_dynamic): Likewise.
12230         (_dl_tlsdesc_return_lazy): Likewise.
12231         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12232         relaxed atomics instead of volatile and synchronize with release store.
12233         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12234         volatile.
12235         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12237 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12240         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12241         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12242         * sysdeps/x86_64/fpu/Versions: New versions added.
12243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12244         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12245         build of SSE, AVX2 and AVX512 IFUNC versions.
12246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12247         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12248         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12249         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12250         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12251         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12252         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12253         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12254         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12255         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12256         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12257         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12258         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12259         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12260         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12261         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12262         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12263         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12264         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12265         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12266         * NEWS: Mention addition of x86_64 vector sinf.
12268 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12270         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12271         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12272         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12273         Remove variable.
12274         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12275         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12277 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12279         [BZ #18530]
12280         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12281         strong alias of _IO_fputs.  Use libc_hidden_def.
12282         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12283         and define as weak alias of __fputs_unlocked.  Use
12284         libc_hidden_weak.
12285         * include/stdio.h (__fputs_unlocked): Declare.  Use
12286         libc_hidden_proto.
12287         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12288         fputs_unlocked.
12290         [BZ #18529]
12291         * resolv/netdb.h [__USE_POSIX]: Change condition to
12292         [__USE_XOPEN2K].
12293         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12294         not expect.
12295         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12296         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12297         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12298         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12299         [XPG4 || UNIX98] (AI_ALL): Likewise.
12300         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12301         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12302         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12303         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12304         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12305         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12306         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12307         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12308         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12309         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12310         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12311         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12312         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12313         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12314         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12315         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12316         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12317         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12318         [XPG4 || UNIX98] (gai_strerror): Likewise.
12319         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12320         [XPG4 || UNIX98] (getnameinfo): Likewise.
12322         [BZ #18528]
12323         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12324         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12325         __USE_XOPEN2K8].
12326         (getgrent): Likewise.
12327         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12328         expect.
12329         [XPG3 || POSIX2008] (endgrent): Likewise.
12330         [XPG3] (setgrent): Likewise.
12331         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12332         variable.
12333         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12335         [BZ #18527]
12336         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12337         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12338         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12339         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12340         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12341         * include/unistd.h (__getlogin_r): Declare.  Use
12342         libc_hidden_proto.
12343         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12344         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12345         variable.
12346         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12347         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12348         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12350 2015-06-12  Martin Sebor  <msebor@redhat.com>
12352         [BZ #18512]
12353         * Makerules (check-install-supported): New target.
12354         (install): Add check-install-supported as a dependency.
12355         * manual/install.texi (Installing the C Library): Document
12356         that overriding prefix and exec_prefix is not supported.
12357         Mention DESTDIR.
12358         * INSTALL: Regenerate from the above.
12360 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12362         [BZ #18519]
12363         * posix/Versions (libc): Export __libc_pread at version
12364         GLIBC_PRIVATE.
12365         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12366         instead of pread.
12367         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12368         variable.
12370         [BZ #18522]
12371         * misc/efgcvt_r.c
12372         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12373         (cvt_symbol): Use weak_alias instead of strong_alias.
12374         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12375         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12376         Remove variable.
12377         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12378         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12380         [BZ #18520]
12381         * inet/herrno.c (h_errno): Rename to __h_errno.
12382         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12383         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12384         to __h_errno instead of h_errno.
12385         * nptl/herrno.c (h_errno): Rename to __h_errno.
12386         (__h_errno_location): Refer to __h_errno not h_errno.
12387         * resolv/Versions (h_errno): Rename to __h_errno.
12388         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12389         Remove variable.
12390         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12392 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12394         * configure.ac: More strict check for AVX512 assembler support.
12395         * configure: Regenerated.
12397         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12398         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12399         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12400         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12401         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12402         * sysdeps/x86_64/fpu/Versions: New versions added.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12404         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12405         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12406         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12407         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12408         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12412         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12413         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12414         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12415         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12416         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12417         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12418         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12419         test.
12420         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12421         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12422         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12423         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12424         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12425         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12426         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12427         * NEWS: Mention addition of x86_64 vector sin.
12429 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12431         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12432         comment.
12434 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12436         [BZ #18479]
12437         * nptl/pt-interp.c: New file.
12438         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12439         Add pt-interp.
12440         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12441         $(common-objpfx)runtime-linker.h.
12443 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12445         * Makeconfig (+interp): Remove unused variable.
12446         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12447         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12448         $(elf-objpfx)runtime-linker.h.
12449         ($(elf-objpfx)runtime-linker.h): Rename to
12450         $(common-objpfx)runtime-linker.h and move ...
12451         * Makerules [$(build-shared) = yes]: ... here.
12452         * elf/interp.c: Include <runtime-linker.h> instead of
12453         <elf/runtime-linker.h>.
12455 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12457         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12458         (__gettimeofday_syscall): Remove vsyscall fallback.
12459         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12460         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12461         Add syscall fallback function.
12462         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12463         if vDSO is not present.
12464         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12465         fallback function.
12466         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12467         present.
12468         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12469         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12471 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12473         [BZ #18497]
12474         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12475         of wcscmp.
12476         (wcscmp): Define as weak alias of WCSCMP.
12477         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12478         wcscoll.
12479         (USE_HIDDEN_DEF): Define.
12480         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12481         __wcscoll.  Don't use libc_hidden_weak.
12482         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12483         wcscmp.
12484         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12485         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12486         __GI_wcscmp.
12487         (weak_alias): Undefine and redefine.
12488         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12489         __wcscmp and define as weak alias of __wcscmp.
12490         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12491         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12492         (__wcscoll): Likewise.
12493         (wcscmp): Don't use libc_hidden_proto.
12494         (wcscoll): Likewise.
12495         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12496         wcscoll.
12497         * posix/regexec.c (check_node_accept_bytes): Likewise.
12498         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12499         variable.
12500         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12501         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12503         [BZ #18507]
12504         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12505         __fstatvfs and define as weak alias of __fstatvfs.  Use
12506         libc_hidden_weak.
12507         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12508         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12509         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12510         Define as alias of __fstatvfs, not fstatvfs.
12511         (fstatvfs64): Likewise.
12512         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12513         Define as alias of __statvfs, not statvfs.
12514         (statvfs64): Likewise.
12515         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12516         Remove variable.
12518 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12521         (HAVE_GETCPU_VSYSCALL): Define.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12523         (HAVE_GETCPU_VSYSCALL): Likewise.
12524         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12525         * sysdeps/unix/sysv/linux/sched_getcpu.c
12526         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12527         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12528         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12529         prototype.
12530         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12531         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12532         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12534         Define.
12535         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12536         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12537         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12538         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12540 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12542         * sysdeps/x86_64/fpu/Makefile: New file.
12543         * sysdeps/x86_64/fpu/Versions: New file.
12544         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12545         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12546         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12547         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12548         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12549         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12550         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12553         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12554         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12555         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12556         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12558         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12559         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12560         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12561         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12562         * sysdeps/x86_64/configure: Regenerated.
12563         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12565         * manual/install.texi (Configuring and compiling): Document
12566         --disable-mathvec.
12567         * INSTALL: Regenerated.
12568         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12570         * math/Makefile: Added rules for vector tests.
12571         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12572         declaration under condition.
12573         * math/test-double-vlen2.h: New file.
12574         * math/test-double-vlen4.h: New file.
12575         * math/test-double-vlen8.h: New file.
12576         * math/test-vec-loop.h: Added initialization macro.
12577         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12579         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12580         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12581         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12582         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12583         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12584         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12585         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12586         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12587         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12590         * sysdeps/x86_64/fpu/Versions: New versions added.
12591         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12593         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12594         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12595         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12596         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12597         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12598         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12600         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12601         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12602         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12603         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12604         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12605         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12606         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12607         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12608         * NEWS: Mention addition of x86_64 vector cosf.
12610         * math/Makefile: Added CFLAGS for new tests.
12611         * math/test-float-vlen16.h: New file.
12612         * math/test-float-vlen4.h: New file.
12613         * math/test-float-vlen8.h: New file.
12614         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12615         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12617         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12618         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12619         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12620         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12622         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12623         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12624         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12626 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12628         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12629         * locale/programs/ld-ctype.c: Likewise.
12631 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12633         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12634         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12635         bit_ZMM16_31_state): New macro.
12636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12637         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12639 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12641         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12643 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12645         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12647 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12649         [BZ #18498]
12650         * libio/memstream.c (open_memstream): Rename to __open_memstream
12651         and define as weak alias of __open_memstream.
12652         * include/stdio.h (__open_memstream): Declare.  Use
12653         libc_hidden_proto.
12654         (open_memstream): Don't use libc_hidden_proto.
12655         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12656         open_memstream.
12657         * posix/getopt.c (_getopt_internal_r): Likewise.
12658         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12659         variable.
12660         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12661         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12662         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12664         [BZ #18496]
12665         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12666         instead of wcrtomb.
12668         [BZ #18483]
12669         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12670         [__USE_XOPEN2K8].  Remove redundant #endif.
12671         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12672         Remove redundant #if.
12673         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12674         Remove variable.
12675         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12676         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12678         [BZ #18495]
12679         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12680         (__iswlower): Likewise.
12681         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12682         (__iswlower): Likewise.
12683         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12684         instead of towlower.
12685         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12686         instead of iswlower.  Call __towupper instead of towupper.
12687         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12688         instead of iswalnum.
12690 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12692         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12693         errors to stderr.
12695 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12697         [BZ #15661]
12698         [BZ #17322]
12699         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12700         Check for overflow properly.  Check for O_APPEND.  Ignore large
12701         file system block sizes.  Add comments about problems.
12702         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12703         * manual/filesys.texi (Storage Allocation): New node.
12705 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12707         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12708         cancellable syscalls.
12709         (SYS_ify): Add guard to no redefine it.
12710         (INLINE_SYSCALL): Likewise.
12711         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12712         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12713         SYSCALL_CANCEL instead.
12714         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12715         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12716         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12717         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12718         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12719         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12720         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12721         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12722         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12723         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12724         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12725         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12726         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12727         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12728         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12729         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12730         Likewise.
12731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12732         (__libc_pread64): Likewise.
12733         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12734         (__libc_preadv): Likewise.
12735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12736         (__libc_readv64): Likewise.
12737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12738         (__libc_pwrite): Likewise.
12739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12740         (__libc_pwrite64): Likewise.
12741         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12742         (__libc_pwritev): Likewise.
12743         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12744         (__libc_pwritev64): Likewise.
12745         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12746         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12747         (sync_file_range): Likewise.
12748         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12749         Likewise.
12750         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12751         Likewise.
12752         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12753         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12754         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12755         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12756         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12757         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12758         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12759         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12761         Likewise.
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12763         (__libc_read64): Likewise.
12764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12765         Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12771         Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12773         (__libc_pread64): Likewise.
12774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12775         Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12777         (__libc_pwrite64): Likewise.
12778         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12779         (sync_file_range): Likewise.
12780         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12781         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12782         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12783         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12784         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12785         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12786         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12787         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12788         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12789         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12790         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12791         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12792         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12793         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12794         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12795         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12796         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12797         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12798         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12799         Likewise.
12800         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12801         Likewise.
12802         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12803         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12804         Likewise.
12805         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12806         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12807         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12808         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12809         Likewise.
12810         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12811         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12812         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12813         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12814         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12816 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12818         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12819         Include dl-vdso.
12820         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12821         Use VDSO routines for gettimeofday, clock_gettime if
12822         available.
12823         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12824         Declare VDSO symbols.
12825         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12826         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12827         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12828         * sysdeps/unix/sysv/linux/arm/Versions: Add
12829         __vdso_clock_gettime.
12831 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12833         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12834         be an inline implementation regardless of library is built within.
12835         (open_not_cancel_2): Likewise.
12836         (__read_nocancel): Likewise.
12837         (__write_nocancel): Likewise.
12838         (openat_not_cancel): Likewise.
12839         (openat_not_cancel_3): Likewise.
12840         (openat64_not_cancel): Likewise.
12841         (openat64_not_cancel_3): Likewise.
12842         (__close_nocancel): Likewise.
12843         (pause_not_cancel): Likewise.
12844         (nanosleep_not_cancel): Likewise.
12845         (sigsuspend_not_cancel): Likewise.
12847 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12849         [BZ #14958]
12850         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12851         wake-up.
12852         (__pthread_rwlock_rdlock_slow): Likewise.
12853         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12854         Likewise.
12855         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12856         Likewise.
12857         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12858         * nptl/tst-rwlock16.c: New file.
12859         * nptl/Makefile (tests): Add new test.
12861 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12863         [BZ #18324]
12864         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12865         missing wake-up of readers.
12866         * nptl/tst-rwlock15.c: New file.
12867         * nptl/Makefile (tests): Add new test.
12869 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12871         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12872         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12873         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12874         and __nacl_supply_interface_rtld.
12875         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12876         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12877         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12878         Add __nacl_supply_interface_rtld.
12879         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12881 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12883         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12884         isfinite.
12885         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12886         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12888 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12890         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12891         __signbit* with standard C99 macros.
12892         * math/e_exp10l.c: Likewise.
12893         * math/e_exp2l.c: Likewise.
12894         * math/e_scalb.c: Likewise.
12895         * math/e_scalbf.c: Likewise.
12896         * math/e_scalbl.c: Likewise.
12897         * math/s_ldexp.c: Likewise.
12898         * math/s_ldexpf.c: Likewise.
12899         * math/s_ldexpl.c: Likewise.
12900         * math/w_atan2.c: Likewise.
12901         * math/w_atan2f.c: Likewise.
12902         * math/w_atan2l.c: Likewise.
12903         * math/w_cosh.c: Likewise.
12904         * math/w_coshf.c: Likewise.
12905         * math/w_coshl.c: Likewise.
12906         * math/w_exp10.c: Likewise.
12907         * math/w_exp10f.c: Likewise.
12908         * math/w_exp10l.c: Likewise.
12909         * math/w_exp2.c: Likewise.
12910         * math/w_exp2f.c: Likewise.
12911         * math/w_exp2l.c: Likewise.
12912         * math/w_fmod.c: Likewise.
12913         * math/w_fmodf.c: Likewise.
12914         * math/w_fmodl.c: Likewise.
12915         * math/w_hypot.c: Likewise.
12916         * math/w_hypotf.c: Likewise.
12917         * math/w_hypotl.c: Likewise.
12918         * math/w_jnl.c: Likewise.
12919         * math/w_lgamma.c: Likewise.
12920         * math/w_lgamma_r.c: Likewise.
12921         * math/w_lgammaf.c: Likewise.
12922         * math/w_lgammaf_r.c: Likewise.
12923         * math/w_lgammal.c: Likewise.
12924         * math/w_lgammal_r.c: Likewise.
12925         * math/w_pow.c: Likewise.
12926         * math/w_powf.c: Likewise.
12927         * math/w_powl.c: Likewise.
12928         * math/w_remainder.c: Likewise.
12929         * math/w_remainderf.c: Likewise.
12930         * math/w_remainderl.c: Likewise.
12931         * math/w_scalb.c: Likewise.
12932         * math/w_scalbf.c: Likewise.
12933         * math/w_scalbl.c: Likewise.
12934         * math/w_scalbln.c: Likewise.
12935         * math/w_scalblnf.c: Likewise.
12936         * math/w_scalblnl.c: Likewise.
12937         * math/w_sinh.c: Likewise.
12938         * math/w_sinhf.c: Likewise.
12939         * math/w_sinhl.c: Likewise.
12940         * math/w_tgamma.c: Likewise.
12941         * math/w_tgammaf.c: Likewise.
12942         * math/w_tgammal.c: Likewise.
12943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12944         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12945         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12946         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12947         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12949         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12950         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12951         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12952         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12953         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12954         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12959         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12963         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12964         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12967         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12968         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12969         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12970         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12972         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12974         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12975         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12976         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12977         * stdio-common/printf_fp.c: Likewise.
12978         * stdio-common/printf_fphex.c: Likewise.
12979         * stdio-common/printf_size.c: Likewise.
12981 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12983         [BZ #18470]
12984         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12985         strnlen.
12986         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12987         Remove variable.
12988         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12989         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12990         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12991         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12992         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12993         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12994         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12995         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12996         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12997         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12999         [BZ #18468]
13000         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13001         weak alias of __wmemchr.  Use libc_hidden_weak.
13002         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13003         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13004         instead of wmemchr.
13006 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13008         [BZ #18383]
13009         * elf/tst-tlsalign-extern.c: New file.
13010         * elf/tst-tlsalign-extern-static.c: New file.
13011         * elf/tst-tlsalign-vars.c: New file.
13012         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13013         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13014         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13015         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13016         (test-xfail-tst-tlsalign-extern-static): New variable.
13018 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13020         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13021         Use variable name _sc_err instead of err.
13022         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13023         instead of ret.
13024         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13025         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13026         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13027         (INLINE_SYSCALL): Likewise.
13029         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13030         * include/string.h (__strnlen): Use libc_hidden_proto.
13031         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13032         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13033         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13034         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13035         (libc_hidden_def): Undefine and redefine.
13036         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13037         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13038         __GI_strnlen.
13039         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13040         libc_hidden_def.
13041         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13043         [BZ #18469]
13044         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13045         weak alias of __towlower.  Use libc_hidden_weak.
13046         (towupper): Rename to __towupper and define as weak alias of
13047         __towupper.  Use libc_hidden_weak.
13048         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13049         (__towupper): Likewise.
13050         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13051         __towlower instead of towlower.
13053 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13055         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13056         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13058 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13060         * sysdeps/aarch64/libm-test-ulps: Update.
13062 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13064         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13065         Define.
13066         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13068         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13069         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13070         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13071         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13072         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13074 2015-06-01  Martin Sebor  <msebor@redhat.com>
13076         [BZ #18116]
13077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13078         (__setcontext): Use extended four-operand version of mtsf whenever
13079         possible.
13080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13081         (__novec_swapcontext): Likewise.
13083 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13085         * benchtests/scripts/compare_bench.py: New file.
13086         * benchtests/scripts/import_bench.py (mean): New function.
13087         (split_list): Likewise.
13088         (do_for_all_timings): Likewise.
13089         (compress_timings): Likewise.
13091         * benchtests/scripts/import_bench.py: New file.
13092         * benchtests/scripts/validate_benchout.py: Import import_bench
13093         instead of jsonschema.
13094         (validate_bench): Remove function.
13095         (main): Use import_bench.
13097 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13099         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13100         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13102 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13106 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13108         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13109         set THREAD_SELF->tid to a magic value and futex-wake it.
13110         Pass its address to the thread_exit system call.
13111         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13112         bit is clear.
13113         * sysdeps/nacl/lowlevellock.h: New file.
13114         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13116         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13117         Add TIMEOUT to current time, don't subtract it.
13119 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13121         [BZ #2981]
13122         [BZ #18422]
13123         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13124         ($(objpfx)tst-audit2.out): Also depend on
13125         $(objpfx)tst-auditmod9b.so.
13126         * elf/tst-audit2.c: Include <dlfcn.h>.
13127         (calloc_called): New.
13128         (calloc): Allow to be called more than once.
13129         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13131 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13133         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13134         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13136 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13138         * stdlib/monetary.h: Fix comment.
13140 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13142         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13143         Avoid using variables in #defines that might cause shadowing.
13144         (INTERNAL_VSYSCALL_CALL): Likewise.
13146 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13148         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13150         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13151         * nptl/lll_timedlock_wait.c: ... to this new file.
13152         * nptl/Makefile (libpthread-routines): Add it.
13153         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13154         * nptl/lll_timedwait_tid.c: ... to this new file.
13155         * nptl/Makefile (libpthread-routines): Add it.
13156         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13157         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13158         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13159         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13160         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13161         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13162         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13163         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13164         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13165         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13167 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13169         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13170         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13171         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13172         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13173         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13175         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13177         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13178         * sysdeps/unix/sysv/linux/tile/sysdep.h
13179         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13180         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13181         using vDSO syscall macro.
13183 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13185         [BZ #17293]
13186         * uk_UA: Fix sorting order for Ukrainian locale
13188 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13190         * stdlib/monetary.h: Fix comment.
13192 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13194         [BZ #18234]
13195         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13196         st_mtim and st_ctim members.
13197         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13198         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13199         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13200         (struct stat64): Likewise.
13201         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13202         (struct stat64): Likewise.
13203         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13204         (struct stat64): Likewise.
13206 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13208         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13209         Define and include sysdep-vdso.h.
13210         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13215         Define with VDSO_SYMBOL and use PTR_MANGLE.
13216         (__vdso_clock_gettime): Likewise.
13217         (__vdso_clock_getres): Likewise.
13218         (_libc_vdso_platform_setup): Likewise.
13219         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13220         Likewise.
13221         (_libc_vdso_platform_setup): Likewise.
13222         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13223         Likewise.
13224         (__vdso_clock_gettime): Likewise.
13225         (__vdso_clock_getres): Likewise.
13226         (__vdso_get_tbfreq): Likewise.
13227         (__vdso_getcpu): Likewise.
13228         (__vdso_time): Likewise.
13229         (__vdso_sigtramp_rt64): Likewise.
13230         (__vdso_signtramp32): Likewise.
13231         (__vdso_sigtramp_rt32): Likewise.
13232         (_libc_vdso_platform_setup): Likewise.
13233         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13234         Likewise.
13235         (__vdso_clock_gettime): Likewise.
13236         (__vdso_clock_getres): Likewise.
13237         (_libc_vdso_platform_setup): Likewise.
13238         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13239         Likewise.
13240         (__vdso_clock_gettime): Likewise.
13241         (_libc_vdso_platform_setup): Likewise.
13242         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13243         Likewise.
13244         (__vdso_getcpu): Likewise.
13245         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13246         Use VDSO_SYMBOL macro to define.
13247         (__vdso_clock_gettime): Likewise.
13248         (__vdso_clock_getres): Likewise.
13249         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13250         Likewise.
13251         (__vdso_clock_gettime): Likewise.
13252         (__vdso_clock_getres): Likewise.
13253         (__vdso_get_tbfreq): Likewise.
13254         (__vdso_getcpu): Likewise.
13255         (__vdso_time): Likewise.
13256         (__vdso_sigtramp_rt64): Likewise.
13257         (__vdso_signtramp32): Likewise.
13258         (__vdso_sigtramp_rt32): Likewise.
13259         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13260         Likewise.
13261         (__vdso_clock_gettime): Likewise.
13262         (__vdso_clock_getres): Likewise.
13263         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13264         Likewise.
13265         (__vdso_clock_gettime): Likewise.
13266         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13269         macro.
13270         (INTERNAL_VSYSCALL): Likewise.
13271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13272         Remove macro.
13273         (INTERNAL_VSYSCALL): Likewise.
13274         (INTERNAL_VSYSCALL_NCS): Likewise.
13275         (INTERNAL_VSYSCALL_CALL): New macro.
13276         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13278         Likewise.
13279         (INTERNAL_VSYSCALL): Likewise.
13280         (INTERNAL_VSYSCALL_NCS): Likewise.
13281         (INTERNAL_VSYSCALL_CALL): New macro.
13282         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13284         (INLINE_VSYSCALL): Remove macro.
13285         (INTERNAL_VSYSCALL): Remove macro.
13286         (INTERNAL_VSYSCALL_NCS): Remove macro.
13287         (INTERNAL_VSYSCALL_CALL): New macro.
13288         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13289         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13290         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13291         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13292         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13294         (INLINE_VSYSCALL): Remove macro.
13295         (INTERNAL_VSYSCALL): Likewise.
13296         (INTERNAL_VSYSCALL_NCS): Likewise.
13297         (INTERNAL_VSYSCALL_CALL): New macro.
13298         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13299         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13300         PTR_DEMANGLE on vDSO pointer.
13301         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13302         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13303         macro.
13304         (INTERNAL_SYSCALL): Likewise.
13305         (INTERNAL_VSYSCALL_NCS): Remove macro.
13306         (INTERNAL_VSYSCALL_CALL): New macro.
13307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13308         Remove macro.
13309         (INTERNAL_VSYSCALL): Likewise.
13310         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13311         sysdep-vdso.h instead of libc-vdso.h.
13312         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13313         definition.
13314         (INLINE_VSYSCALL): Likewise.
13315         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13316         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13317         definition.
13318         (INLINE_VSYSCALL): Likewise.
13319         (INTERNAL_VSYSCALL): Likewise.
13320         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13321         * sysdeps/unix/sysv/linux/timespec_get.c
13322         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13323         (timespec_get): Use ANSI prototype.
13324         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13325         and definition for Linux.
13327 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13329         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13330         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13332 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13334         [BZ #2981]
13335         [BZ #18410]
13336         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13337         for missing DT_PLTRELSZ.
13339 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13341         Remove obsolete aliases that broke 'locale -a'
13342         [BZ #18412]
13343         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13344         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13345         breaking some applications that use 'locale -a' output.
13346         Change the encoding of this file from Latin-1 to ASCII to avoid
13347         other potential problems with people grepping this file.
13349 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13351         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13352         -fasynchronous-unwind-tables.
13353         (CFLAGS-sendto.c): Likewise.
13354         (CFLAGS-sendmsg.c): Likewise.
13355         (CFLAGS-connect.c): Likewise.
13356         (CFLAGS-recvmsg.c): Likewise.
13357         (CFLAGS-recvfrom.c): Likewise.
13358         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13359         (SOCKETCALL): New macro: non-cancellable socketcall.
13360         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13361         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13362         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13363         * sysdeps/unix/sysv/linux/accept.c: New file.
13364         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13365         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13366         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13367         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13368         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13369         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13370         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13371         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13372         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13373         * sysdeps/unix/sysv/linux/send.c: Likewise.
13374         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13375         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13376         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13377         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13378         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13379         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13380         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13381         prototype.
13382         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13383         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13384         instead of __internal_xxx function.
13385         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13386         prototype.
13387         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13388         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13389         instead of __internal_xxx function.
13390         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13391         prototype.
13392         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13393         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13394         instead of __internal_xxx function.
13395         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13396         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13397         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13398         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13399         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13400         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13401         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13402         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13403         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13404         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13405         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13406         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13407         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13408         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13409         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13410         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13411         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13412         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13413         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13414         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13417         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13418         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13419         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13420         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13421         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13422         * sysdeps/unix/sysv/linux/send.S: Likewise.
13423         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13424         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13425         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13426         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13427         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13428         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13429         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13430         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13431         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13432         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13433         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13434         socketcall is implemented in GLIBC.
13436 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13438         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13439         (__fma): Ignore uninitialized warnings around packing.
13440         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13441         (__fmaf): Ignore uninitialized warnings around packing.
13442         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13443         (__fmal): Ignore uninitialized warnings around packing.
13445         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13446         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13447         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13448         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13450         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13451         switch statement into default case.
13452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13454         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13455         a conditional in forcing "inexact".
13456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13457         Likewise.
13459 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13461         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13462         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13463         for each INTERNAL_SYSCALL use.
13465 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13467         [BZ #438]
13468         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13469         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13470         variable.
13472         [BZ #18444]
13473         * string/basename.c (basename): Rename to __basename and define as
13474         weak alias of __basename.  Use libc_hidden_weak.
13475         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13476         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13477         __basename instead of basename.
13478         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13479         Remove variable.
13480         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13482 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13484         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13485         (_IO_JUMPS_FILE_plus): New.
13486         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13487         _IO_CAST_FIELD_ACCESS.
13488         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13489         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13490         * libio/freopen.c (freopen): Likewise.
13491         * libio/freopen64.c (freopen64): Likewise.
13492         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13493         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13494         * libio/iofwide.c (_IO_fwide): Likewise.
13495         * libio/memstream.c (open_memstream): Likewise.
13496         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13497         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13498         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13500 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13502         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13503         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13504         NADJ.
13505         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13506         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13507         NADJ.
13508         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13509         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13510         NADJ.
13512         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13513         (p == 4) case.
13515         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13516         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13517         Remove variable.
13518         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13519         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13520         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13522 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13524         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13525         Adjust jump table label generation macros.
13527 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13529         * stdio-common/vfprintf.c (vfprintf): Move local variables
13530         args_malloced, specs, specs_malloced, and the code after
13531         do_positional to the printf_positional function.
13532         (printf_positional): New function.
13534 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13536         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13537         function.
13538         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13539         STEP4_TABLE, process_arg): Move macro definitions
13540         out of the vfprintf function.  (Cosmetic change only.)
13542 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13544         * benchtests/Makefile (stdio-common-bench): Define.
13545         (benchset): Add stdio-common-bench.
13546         * sprintf-inputs: New file.
13547         * sprintf-source.c: New file.
13549 2015-05-21  Andreas Schwab  <schwab@suse.de>
13551         [BZ #13028]
13552         [BZ #17053]
13553         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13554         of struct __res_state.
13555         * resolv/res_send.c (__libc_res_nsend): Likewise.
13556         (get_nsaddr): New function.
13557         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13558         statp directly.
13560 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13562         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13563         -D_POSIX_C_SOURCE=199506L.
13565         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13567         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13568         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13569         Do not mention otherwise.
13570         [POSIX] (_XOPEN_VERSION): Do not expect.
13571         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13572         [POSIX] (_POSIX2_C_BIND): Likewise.
13573         [POSIX] (_POSIX2_VERSION): Likewise.
13574         [POSIX] (_XOPEN_XPG2): Likewise.
13575         [POSIX] (_XOPEN_XPG3): Likewise.
13576         [POSIX] (_XOPEN_XPG4): Likewise.
13577         [POSIX] (_XOPEN_UNIX): Likewise.
13578         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13579         [POSIX] (_POSIX_BARRIERS): Likewise.
13580         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13581         [POSIX] (_POSIX_CPUTIME): Likewise.
13582         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13583         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13584         [POSIX] (_POSIX_SHELL): Likewise.
13585         [POSIX] (_POSIX_SPAWN): Likewise.
13586         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13587         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13588         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13589         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13590         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13591         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13592         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13593         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13594         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13595         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13596         [POSIX] (_POSIX2_PBS): Likewise.
13597         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13598         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13599         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13600         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13601         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13602         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13603         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13604         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13605         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13606         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13607         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13608         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13609         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13610         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13611         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13612         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13613         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13614         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13615         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13616         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13617         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13618         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13619         [POSIX] (_SC_2_C_BIND): Likewise.
13620         [POSIX] (_SC_2_C_VERSION): Likewise.
13621         [POSIX] (_SC_2_PBS): Likewise.
13622         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13623         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13624         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13625         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13626         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13627         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13628         [POSIX] (_SC_BARRIERS): Likewise.
13629         [POSIX] (_SC_BASE): Likewise.
13630         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13631         [POSIX] (_SC_DEVICE_IO): Likewise.
13632         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13633         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13634         [POSIX] (_SC_FD_MGMT): Likewise.
13635         [POSIX] (_SC_FIFO): Likewise.
13636         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13637         [POSIX] (_SC_FILE_LOCKING): Likewise.
13638         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13639         [POSIX] (_SC_IOV_MAX): Likewise.
13640         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13641         [POSIX] (_SC_NETWORKING): Likewise.
13642         [POSIX] (_SC_PAGE_SIZE): Likewise.
13643         [POSIX] (_SC_PASS_MAX): Likewise.
13644         [POSIX] (_SC_PIPE): Likewise.
13645         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13646         [POSIX] (_SC_REGEXP): Likewise.
13647         [POSIX] (_SC_SHELL): Likewise.
13648         [POSIX] (_SC_SIGNALS): Likewise.
13649         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13650         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13651         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13652         [POSIX] (_SC_USER_GROUPS): Likewise.
13653         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13654         [POSIX] (_SC_STREAMS): Likewise.
13655         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13656         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13657         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13658         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13659         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13660         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13661         [POSIX] (_PC_FILESIZEBITS): Likewise.
13662         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13663         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13664         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13665         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13666         [POSIX] (uid_t): Likewise.
13667         [POSIX] (gid_t): Likewise.
13668         [POSIX] (off_t): Likewise.
13669         [POSIX] (pid_t): Likewise.
13670         [POSIX] (cuserid): Allow.
13671         (_SC_2_CHAR_TERM): Require constant.
13672         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13673         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13674         variable.
13676 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13678         * sysdeps/nacl/pthread-pids.h: New file.
13679         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13680         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13682         * nptl/pthread-pids.h: New file.
13683         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13684         * nptl/nptl-init.c: Include <pthread-pids.h>.
13685         (__pthread_initialize_minimal_internal):
13686         Call __pthread_initialize_pids instead of set_tid_address syscall.
13688         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13689         * sysdeps/posix/usleep.c: ... here.
13691 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13693         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13694         call_pselect6 object.
13695         [$(subdir) = io]: Remove call_sync_file_range object.
13696         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13697         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13698         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13699         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13701 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13703         * math/s_cproj.c: Add include "math_private.h".
13704         * math/s_cprojf.c: Likewise.
13705         * math/s_cprojl.c: Likewise.
13707 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13709         [BZ #18244]
13710         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13711         high mantissa bit when testing whether P is a NaN.
13712         * math/libm-test.inc (remainder_test_data): Add more tests.
13713         (remquo_test_data): Likewise.
13715         [BZ #18049]
13716         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13717         below -32, return the argument, with underflow if subnormal.
13718         * math/auto-libm-test-in: Add more tests of atanh.
13719         * math/auto-libm-test-out: Regenerated.
13721 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13723         [BZ #18434]
13724         * nptl/tst-sem15.c: New file.
13725         * nptl/Makefile (tests): Add it.
13726         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13727         s/<</>>/ to fix typo in EOVERFLOW check.
13728         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13730 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * manual/strings.texi (envz_remove): Fix typo in safety
13733         annotations.
13735 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13736             Steve Ellcey  <sellcey@imgtec.com>
13738         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13739         in order to avoid strict alias warnings.
13740         (iruserok_af): Ditto for ra.
13742 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13744         [BZ #17581]
13745         * malloc/hooks.c
13746         (magicbyte): Convert to a function and avoid returning 0x01.
13747         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13748         (mem2chunk_check): Fix unsigned comparisons to zero.
13749         Hoist defs of sz and magic.
13751 2015-05-19  Richard Henderson  <rth@redhat.com>
13753         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13755         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13757 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13759         [BZ #16159]
13760         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13761         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13762         (reused_arena): Find a non-corrupt arena.
13763         (heap_trim): Pass arena to unlink.
13764         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13765         malloc_printerr.
13766         (top_check): Likewise.
13767         (free_check): Likewise.
13768         (realloc_check): Likewise.
13769         * malloc/malloc.c (malloc_printerr): Add arena argument.
13770         (unlink): Likewise.
13771         (munmap_chunk): Adjust.
13772         (ARENA_CORRUPTION_BIT): New macro.
13773         (arena_is_corrupt): Likewise.
13774         (set_arena_corrupt): Likewise.
13775         (sysmalloc): Use mmap if there are no usable arenas.
13776         (_int_malloc): Likewise.
13777         (__libc_malloc): Don't fail if arena_get returns NULL.
13778         (_mid_memalign): Likewise.
13779         (__libc_calloc): Likewise.
13780         (__libc_realloc): Adjust for additional argument to
13781         malloc_printerr.
13782         (_int_free): Likewise.
13783         (malloc_consolidate): Likewise.
13784         (_int_realloc): Likewise.
13785         (_int_memalign): Don't touch corrupt arenas.
13786         * malloc/tst-malloc-backtrace.c: New test case.
13788         * Makefile (summarize-tests): Fix return value on success.
13790         * manual/string.texi (Envz Functions): Add envz_remove.
13792 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13794         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13795         (invalid_name): New function, broken out of ...
13796         (__opendirat): ... here.  Call it.
13797         (need_isdir_precheck): New function, broken out of ...
13798         (__opendirat): ... here.  Call it.
13799         Use __fxstatat64, not __xstatat64.
13800         (opendir_oflags): New function, broken out of ...
13801         (__opendirat): ... here.  Call it.
13802         (opendir_tail): New function, broken out of ...
13803         (__opendirat): ... here.  Call it.
13804         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13805         opendir_tail, rather than punting to __opendirat.
13806         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13808 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13810         * .gitignore: Ignore generated *.pyc.
13812 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13814         * include/stdio.h: Define __need_wint_t.
13815         * test-skeleton.c: Avoid `for' loop initial declaration.
13816         * nptl/tst-initializers1.c: Use test-skeleton.c.
13818 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13820         [BZ #18418]
13821         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13823 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13825         [BZ #16352]
13826         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13827         (__ieee754_atanh): Force underflow exception for results with
13828         small absolute value.
13829         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13830         (__ieee754_atanhf): Force underflow exception for results with
13831         small absolute value.
13832         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13833         (__ieee754_atanh): Force underflow exception for results with
13834         small absolute value.
13835         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13836         (__ieee754_atanhf): Force underflow exception for results with
13837         small absolute value.
13838         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13839         (__ieee754_atanhl): Force underflow exception for results with
13840         small absolute value.
13841         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13842         (__ieee754_atanhl): Force underflow exception for results with
13843         small absolute value.
13844         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13845         (__ieee754_atanhl): Force underflow exception for results with
13846         small absolute value.
13847         * math/auto-libm-test-in: Do not allow missing underflow
13848         exceptions from atanh.
13849         * math/auto-libm-test-out: Regenerated.
13851         [BZ #18221]
13852         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13853         2**-28 as threshold for returning x or +/- 1/x.
13854         * math/auto-libm-test-in: Add more tests of tan.
13855         * math/auto-libm-test-out: Regenerated.
13857         [BZ #18220]
13858         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13859         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13860         * math/auto-libm-test-in: Add another test of lgamma.
13861         * math/auto-libm-test-out: Regenerated.
13863 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13865         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13866         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13867         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13868         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13869         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13870         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13871         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13872         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13874         (log1): Use fabs.  (my_log2): Use fabs.
13875         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13876         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13878         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13880         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13881         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13882         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13883         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13884         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13885         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13887 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #18217]
13890         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13891         as threshold for returning 1 - x.
13892         * math/auto-libm-test-in: Add more tests of erfc.
13893         * math/auto-libm-test-out: Regenerated.
13895 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13897         [BZ #18196]
13898         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13899         threshold for large arguments.
13900         * math/auto-libm-test-in: Add another test of atan.
13901         * math/auto-libm-test-out: Regenerated.
13903         [BZ #16339]
13904         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13905         (__log1p): Force underflow exception for results with small
13906         absolute value.
13907         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13908         (__log1pf): Force underflow exception for results with small
13909         absolute value.
13910         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13911         (__log1p): Force underflow exception for results with small
13912         absolute value.
13913         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13914         (__log1pf): Force underflow exception for results with small
13915         absolute value.
13916         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13917         (__log1pl): Force underflow exception for results with small
13918         absolute value.
13919         * math/auto-libm-test-in: Do not allow missing underflow
13920         exceptions from log1p.
13921         * math/auto-libm-test-out: Regenerated.
13923 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13924             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13926         [BZ #16704]
13927         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13929 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13931         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13932         (libmvec): New variable.
13933         * configure.ac: Added option for mathvec build.
13934         * configure: Regenerated.
13935         * mathvec/Depend: New file.
13936         * mathvec/Makefile: New file.
13937         * shlib-versions: Added libmvec.
13938         * math/Makefile: Added rule for libm.so installation.
13940         * bits/math-vector.h: New file.
13941         * bits/libm-simd-decl-stubs.h: New header.
13942         * math/Makefile (headers): Added new header
13943         libm-simd-decl-stubs.h.
13944         * math/math.h (__MATHCALL_VEC): New macro.
13946         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13947         for conditions in testing functions.
13948         * math/Makefile: Added call of libm-have-vector-test.sh.
13949         * math/libm-test.inc (HAVE_VECTOR): New macros.
13951         * math/libm-test.inc: START refactored.
13952         * math/test-double.c (TEST_MATHVEC): Add define.
13953         * math/test-float.c: Likewise.
13954         * math/test-idouble.c: Likewise.
13955         * math/test-ifloat.c: Likewise.
13956         * math/test-ildoubl.c: Likewise.
13957         * math/test-ldouble.c: Likewise.
13958         * sysdeps/generic/math-tests-arch.h
13959         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13960         architecture check.
13962         * math/test-double.c (FUNC_TEST): New macro.
13963         * math/test-float.c: Likewise.
13964         * math/test-idouble.c: Likewise.
13965         * math/test-ifloat.c: Likewise.
13966         * math/test-ildoubl.c: Likewise.
13967         * math/test-ldouble.c: Likewise.
13968         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13970 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13972         * sysdeps/nacl/fdopendir.c: New file.
13974         * dirent/scandir-tail.c: New file.
13975         * dirent/scandir64-tail.c: New file.
13976         * dirent/Makefile (routines): Add them.
13977         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13978         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13979         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13980         [!SCANDIR] (SCANDIR_TAIL): New macro.
13981         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13982         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13983         (SCANDIRAT): Macro removed.
13984         (SCANDIR_TAIL): New macro.
13985         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13986         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13987         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13988         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13989         (READDIR): Macro removed.
13990         (SCANDIR_TAIL): New macro.
13991         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13992         (SCANDIR_TAIL): New macro.
13994         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13995         * dirent/scandir-cancel.c: ... to this new file.
13996         * dirent/Makefile (routines): Add it.
13997         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13998         * sysdeps/unix/sysv/linux/i386/scandir64.c
13999         (SKIP_SCANDIR_CANCEL): Macro removed.
14000         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14002         * dirent/tst-scandir.c: New file.
14003         * dirent/tst-scandir64.c: New file.
14004         * dirent/Makefile (tests): Add them.
14006 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14008         [BZ #18409]
14009         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14011 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14013         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14014         list.
14016 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14018         * benchtests/bench-strcoll.c: New benchmark.
14019         * benchtests/Makefile: Generate locales and run benchmark.
14020         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14021         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14022         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14023         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14024         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14025         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14026         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14027         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14028         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14029         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14030         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14031         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14032         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14033         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14034         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14035         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14036         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14037         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14038         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14039         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14040         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14041         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14042         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14043         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14045 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14047         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14048         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14050 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14052         * posix/uname-values.h: New file.
14053         * posix/uname.c: Include that instead of <config-name.h>.
14054         * sysdeps/nacl/uname-values.h: New file.
14055         * sysdeps/arm/nacl/uname-values.h: New file.
14057 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14059         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14060         splitting into fields.
14062 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14064         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14065         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14066         * locale/localeinfo.h: Add enum collation_encoding_type.
14067         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14068         * programs/ld-collate.c (collate_output): Add encoding type info.
14069         * string/strcoll_l.c (STRDIFF): New function.
14070         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14071         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14073 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14075         [BZ #18397]
14076         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14077         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14078         <fpu_control.h> instead of <math/fpu_control.c>.
14079         * sysdeps/mips/mips32/fpu/Makefile: New file.
14081 2015-05-11  Andreas Schwab  <schwab@suse.de>
14083         [BZ #18007]
14084         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14085         nss_endgrent.
14086         (_nss_compat_endgrent): Call nss_endgrent.
14087         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14088         nss_endpwent.
14089         (_nss_compat_endpwent): Call nss_endpwent.
14090         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14091         needent, call nss_setspent only if non-zero.
14092         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14093         (internal_endspent): Don't call nss_endspent.
14094         (_nss_compat_endspent): Call nss_endspent.
14095         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14096         Remove.  All uses removed.
14097         (internal_setent): Remove parameter stayopen, add parameter
14098         stream.  Use it instead of global variable.
14099         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14100         (internal_endent, internal_getent): Add parameter stream.  Use it
14101         instead of global variable.
14102         (CONCAT(_nss_files_end,ENTNAME))
14103         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14104         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14105         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14106         uses removed.
14107         (internal_setent, internal_endent): Add parameter stream.  Use it
14108         instead of global variable.
14109         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14110         stream.
14111         (get_next_alias): Add parameter stream.
14112         (_nss_files_getaliasent_r): Pass global stream.
14113         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14114         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14115         (_nss_files_gethostbyname4_r): Pass local stream to
14116         internal_setent, internal_getent and internal_endent.  Remove
14117         locking.
14119 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14121         * tst-strfmon1.c (tests): Update expected currency symbol.
14123 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14125         * sysdeps/nacl/gethostname.c: New file.
14127 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14129         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14130         and sinh.
14131         * math/auto-libm-test-out: Regenerated.
14132         * sysdeps/i386/fpu/libm-test-ulps: Update.
14133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14135 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14137         [BZ #18125]
14138         * stdlib/tst-setcontext3.c: New file.
14139         * stdlib/tst-setcontext3.sh: New file.
14140         * stdlib/Makefile (tests): Add tst-setcontext3.
14141         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14142         to verify test program created output file.
14143         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14144         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14145         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14146         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14148 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14150         [BZ #18383]
14151         * elf/tst-tlsalign.c: New file.
14152         * elf/tst-tlsalign-static.c: New file.
14153         * elf/tst-tlsalign-lib.c: New file.
14154         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14155         (tests-static): Add tst-tlsalign-static.
14156         (modules-names): Add tst-tlsalign-lib.
14157         (test-xfail-tst-tlsalign): New variable.
14158         (test-xfail-tst-tlsalign-static): New variable.
14160         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14161         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14163 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14165         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14166         csqrt, erfc, sin and sincos.
14167         * math/auto-libm-test-out: Regenerated.
14168         * sysdeps/i386/fpu/libm-test-ulps: Update.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14171 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14173         * sysdeps/aarch64/libm-test-ulps: Update.
14175 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14177         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14178         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14179         * math/auto-libm-test-out: Regenerated.
14180         * sysdeps/i386/fpu/libm-test-ulps: Update.
14181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14185         [BZ #18265]
14186         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14187         (wcsncpy): Likewise.
14189 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14191         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14192         Assume __ASSUME_FALLOCATE is always true.
14193         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14194         (__posix_fallocate64_l64): Likweise.
14195         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14196         (posix_fallocate): Likewise.
14197         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14198         (__posix_fallocate64_l64): Likewise.
14199         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14200         [!__ASSUME_FALLOCATE]: Add comment.
14202 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14204         * sysdeps/unix/sysv/linux/i386/Makefile
14205         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14206         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14207         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14208         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14209         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14210         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14211         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14213 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14215         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14216         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14217         tgamma.
14218         * math/auto-libm-test-out: Regenerated.
14219         * sysdeps/i386/fpu/libm-test-ulps: Update.
14220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14224         * math/auto-libm-test-in: Add more tests of tgamma.
14225         * math/auto-libm-test-out: Regenerated.
14226         * sysdeps/i386/fpu/libm-test-ulps: Update.
14227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14229         * math/auto-libm-test-in: Add more tests of tanh.
14230         * math/auto-libm-test-out: Regenerated.
14231         * sysdeps/i386/fpu/libm-test-ulps: Update.
14232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14234         * math/auto-libm-test-in: Add more tests of tan.
14235         * math/auto-libm-test-out: Regenerated.
14236         * sysdeps/i386/fpu/libm-test-ulps: Update.
14237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14240         * math/auto-libm-test-out: Regenerated.
14241         * sysdeps/i386/fpu/libm-test-ulps: Update.
14242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14244         * math/auto-libm-test-in: Add another test of pow.
14245         * math/auto-libm-test-out: Regenerated.
14246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14248         * math/auto-libm-test-in: Add more tests of lgamma.
14249         * math/auto-libm-test-out: Regenerated.
14250         * sysdeps/i386/fpu/libm-test-ulps: Update.
14251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14253         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14254         log1p.
14255         * math/auto-libm-test-out: Regenerated.
14256         * sysdeps/i386/fpu/libm-test-ulps: Update.
14257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14259 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14261         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14262         Elf64_Chdr structs and ELFCOMPRESS constants.
14264 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14266         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14267         expm1.
14268         * math/auto-libm-test-out: Regenerated.
14269         * sysdeps/i386/fpu/libm-test-ulps: Update.
14270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14272         * math/auto-libm-test-in: Add more tests of erf and erfc.
14273         * math/auto-libm-test-out: Regenerated.
14274         * sysdeps/i386/fpu/libm-test-ulps: Update.
14275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14279         * config.h.in (HAVE_AARCH64_BE): Add.
14281 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14283         * math/auto-libm-test-in: Add more tests of csqrt.
14284         * math/auto-libm-test-out: Regenerated.
14285         * sysdeps/i386/fpu/libm-test-ulps: Update.
14286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14289         * math/auto-libm-test-out: Regenerated.
14290         * sysdeps/i386/fpu/libm-test-ulps: Update.
14291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14293         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14295 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14297         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14298         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14300         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14301         (euidaccess, eaccess): Define as weak aliases.
14303         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14304         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14305         but __suseconds_t is often 'long int' so some sources assume that
14306         type is being used (e.g. they use %ld to print tv_usec).
14308 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14310         [BZ #18007]
14311         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14312         (CVE-2014-8121)
14313         * nss/tst-nss-getpwent.c: New file.
14314         * nss/Makefile (tests): Add new test.
14316 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14318         [BZ #18346]
14319         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14320         exponents less than 48 as cases where high part of mantissa needs
14321         examining to determine whether argument is integral.
14322         * math/libm-test.inc (round_test_data): Add more tests.
14324 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14326         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14328 2015-04-27  David S. Miller  <davem@davemloft.net>
14330         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14331         __tls_get_addr.
14332         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14334 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14336         [BZ#18333]
14337         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14339 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14341         [BZ#18333]
14342         * time/tzset.c (parse_tzname): Return error on memory allocation
14343         failure.
14344         * test-skeleton.c (struct temp_name_list): Change type of name
14345         member to non-const.
14346         (add_temp_file): Create a copy of the file name.
14347         (delete_temp_files): Deallocate memory.
14348         (create_temp_file): Add comment.
14350 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14352         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14353         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14355 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14357         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14358         * sysdeps/arm/configure: Regenerated.
14360 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14362         [BZ #17715]
14363         * time/tzfile.c (__tzfile_read): Check for large values of
14364         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14365         * time/tzset.c (__tzstring_len): New function, based on the old
14366         __tzstring function.
14367         (__tzstring): Call __tzstring_len.
14368         (parse_tzname): New helper function extracted from
14369         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14370         the input string.
14371         (parse_offset): New helper function extracted from
14372         __tzset_parse_tz.  Replace switch with fallthrough with
14373         initialization before sscanf.
14374         (parse_rule): Likewise.
14375         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14376         new-style function definition.
14377         * timezone/Makefile (tests): Add tst-tzset.
14378         (tst-tzset.out): Dependencies on time zone files.
14379         (tst-tzset-ENV): Set TZDIR.
14380         (testdata/XT%): Copy crafted time zone files.
14381         * timezone/README: Mention crafted time zone files.
14382         * timezone/testdata/XT1, timezone/testdata/XT2,
14383         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14384         files.
14385         * timezone/tst-tzset.c: New test.
14387 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14389         * Makeconfig (+gccwarn): Remove -Winline.
14391 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14393         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14395 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14397         * NEWS: Mention sysconf() cache information support for s390.
14398         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14400 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14402         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14403         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14404         (__nearbyint): Likewise.
14405         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14406         (copysignl): Likewise.
14408 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14410         [BZ #18287]
14411         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14412         based on padding.  (CVE-2015-1781)
14414 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14416         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14417         libc-vdso.h.
14418         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14419         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14420         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14421         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14422         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14423         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14424         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14426         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14427         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14428         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14429         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14430         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14431         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14432         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14433         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14434         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14435         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14436         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14437         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14438         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14439         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14440         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14442 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14444         * stdlib/setenv.c (__add_to_environ):
14445         Dump core quickly if setenv (..., NULL, ...) is called.
14446         This time, do it the right way, and pacify GCC with a pragma.
14448 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14450         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14451         IMAP->l_prev cannot be null, and #if out the code for the contrary
14452         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14453         believe that NS (&_dl_ns[NSID]) could point outside the array.
14455         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14456         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14457         before using NSID as an index.
14459 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14461         [BZ #17825]
14462         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14463         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14464         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14466 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14468         Add preliminary port to Google Native Client on ARM.
14469         * abi-tags (.*-.*-nacl.*): New entry.
14470         * sysdeps/arm/nacl: New directory.
14471         * sysdeps/nacl: New directory.
14473 2015-04-16  David S. Miller  <davem@davemloft.net>
14475         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14476         lowlevellock-futex.h
14478 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14480         * sysdeps/tile/configure.ac: New file.
14481         * sysdeps/tile/configure: Regenerated.
14483 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14485         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14486         conditionals for weak_alias and libc_hidden_weak.
14487         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14488         libc_hidden_weak and weak_alias.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14490         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14491         and weak_alias for static one.
14493 2015-04-15  David S. Miller  <davem@davemloft.net>
14495         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14497 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14499         [BZ #18206]
14500         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14501           Use signed comparision instead of substraction to avoid
14502           overflow bug.
14503         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14504           Take the sign of ret.
14505         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14506           Do not expect precise return values. Only the sign matters.
14507         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14508         * wcsmbs/test-wcsncmp.c: New File.
14509         * string/test-strncmp.c: Add wcsncmp support.
14511 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14513         [BZ #6792]
14514         * math/w_log1p.c: New file.
14515         * math/w_log1pf.c: Likewise.
14516         * math/w_log1pl.c: Likewise.
14517         * math/Makefile (libm-calls): Add w_log1p.
14518         * math/s_log1pl.c (log1pl): Remove weak_alias.
14519         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14520         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14521         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14522         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14523         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14524         [NO_LONG_DOUBLE] (log1pl): Likewise.
14525         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14526         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14527         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14528         (log1p): Remove long_double_symbol.
14529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14530         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14531         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14532         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14533         remove weak_alias for corresponding log1p function.
14534         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14535         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14536         * sysdeps/ia64/fpu/w_log1p.c: New file.
14537         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14538         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14539         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14541 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14543         [BZ #18247]
14544         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14545         decimal exponent by 1.
14546         * stdlib/tst-strtod-round-data: Add more tests.
14547         * stdlib/tst-strtod-round.c (tests): Regenerated.
14549 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14551         * math/auto-libm-test-in: Add more tests of clog and clog10.
14552         * math/auto-libm-test-out: Regenerated.
14553         * sysdeps/i386/fpu/libm-test-ulps: Update.
14554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14556 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14558         * Makeconfig (module-cppflags): Exclude all .v.i files.
14559         (skip-module-cppflags): Variable removed.
14561         * configure.ac (libc_config_ok): Initialize before reading
14562         preconfigure scripts, not after.
14563         * configure: Regenerated.
14565         * test-skeleton.c (TIMEOUT): Move #define to top level.
14566         (main): Grok environment variable TEST_DIRECT.  If set, print
14567         test expectation details into that file and then behave as if
14568         given --direct.
14570 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14572         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14573         warning on 32-bit.
14575 2015-04-08  David S. Miller  <davem@davemloft.net>
14577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14579 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14581         * math/auto-libm-test-in: Add more tests of atanh.
14582         * math/auto-libm-test-out: Regenerated.
14583         * sysdeps/i386/fpu/libm-test-ulps: Update.
14584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14586         * math/auto-libm-test-in: Add more tests of atan.
14587         * math/auto-libm-test-out: Regenerated.
14588         * sysdeps/i386/fpu/libm-test-ulps: Update.
14589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14591 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14593         * elf/pldd.c (main): Rewrite to use struct
14594         scratch_buffer instead of extend_alloca.
14595         * elf/pldd-xx.c (find_maps): Likewise.
14596         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14597         <alloca.h>.
14598         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14599         scratch_buffer instead of extend_alloca.
14600         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14601         grp/compat-initgroups.c.
14602         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14603         Rewrite to use struct scratch_buffer instead of extend_alloca.
14604         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14605         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14607 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14609         * math/auto-libm-test-in: Add more tests of cbrt.
14610         * math/auto-libm-test-out: Regenerated.
14611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14613         * math/auto-libm-test-in: Add more tests of cabs.
14614         * math/auto-libm-test-out: Regenerated.
14615         * sysdeps/i386/fpu/libm-test-ulps: Update.
14616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14618         [BZ #18210]
14619         [BZ #18211]
14620         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14621         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14622         computations.
14623         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14624         clog10.
14625         * math/auto-libm-test-out: Regenerated.
14626         * sysdeps/i386/fpu/libm-test-ulps: Update.
14627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14629         [BZ #18197]
14630         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14631         (atan): Set FE_TONEAREST mode for internal computations.
14632         * math/auto-libm-test-in: Add more tests of atan.
14633         * math/auto-libm-test-out: Regenerated.
14635 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14637         [BZ #17930]
14638         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14640 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14642         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14644 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14646         * include/scratch_buffer.h: New file.
14647         * malloc/scratch_buffer_grow.c: Likewise.
14648         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14649         * malloc/scratch_buffer_set_array_size.c: Likewise.
14650         * malloc/tst-scratch_buffer.c: Likewise.
14651         * malloc/Makefile (routines): Add scratch_buffer_grow.
14652         (tests): Add test case.
14653         * malloc/Versions (GLIBC_PRIVATE): Export
14654         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14655         __libc_scratch_buffer_set_array_size.
14657 2015-04-06  Richard Henderson  <rth@redhat.com>
14659         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14660         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14662         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14663         unsigned int before printing.
14665 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14667         [BZ #17596]
14668         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14669         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14671 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14673         * include/libc-internal.h (libc_max_align_t): Define.
14675 2015-04-02  Andreas Schwab  <schwab@suse.de>
14677         [BZ #16850]
14678         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14680 2015-04-02  Mel Gorman  <mgorman@suse.de>
14682         [BZ #17195]
14683         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14684         as well as the main arena.
14686 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14688         [BZ #18185]
14689         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14690         sharing L2 cache to 2 for Silvermont/Knights Landing.
14692 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14694         [BZ #17711]
14695         * config.make.in (have-protected-data): New.
14696         * configure.ac: Check linker support for protected data symbol.
14697         * configure: Regenerated.
14698         * elf/Makefile (modules-names): Add tst-protected1moda and
14699         tst-protected1modb if $(have-protected-data) is yes.
14700         (tests): Add tst-protected1a and tst-protected1b if
14701         $(have-protected-data) is yes.
14702         ($(objpfx)tst-protected1a): New.
14703         ($(objpfx)tst-protected1b): Likewise.
14704         (tst-protected1modb.so-no-z-defs): Likewise.
14705         * elf/tst-protected1a.c: New file.
14706         * elf/tst-protected1b.c: Likewise.
14707         * elf/tst-protected1mod.h: Likewise.
14708         * elf/tst-protected1moda.c: Likewise.
14709         * elf/tst-protected1modb.c: Likewise.
14711 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14713         [BZ #17711]
14714         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14715         indicates it is called from do_lookup_x on relocation against
14716         protected data, skip the data definion in the executable from
14717         copy reloc.
14718         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14719         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14720         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14721         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14722         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14723         otherwise to 0.
14724         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14725         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14726         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14727         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14728         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14729         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14731 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14733         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14734         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14736 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14738         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14739         THREAD_SETMEM_NC.
14740         * sysdeps/x86_64/nptl/tls.h: Ditto.
14742 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14744         * dlfcn/tststatic.c (main): Converted to ...
14745         (do_test): ... this.
14746         (TEST_FUNCTION): New macro.
14747         Include test-skeleton.c.
14749 2015-03-26  Alan Modra  <amodra@gmail.com>
14751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14752         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14753         zero for undefined weak.
14754         (elf_machine_plt_conflict): Similarly.
14756 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14758         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14759         atanh.
14760         * math/auto-libm-test-out: Regenerated.
14761         * sysdeps/i386/fpu/libm-test-ulps: Update.
14762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764         * math/auto-libm-test-in: Add another test of asin.
14765         * math/auto-libm-test-out: Regenerated.
14766         * sysdeps/i386/fpu/libm-test-ulps: Update.
14767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14770         Remove macro.
14771         (LLL_EBX_REG): Likewise.
14772         (LLL_ENTER_KERNEL): Likewise.
14774         * math/auto-libm-test-in: Add more tests of asin.
14775         * math/auto-libm-test-out: Regenerated.
14776         * sysdeps/i386/fpu/libm-test-ulps: Update.
14777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14779         [BZ #18138]
14780         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14781         libc_do_syscall_args): New structure.
14782         (INTERNAL_SYSCALL_MAIN_0): New macro.
14783         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14784         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14785         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14786         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14787         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14788         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14789         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14790         Replace conditional definitions by conditional definitions of ....
14791         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14792         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14793         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14794         (libpthread-sysdep_routines): Add libc-do-syscall.
14795         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14796         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14797         to __NR_futex not 240.
14799 2015-03-25  Alan Modra  <amodra@gmail.com>
14801         * NEWS: Advertise TLS optimization.
14802         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14803         (DT_PPC_NUM): Increment.
14804         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14805         (CHECK_STATIC_TLS): Use here.
14806         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14807         TLS descriptors.
14808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14809         * sysdeps/powerpc/dl-tls.c: New file.
14810         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14811         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14812         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14813         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14818 2015-03-25  Alan Modra  <amodra@gmail.com>
14820         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14821         for overlapping .opd entries" to "support...".
14822         * sysdeps/powerpc/powerpc64/configure: Regenerate
14824 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14826         * math/auto-libm-test-in: Add more tests of acos.
14827         * math/auto-libm-test-out: Regenerated.
14828         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831         * math/auto-libm-test-in: Add more tests of expm1.
14832         * math/auto-libm-test-out: Regenerated.
14833         * sysdeps/i386/fpu/libm-test-ulps: Update.
14834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14838         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14839         * math/auto-libm-test-out: Regenerated.
14840         * sysdeps/i386/fpu/libm-test-ulps: Update.
14841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14843         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14846         * math/auto-libm-test-in: Add more tests of log2.
14847         * math/auto-libm-test-out: Regenerated.
14848         * sysdeps/i386/fpu/libm-test-ulps: Update.
14849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14851 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14853         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14854         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14855         _IO_IS_APPENDING bit in READ_WRITE instead.
14857 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14859         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14860         (__determine_cpumask_size): Replace extend_alloca with a
14861         variable-length array.  Do not treat res == 0 as an error.
14863 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14865         [BZ #18100]
14866         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14867         and integer overflow.
14868         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14869         (main): Add integer overflow tests.
14870         * manual/pattern.texi (Calling Wordexp): Document additional use
14871         for WRDE_SYNTAX.
14873 2015-03-23  Alan Modra  <amodra@gmail.com>
14875         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14876         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14877         and false branch of conditional.
14878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14879         Likewise.
14881 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14883         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14884         libc-modules.h
14885         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14886         unused declaration of _hurd_intr_rpc_msg_in_trap.
14887         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14888         defined instead of whether it is non-zero.
14889         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14890         input constraint instead of both input and output constraint.  Use ecx
14891         clobber instead of %ecx.
14892         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14893         mutex_unlock): Use a statement expression instead of an expression list.
14894         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14895         type to vm_size_t instead of vm_address_t.
14896         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14897         defined instead of whether it is non-zero.
14898         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14899         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14900         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14901         comparisons with mapaddr.
14902         * nscd/nscd-client.h: Include <time.h>.
14903         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14904         9th parameter to __vm_region instead of int.
14905         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14906         * scripts/check-local-headers.sh (exclude): Add device/,
14907         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14908         cthreads.h.
14910 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14912         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14913         to account for alignment padding.
14914         * sysdeps/arm/memmove.S: Likewise.
14916 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14918         * sysdeps/unix/sysv/linux/generic/README: New file.
14920 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14922         [BZ #18138]
14923         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14924         (futex_abstimed_wait)
14925         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14926         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14927         of lll_futex_timed_wait.
14929 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14931         [BZ #17542]
14932         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14934 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14936         [BZ #17090]
14937         [BZ #17620]
14938         [BZ #17621]
14939         [BZ #17628]
14940         * NEWS: Update.
14941         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14942         entries with Static TLS too.  Skip entries past the end of the
14943         allocated DTV, from Alan Modra.
14944         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14945         Static TLS DTV entry set up from...
14946         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14947         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14948         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14949         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14950         for Static TLS.
14951         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14952         that the slot we find is associated with the given map before
14953         using its generation count.
14954         * nptl_db/db_info.c: Include ldsodefs.h.
14955         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14956         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14957         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14958         (link_map::l_tls_offset): New struct field.
14959         (dtv_t::counter): Likewise.
14960         (rtld_global): New struct.
14961         (_rtld_global): New rtld variable.
14962         (dl_tls_dtv_slotinfo_list): New rtld global field.
14963         (dtv_slotinfo_list): New struct.
14964         (dtv_slotinfo): Likewise.
14965         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14966         (td_lookup): Rename to...
14967         (td_mod_lookup): ... this.  Use new mod parameter instead of
14968         LIBPTHREAD_SO.
14969         * nptl_db/td_thr_tlsbase.c: Include link.h.
14970         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14971         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14972         addresses even if the DTV is out of date or missing them.
14973         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14974         index zero-length arrays.
14975         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14976         (td_lookup): Make it a macro implemented in terms of...
14977         (td_mod_lookup): ... this declaration.
14978         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14979         (DB_MAIN_VARIABLE): Likewise.
14981 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14983         [BZ #18134]
14984         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14986 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14988         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14990 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14992         [BZ #18128]
14993         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14994         (atomic_add, atomic_increment_and_test)
14995         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14997 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14999         * stdlib/setenv.c (__add_to_environ):
15000         Dump core quickly if setenv (..., NULL, ...) is called.
15002 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15004         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15005         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15006         all the necessary asm magic in one place.
15007         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15008         using those.
15010 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15012         [BZ #14906]
15013         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15014         traced file mtime. Use consistent log message.
15015         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15016         (register_traced_file): Call install_watches. Always set mtime.
15017         (invalidate_cache): Iterate over all trace files. Call install_watches.
15018         (inotify_check_files): Don't inline. Handle watching parent
15019         directories and configuration file movement in and out.
15020         (handle_inotify_events): New function.
15021         (main_loop_poll): Call handle_inotify_events.
15022         (main_loop_epoll): Likewise.
15023         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15024         (struct traced_file): Use array of inotify fds. Add parent directory,
15025         and basename.
15026         (struct database_dyn): Remove unused file_mtime.
15027         (init_traced_file): New inline function.
15028         (define_traced_file): New macro.
15029         * nss/nss_db/db-init.c: Use define_traced_file.
15030         (_nss_db_init): Use init_traced_file.
15031         * nss/nss_files/files-init.c: Use define_traced_file.
15032         (_nss_files_init): Use init_traced_file.
15034 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15036         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15037         [_LIBC]: Do not include <stdlib.h>.
15038         [!_LIBC] (abort): Remove declaration.
15039         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15040         _FP_STATIC_ASSERT instead of conditionally calling abort.
15041         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15042         (_FP_EXTEND_CNAN): Likewise.
15043         (FP_TRUNC): Likewise.
15044         (__FP_CLZ): Likewise.
15045         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15047 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15049         * manual/string.texi (XPG basename): Fix prototype.
15051 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15053         [BZ #18080]
15054         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15055         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15056         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15057         (__setcontext): Likewise.
15058         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15059         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15060         Call rt_sigprocmask syscall one time to set new signal mask
15061         and retrieve the current signal mask instead of two calls.
15062         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15063         (__swapcontext): Likewise.
15064         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15065         * stdlib/tst-setcontext2.c: New file.
15067 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15069         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15071 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15073         [BZ #18093]
15074         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15075         the wrong size.
15077 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15079         [BZ #18043]
15080         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15082 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15084         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15085         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15086         Remove define.
15087         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15088         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15089         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15090         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15091         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15092         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15093         define.
15094         * nptl_db/td_symbol_list.c (td_lookup): Remove
15095         HAVE_ASM_GLOBAL_DOT_NAME code.
15096         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15097         HAVE_ASM_GLOBAL_DOT_NAME check.
15098         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15099         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15100         (DOT_LABEL): Remove define.
15101         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15102         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15103         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15104         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15105         (__TLS_GET_ADDR): Likewise.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15107         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15109 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15111         [BZ #18111]
15112         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15113         (_FPU_SETCW): Initialize cw from fpsr before storing.
15114         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15115         (fesetexceptflag): Rewrite using fpu_control.h.
15116         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15118 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15120         [BZ #18110]
15121         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15122         asms.
15123         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15125 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15127         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15128         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15129         abort.
15130         (_FP_FMA): Likewise.
15131         (_FP_DIV): Likewise.
15133 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15135         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15136         with 0 in that case.
15137         * Makefile (summarize-tests): New canned sequence, factored out of
15138         commands for targets tests and xtests.  Display summary lines that
15139         don't start with PASS: or XFAIL: rather than ones that do start with
15140         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15141         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15142         do start with ERROR: or FAIL:.
15143         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15144         (except for [$(build-shared) = yes]).
15145         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15146         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15147         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15148         * nptl/Makefile: Revert 2015-03-04 changes.
15149         [$(CXX) empty] (tests-unsupported): New variable.
15150         * debug/Makefile: Likewise.
15152         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15153         gnulib file.  Replace __attribute with __attribute__ throughout.
15155 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15157         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15159 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15161         [BZ #18104]
15162         * math/auto-libm-test-in: Add another test of pow.
15163         * math/auto-libm-test-out: Regenerated.
15165 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15167         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15168         $(config-cflags-nofma).
15170 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15172         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15173         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15174         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15175         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15176         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15177         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15178         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15179         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15180         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15181         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15182         Add comment on closing #endif.
15184 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15186         * posix/wordexp.c (CHAR_IN_SET): New macro.
15187         (parse_param): Use it.
15189 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15191         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15193 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15195         [BZ #18043]
15196         * posix/wordexp.c (parse_param): Fix buffer overflow.
15197         * posix/wordexp-test.c (test_case): Add test case.
15199 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15201         [BZ #18042]
15202         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15203         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15205 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15207         [BZ #18043]
15208         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15209         (do_bz18043): Delete.
15210         (at_page_end): New.
15211         (testit): Refactor to have words at the edge of unreadable page.
15213 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15215         [BZ #16734]
15216         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15217         Cleanup read-only streams as well.
15218         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15220 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15222         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15223         <bits/libc-lockP.h>
15225 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15227         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15228         on [__KERNEL__].
15229         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15230         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15231         * soft-fp/op-common.h (_FP_DECL): Likewise.
15233 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15235         * elf/ifuncdep2.c (global): Replace
15236         __attribute__((visibility("protected"))) with
15237         asm (".protected global").
15238         * elf/ifuncmod1.c (global): Likewise.
15239         * elf/ifuncmod5.c (global): Likewise.
15241 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15243         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15244         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15246 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15248         * manual/install.texi (Configuring and compiling):
15249         Document test-wrapper-env-only.
15250         * INSTALL: Regenerated.
15252 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15254         [BZ #18043]
15255         * posix/wordexp.c (parse_param): Fix buffer overflow.
15256         * posix/wordexp-test.c (do_bz18043): Add test case.
15258 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15260         * time/tst-strptime2.c (do_test): Ensure failing tests are
15261         reported correctly.
15262         * time/tst-strptime3.c (do_test): Likewise.
15264 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15266         Fix aio_error thread-safety.
15267         * sysdeps/pthread/aio_error.c: New file
15268         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15269         synchronization.
15271 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15273         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15274         (group_number, vfprintf): Use it.
15275         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15276         (JUMP, REF): Use it.
15277         (WORK_BUFFER_SIZE): New enum constant.
15278         (process_arg, vfprintf): Use it.
15280 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15282         * manual/errno.texi (Error Messages): Complete example function
15283         by adding missing #define.
15284         (program_invocation_name): Add statement indicating GNU
15285         extension and reference which header file declares the variable.
15286         (program_invocation_short_name): Likewise.
15288 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15290         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15291         compatibility note.
15293 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15295         * Makeconfig (test-wrapper-env-only): New variable.
15296         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15297         then use that with $(test-wrapper-env-only) rather than using
15298         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15300 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15302         [BZ #18082]
15303         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15304         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15305         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15306         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15307         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15308         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15309         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15310         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15311         Likewise.
15312         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15313         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15314         Likewise.
15315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15316         Likewise.
15317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15318         Likewise.
15319         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15320         Likewise.
15321         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15323         Likewise.
15324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15325         Likewise.
15326         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15327         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15329 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15331         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15332         (ETH_ALEN): New macro.
15333         (struct ether_addr): Use it for length of ether_addr_octet.
15335         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15336         (setdb): Don't call __nss_configure_lookup for "rpc".
15337         (do_test): Don't call test_rpc.
15338         (output_rpcent, test_rpc): Functions moved ...
15339         * sunrpc/test-rpcent.c: ... to this new file.
15340         * sunrpc/Makefile (tests): Add it.
15342         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15343         __xpg_sigpause.
15344         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15345         * nptl/tst-signal6.c: Likewise.
15346         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15347         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15349         * configure.ac (libc_cv_cxx_link_ok): New check.
15350         Reset CXX to empty if it fails to link.
15351         * configure: Regenerated.
15352         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15353         bug-atexit3-lib only if $(CXX) is nonempty.
15354         * nptl/Makefile (tests): Likewise for tst-cancel24.
15355         (tests, tests-static): Likewise for tst-cancel24-static.
15356         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15357         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15358         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15359         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15361 2015-03-04  Andreas Schwab  <schwab@suse.de>
15363         [BZ #17631]
15364         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15365         for non-GCC compilers.
15366         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15367         Likewise.
15369 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15371         [BZ #17776]
15372         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15373         integer before bitwise and assembly operations.
15374         (feclearexcept): Likewise.
15375         * math/test-fenvinline.c: New file.
15376         * math/Makefile: Add test-fenvinline test.
15378 2015-03-03  Alan Modra  <amodra@gmail.com>
15380         [BZ #16512]
15381         * scripts/localplt.awk: Strip off symbol version.
15382         * NEWS: Mention bug fix.
15384 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15386         * sysdeps/pthread/timer_routines.c
15387         (timer_free_list, thread_free_list, thread_active_list): Make static.
15389 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #17779]
15392         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15393         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15394         Undefine.
15395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15396         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15397         Likewise.
15398         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15399         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15400         Likewise.
15402 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15404         [BZ #18036]
15405         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15406         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15408 2015-03-02  Andreas Schwab  <schwab@suse.de>
15410         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15411         variable name.
15413 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15415         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15416         Return error status.
15418 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15420         [BZ #15969]
15421         * locale/findlocale.c (_nl_find_locale): Introduce const
15422         version of loc_name and drop unsafe type casts.
15424 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15426         * dlfcn/tststatic2.c (main): Converted to ...
15427         (do_test): ... this.
15428         (TEST_FUNCTION): New macro.
15429         Include test-skeleton.c.
15431 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15433         [BZ #17711]
15434         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15435         (tests-pie): Add vismain.
15436         (CFLAGS-vismain.c): New.
15437         * elf/vismain.c: Add comments for PIE requirement.
15439 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15441         [BZ #18046]
15442         [BZ #18047]
15443         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15444         0x1p-56L as threshold for just returning the argument.
15445         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15446         0x1p-32L as threshold for just returning the argument.
15447         * math/auto-libm-test-in: Add more tests of atanh.
15448         * math/auto-libm-test-out: Regenerated.
15449         * sysdeps/i386/fpu/libm-test-ulps: Update.
15450         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15452 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15454         * string/bcopy.c (bcopy): Call memmove for performance.
15456 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15458         * string/bzero.c (__bzero): Call memset for performance.
15460 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15462         [BZ #18068]
15463         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15464         to 00100000.
15466 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15468         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15470 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15472         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15473         (__kernel_standard): Use CSTR macro when setting exc.name.
15474         * sysdeps/ieee754/Makefile [$(subdir) = math]
15475         (CFLAGS-k_standard.c): Remove variable.
15477         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15478         setting p and q from "else if" to "else".
15479         (qzero): Likewise.
15480         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15481         (qone): Likewise.
15482         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15483         (qzerof): Likewise.
15484         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15485         (qonef): Likewise.
15486         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15487         (qzero): Likewise.
15488         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15489         (qone): Likewise.
15491         [BZ #18038]
15492         [BZ #18039]
15493         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15494         return pi/2 for arguments below 0x1p-113L.
15495         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15496         return pi/2 for arguments below 0x1p-106L.
15497         * math/auto-libm-test-in: Add more tests of acos.
15498         * math/auto-libm-test-out: Regenerated.
15500         [BZ #16351]
15501         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15502         (MO): New macro.
15503         (__ieee754_asin): Force underflow exception for results with small
15504         absolute value.
15505         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15506         (MO): New macro.
15507         (__ieee754_asinf): Force underflow exception for results with
15508         small absolute value.
15509         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15510         (__ieee754_asin): Force underflow exception for results with small
15511         absolute value.
15512         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15513         (__ieee754_asinf): Force underflow exception for results with
15514         small absolute value.
15515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15516         (__ieee754_asinl): Force underflow exception for results with
15517         small absolute value.
15518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15519         (__ieee754_asinl): Force underflow exception for results with
15520         small absolute value.
15521         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15522         (__ieee754_asinl): Force underflow exception for results with
15523         small absolute value.
15524         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15525         Include <math.h>.
15526         * math/auto-libm-test-in: Do not mark underflow exceptions as
15527         possibly missing for bug 16351.
15528         * math/auto-libm-test-out: Regenerated.
15530         [BZ #18030]
15531         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15532         of power of 2 down when low part has opposite sign.
15533         * math/libm-test.inc (logb_test_data): Add more tests.
15535 2015-02-26  Andreas Schwab  <schwab@suse.de>
15537         [BZ #18032]
15538         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15539         over collating symbol inside a bracket expression.  Minor cleanup.
15540         * posix/tst-fnmatch3.c (do_test): Add test case.
15542 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15544         [BZ #18029]
15545         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15546         Adjust exponent of power of 2 down when low part has opposite
15547         sign.
15548         * math/libm-test.inc (ilogb_test_data): Add more tests.
15550 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15552         [BZ #15969]
15553         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15554         the previous change.
15556         [BZ #15969]
15557         * locale/findlocale.c (_nl_find_locale): Retry archive search
15558         after alias expansion.
15560 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15562         * iconv/tst-iconv3.c (main): Converted to ...
15563         (do_test): ... this.
15564         (TEST_FUNCTION): New macro.
15565         Include test-skeleton.c.
15567         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15568         (convert): Make function static.
15569         (test_unalign): Likewise.  Add const to argument pointee types.
15570         (main): Replace with static function do_test.
15571         Print "Succeeded." only if RET is zero.
15572         (TEST_FUNCTION): New macro.
15573         Include test-skeleton.c.
15575         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15576         returns a null pointer.
15578 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15580         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15581         to __memcpy_ppc only for static builds.
15583 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15585         [BZ #18020]
15586         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15587         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15588         * math/auto-libm-test-in: Add more tests of asinh.
15589         * math/auto-libm-test-out: Regenerated.
15590         * sysdeps/i386/fpu/libm-test-ulps: Update.
15591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15593 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15595         [BZ #15850]
15596         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15597         and ip6_mtuinfo definitions here.
15598         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15599         in this define too.  Update comment.
15601 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15603         * elf/sprof.c (load_shobj): Tweak error message to match others.
15605 2015-02-24  Kevin Easton  <kevin@guarana.org>
15607         [BZ #16145] (partial fix)
15608         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15609         to reduce lock contention.
15611 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15613         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15614         (struct timex): Update time comment.
15615         (ADJ_SETOFFSET): Define.
15617 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #18019]
15620         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15621         2**56 not 2**28 as threshold for log (2x) formula.
15622         * math/auto-libm-test-in: Add more tests of acosh.
15623         * math/auto-libm-test-out: Regenerated.
15624         * sysdeps/i386/fpu/libm-test-ulps: Update.
15625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15627 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15629         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15630         parenthesis around the buf assignment.
15631         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15633 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15635         [BZ #16783]
15636         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15637         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15638         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15639         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15640         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15641         * math/libm-test.inc (scalb_test_data): Add more tests.
15643 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15645         [BZ #17916]
15646         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15647         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15649 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15651         [BZ #17523]
15652         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15653         * io/bits/fcntl2.h (open): Use it.
15654         (openat): Likewise.
15655         * io/open.c (__libc_open): Likewise.
15656         * io/open64.c (__libc_open64): Likewise.
15657         * io/open64_2.c (__open64_2): Likewise.
15658         * io/open_2.c (__open_2): Likewise.
15659         * io/openat.c (__openat): Likewise.
15660         * io/openat64.c (__openat64): Likewise.
15661         * io/openat64_2.c (__openat64_2): Likewise.
15662         * io/openat_2.c (__openat_2): Likewise.
15663         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15664         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15665         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15666         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15667         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15668         (__open_nocancel): Likewise.
15669         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15670         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15671         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15673 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15675         [BZ #14841]
15676         * resolv/gethnamaddr.c (getanswer): Skip logging if
15677         RES_USE_DNSSEC is set.
15678         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15680 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15682         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15684 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15686         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15687         201304L, for Unicode 7.
15689 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15691         [BZ #17836]
15692         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15693         shared library.  Add gmon-start.os otherwise.
15694         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15695         $(objpfx)gmon-start.os if builing shared library.
15696         ($(objpfx)g$(static-start-installed-name)): Likewise.
15698 2015-02-23  Andreas Schwab  <schwab@suse.de>
15700         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15702 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15704         [BZ #17269]
15705         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15706         (enlarge_userbuf): Likewise.
15708 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15710         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15711         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15712         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15713         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15715 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15717         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15718         expression inside statement expression.
15720 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15722         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15723         <sysdeps/nptl/lowlevellock.h> and remove macros and
15724         functions that are now defined there.
15725         (SYS_futex): Remove.
15726         (lll_compare_and_swap): Remove.
15727         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15729 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15731         [BZ #17999]
15732         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15733         instead of scandirat.
15734         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15735         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15736         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15737         __scandirat.
15738         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15739         (__scandirat): Declare.  Use libc_hidden_proto.
15740         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15741         Remove variable.
15742         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15744 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15746         [BZ #15319]
15747         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15748         (MO): New macro.
15749         (__ieee754_atan2): For results with small absolute value, force
15750         underflow exception and remove excess range and precision from
15751         return value.
15752         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15753         (MO): New macro.
15754         (__ieee754_atan2f): For results with small absolute value, force
15755         underflow exception and remove excess range and precision from
15756         return value.
15757         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15758         (MO): New macro.
15759         (__atan): For results with small absolute value, force underflow
15760         exception and remove excess range and precision from return value.
15761         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15762         (MO): New macro.
15763         (__atanf): For results with small absolute value, force underflow
15764         exception and remove excess range and precision from return value.
15765         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15766         <math.h>.
15767         (__ieee754_atan2): Force underflow exception for results with
15768         small absolute value.
15769         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15770         <math_private.h>.
15771         (atan): Force underflow exception for results with small absolute
15772         value.
15773         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15774         (__atanf): Force underflow exception for results with small
15775         absolute value.
15776         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15777         <math.h>.
15778         (__atanl): Force underflow exception for results with small
15779         absolute value.
15780         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15781         (__atanl): Force underflow exception for results with small
15782         absolute value.
15783         * sysdeps/x86/fpu/bits/mathinline.h
15784         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15785         (__ieee754_atan2): Only define inline for long double.
15786         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15787         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15788         * math/auto-libm-test-in: Do not mark underflow exceptions as
15789         possibly missing for bug 15319.  Add more tests of atan2.
15790         * math/auto-libm-test-out: Regenerated.
15791         * math/libm-test.inc (casin_test_data): Do not mark underflow
15792         exceptions as possibly missing for bug 15319.
15793         (casinh_test_data): Likewise.
15794         * sysdeps/i386/fpu/libm-test-ulps: Update.
15796 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15798         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15799         * sysdeps/mips/bits/endian.h: Fix comments.
15801 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15803         [BZ #17996]
15804         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15805         (hdestroy_r): Likewise.
15806         (hsearch_r): Likewise.
15807         (__hcreate_r): Declare and use libc_hidden_proto.
15808         (__hdestroy_r): Likewise.
15809         (__hsearch_r): Likewise.
15810         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15811         (hcreate): Call __hcreate_r instead of hcreate_r.
15812         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15813         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15814         as weak alias of __hcreate_r.
15815         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15816         __hdestroy_r.
15817         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15818         __hsearch_r.
15819         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15820         Remove variable.
15821         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15822         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15823         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15824         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15826 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15828         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15829         arena_lock into a single arena_get.
15831 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15833         * dl-reloc.c: Inlucde libc-internal.h.
15834         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15835         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15836         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15837         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15838         (grow_heap): Likewise.
15839         * malloc/malloc.c: Include libc-internal.h.
15840         (do_check_malloc): Call powerof2.
15841         (sysmalloc): Use pagesize. Call ALIGN_UP.
15842         (systrim): Use pagesize.
15843         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15844         (__libc_valloc): Use pagesize.
15845         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15847 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15849         [BZ #17991]
15850         * include/sys/resource.h (__getrlimit64): Declare.  Use
15851         libc_hidden_proto.
15852         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15853         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15854         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15855         getrlimit64.
15856         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15857         __getrlimit64.
15858         [!getrlimit64] (getrlimit64): Define as weak alias of
15859         __getrlimit64.  Use libc_hidden_weak.
15860         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15861         using __getrlimit64 not __new_getrlimit64.
15862         (__GI_getrlimit64): Likewise.
15863         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15864         Likewise.
15865         (__GI_getrlimit64): Likewise.
15866         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15868         (getrlimit): Add __getrlimit64 alias.
15869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15870         Likewise.
15871         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15872         Remove variable.
15873         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15874         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15876 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15878         * libio/fileops.c: Add missing sys/mman.h
15879         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15881 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15883         * manual/math.texi (Errors in Math Functions): Clarify goals
15884         regarding inexact and underflow exceptions.
15886 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15888         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15889         * sysdeps/mips/memset.S: Ditto.
15891 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15893         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15895 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15897         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15898         (__v1longjmp): Remove versioned symbol.
15899         (__v1siglongjmp): Remove alias and versioned symbol.
15900         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15901         (__v2siglongjmp): Likewise.
15903 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15905         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15907 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15909         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15911 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15913         [BZ #17987]
15914         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15915         zero result does not depend on the sign resulting from
15916         subtraction.
15917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15918         Likewise.
15919         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15920         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15921         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15922         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15923         * math/libm-test.inc (remquo_test_data): Add more tests.
15925 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15927         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15928         Problem reported by J William Piggott.
15930 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15932         [BZ #17978]
15933         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15934         products 4 * y and 2 * y where those would overflow.
15935         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15936         Likewise.
15937         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15938         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15939         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15940         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15941         * math/libm-test.inc (remquo_test_data): Add more tests.
15943         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15945         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15946         [defined _COMPILING_NEWLIB].
15947         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15948         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15950         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15951         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15953 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15955         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15956         acquired.
15958 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15960         [BZ #17792]
15961         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15962         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15963         HOST_STACK_END_ADDR): Likewise.
15965 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15967         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15968         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15969         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15971 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15973         * sysdeps/generic/c++-types.data: New file.
15974         * sysdeps/generic/ld.abilist: New file.
15975         * sysdeps/generic/libBrokenLocale.abilist: New file.
15976         * sysdeps/generic/libanl.abilist: New file.
15977         * sysdeps/generic/libc.abilist: New file.
15978         * sysdeps/generic/libcrypt.abilist: New file.
15979         * sysdeps/generic/libdl.abilist: New file.
15980         * sysdeps/generic/libm.abilist: New file.
15981         * sysdeps/generic/libpthread.abilist: New file.
15982         * sysdeps/generic/libresolv.abilist: New file.
15983         * sysdeps/generic/librt.abilist: New file.
15985 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15987         [BZ #17569]
15988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15989         Compute absolute value of x as modified by fmod, not original
15990         value of x.
15991         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15992         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15993         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15994         RUN_TEST_ffI_f1_mod8.
15995         (remquo_test_data): Add more tests.
15997 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15999         * sysdeps/init_array/pt-crti.S: New file.
16001 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16003         [BZ #17967]
16004         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16005         __builtin_fmaf instead of relying on contraction of a * b + c.
16007 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16009         [BZ #17969]
16010         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16011         node.
16013 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16015         [BZ #17964]
16016         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16017         __builtin_fma instead of relying on contraction of a * b + c.
16019 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16021         * Makeconfig (ASFLAGS): Add -Werror=undef.
16022         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16023         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16024         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16026         * Makeconfig (after-link): New variable.
16027         (+link-pie, +link-pie-tests): Use it.
16028         (+link-static, +link-static-tests): Likewise.
16029         (+link, +link-tests): Likewise.
16030         * Makerules (build-module, build-module-asneeded): Likewise.
16031         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16032         Likewise.
16033         * elf/Makefile ($(objpfx)ld.so): Likewise.
16035 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16037         [BZ #17965]
16038         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16039         both struct timeval and struct timespec.
16041 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16043         [BZ #16560]
16044         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16045         and redefine.
16046         (__ieee754_exp2l): Do not multiply small fractional parts by
16047         M_LN2l.
16048         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16049         small argument.
16050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16051         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16052         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16053         * math/auto-libm-test-in: Add more tests of exp2.
16054         * math/auto-libm-test-out: Regenerated.
16056 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16058         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16059         unaligned path.
16061 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16063         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16064         little endian.
16066 2015-02-12  Andreas Schwab  <schwab@suse.de>
16068         [BZ #15790]
16069         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16070         Filter out elision flags from value returned in kind.
16071         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16072         * nptl/tst-pthread-mutexattr.c: New file.
16074 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16076         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16077         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16078         into gnu-gnu, and update comment to refer to abi-tags.
16080 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #15467]
16083         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16084         (__sincos): Set errno to EDOM for infinite argument.
16085         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16086         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16087         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16088         (__sincosl): Set errno to EDOM for infinite argument.
16089         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16090         (__sincosl): Set errno to EDOM for infinite argument.
16091         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16092         (__sincosl): Set errno to EDOM for infinite argument.
16093         * math/libm-test.inc (sincos_test_data): Test errno setting.
16095 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16097         * string/strxfrm_l.c: Remove #define STRCMP.
16098         * string/strcoll_l.c: Remove #define STRLEN.
16099         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16100         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16102 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16104         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16105         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16106         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16107         * sysdeps/mips/mips64/Makefile: ... here.
16108         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16109         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16110         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16111         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16112         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16113         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16114         * sysdeps/mips/mips64/n64/Implies: Likewise.
16116 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16118         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16119         <sys/time.h>, <string.h>, and <errno.h>.
16120         (dest_offset, dest_address, value, zero): Remove unused variables.
16121         (ldouble): Remove typedef.
16122         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16123         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16124         1).  Fix code style.
16125         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16126         (check): Function removed.
16127         (CHECK): New macro.
16128         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16129         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16130         Don't call set_sigaction_FP and remove_sigaction_FP here.
16131         (ldouble_test): Just use 'long double' as macro argument, no need for
16132         the 'ldouble' typedef.
16133         (do_test): Set up SIGFPE handler at start, using plain signal rather
16134         than sigaction.  Fix code style.
16136 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16138         [BZ #17949]
16139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16140         jump label.
16142 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16144         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16145         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16147         * sysdeps/powerpc/configure.ac: Remove file.
16148         * sysdeps/powerpc/configure: Likewise.
16150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16151         [sysdep_routines]: Remove wordcopy-power6 object.
16152         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16153         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16154         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16155         (__memmove_ppc32): Likewise.
16156         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16157         file.
16158         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16160         Remove preprocessor.
16162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16163         [sysdep_routines]: Remove wide chars objects.
16164         [wcsmbs]: New rule for wide char objects.
16166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16167         Remove wordcopy-power6 obejct.
16168         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16169         Use local call for wordcopy and memcpy symbols.
16170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16172         implementation for loader.
16173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16176         Remove wordcopy-power7 object.
16177         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16179         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16180         (_wordcopy_fwd_dest_aligned): Likewise.
16181         (_wordcopy_bwd_aligned): Likewise.
16182         (_wordcopy_bwd_dest_aligned): Likewise.
16184         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16185         Rewrite to call __memmove_ppc instead of include default
16186         implementation.
16188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16189         Remove wide chars objects.
16190         [wcsmbs]: New rule for wide char objects.
16192 2015-02-09  Andreas Schwab  <schwab@suse.de>
16194         [BZ #17912]
16195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16196         in terms of __O_DIRECTORY.
16198 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16200         * time/getdate.c: Include <stdbool.h>.
16201         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16202         call PTR_MANGLE.
16203         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16204         PTR_DEMANGLE.
16206 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16208         Add ersatz _Static_assert on older C hosts
16209         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16210         pre-C11 C platform that is not known to support _Static_assert.
16212 2015-02-07  Richard Braun  <rbraun@sceen.net>
16214         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16215         sigstate.
16216         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16218 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16220         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16221         priority against unexistent AIO_PRIO_DELTA_MAX.
16222         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16223         instead of int.
16224         * misc/fchflags.c (fchflags): Likewise.
16225         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16226         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16227         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16228         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16229         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16230         Declare macros.
16231         [__USE_MISC] (chflags, fchflags): Declare functions.
16232         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16233         EINVAL when nfds is greater than FD_SETSIZE.
16234         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16235         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16236         45.
16237         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16238         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16239         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16240         MACH_RCV_TIMED_OUT.
16241         * hurd/hurd/signal.h (_hurd_self_sigstate,
16242         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16243         Explicit casts from void *.
16244         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16245         * abi-tags: Rename gnu-gnu os into gnu.
16247         [BZ #4719]
16248         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16249         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16250         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16251         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16252         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16253         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16255         [BZ #17944]
16256         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16257         duplicates ADDR->sun_path with sockaddr LEN limitation.
16258         * sysdeps/mach/hurd/connect.c: Include <string.h>
16259         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16260         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16261         * sysdeps/mach/hurd/sendto.c: Likewise.
16262         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16263         implementing it by hand.
16265 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16267         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16268         Use sfi_breg on ldr.
16269         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16270         Likewise.
16272         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16273         it's defined.
16274         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16275         Test SIGSETXID only if it's defined.
16277         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16279         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16280         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16282         * nptl/tst-align2.c: Moved ...
16283         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16284         * nptl/Makefile (tests): Remove tst-align2.
16285         * sysdeps/unix/sysv/linux/Makefile
16286         [$(subdir) = nptl] (tests): Add tst-align-clone.
16287         * nptl/tst-getpid1.c: Moved ...
16288         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16289         * nptl/tst-getpid2.c: Moved ...
16290         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16291         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16292         * sysdeps/unix/sysv/linux/Makefile
16293         [$(subdir) = nptl] (tests): ... here.
16294         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16295         * sysdeps/unix/sysv/linux/Makefile
16296         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16298         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16299         Drop trailing \n from perror argument.  Use return rather than exit.
16301         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16302         on [SA_SIGINFO].
16303         * nptl/tst-cancel21.c (do_test): Likewise.
16304         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16305         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16306         [!SA_SIGINFO]: Make it a stub test.
16308         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16309         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16311         * posix/tst-getlogin.c: Move to ...
16312         * login/tst-getlogin.c: ... here.
16313         * posix/Makefile (tests): Move tst-getlogin to ...
16314         * login/Makefile (tests): ... here.
16316         * libio/tst-atime.c (do_test): Move local variables SV and E
16317         inside [ST_NOATIME] conditional.
16319         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16321         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16323         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16324         (wait_code): New function replaces macro.
16325         Call nanosleep rather than syscall.
16327         * nptl/pt-system.c: Rewritten.  Put everything under
16328         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16329         Use IFUNC to redirect when possible.
16331         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16332         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16333         Use IFUNC to redirect when possible.
16335         * nptl/pt-fork.c: Rewritten.  Put everything under
16336         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16337         Use IFUNC to redirect when possible.
16338         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16341         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16342         unconditionally nowadays.  This included the only reference to
16343         __vdso_clock_gettime that appears outside libc proper.
16344         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16345         Remove version set (containing only __vdso_clock_gettime).
16346         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16347         Add attribute_hidden.
16348         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16349         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16350         libc_hidden_data_def.
16351         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16352         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16354         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16355         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16356         setrpcent, and getrpcport to ...
16357         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16358         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16359         getrpcbynumber_r, and getrpcent_r to ...
16360         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16361         * inet/getrpcbyname.c: Moved ...
16362         * sunrpc/getrpcbyname.c: ... here.
16363         * inet/getrpcbyname_r.c: Moved ...
16364         * sunrpc/getrpcbyname_r.c: ... here.
16365         * inet/getrpcbynumber.c: Moved ...
16366         * sunrpc/getrpcbynumber.c: ... here.
16367         * inet/getrpcbynumber_r.c: Moved ...
16368         * sunrpc/getrpcbynumber_r.c: ... here.
16369         * inet/getrpcent.c: Moved ...
16370         * sunrpc/getrpcent.c: ... here.
16371         * inet/getrpcent_r.c: Moved ...
16372         * sunrpc/getrpcent_r.c: ... here.
16373         * inet/Makefile (routines): Move those to ...
16374         * sunrpc/Makefile (routines): ... here.
16375         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16376         the $(subdirs) list.
16377         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16378         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16379         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16380         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16382         * elf/Makefile (routines): Include $(all-dl-routines), not just
16383         $(dl-routines).
16384         (rtld-routines): Likewise.  Use = rather than :=.
16385         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16386         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16387         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16388         * sysdeps/arm/Makefile: Likewise.
16389         * sysdeps/i386/Makefile: Likewise.
16390         * sysdeps/x86_64/Makefile: Likewise.
16391         * sysdeps/hppa/Makefile [$(subdir) = elf]
16392         (sysdep_routines, sysdep-rtld-routines): Don't add
16393         $(sysdep-dl-routines) to these.
16394         * sysdeps/ia64/Makefile: Likewise.
16395         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16396         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16397         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16398         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16399         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16400         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16401         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16402         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16403         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16404         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16405         these; sysdep-dl-routines alone is enough.
16407 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16409         [BZ #17932]
16410         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16411         where multiplication results in zero and third argument is finite
16412         and nonzero.
16413         * math/auto-libm-test-in: Add more tests of fma.
16414         * math/auto-libm-test-out: Regenerated.
16416         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16417         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16418         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16419         (_FP_CMP_EQ): Likewise.
16420         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16422         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16423         extra argument CHECK_NAN.  Redefine as wrapper around
16424         _FP_EXTEND_CNAN.
16426 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16428         * version.h (RELEASE): Set to "stable".
16429         (VERSION): Set to "2.21"
16430         * include/features.h (__GLIBC_MINOR__): Set to 21.
16432         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16434 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16435             Paul Eggert  <eggert@cs.ucla.edu>
16437         [BZ #16618]
16438         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16439         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16440         size in bytes. Store needed elements in wpmax. Use needed size
16441         in bytes for extend_alloca.
16443 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16445         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16446         binutls 2.25, and texinfo 5.2.
16447         * INSTALL: Regenerate.
16448         * sysdeps/nios2/configure: Regenerate.
16449         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16450         * manual/contrib.texi: Update.
16451         * po/be.po: Update.
16452         * po/bg.po: Update.
16453         * po/ca.po: Update.
16454         * po/cs.po: Update.
16455         * po/da.po: Update.
16456         * po/de.po: Update.
16457         * po/el.po: Update.
16458         * po/eo.po: Update.
16459         * po/es.po: Update.
16460         * po/fi.po: Update.
16461         * po/fr.po: Update.
16462         * po/gl.po: Update.
16463         * po/hr.po: Update.
16464         * po/hu.po: Update.
16465         * po/ia.po: Update.
16466         * po/id.po: Update.
16467         * po/it.po: Update.
16468         * po/ja.po: Update.
16469         * po/ko.po: Update.
16470         * po/lt.po: Update.
16471         * po/nb.po: Update.
16472         * po/nl.po: Update.
16473         * po/pl.po: Update.
16474         * po/pt_BR.po: Update.
16475         * po/ru.po: Update.
16476         * po/rw.po: Update.
16477         * po/sk.po: Update.
16478         * po/sl.po: Update.
16479         * po/sv.po: Update.
16480         * po/tr.po: Update.
16481         * po/uk.po: Update.
16482         * po/vi.po: Update.
16483         * po/zh_CN.po: Update.
16484         * po/zh_TW.po: Update.
16486         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16487         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16488         * sysdeps/hppa/dl-irel.h: Remove #warning.
16489         * sysdeps/hppa/entry.h: Provide prototype for
16490         __canonicalize_funcptr_for_compare and cast argument.
16491         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16492         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16493         * sysdeps/hppa/sotruss-lib.c: New file.
16494         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16495         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16496         (atomic_compare_and_exchange_bool_acq): Likewise.
16497         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16498         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16500         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16501         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16502         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16504 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16506         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16507         called function in non-PIC case.
16509 2015-01-31  David S. Miller  <davem@davemloft.net>
16511         * sysdeps/sparc/sparc32/bits/atomic.h
16512         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16513         unlock not after it.
16514         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16515         volatile register usage warnings from the compiler.
16517         * sysdeps/sparc/nptl/sem_init.c: Delete.
16518         * sysdeps/sparc/nptl/sem_post.c: Delete.
16519         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16520         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16521         * sysdeps/sparc/sparc32/sem_init.c: New file.
16522         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16523         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16524         padding explicitly initialized.
16525         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16526         padding for in-semaphore spinlock.
16527         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16528         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16529         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16530         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16531         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16532         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16533         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16534         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16535         version.
16536         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16537         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16539 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16541         [BZ #17801]
16542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16543         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16544         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16545         New.
16546         (index_AVX_Fast_Unaligned_Load): Likewise.
16547         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16548         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16549         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16550         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16551         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16552         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16553         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16554         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16555         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16557 2015-01-29  Andreas Schwab  <schwab@suse.de>
16559         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16561 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16563         [BZ #17892]
16564         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16566 2015-01-28  Martin Sebor  <msebor@redhat.com>
16568         * math/README.libm-test: Clarify. Add "How to read the test output."
16570 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16572         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16573         Define to 0.
16575 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16577         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16578         (__HAVE_64B_ATOMICS): Define to 0.
16580 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16582         [BZ #17885]
16583         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16584         value to set as new flag.
16586         [BZ #16576]
16587         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16588         and use _ARCH_PPCSQ instead.
16589         (__ieee754_sqrt): Likewise.
16590         (__ieee754_sqrtf): Likewise.
16591         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16592         _ARCH_PPCSQ is defined.
16593         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16594         fsqrt instruction.
16595         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16596         _ARCH_PPCSQ is defined.
16597         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16598         fsqrts instruction.
16599         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16601 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16603         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16604         bug (GCC BZ #64739).
16606 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16608         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16609         Mark _retval as used.
16610         (lll_futex_wake_unlock): Likewise.
16611         (lll_futex_timed_wait_requeue_pi): Likewise.
16613         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16614         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16615         register variables.
16617         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16618         libm_hidden_def.
16620         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16621         (__bswap_64): Mark as __always_inline.
16623 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16625         [BZ #15378]
16626         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16627         when none of the search directories exist.
16629 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16631         [BZ #17869]
16632         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16633         power8 in .machine directive.
16635         [BZ #17868]
16636         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16637         set dependency from opd value.
16639 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16642         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16643         architecture.
16645 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16647         [BZ #17870]
16648         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16649         with uint64_t.
16650         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16651         (uint64_t) 1.
16652         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16653         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16654         Replace 1UL with (uint64_t) 1.
16655         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16656         int with uint64_t.
16658 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16660         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16661         (if_freenameindex): Likewise.
16663         * resource/getrlimit64.c: Add missing libc_hidden_def.
16665 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16667         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16668         __label__.
16669         (_FP_FMA): Likewise.
16670         (_FP_TO_INT_ROUND): Likewise.
16671         (_FP_FROM_INT): Likewise.
16673 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16675         [BZ #16418]
16676         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16677         Make code racy and cancel safe.
16679 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16681         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16682         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16683         attribution.
16685         * pwd/tst-getpw.c: Rewrite.
16687         [BZ #17702]
16688         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16689         (modules-names): Add moddummy1 and moddummy2.
16690         ($(objpfx)tst-rec-dlopen): Define.
16691         * dlfcn/moddummy1.c: New file.
16692         * dlfcn/moddummy2.c: New file.
16693         * dlfcn/tst-rec-dlopen.c: New file.
16694         * elf/dl-cache.c (_dl_load_cache_lookup):
16695         Return char*. Copy result with alloca/strcpy/strdup.
16696         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16697         returns char*. Free cached. If not saving realname
16698         free cached.
16699         * elf/dl-open.c (dl_open_worker): Do not assert that
16700         _r_debug->r_state is RT_CONSISTENT.
16701         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16702         returns char*.
16704 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16705             Carlos O'Donell  <carlos@redhat.com>
16707         [BZ #12674]
16708         * nptl/sem_waitcommon.c: New file.
16709         * nptl/sem_wait.c: Include sem_waitcommon.c.
16710         (__sem_wait_cleanup, do_futex_wait): Remove.
16711         (__new_sem_wait): Adapt.
16712         (__new_sem_trywait): New function.
16713         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16714         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16715         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16716         (sem_timedwait): Adapt.
16717         * nptl/sem_post.c (__new_sem_post): Adapt.
16718         (futex_wake): New function.
16719         (__old_sem_post): Add release MO fence.
16720         * nptl/sem_open.c (sem_open): Adapt.
16721         * nptl/sem_init.c (__new_sem_init): Adapt.
16722         (futex_private_if_supported): New function.
16723         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16724         (__old_sem_getvalue): Add using previous code.
16725         * sysdeps/nptl/internaltypes.h: Adapt.
16726         * nptl/tst-sem13.c (do_test): Adapt.
16727         * nptl/tst-sem11.c (main): Adapt.
16728         * nptl/sem_trywait.c: Remove.
16729         * nptl/DESIGN-sem.txt: Remove.
16730         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16731         (gen-as-const-headers): Remove structsem.sym.
16732         * nptl/structsem.sym: Remove.
16733         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16734         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16735         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16736         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16737         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16738         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16739         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16740         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16741         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16742         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16743         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16744         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16745         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16746         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16747         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16748         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16749         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16750         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16751         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16752         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16753         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16754         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16756 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16758         * INSTALL: Regenerated.
16760         * po/libc.pot: Regenerated.
16762 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16763             Sandra Loosemore  <sandra@codesourcery.com>
16764             Andrew Jenner  <andrew@codesourcery.com>
16765             Joseph Myers  <joseph@codesourcery.com>
16766             Nathan Sidwell  <nathan@codesourcery.com>
16768         * NEWS: Mention new Nios II port.
16769         * sysdeps/nios2/Implies: New file.
16770         * sysdeps/nios2/Makefile: New file.
16771         * sysdeps/nios2/Subdirs: New file.
16772         * sysdeps/nios2/Versions: New file.
16773         * sysdeps/nios2/__longjmp.S: New file.
16774         * sysdeps/nios2/abort-instr.h: New file.
16775         * sysdeps/nios2/backtrace.c: New file.
16776         * sysdeps/nios2/bits/endian.h: New file.
16777         * sysdeps/nios2/bits/fenv.h: New file.
16778         * sysdeps/nios2/bits/link.h: New file.
16779         * sysdeps/nios2/bits/setjmp.h: New file.
16780         * sysdeps/nios2/bsd-_setjmp.S: New file.
16781         * sysdeps/nios2/bsd-setjmp.S: New file.
16782         * sysdeps/nios2/configure: New generated file.
16783         * sysdeps/nios2/configure.ac: New file.
16784         * sysdeps/nios2/crti.S: New file.
16785         * sysdeps/nios2/crtn.S: New file.
16786         * sysdeps/nios2/dl-init.c: New file.
16787         * sysdeps/nios2/dl-machine.h: New file.
16788         * sysdeps/nios2/dl-sysdep.h: New file.
16789         * sysdeps/nios2/dl-tls.h: New file.
16790         * sysdeps/nios2/dl-trampoline.S: New file.
16791         * sysdeps/nios2/gccframe.h: New file.
16792         * sysdeps/nios2/gmp-mparam.h: New file.
16793         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16794         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16795         * sysdeps/nios2/ldsodefs.h: New file.
16796         * sysdeps/nios2/libc-tls.c: New file.
16797         * sysdeps/nios2/libm-test-ulps: New file.
16798         * sysdeps/nios2/machine-gmon.h: New file.
16799         * sysdeps/nios2/math-tests.h: New file.
16800         * sysdeps/nios2/math_private.h: New file.
16801         * sysdeps/nios2/memusage.h: New file.
16802         * sysdeps/nios2/nptl/Makefile: New file.
16803         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16804         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16805         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16806         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16807         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16808         * sysdeps/nios2/nptl/tls.h: New file.
16809         * sysdeps/nios2/preconfigure: New file.
16810         * sysdeps/nios2/s_fma.c: New file.
16811         * sysdeps/nios2/s_fmaf.c: New file.
16812         * sysdeps/nios2/setjmp.S: New file.
16813         * sysdeps/nios2/sfp-machine.h: New file.
16814         * sysdeps/nios2/sotruss-lib.c: New file.
16815         * sysdeps/nios2/stackguard-macros.h: New file.
16816         * sysdeps/nios2/stackinfo.h: New file.
16817         * sysdeps/nios2/start.S: New file.
16818         * sysdeps/nios2/sysdep.h: New file.
16819         * sysdeps/nios2/tls-macros.h: New file.
16820         * sysdeps/nios2/tst-audit.h: New file.
16821         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16822         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16823         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16824         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16825         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16826         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16827         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16828         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16829         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16830         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16831         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16832         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16833         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16834         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16835         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16836         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16837         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16838         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16839         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16840         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16841         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16842         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16843         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16844         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16845         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16846         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16847         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16848         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16849         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16850         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16851         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16852         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16853         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16854         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16855         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16856         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16857         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16858         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16859         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16860         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16861         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16862         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16863         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16864         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16866 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16868         [BZ #17844]
16869         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16870         (getutent): Use weak_alias in non SHARED case
16871         and default_symbol_version in SHARED case.
16872         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16873         (getutent_r, pututline): Likewise.
16874         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16875         (getutid): Likewise.
16876         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16877         (getutid_r): Likewise.
16878         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16879         (getutline): Likewise.
16880         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16881         (getutline_r): Likewise.
16882         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16883         (updwtmp): Likewise.
16885 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16887         [BZ #17848]
16888         * sysdeps/s390/s390-32/memcmp.S
16889         (memcmp_g5): Rename to __memcmp_g5.
16890         * sysdeps/s390/s390-32/memcpy.S
16891         (memcpy_g5): Rename to __memcpy_g5.
16892         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16893         (memcpy_mvcle) Rename to __memcpy_mvcle.
16894         * sysdeps/s390/s390-32/memset.S
16895         (memset_g5): Rename to __memset_g5.
16896         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16897         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16898         and use prefixed functions.
16899         * sysdeps/s390/s390-32/multiarch/memcmp.S
16900         (memcmp_z196): Rename to __memcmp_z196.
16901         (memcmp_z10): Rename to __memcmp_z10.
16902         (memcmp): Set alias to __memcmp_g5.
16903         (bcmp): Set alias to __memcmp_g5.
16904         * sysdeps/s390/s390-32/multiarch/memcpy.S
16905         (memcpy_z196): Rename to __memcpy_z196.
16906         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16907         (memcpy_z10): Rename to __memcpy_z10.
16908         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16909         (memcpy): Set alias to __memcpy_g5.
16910         * sysdeps/s390/s390-32/multiarch/memset.S
16911         (memset_z196): Rename to __memset_z196.
16912         Jump to __memset_mvcle instead of memset_mvcle.
16913         (memset_z10): Rename to __memset_z10.
16914         Jump to __memset_mvcle instead of memset_mvcle.
16915         (memset_mvcle) Rename to __memset_mvcle.
16916         (memset): Set alias to __memset_g5.
16917         * sysdeps/s390/s390-64/memcmp.S
16918         (memcmp_z900): Rename to __memcmp_z900.
16919         * sysdeps/s390/s390-64/memcpy.S
16920         (memcpy_z900): Rename to __memcpy_z900.
16921         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16922         (memcpy_mvcle) Rename to __memcpy_mvcle.
16923         * sysdeps/s390/s390-64/memset.S
16924         (memset_z900): Rename to __memset_z900.
16925         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16926         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16927         and use prefixed functions.
16928         * sysdeps/s390/s390-64/multiarch/memcmp.S
16929         (memcmp_z196): Rename to __memcmp_z196.
16930         (memcmp_z10): Rename to __memcmp_z10.
16931         (memcmp): Set alias to __memcmp_z900.
16932         (bcmp): Set alias to __memcmp_z900.
16933         * sysdeps/s390/s390-64/multiarch/memcpy.S
16934         (memcpy_z196): Rename to __memcpy_z196.
16935         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16936         (memcpy_z10): Rename to __memcpy_z10.
16937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16938         (memcpy): Set alias to __memcpy_z900.
16939         * sysdeps/s390/s390-64/multiarch/memset.S
16940         (memset_z196): Rename to __memset_z196.
16941         Jump to __memset_mvcle instead of memset_mvcle.
16942         (memset_z10): Rename to __memset_z10.
16943         Jump to __memset_mvcle instead of memset_mvcle.
16944         (memset_mvcle) Rename to __memset_mvcle.
16945         (memset): Set alias to __memset_z900.
16947 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16949         [BZ #17748]
16950         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16951         __fesetenv instead of fesetenv.
16953 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16955         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16956         macro.
16958 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16960         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16961         regression on LE.
16963         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16964         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16965         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16966         strncmp-power8 object.
16967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16968         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16969         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16970         * NEWS: Update.
16972 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16975         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16976         trailing byte check.
16978 2015-01-13  David S. Miller  <davem@davemloft.net>
16980         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16982 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16984         * login/logout.c (logout): Use memset rather than bzero.
16985         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16986         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16987         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16988         (_gethtbyaddr): Likewise.
16989         * locale/programs/simple-hash.c (bcopy): Macro removed.
16991 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16993         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16994         Add strcmp-power8 object.
16995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16996         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16997         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16998         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16999         __strcmp_power8 implementation.
17000         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17001         * NEWS: Update.
17003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17004         Add strncpy-power8 and stpncpy-power8 objects.
17005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17006         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17007         implementations.
17008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17009         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17010         __stpncpy_power8 implementation.
17011         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17012         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17013         __strncpy_power8 implementation.
17014         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17015         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17016         * NEWS: Update.
17018         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17019         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17020         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17023         strncat-power8 object.
17024         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17025         __strcat_power8 implementation.
17026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17027         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17028         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17029         optimized strcat for power8.
17031         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17032         strcpy-power8 and stpcpy-power8 objects.
17033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17034         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17035         implementations.
17036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17037         multiarch stpcpy implementation for POWER8.
17038         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17039         multiarch strcpy implementation for POWER8.
17040         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17041         __strcpy_power8 function.
17042         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17043         stpcpy for POWER8.
17044         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17045         strcpy for POWER8.
17046         * NEWS: Update.
17048 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17050         [BZ #16009]
17051         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17052         weights and rules. Use do_xfrm_cached if data fits in cache,
17053         do_xfrm otherwise.  Moved former main loop to...
17054         * (do_xfrm_cached): New function.
17055         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17056         find_idx, find_position and stack_push.
17057         * (find_idx): New function.
17058         * (find_position): Likewise.
17059         * localedata/sort-test.sh: Added test run for do_xfrm.
17060         * localedata/xfrm-test.c (main): Added command line option
17061         -nocache to run the test with strings that are too large for
17062         the STRXFRM cache.
17064 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17066         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17067         variable to lll_futex_wake call, not the value itself.
17069 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17071         [BZ #17803]
17072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17073         twom64.  Adjust value to 0x1p-64L.
17074         (__scalblnl): Only return standard underflowing result for K <=
17075         -64 not K <= -63; adjust exponent for underflowing result by 64
17076         not 63.
17077         * math/libm-test.inc (scalbn_test_data): Add more tests.
17078         (scalbln_test_data): Likewise.
17080         [BZ #17834]
17081         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17082         0x1p63L.
17083         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17084         not HX.
17085         * math/libm-test.inc (scalbn_test_data): Add more tests.
17086         (scalbln_test_data): Likewise.
17088 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17089             Stefani Seibold  <stefani@seibold.net>
17091         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17092         (sysdep_routines): Add dl-vdso here, ...
17093         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17094         (sysdep_routines): ... not here.
17095         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17096         fallback when vDSO is not presented.
17097         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17098         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17099         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17100         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17101         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17102         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17103         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17104         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17105         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17107         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17108         fallback configurable symbol when vDSO is not available.
17109         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17110         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17111         be able to redefine fallback symbol when vDSO is not available.
17112         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17113         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17115 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17117         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17118         (TLS_INIT_TP): Add tm_capable initialization.
17119         (TLS_DEFINE_INIT_TP): Likewise.
17120         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17121         TCB.
17122         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17123         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17124         calculation.
17125         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17126         transactoion is lock elision is built and TCB tm_capable is set.
17127         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17129         (INTERNAL_SYSCALL_NCS): Likewise.
17130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17131         (INTERNAL_SYSCALL_NCS): Likewise.
17132         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17134         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17135         for powerpc.
17136         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17137         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17138         and remove it for 32 bits case.
17139         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17141         initialization.
17142         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17143         Disable lock elision with rdlocks if elision is not available.
17145         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17146         (sysdep_routines): Add lock elision objects.
17147         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17148         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17149         [pthread_mutex_t] (__elision): Add field.
17150         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17151         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17152         elision definitions for powerpc.
17153         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17154         implementation of lock elision for powerpc.
17155         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17156         implementation of timed lock elision for powerpc.
17157         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17158         implementation of trylock with lock elision for powerpc.
17159         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17160         implementaion of unlock for lock elision for powerpc.
17161         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17162         automatic enable lock elision for mutexes.
17163         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17164         transaction execution definitions for powerpc.
17165         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17166         definitions.
17167         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17168         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17170         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17171         * NEWS: Update.
17173 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17175         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17176         for #include of <shm-directory.h>.
17178 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17181         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17183 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17185         [BZ #17791]
17186         * NEWS: Mention bug fix.
17187         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17188         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17189         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17191 2015-01-09  Torvald Riegel <triegel@redhat.com>
17193         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17195 2015-01-09  Torvald Riegel <triegel@redhat.com>
17197         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17199 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17201         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17202         pointer and cast to uintptr_t.
17204 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17206         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17207         removed.
17208         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17210 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17212         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17213         of 0.
17215 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17217         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17218         <nptl/pthreadP.h> instead.
17219         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17221         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17222         already defined.
17223         [__SIGRTMIN] (init): Function removed.
17224         [__SIGRTMIN] (initialized): Variable removed.
17225         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17226         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17227         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17228         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17229         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17230         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17231         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17232         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17233         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17234         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17235         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17236         * sysdeps/nptl/allocrtsig.c: New file.
17237         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17238         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17239         * sysdeps/generic/testrtsig.h: File removed.
17241         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17242         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17244         * nptl/nptl-init.c (pthread_functions): Conditionalize
17245         .ptr__nptl_setxid initialization on [SIGSETXID].
17247         * sysdeps/nptl/sys/procfs.h: New file.
17248         * nptl_db/Makefile (headers): Add it.
17249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17251         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17252         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17253         * nptl/pthread_attr_setaffinity.c: Include it.
17254         * nptl/pthread_setattr_default_np.c: Likewise.
17255         * nptl/check-cpuset.h: New file.
17257 2015-01-08  Richard Henderson  <rth@redhat.com>
17259         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17260         (CFLAGS-tst-execstack-prog.c): Likewise.
17261         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17263 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17264             Sandra Loosemore  <sandra@codesourcery.com>
17265             Andrew Jenner  <andrew@codesourcery.com>
17266             Joseph Myers  <joseph@codesourcery.com>
17267             Nathan Sidwell  <nathan@codesourcery.com>
17269         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17270         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17271         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17272         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17273         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17274         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17275         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17276         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17277         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17278         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17279         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17280         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17281         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17282         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17283         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17284         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17285         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17287 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17289         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17290         timespec struct member in syscall macro.
17291         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17292         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17293         first timeval struct member in syscall macro.
17294         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17296 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17298         [BZ #17748]
17299         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17300         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17301         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17302         __feupdateenv and define as weak alias of __feupdateenv.  Use
17303         libm_hidden_weak.
17304         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17305         libm_hidden_def.
17306         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17307         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17308         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17309         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17310         libm_hidden_def.
17311         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17312         __feupdateenv and define as weak alias of __feupdateenv.  Use
17313         libm_hidden_weak.
17314         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17315         libm_hidden_def.
17316         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17317         __feupdateenv and define as weak alias of __feupdateenv.  Use
17318         libm_hidden_weak.
17319         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17320         libm_hidden_def.
17321         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17322         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17323         (__feupdateenv): Likewise.
17324         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17325         __feupdateenv and define as weak alias of __feupdateenv.  Use
17326         libm_hidden_weak.
17327         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17328         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17329         libm_hidden_def.
17330         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17331         function.
17332         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17333         libm_hidden_def.
17334         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17335         __feupdateenv instead of feupdateenv.
17336         (default_libc_feupdateenv_test): Likewise.
17337         (libc_feresetround_ctx): Likewise.
17339 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17341         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17342         prototype.
17344 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17346         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17347         COLL_SYM in a couple of places to avoid uninitialized variable
17348         wanings on tilegx gcc 4.8.2.
17350 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17352         * sysdeps/aarch64/strcpy.S: New file.
17353         * sysdeps/aarch64/stpcpy.S: New file.
17354         * NEWS: Updated.
17356 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17358         * sysdeps/aarch64/strrchr.S: New file.
17359         * NEWS: Updated.
17361 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17363         [BZ #17658]
17364         * stdlib/setenv.c: Fix memory leak when setting large,
17365         duplicate string.
17367 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17369         [BZ #17273]
17370         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17371         and tabs from buffer before parsing fstab entry.
17372         * misc/tst-mntent.c (main): Add test for mount entry with
17373         trailing spaces and tabs.
17375 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17377         [BZ #17748]
17378         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17379         * math/fesetround.c (fesetround): Rename to __fesetround and
17380         define as weak alias of __fesetround.  Use libm_hidden_weak.
17381         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17382         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17383         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17384         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17385         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17386         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17387         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17388         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17389         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17390         __fesetround_inline.
17391         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17392         __fesetround_inline instead of __fesetround.
17393         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17394         __fesetround and define as weak alias of __fesetround.  Use
17395         libm_hidden_weak.  Call __fesetround_inline instead of
17396         __fesetround.
17397         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17398         __fesetround and define as weak alias of __fesetround.  Use
17399         libm_hidden_weak.
17400         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17401         Likewise.
17402         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17403         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17404         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17405         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17406         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17407         __fesetround and define as weak alias of __fesetround.  Use
17408         libm_hidden_weak.
17409         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17410         __fesetround instead of fesetround.
17411         (default_libc_feholdexcept_setround): Likewise.
17412         (libc_feholdsetround_ctx): Likewise.
17413         (libc_feholdsetround_noex_ctx): Likewise.
17415         [BZ #17748]
17416         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17417         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17418         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17419         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17420         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17421         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17422         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17423         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17424         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17425         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17426         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17427         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17428         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17429         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17430         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17431         libm_hidden_def.
17432         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17433         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17434         Likewise.
17435         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17436         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17437         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17438         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17439         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17440         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17441         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17442         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17443         __fesetenv instead of fesetenv.
17444         (libc_feresetround_noex_ctx): Likewise.
17445         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17446         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17447         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17448         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17449         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17450         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17451         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17452         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17453         (__feupdateenv): Likewise.
17454         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17455         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17456         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17457         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17459 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17461         [BZ #17806]
17462         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17463         addresses have been freed.
17465 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17467         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17468         and nservall.
17470 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17472         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17473         Clean up check_pf allocation pattern. addresses
17475 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17477         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17478         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17479         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17480         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17481         * nptl/pthread_join.c (pthread_join): Likewise.
17482         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17483         * sysdeps/posix/waitid.c (__waitid): Likewise.
17484         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17485         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17486         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17487         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17489         Likewise.
17490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17491         (__libc_pread64): Likewise.
17492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17493         (__libc_pwrite): Likewise.
17494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17495         (__libc_pwrite64): Likewsie.
17496         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17497         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17498         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17499         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17500         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17501         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17502         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17504         Likewise.
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17506         (__libc_pread64): Likewise.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17508         Likewise.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17510         (__libc_pwrite64): Likewise.
17511         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17512         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17513         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17514         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17515         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17516         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17517         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17518         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17519         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17520         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17521         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17522         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17523         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17524         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17525         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17527         Likewise.
17529 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17531         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17532         (CFLAGS-test-double.c): Likewise.
17533         (CFLAGS-test-ldouble.c): Likewise.
17534         (CPPFLAGS-test-ifloat.c): Likewise.
17535         (CPPFLAGS-test-idouble.c): Likewise.
17536         (CPPFLAGS-test-ildoubl.c): Likewise.
17537         (CFLAGS-test-test-fenv.c): Remove variable.
17538         (CFLAGS-test-misc.c): Likewise.
17540 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17542         [BZ #17797]
17543         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17544         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17545         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17546         CLOCKS_PER_SEC == 1000000.
17547         * time/clocktest.c (main): Replace %ld with %jd and cast to
17548         intmax_t.
17550 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17552         * sysdeps/generic/unwind-resume.h: New file.
17553         * sysdeps/gnu/unwind-resume.c: Include it.
17554         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17555         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17556         argument list.
17557         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17558         global rather than static.
17559         (_Unwind_Resume): Update user.
17560         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17561         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17562         rather than static.  Add __attribute__ ((cold)).
17563         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17564         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17565         * sysdeps/arm/arm-unwind-resume.S: New file.
17566         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17567         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17568         * sysdeps/arm/Makefile [$(subdir) = csu]
17569         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17570         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17571         Add rt-arm-unwind-resume.
17572         [$(subdir) = nptl]
17573         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17574         Add pt-arm-unwind-resume.
17575         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17576         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17578 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17580         [BZ #17748]
17581         * include/fenv.h (__feholdexcept): Declare.  Use
17582         libm_hidden_proto.
17583         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17584         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17585         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17586         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17587         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17588         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17590         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17591         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17592         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17593         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17594         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17595         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17596         (feholdexcept): Likewise.
17597         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17598         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17599         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17600         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17601         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17602         __feholdexcept instead of feholdexcept.
17603         (default_libc_feholdexcept_setround): Likewise.
17605 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17607         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17608         to avoid using stl/str to align destination.
17610 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17612         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17614 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17616         [BZ #17796]
17617         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17618         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17619         Define as weak alias not strong alias.
17621 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17623         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17624         bltzal with addiupc.
17625         (RTLD_START): Ditto.
17627 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17629         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17630         for __vdso_* functions in declarations.
17631         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17632         definitions.
17633         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17634         INTERNAL_VSYSCALL): Use struct return types to check for error.
17636         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17637         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17638         function with cast from llround().
17639         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17640         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17641         Define.
17643 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17645         [BZ #17793]
17646         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17647         Define as weak alias not strong alias.
17649         [BZ #17635]
17650         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17651         ...
17652         * ctype/ctype-extn.c: ... here.
17653         (__isblank_l): Move to ...
17654         * ctype/ctype-c99_l.c: ... here.  New file.
17655         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17656         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17657         Remove variable.
17658         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17659         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17660         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17661         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17662         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17664         [BZ #17777]
17665         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17666         (posix_fadvise64): Define as weak alias not strong alias.
17667         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17668         (posix_fallocate64): Likewise.
17669         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17670         Remove variable.
17671         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17672         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17673         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17674         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17675         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17677 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17679         [BZ #16191]
17680         * NEWS: Mention bug fix.
17681         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17682         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17683         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17684         (HOST_STACK_END_ADDR): Likewise.
17686 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17688         [BZ #17748]
17689         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17690         * math/fegetround.c (fegetround): Rename to __fegetround and
17691         define as weak alias of __fegetround.  Use libm_hidden_weak.
17692         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17693         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17694         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17695         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17696         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17697         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17698         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17699         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17700         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17701         Undefine after rather than before function definition; use
17702         parentheses around function name in definition.
17703         (__fegetround): Also undefine macro after function definition.
17704         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17705         __fegetround and define as weak alias of __fegetround.  Use
17706         libm_hidden_weak.  Do not undefine as macro.
17707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17708         Likewise.
17709         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17710         __fegetround and define as weak alias of __fegetround.  Use
17711         libm_hidden_weak.
17712         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17713         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17714         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17715         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17716         __fegetround and define as weak alias of __fegetround.  Use
17717         libm_hidden_weak.
17718         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17719         __fegetround instead of fegetround.
17721         [BZ #17782]
17722         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17723         Condition macro definition on [__USE_MISC].
17725         [BZ #17781]
17726         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17727         (struct sigaction): Change type of sa_flags field to int.
17729         [BZ #17780]
17730         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17731         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17732         __glibc_reserved0.
17734         * nptl/version.c (banner): Use single year in copyright notice.
17736         * NEWS: Update copyright dates.
17737         * catgets/gencat.c (print_version): Likewise.
17738         * csu/version.c (banner): Likewise.
17739         * debug/catchsegv.sh: Likewise.
17740         * debug/pcprofiledump.c (print_version): Likewise.
17741         * debug/xtrace.sh (do_version): Likewise.
17742         * elf/ldconfig.c (print_version): Likewise.
17743         * elf/ldd.bash.in: Likewise.
17744         * elf/pldd.c (print_version): Likewise.
17745         * elf/sotruss.sh: Likewise.
17746         * elf/sprof.c (print_version): Likewise.
17747         * iconv/iconv_prog.c (print_version): Likewise.
17748         * iconv/iconvconfig.c (print_version): Likewise.
17749         * locale/programs/locale.c (print_version): Likewise.
17750         * locale/programs/localedef.c (print_version): Likewise.
17751         * login/programs/pt_chown.c (print_version): Likewise.
17752         * malloc/memusage.sh (do_version): Likewise.
17753         * malloc/memusagestat.c (print_version): Likewise.
17754         * malloc/mtrace.pl: Likewise.
17755         * manual/libc.texinfo: Likewise.
17756         * nptl/version.c (banner): Likewise.
17757         * nscd/nscd.c (print_version): Likewise.
17758         * nss/getent.c (print_version): Likewise.
17759         * nss/makedb.c (print_version): Likewise.
17760         * posix/getconf.c (main): Likewise.
17761         * scripts/test-installation.pl: Likewise.
17762         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17764 2015-01-02  Will Newton  <will.newton@linaro.org>
17766         * sysdeps/arm/armv7/configure: Removed.
17767         * sysdeps/arm/armv7/configure.ac: Likewise.
17769 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17771         * All files with FSF copyright notices: Update copyright dates
17772         using scripts/update-copyrights.
17773         * intl/plural.c: Regenerated.
17774         * locale/programs/charmap-kw.h: Likewise.
17775         * locale/programs/locfile-kw.h: Likewise.
17777 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17779         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17781 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17783         [BZ #17748]
17784         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17785         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17786         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17787         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17788         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17789         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17790         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17791         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17792         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17793         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17794         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17795         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17796         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17797         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17798         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17799         libm_hidden_def.
17800         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17801         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17802         Likewise.
17803         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17804         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17805         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17806         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17807         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17808         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17809         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17810         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17811         __fegetenv instead of fegetenv.
17812         (libc_feholdsetround_noex_ctx): Likewise.
17814 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17816         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17817         (Elf_MIPS_ABIFlags_v0): New structure.
17818         (EF_MIPS_FP64): Define.
17819         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17820         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17821         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17822         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17823         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17824         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17825         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17826         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17827         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17828         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17829         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17830         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17831         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17832         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17833         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17834         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17835         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17836         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17837         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17838         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17839         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17840         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17841         field.
17842         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17843         EF_MIPS_FP64.
17844         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17845         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17846         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17847         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17848         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17849         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17850         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17851         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17852         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17853         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17854         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17855         record the current FP ABI extension.
17856         (mips-mode-switch): Define to show if kernel headers support mode
17857         switching.
17858         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17859         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17860         supported SYSV ABI version to 3.
17861         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17862         feature.
17864 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17865             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17867         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17868         path.
17869         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17871 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17873         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17874         __fegetround and redefine to call __fegetround.  Remove condition
17875         on [!__NO_MATH_INLINES].
17876         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17877         function.
17878         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17879         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17880         Remove macro.
17881         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17882         instead of <fenv_libc.h>.
17883         (__llrintl): Call fegetround instead of __fegetround.
17884         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17885         instead of <fenv_libc.h>.
17886         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17887         (__lrintl): Call fegetround instead of __fegetround.
17888         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17889         instead of <fenv_libc.h>.
17890         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17891         (__rintl): Call fegetround instead of __fegetround.
17893 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17895         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17896         arrays.
17898 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17900         [BZ #17775]
17901         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17902         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17903         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17905 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17907         * sysdeps/i386/tls-macros.h: Include <features.h>.
17908         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17909         (TLS_IE): Likewise.
17910         (TLS_LD): Likewise.
17911         (TLS_GD): Likewise.
17912         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17913         define for GCC >= 5.0.
17915 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17917         * math/test-fenv.c (test_single_exception, set_single_exc,
17918         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17919         feexcp_mask_test, feenable_test, fe_single_test): Add
17920         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17921         case where they are not used.
17922         * math/libm-test.inc: Likewise.
17923         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17924         unused in the absence of FP rounding/exception support.
17925         * stdio-common/tst-printf-round.c: Likewise.
17926         * stdlib/tst-strtod-round.c: Likewise.
17927         * stdlib/tst-strtod-underflow.c: Likewise.
17929 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17931         [BZ #17723]
17932         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17933         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17934         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17935         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17936         libm_hidden_weak.
17937         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17938         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17939         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17940         libm_hidden_def.
17941         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17942         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17943         libm_hidden_weak.
17944         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17945         Likewise.
17946         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17947         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17948         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17949         libm_hidden_weak.
17950         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17951         libm_hidden_def.
17952         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17954         (__feraiseexcept): Likewise.
17955         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17956         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17957         libm_hidden_weak.
17958         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17959         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17960         libm_hidden_def.
17961         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17962         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17963         Use libm_hidden_def.
17964         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17965         libm_hidden_def.
17966         (feraiseexcept): Define as weak not strong alias.  Use
17967         libm_hidden_weak.
17968         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17969         New inline function.  Factored out of ...
17970         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17971         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17972         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17973         feraiseexcept.
17974         * math/w_acos.c (__acos): Likewise.
17975         * math/w_asin.c (__asin): Likewise.
17976         * math/w_ilogb.c (__ilogb): Likewise.
17977         * math/w_j0.c (y0): Likewise.
17978         * math/w_j1.c (y1): Likewise.
17979         * math/w_jn.c (yn): Likewise.
17980         * math/w_log.c (__log): Likewise.
17981         * math/w_log10.c (__log10): Likewise.
17982         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17983         * sysdeps/aarch64/fpu/math_private.h
17984         (libc_feupdateenv_test_aarch64): Likewise.
17985         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17986         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17987         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17988         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17989         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17990         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17991         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17992         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17993         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17994         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17996 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17998         [BZ #17732]
17999         * io/test-utime.c (main): Replace %ld with %jd and cast to
18000         intmax_t.
18001         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18002         * nptl/tst-mutex5.c: Include <stdint.h>.
18003         (do_test): Replace %ld with %jd and cast to intmax_t.
18004         * posix/tst-regex.c (run_test): Likewise.
18005         (run_test_backwards): Likewise.
18006         * rt/tst-clock.c: Include <stdint.h>.
18007         (clock_test): Replace %ld with %jd and cast to intmax_t.
18008         * rt/tst-cpuclock1.c: Include <stdint.h>.
18009         (do_test): Replace %lu with %ju and cast to uintmax_t.
18010         * rt/tst-cpuclock2.c: Include <stdint.h>.
18011         (do_test): Replace %lu with %ju and cast to uintmax_t.
18012         * rt/tst-mqueue1.c: Include <stdint.h>.
18013         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18014         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18015         intmax_t.
18016         * rt/tst-mqueue4.c (do_test): Likewise.
18017         * rt/tst-timer4.c: Include <stdint.h>.
18018         (check_ts): Replace %ld with %jd and cast to intmax_t.
18019         (do_test): Likewise.
18020         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18021         and cast to intmax_t.
18022         * sysdeps/pthread/tst-timer.c (main): Likewise.
18023         * time/clocktest.c (main): Likewise.
18024         * time/tst-posixtz.c (do_test): Likewise.
18025         * timezone/tst-timezone.c (main): Likewise.
18027 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18028             H.J. Lu  <hongjiu.lu@intel.com>
18030         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18031         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18032         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18033         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18034         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18035         version if bit_Fast_Unaligned_Load is set.
18036         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18037         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18038         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18039         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18040         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18041         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18043         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18044         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18045         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18046         to 4.
18047         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18048         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18049         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18050         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18052 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18054         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18055         instead of #if to avoid a Wundef warning.
18056         * stdlib/tst-limits.c (do_test): Likewise.
18058         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18059         parallel other exception macros.
18060         (fegetenv): Convert from macro to extern inline so that it applies
18061         retroactively to inline functions already seen by the compiler.
18062         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18064         * posix/Makefile (before-compile): Use $(objpfx) for
18065         posix-conf-vars-def.h.
18067 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18069         * posix/getconf.c (main): Use size_t for type of I.
18070         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18071         NSPEC.
18073         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18074         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18075         * posix/posix-envs.def: Likewise.
18076         * sysdeps/posix/sysconf.c: Likewise.
18077         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18078         (specs): Remove array.
18079         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18080         array.
18082         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18083         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18084         (__sysconf): Use CONF_IS_* macros.
18086         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18087         ($(objpfx)posix-conf-vars-def.h): New target.
18088         * posix/posix-conf-vars.list: New file.
18089         * posix/posix-conf-vars.h: New file.
18090         * posix/confstr.c: Include posix-conf-vars.h.
18091         (confstr): Use CONF_IS_* macros.
18092         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18093         CONF_IS_* macros.
18094         * scripts/gen-posix-conf-vars.awk: New file.
18096 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18098         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18099         fegetround): Add no-op macros to avoid linknamespace issues.
18101         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18102         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18104         * sysdeps/unix/sysv/linux/tile/sysdep.h
18105         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18106         assembly-specific section to avoid a redefinition warning.
18108         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18109         long before casting to pointer to avoid a cast warning.
18111 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18113         * sysdeps/tile/tilegx/Implies: New file.
18115 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18117         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18119 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18121         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18123 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18126         not define.
18127         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18128         <kernel-features.h>.
18129         (__utimes) [__NR_utimes]: Make code unconditional.
18130         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18131         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18132         (__ASSUME_UTIMES): Do not undefine.
18133         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18134         (__ASSUME_UTIMES): Likewise.
18135         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18136         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18137         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18138         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18140 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18142         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18144 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18146         [BZ #17747]
18147         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18148         alias to weak alias for j0l, y0l.
18149         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18150         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18152         [BZ #17746]
18153         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18154         conversion.
18156 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18158         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18159         to zero if not already defined.
18161 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18163         [BZ #17724]
18164         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18165         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18166         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18167         (char *) casts added.
18168         * sysdeps/ieee754/k_standardf.c: New file.
18169         * sysdeps/ieee754/k_standardl.c: Likewise.
18170         * math/Makefile (libm-support): Remove k_standard.
18171         (libm-calls): Add k_standard.
18173 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18175         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18176         Optimize to avoid an unnecessary FPCR read.
18178 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18180         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18181         Optimize to reduce FPCR/FPSR accesses.
18183 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18185         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18186         Call libc_fetestexcept_aarch64.
18188 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18190         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18191         Call libc_fesetround_aarch64.
18193 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18195         [BZ #17733]
18196         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18197         (__bind): Do not define as weak alias.
18198         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18199         define.
18200         (__getsockname): Do not define as weak alias.
18202 2014-12-22  Will Newton  <will.newton@linaro.org>
18204         * manual/install.texi: Document that we require bison 2.7
18205         or above.
18206         * INSTALL: Regenerate.
18207         * configure.ac: Use AC_CHECK_PROG_VER instead of
18208         AC_PATH_PROG when checking for bison and check for
18209         version 2.7 or above.
18210         * configure: Regenerate.
18212 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18214         [BZ #17745]
18215         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18216         * sysdeps/tile/ffsll.c (ffsll): To here.
18218         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18220 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18222         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18223         if not defined.
18224         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18225         definition.
18226         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18227         hidden ___tls_get_addr.
18228         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18229         hidden __tls_get_addr.
18230         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18231         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18232         Likewise.
18234 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18236         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18237         _dl_init call.
18239 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18241         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18242         from "call _dl_init@PLT".
18243         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18245 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18247         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18248         guarantees.
18250 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18252         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18254 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18256         [BZ #17744]
18257         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18258         strnlen.
18260 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18262         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18263         of multu on MIPSr6.
18264         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18265         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18266         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18267         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18268         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18270 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18272         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18273         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18274         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18275         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18276         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18277         mips32r6/mips64r6.
18278         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18280 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18282         * string/strncat.c (STRNCAT): Simplify implementation.
18284 2014-12-19  David S. Miller  <davem@davemloft.net>
18286         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18287         access the quad as both a long double and as a series of 4 words.
18289         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18290         link_map->l_info array access.
18292 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18294         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18296         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18297         * math/atest-exp2.c (TIMEOUT): Likewise.
18298         * math/atest-sincos.c (TIMEOUT): Likewise.
18300 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18302         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18303         -Wno-error with -fno-builtin-lround.
18305 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18307         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18308         Contains futex constants and functions moved over from ...
18309         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18310         <lowlevellock-futex.h>.
18311         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18312         (lll_timedwait_tid): Add comments and parentheses around macro
18313         arguments.
18315 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18317         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18318         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18319         (__lll_private_flag): Remove.
18320         (lll_futex_wait): Likewise.
18321         (lll_futex_timed_wait): Likewise.
18322         (lll_futex_wake): Likewise.
18323         (lll_futex_requeue): Likewise.
18324         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18325         (__lll_timedwait_tid): Spell out argument names.
18326         (lll_timedwait_tid): Add comments and parentheses around macro
18327         arguments.
18328         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18329         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18331 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18333         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18334         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18335         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18336         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18337         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18338         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18339         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18340         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18341         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18347         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18348         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18349         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18350         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18351         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18353 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18355         * sysdeps/x86_64/x32/Makefile: New file.
18357 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18359         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18360         1L with (mp_limb_t) 1.
18362 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18364         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18365         * nptl/libc_pthread_init.c: ... here.
18366         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18367         * nptl/register-atfork.c: ... here.
18369         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18370         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18371         Use assert_perror to check its return value.
18372         (__gai_create_helper_thread): Likewise.
18374         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18376         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18378 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #17725]
18381         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18382         __profil_counter.
18383         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18384         Likewise.
18385         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18386         Likewise.
18387         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18388         Likewise.
18389         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18390         (profil_counter): Likewise.
18391         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18392         (profil_counter): Likewise.
18393         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18394         Likewise.
18395         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18396         Likewise.
18397         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18398         (profil_counter): Likewise.
18399         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18400         Likewise.
18401         [!__profil_counter] (profil_counter): Define as weak alias of
18402         __profil_counter.
18403         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18404         (profil_counter): Rename to __profil_counter.
18405         [!__profil_counter] (profil_counter): Define as weak alias of
18406         __profil_counter.
18407         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18408         (profil_counter): Rename to __profil_counter.
18409         [!__profil_counter] (profil_counter): Define as weak alias of
18410         __profil_counter.
18411         * sysdeps/posix/profil.c: Update comment referring to
18412         profil_counter.
18413         (__profil): Use __profil_counter instead of profil_counter.
18414         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18415         __profil_counter.  Use __profil_counter_ushort and
18416         __profil_counter_uint in definitions.
18417         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18418         instead of profil_counter_uint and profil_counter_ushort.
18420         [BZ #17722]
18421         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18422         define as weak alias of __inet_makeaddr.
18423         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18424         as weak alias of __inet_addr.
18425         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18426         as weak alias of __inet_pton.  Use libc_hidden_weak.
18427         * include/arpa/inet.h (__inet_pton): Declare.  Use
18428         libc_hidden_proto.
18429         (inet_makeaddr): Don't use libc_hidden_proto.
18430         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18431         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18432         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18433         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18434         Remove variable.
18435         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18436         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18438 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18440         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18442 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18444         * stdio-common/bug-vfprintf-nargs.c (do_test):
18445         Cast value to intptr_t to avoid format warning
18446         for usage with PRIdPTR printing macro.
18448 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18450         * libio/tst-widetext.c (do_test):
18451         Use format type %td instead of %Zd for ptrdiff_t
18452         in order to avoid format warning.
18454 2014-12-17  Andreas Schwab  <schwab@suse.de>
18456         * nscd/mem.c (gc): Add size_t cast to match printf format.
18458 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18460         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18461         (init): Apply PTR_MANGLE to pointers before storing them.
18462         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18463         before using them.
18465 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18467         [BZ #17719]
18468         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18469         define as weak alias of __memrchr.
18470         (__memrchr): Do not define as strong alias of memrchr.
18471         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18472         Remove variable.
18473         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18474         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18475         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18477         [BZ #17717]
18478         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18479         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18480         (if_indextoname): Rename to __if_indextoname and define as weak
18481         alias of __if_indextoname.  Use libc_hidden_weak.
18482         (if_freenameindex): Rename to __if_freenameindex and define as
18483         weak alias of __if_freenameindex.
18484         (if_nameindex): Rename to __if_nameindex and define as weak alias
18485         of __if_nameindex.
18486         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18487         __if_nametoindex and define as weak alias of __if_nametoindex.
18488         Use libc_hidden_weak.
18489         (if_freenameindex): Rename to __if_freenameindex and define as
18490         weak alias of __if_freenameindex.
18491         (if_nameindex): Rename to __if_nameindex and define as weak alias
18492         of __if_nameindex.
18493         (if_indextoname): Rename to __if_indextoname and define as weak
18494         alias of __if_indextoname.  Use libc_hidden_weak.
18495         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18496         __if_nametoindex and define as weak alias of __if_nametoindex.
18497         Use libc_hidden_weak.
18498         (if_freenameindex): Rename to __if_freenameindex and define as
18499         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18500         (if_nameindex_netlink): Use __if_freenameindex instead of
18501         if_freenameindex.
18502         (if_nameindex): Rename to __if_nameindex and define as weak alias
18503         of __if_nameindex.  Use libc_hidden_weak.
18504         (if_indextoname): Rename to __if_indextoname and define as weak
18505         alias of __if_indextoname.  Use libc_hidden_weak.
18506         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18507         libc_hidden_proto.
18508         [!_ISOMAC] (__if_freenameindex): Likewise.
18509         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18510         if_nametoindex.
18511         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18512         variable.
18513         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18514         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18515         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18516         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18517         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18518         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18519         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18521         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18522         Remove variable.
18523         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18524         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18526 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18529         subscript above bounds'
18531         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18532         bounds.
18534 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18536         * libio/tst-fopenloc.c: Use test-skeleton.c.
18538         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18539         (entry): Rename to ITEM.
18540         (do_test, comp): Adjust.
18542         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18544 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18546         * string/tester.c: Include <libc-internal.h>.
18547         (test_memset): Ignore -Wmemset-transposed-args.
18549 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18551         * misc/tst-mntent2.c (do_test): Fix warning.
18553 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18555         * elf/tst-unique4lib.cc(a): Mark as used.
18557 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18559         [BZ #17630]
18560         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18561         names.
18563 2014-12-16  Allan McRae  <allan@archlinux.org>
18565         * stdio-common/Makefile (tests): Re-add bug26.
18567 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18569         [BZ #17657]
18570         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18571         static array.
18573 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18575         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18576         (__lll_lock_wait): Likewise.
18577         (__lll_timedlock_wait): Likewise.
18578         (__lll_timedwait_tid): Likewise.
18579         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18580         (__lll_robust_timedlock_wait): Likewise.
18581         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18582         (lll_cond_trylock): Likewise.
18583         (__lll_lock): Likewise.
18584         (__lll_robust_lock): Likewise.
18585         (__lll_cond_lock): Likewise.
18586         (lll_robust_cond_lock): Likewise.
18587         (__lll_timedlock): Likewise.
18588         (__lll_robust_timedlock): Likewise.
18589         (__lll_unlock): Likewise.
18590         (__lll_robust_unlock): Likewise.
18591         (lll_wait_tid): Likewise.
18592         (lll_timedwait_tid): Likewise.
18594 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18596         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18598 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18600         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18602 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18604         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18605         * stdio-common/tst-sprintf.c: Likewise.
18607 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18609         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18611 2014-12-15  Jeff Law  <law@redhat.com>
18613         [BZ #16617]
18614         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18615         on the heap.  (CVE-2012-3406)
18616         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18617         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18618         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18620 2014-12-15  Will Newton  <will.newton@linaro.org>
18622         * manual/install.texi: Bump required version of texinfo
18623         to 4.7 from 4.5.
18624         * INSTALL: Regenerated.
18625         * configure.ac: Check for makeinfo version 4.7 and above.
18626         * configure: Regenerated.
18628 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18630         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18631         PREFIX, string constant to insert between directory and name.
18632         * sysdeps/posix/shm_open.c: Update caller.
18633         * sysdeps/posix/shm_unlink.c: Likewise.
18634         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18635         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18636         (SEM_SHM_PREFIX): New macro.
18637         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18638         [$(have-thread-library) = no].
18639         * nptl/Makefile (libpthread-routines): Add shm-directory.
18640         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18641         * sysdeps/nptl/shm-directory.h: New file.
18642         * sysdeps/posix/shm-directory.c
18643         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18644         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18645         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18646         INTERNAL_SYSCALL.
18647         (__where_is_shmfs): Function removed.
18648         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18649         Variables removed.
18650         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18651         Use SHM_GET_NAME.
18652         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18654         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18655         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18656         unconditional for use inside libpthread.
18657         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18659 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18661         * nptl/pthread_getaffinity.c: New file.
18662         * nptl/pthread_setaffinity.c: New file.
18663         * nptl/pthread_getname.c: New file.
18664         * nptl/pthread_setname.c: New file.
18666         * nptl/pthread_create.c (START_THREAD_DEFN)
18667         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18669 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18670             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18672         * resolv/res_send.c (send_vc): Disable warning resplen may
18673         be used uninitialized.
18675 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18677         * nptl/tst-mutex6.c
18678         (ATTR_NULL): New define checks ATTR against NULL.
18679         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18680         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18682 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18684         [BZ #17581]
18685         * malloc/hooks.c
18686         (mem2mem_check): Revert my previous change.
18687         (malloc_check_get_size): Revert my previous change.
18688         (mem2chunk_check): Revert my previous change.
18690 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18692         * sysdeps/posix/shm-directory.c: New file.
18693         * sysdeps/posix/shm-directory.h: New file.
18694         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18695         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18696         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18697         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18698         Transmute EPERM to EACCES.
18699         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18700         from ...
18701         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18702         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18704 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18706         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18707         pointer and cast to uintptr_t.
18708         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18709         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18710         Add cast to avoid warning.
18711         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18713 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18715         * nptl/semaphore.h: Move to ...
18716         * sysdeps/pthread/semaphore.h: ... here.
18717         * Makefile (installed-headers): Change nptl/semaphore.h to
18718         sysdeps/pthread/semaphore.h.
18720 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18722         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18723         generated error format strings.
18725         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18726         -Wformat-extra-args warnings for scanf formats.
18727         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18728         test of zero-length format (duh).
18729         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18730         corner-case scanf format test.
18731         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18732         generated fprintf format string.
18733         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18734         corner-case sprintf format tests.
18735         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18736         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18737         -Wformat-extra-args warnings throughout.
18738         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18739         (CFLAGS-scanf4.c): Likewise.
18740         (CFLAGS-scanf7.c): Likewise.
18741         (CFLAGS-tst-sprintf.c): Likewise.
18742         (CFLAGS-tst-printf.c): Likewise.
18743         (CFLAGS-tst-printfsz.c): Likewise.
18745 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18747         * include/cpio.h: New file.
18748         * include/fmtmsg.h: Likewise.
18750         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18751         corresponding format argument to size_t.
18752         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18753         arguments.
18754         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18755         corresponding format argument to size_t.
18756         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18757         arguments.
18758         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18759         corresponding format argument to size_t.
18760         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18761         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18762         (CFLAGS-tst-mbswcs2.c): Likewise.
18763         (CFLAGS-tst-mbswcs3.c): Likewise.
18764         (CFLAGS-tst-mbswcs4.c): Likewise.
18765         (CFLAGS-tst-mbswcs5.c): Likewise.
18766         (CFLAGS-tst-trans.c): Likewise.
18768 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18770         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18771         rather than assuming they won't contain any '%'s.
18773 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18775         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18776         inhibit_loop_to_libcall to avoid recursive calls.
18777         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18778         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18780 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18782         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18783         prototype.
18785 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18787         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18788         integer value instead of boolean.
18790 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18792         * malloc/malloc.c: Fix powerof2 check.
18794 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18796         * locale/programs/locfile.h (maybe_swap_uint32):
18797         Remove inline and add unused attribute.
18799 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18801         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18802         Truncating assembler expression to a .long expression.
18804 2014-12-11  Andreas Schwab  <schwab@suse.de>
18806         * elf/rtld.c (struct map_args): Constify str member.
18807         (do_preload): Constify fname argument.
18809 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18812         constants definition.
18814 2014-12-11  Andreas Schwab  <schwab@suse.de>
18816         [BZ #16657]
18817         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18818         FORCE_ELISION instead of DO_ELISION.
18819         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18820         Remove.
18821         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18822         Likewise.
18824         * iconvdata/gconv-modules: Remove duplicate entry.
18826 2014-12-11  Will Newton  <will.newton@linaro.org>
18828         Merge gettext 0.19.3 into intl/.
18830         This involves a number of cosmetic changes to comments
18831         and ANSI function definitions and prototypes throughout
18832         all the files. The gettext copyright header is used but
18833         with the date ranges taken from the glibc copy.
18835         * NEWS: Add gettext merge to 2.21.
18836         * intl/bindtextdom.c: Switch to gettext copyright.
18837         Use ANSI definitions and prototypes.
18838         Use gl_* locking primitives rather than __libc_* ones.
18839         Use __builtin_expect rather than __glibc_likely/unlikely.
18840         * intl/dcgettext.c: Switch to gettext copyright.
18841         Use ANSI definitions and prototypes.
18842         * intl/dcigettext.c: Switch to gettext copyright.
18843         Use ANSI definitions and prototypes.
18844         (INTDIV0_RAISES_SIGFPE): New define.
18845         Use gl_* locking primitives rather than __libc_* ones.
18846         Include eval-plural.h instead of plural-eval.c.
18847         Use __builtin_expect rather than __glibc_likely/unlikely.
18848         * intl/dcngettext.c: Switch to gettext copyright.
18849         Use ANSI definitions and prototypes.
18850         * intl/dgettext.c: Likewise.
18851         * intl/dngettext.c: Likewise.
18852         * intl/plural-eval.c: Renamed to...
18853         * intl/eval-plural.h: ...this.
18854         * intl/explodename.c: Switch to gettext copyright.
18855         Use ANSI definitions and prototypes.
18856         (_nl_explode_name): Use strchr instead of __rawmemchr.
18857         * intl/finddomain.c: Switch to gettext copyright.
18858         Use ANSI definitions and prototypes.
18859         Use gl_* locking primitives rather than __libc_* ones.
18860         (_nl_find_domain): Use malloc rather than alloca for
18861         allocation of temporary locale name.
18862         * intl/gettext.c: Switch to gettext copyright.
18863         Use ANSI definitions and prototypes.
18864         * intl/gettextP.h: Switch to gettext copyright.
18865         Use ANSI definitions and prototypes.
18866         Use gl_* locking primitives rather than __libc_* ones.
18867         * intl/gmo.h: Switch to gettext copyright.
18868         (struct sysdep_string): Move struct segment_pair outside of
18869         struct definition.
18870         * intl/hash-string.c: Use ANSI definitions and prototypes.
18871         * intl/hash-string.h: Switch to gettext copyright.
18872         Use ANSI definitions and prototypes.
18873         * intl/l10nflist.c: Switch to gettext copyright.
18874         Use ANSI definitions and prototypes.
18875         (_nl_normalize_codeset): Avoid integer overflow.
18876         * intl/loadinfo.h: Switch to gettext copyright.
18877         Use ANSI definitions and prototypes.
18878         (LIBINTL_DLL_EXPORTED): New define.
18879         (PATH_SEPARATOR): New define.
18880         * intl/loadmsgcat.c: Switch to gettext copyright.
18881         * intl/localealias.c: Switch to gettext copyright.
18882         Use ANSI definitions and prototypes.
18883         (_nl_expand_alias): Use PATH_SEPARATOR.
18884         * intl/ngettext.c: Switch to gettext copyright.
18885         Use ANSI definitions and prototypes.
18886         * intl/plural-exp.c: Likewise.
18887         * intl/plural-exp.h: Switch to gettext copyright.
18888         Use ANSI definitions and prototypes.
18889         (struct expression): Move definition of enum operator outside
18890         of struct definition.
18891         * intl/plural.c: Regenerate.
18892         * intl/plural.y: Switch to gettext copyright.
18893         Use ANSI definitions and prototypes.
18894         Port to bison 3.0.
18895         * intl/textdomain.c: Switch to gettext copyright.
18896         Use ANSI definitions and prototypes.
18897         Use gl_* locking primitives rather than __libc_* ones.
18899 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18901         * debug/warning-nop.c: Add used atrribute.
18903 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18905         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18907         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18908         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18909         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18911 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18912             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18914         [BZ #17634]
18915         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18916         Undefine after defining function.  Define as weak alias of
18917         __wcschr.  Use libc_hidden_weak.
18918         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18919         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18920         (libc_hidden_def): Also define __GI___wcschr alias.
18921         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18922         __wcschr and define as weak alias of __wcschr.
18923         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18924         __wcschr.
18925         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18926         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18927         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18928         libc_hidden_weak.  Do not use libc_hidden_def.
18929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18930         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18931         __GI___wcschr alias.
18932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18933         [IS_IN (libc)] (wcschr): Define as macro expanding to
18934         __redirect_wcschr.
18935         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18936         [IS_IN (libc)] (__wcschr_power6): Likewise.
18937         [IS_IN (libc)] (__wcschr_power7): Likewise.
18938         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18939         instead of wcschr.
18940         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18941         __libc_wcschr.
18942         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18943         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18944         __wcschr and define as weak alias of __wcschr.  Use
18945         libc_hidden_builtin_def.
18946         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18947         as weak alias of __wcschr.  Use libc_hidden_weak.
18948         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18949         wcschr.
18950         * time/era.c (_nl_init_era_entries): Likewise.
18951         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18952         variable.
18953         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18954         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18956 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18958         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18959         format for long int variable.
18961 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18963         [BZ #10672]
18964         * manual/search.texi: (Array Sort Function): Remove claim how to make
18965         qsort stable.
18967 2014-12-10  Andreas Schwab  <schwab@suse.de>
18969         [BZ #12847]
18970         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18971         user-controlled locks.
18973 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18975         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18976         register.
18978 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18980         * configure.ac (--disable-werror): New configure option.
18981         (enable_werror): New AC_SUBST.
18982         * configure: Regenerated.
18983         * config.make.in (enable-werror): New variable.
18984         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18985         -Wno-error=undef.
18986         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18987         * manual/install.texi (Configuring and compiling): Document
18988         --disable-werror.
18989         * INSTALL: Regenerated.
18990         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18991         (CFLAGS-tst-chk2.c): Likewise.
18992         (CFLAGS-tst-chk3.c): Likewise.
18993         (CFLAGS-tst-chk4.cc): Likewise.
18994         (CFLAGS-tst-chk5.cc): Likewise.
18995         (CFLAGS-tst-chk6.cc): Likewise.
18996         (CFLAGS-tst-lfschk1.c): Likewise.
18997         (CFLAGS-tst-lfschk2.c): Likewise.
18998         (CFLAGS-tst-lfschk3.c): Likewise.
18999         (CFLAGS-tst-lfschk4.cc): Likewise.
19000         (CFLAGS-tst-lfschk5.cc): Likewise.
19001         (CFLAGS-tst-lfschk6.cc): Likewise.
19003         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19004         (main): Disable -Wdeprecated-declarations around calls to
19005         register_printf_function.
19007         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19008         (do_test): Disable -Wdiv-by-zero around some calls to
19009         fwrite_unlocked and fread_unlocked.
19011         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19012         (DIAG_POP_NEEDS_COMMENT): Likewise.
19013         (_DIAG_STR1): Likewise.
19014         (_DIAG_STR): Likewise.
19015         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19016         * stdio-common/bug21.c: Include <libc-internal.h>.
19017         (do_test): Disable -Wformat around call to sscanf.
19018         * stdio-common/scanf14.c: Include <libc-internal.h>.
19019         (main): Disable -Wformat around some calls to scanf functions.
19021 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19023         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19025 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19027         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19028         stack variable alignment.
19030 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19032         [BZ #17682]
19033         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19034         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19035         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19036         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19037         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19038         __getrlimit instead of getrlimit.
19039         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19040         __gettimeofday instead of gettimeofday.
19041         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19042         Likewise.
19043         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19044         Likewise.
19045         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19046         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19047         Remove variable.
19048         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19049         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19051 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19053         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19054         for wide-character tests.
19056 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19058         * io/openat64.c: #include <libc-internal.h>
19059         (__openat64): Prototypify.  Use ignore_value on MODE.
19060         * io/openat.c: Likewise.
19061         * misc/reboot.c: #include <libc-internal.h>
19062         (reboot): Prototypify.  Use ignore_value on HOWTO.
19063         * misc/ptrace.c: #include <libc-internal.h>
19064         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19066 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19068         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19069         XPG4, UNIX98 and XOPEN2K.
19070         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19071         Remove variable.
19072         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19074 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19076         * libio/fileops.c: Use ISO C style for function definitions.
19077         * libio/iofopen.c: Likewise.
19078         * libio/wfileops.c: Likewise.
19080         [BZ #17653]
19081         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19082         offset on EOF.
19083         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19084         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19085         (fgets_func): Function pointer to fgets and fgetws.
19086         (do_ftell_test): Add test to verify ftell value after read
19087         EOF.
19088         (do_test): Set fgets_func.
19090         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19091         O_TRUNC flag for w and w+ modes.
19092         (do_rewind_test): Likewise.
19093         (do_ftell_test): Likewise.
19094         (do_write_test): Likewise.
19096         [BZ #17647]
19097         * libio/fileops.c (do_ftell): Seek only when there are
19098         unflushed writes.
19099         * libio/wfileops.c (do_ftell_wide): Likewise.
19100         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19101         test case.
19102         (do_one_test): Call it.
19104 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19106         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19107         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19108         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19109         Remove variable.
19110         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19111         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19112         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19114 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19116         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19117         Remove variable.
19118         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19120         [BZ #17668]
19121         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19122         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19123         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19124         __freeifaddrs.  Use libc_hidden_weak.
19125         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19126         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19127         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19128         __freeifaddrs.  Use libc_hidden_weak.
19129         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19130         __getifaddrs and define as weak alias of __getifaddrs.  Use
19131         libc_hidden_weak.
19132         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19133         __freeifaddrs.  Use libc_hidden_weak.
19134         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19135         Remove variable.
19136         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19137         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19139 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19141         [BZ #17601]
19142         * sysdeps/mips/start.S (__start): Use indirect jump to call
19143         __libc_start_main.
19145 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19147         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19149         * nptl/tst-mutex1.c: Include <stdbool.h>.
19150         [!ATTR] (ATTR_NULL): New macro.
19151         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19152         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19153         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19155         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19156         to char *.
19158         [BZ #17665]
19159         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19160         Change conditional to [__USE_MISC].
19162         [BZ #17664]
19163         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19164         fgets_unlocked.
19165         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19166         __fgets_unlocked.
19167         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19168         fgets_unlocked.
19169         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19170         Remove variable.
19171         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19172         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19173         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19174         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19175         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19176         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19177         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19178         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19179         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19181         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19183 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19186         Remove strpbrk objects.
19187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19188         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19189         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19190         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19191         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19192         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19195         Remove strcspn objects.
19196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19197         (__libc_ifunc_impl_list): Remove strcspn implementation.
19198         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19199         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19200         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19201         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19203         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19204         Remove strspn objetcs.
19205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19206         (__libc_ifunc_impl_list): Remove strspn implementation.
19207         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19208         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19209         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19210         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19212 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19214         [BZ #17581]
19215         * malloc/hooks.c
19216         (mem2mem_check): Add a terminator to the chain of checking blocks.
19217         (malloc_check_get_size): Use it here.
19218         (mem2chunk_check): Ditto.
19220 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19222         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19223         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19225 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19227         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19229         * nptl/nptl-init.c: Include libc-internal.h.
19230         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19232         * elf/ldconfig.c (search_dir): Expand comment.
19234 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19236         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19237         variable.
19238         (linknamespace-symlist-stdlibs-tests): Likewise.
19239         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19240         instead of $(objpfx)symlist-stdlibs.
19241         (linknamespace-libs-isoc): New variable.
19242         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19243         (linknamespace-libs-ISO): New variable.
19244         (linknamespace-libs-ISO99): Likewise.
19245         (linknamespace-libs-ISO11): Likewise.
19246         (linknamespace-libs-XPG3): Likewise.
19247         (linknamespace-libs-XPG4): Likewise.
19248         (linknamespace-libs-POSIX): Likewise.
19249         (linknamespace-libs-UNIX98): Likewise.
19250         (linknamespace-libs-XOPEN2K): Likewise.
19251         (linknamespace-libs-POSIX2008): Likewise.
19252         (linknamespace-libs-XOPEN2K8): Likewise.
19253         ($(objpfx)symlist-stdlibs): Replace by
19254         $(linknamespace-symlist-stdlibs-tests).  Use
19255         $(linknamespace-libs-$*) as set of libraries.
19256         ($(linknamespace-header-tests)): Update dependencies.  Use
19257         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19258         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19259         * conform/linknamespace.pl: Remove comment about considering
19260         definitions of symbols from irrelevant libraries.
19262 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19264         [BZ #13862]
19265         * elf/dl-tls.c: Include <atomic.h>.
19266         (oom): Remove #ifdef SHARED/#endif.
19267         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19268         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19269         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19270         big enough.
19271         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19272         * nptl/Makefile (tests): Add tst-stack4.
19273         (modules-names): Add tst-stack4mod.
19274         ($(objpfx)tst-stack4): New.
19275         (tst-stack4mod.sos): Likewise.
19276         ($(objpfx)tst-stack4.out): Likewise.
19277         ($(tst-stack4mod.sos)): Likewise.
19278         (clean): Likewise.
19279         * nptl/tst-stack4.c: New file.
19280         * nptl/tst-stack4mod.c: Likewise.
19282 2014-11-27  J. Brown  <jb999@gmx.de>
19284         * sysdeps/x86/bits/string.h: Add recent CPUs.
19286 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19288         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19289         sigblock.
19291         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19292         feof.
19294         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19295         variable.
19297 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19299         * nscd/connections.c: Include libc-internal.h because of macro
19300         usage ignore_value.
19302 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19304         * string/bits/string3.h (__warn_memset_zero_len): Don't
19305         declare for gcc newer than 5.0.
19306         (memset): Don't test for zero-length __LEN for gcc newer than
19307         5.0.
19309 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19311         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19312         size_t for %zu format.
19314         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19315         difference, not %ju.
19317 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19319         * include/libc-internal.h (ignore_value): New macro.
19320         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19321         with ignore_value.
19323         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19324         definition.
19326         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19327         pthread_cleanup_push to void *.
19329         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19330         Undefine.
19332         [BZ #16619]
19333         [BZ #16740]
19334         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19335         instead of 1L << 52.
19337         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19338         * libio/bug-rewind2.c (do_test): Likewise.
19340         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19341         * debug/test-strcpy_chk-ifunc.c: Likewise.
19342         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19343         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19344         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19345         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19346         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19347         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19348         * Rules [$(multi-arch) = no] (tests): Do not filter out
19349         $(tests-ifunc).
19350         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19351         * debug/Makefile (tests-ifunc): Remove variable.
19352         (tests): Do not add $(tests-ifunc).
19353         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19354         (tests): Do not add $(tests-ifunc).
19355         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19356         [TEST_IFUNC]: Remove conditionals.
19357         * string/test-string.h (TEST_IFUNC): Remove macro.
19358         [TEST_IFUNC]: Remove conditionals.
19360         * string/test-strchr.c [!WIDE] (L): New macro.
19361         [WIDE] (L): Likewise.
19362         (check1): Use CHAR instead of char.  Use L on string and character
19363         constants.
19365 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19367         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19368         tests.
19369         * sysdeps/powerpc/bits/atomic.h
19370         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19371         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19372         (atomic_exchange_and_add_acq): Likewise.
19373         (atomic_exchange_and_add_rel): Likewise.
19374         * sysdeps/powerpc/powerpc32/bits/atomic.h
19375         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19376         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19377         * sysdeps/powerpc/powerpc64/bits/atomic.h
19378         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19379         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19381 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19383         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19384         Change synchronization of __sched_fifo_min_prio and
19385         __sched_fifo_max_prio.
19386         * nptl/pthread_mutexattr_getprioceiling.c
19387         (pthread_mutexattr_getprioceiling): Likewise.
19388         * nptl/pthread_mutexattr_setprioceiling.c
19389         (pthread_mutexattr_setprioceiling): Likewise.
19390         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19391         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19392         Likewise.
19394 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19396         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19397         void.
19399 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19401         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19402         third argument const.
19404 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19406         fnmatch: work around GCC compiler warning bug with uninit var
19407         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19408         This works around a bug with x86-64 GCC 4.9.2 and earlier
19409         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19410         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19411         used uninitialized in this function [-Wmaybe-uninitialized]".
19413 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19415         * posix/bug-regex31.c (main): Return RES not 0.
19417 2014-11-25  Anton Blanchard <anton@samba.org>
19419         * sysdeps/powerpc/bits/atomic.h
19420         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19422 2014-11-24  Sterling Augustine  <saugustine@google.com>
19424         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19426 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19428         [BZ #17608]
19429         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19431 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19433         [BZ #17633]
19434         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19435         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19436         variable.
19437         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19438         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19440 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19442         * string/strncpy.c (strncpy): Improve performance by using memset.
19444 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19446         * string/strcpy.c (strcpy):
19447         Improve performance by using strlen and memcpy.
19449 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19451         * string/strcoll_l.c (get_next_seq): __always_inline.
19452         * string/strcoll_l.c (do_compare): __always_inline.
19454 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19456         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19457         defined.
19458         * include/mqueue.h: Likewise.
19459         * include/stdlib.h: Likewise.
19461         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19462         (get_null_defines): Adjust.
19463         * sunrpc/Makefile: Adjust comment.
19464         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19465         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19466         (CFLAGS-interp.c): Likewise.
19467         (CFLAGS-ldconfig.c): Likewise.
19468         (CPPFLAGS-.os): Likewise.
19469         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19470         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19471         * extra-modules.mk (extra-modules.mk): Likewise.
19472         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19473         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19474         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19475         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19476         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19477         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19478         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19479         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19480         * iconvdata/Makefile (CPPFLAGS): Likewise.
19481         (cpp-srcs-left): Add libof for all iconvdata routines.
19482         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19483         * include/assert.h: Likewise.
19484         * include/ctype.h: Likewise.
19485         * include/errno.h: Likewise.
19486         * include/libc-symbols.h: Likewise.
19487         * include/math.h: Likewise.
19488         * include/netdb.h: Likewise.
19489         * include/resolv.h: Likewise.
19490         * include/stdio.h: Likewise.
19491         * include/stdlib.h: Likewise.
19492         * include/string.h: Likewise.
19493         * include/sys/stat.h: Likewise.
19494         * include/wctype.h: Likewise.
19495         * intl/l10nflist.c: Likewise.
19496         * libidn/idn-stub.c: Likewise.
19497         * libio/libioP.h: Likewise.
19498         * nptl/libc_multiple_threads.c: Likewise.
19499         * nptl/pthreadP.h: Likewise.
19500         * posix/regex_internal.h: Likewise.
19501         * resolv/res_hconf.c: Likewise.
19502         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19503         * sysdeps/arm/memmove.S: Likewise.
19504         * sysdeps/arm/sysdep.h: Likewise.
19505         * sysdeps/generic/_itoa.h: Likewise.
19506         * sysdeps/generic/symbol-hacks.h: Likewise.
19507         * sysdeps/gnu/errlist.awk: Likewise.
19508         * sysdeps/gnu/errlist.c: Likewise.
19509         * sysdeps/i386/i586/memcpy.S: Likewise.
19510         * sysdeps/i386/i586/memset.S: Likewise.
19511         * sysdeps/i386/i686/memcpy.S: Likewise.
19512         * sysdeps/i386/i686/memmove.S: Likewise.
19513         * sysdeps/i386/i686/mempcpy.S: Likewise.
19514         * sysdeps/i386/i686/memset.S: Likewise.
19515         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19517         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19518         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19519         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19520         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19521         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19522         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19523         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19524         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19525         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19526         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19527         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19528         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19529         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19530         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19531         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19532         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19533         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19534         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19535         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19536         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19537         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19538         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19539         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19540         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19541         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19542         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19543         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19544         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19545         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19546         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19548         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19549         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19551         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19552         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19553         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19554         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19555         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19556         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19557         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19558         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19559         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19560         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19561         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19562         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19563         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19564         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19565         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19566         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19567         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19568         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19569         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19570         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19571         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19572         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19573         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19574         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19575         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19576         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19577         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19578         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19579         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19580         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19581         * sysdeps/posix/closedir.c: Likewise.
19582         * sysdeps/posix/opendir.c: Likewise.
19583         * sysdeps/posix/readdir.c: Likewise.
19584         * sysdeps/posix/rewinddir.c: Likewise.
19585         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19586         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19587         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19588         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19589         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19590         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19596         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19597         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19598         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19599         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19600         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19601         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19602         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19603         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19605         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19606         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19607         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19608         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19613         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19620         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19621         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19622         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19623         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19624         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19625         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19626         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19627         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19629         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19630         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19631         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19632         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19633         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19634         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19635         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19636         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19639         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19641         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19642         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19643         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19644         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19645         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19646         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19648         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19649         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19650         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19651         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19652         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19653         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19654         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19655         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19656         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19657         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19658         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19659         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19660         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19661         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19662         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19663         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19664         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19665         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19666         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19667         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19669         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19670         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19671         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19672         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19673         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19675         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19676         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19677         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19678         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19679         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19681         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19682         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19683         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19684         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19685         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19686         * sysdeps/unix/alpha/sysdep.S: Likewise.
19687         * sysdeps/unix/alpha/sysdep.h: Likewise.
19688         * sysdeps/unix/make-syscalls.sh: Likewise.
19689         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19691         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19692         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19693         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19694         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19695         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19696         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19697         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19698         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19700         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19703         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19704         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19705         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19706         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19707         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19708         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19709         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19710         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19711         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19712         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19713         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19714         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19718         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19719         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19723         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19727         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19728         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19729         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19730         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19731         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19732         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19733         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19736         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19739         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19740         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19741         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19742         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19743         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19744         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19745         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19747         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19748         * sysdeps/x86_64/memcpy.S: Likewise.
19749         * sysdeps/x86_64/memmove.c: Likewise.
19750         * sysdeps/x86_64/memset.S: Likewise.
19751         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19752         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19753         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19754         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19755         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19756         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19758         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19759         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19760         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19761         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19763         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19764         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19765         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19766         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19767         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19768         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19769         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19770         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19771         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19772         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19773         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19775         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19776         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19777         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19778         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19779         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19780         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19781         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19782         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19783         * sysdeps/x86_64/strcmp.S: Likewise.
19785         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19787         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19788         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19789         * elf/rtld-Rules: Likewise.
19790         * elf/setup-vdso.h: Likewise.
19791         * include/assert.h: Likewise.
19792         * include/bits/stdlib-float.h: Likewise.
19793         * include/errno.h: Likewise.
19794         * include/sys/stat.h: Likewise.
19795         * include/unistd.h: Likewise.
19796         * sysdeps/aarch64/setjmp.S: Likewise.
19797         * sysdeps/alpha/setjmp.S: Likewise.
19798         * sysdeps/arm/__longjmp.S: Likewise.
19799         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19800         * sysdeps/arm/setjmp.S: Likewise.
19801         * sysdeps/arm/sysdep.h: Likewise.
19802         * sysdeps/generic/_itoa.h: Likewise.
19803         * sysdeps/generic/dl-sysdep.h: Likewise.
19804         * sysdeps/generic/ldsodefs.h: Likewise.
19805         * sysdeps/i386/dl-tls.h: Likewise.
19806         * sysdeps/i386/setjmp.S: Likewise.
19807         * sysdeps/m68k/setjmp.c: Likewise.
19808         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19809         * sysdeps/mach/hurd/opendir.c: Likewise.
19810         * sysdeps/posix/getcwd.c: Likewise.
19811         * sysdeps/posix/opendir.c: Likewise.
19812         * sysdeps/posix/profil.c: Likewise.
19813         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19814         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19815         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19816         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19817         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19818         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19819         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19820         * sysdeps/s390/dl-tls.h: Likewise.
19821         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19822         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19823         * sysdeps/sh/sh3/setjmp.S: Likewise.
19824         * sysdeps/sh/sh4/setjmp.S: Likewise.
19825         * sysdeps/unix/alpha/sysdep.h: Likewise.
19826         * sysdeps/unix/arm/sysdep.S: Likewise.
19827         * sysdeps/unix/i386/sysdep.S: Likewise.
19828         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19829         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19830         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19831         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19832         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19833         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19834         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19835         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19836         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19837         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19838         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19839         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19843         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19847         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19848         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19849         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19851         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19852         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19853         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19854         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19855         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19856         * sysdeps/x86_64/setjmp.S: Likewise.
19858         * include/math.h: Use IS_IN instead of IS_IN_libm.
19859         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19862         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19864         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19865         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19866         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19868         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19869         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19870         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19871         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19872         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19873         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19874         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19875         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19876         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19877         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19878         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19879         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19880         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19881         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19882         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19883         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19884         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19885         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19886         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19887         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19888         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19889         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19890         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19891         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19893         Likewise.
19894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19895         Likewise.
19896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19897         Likewise.
19898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19899         Likewise.
19900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19901         Likewise.
19902         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19903         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19904         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19905         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19907         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19913         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19914         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19915         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19916         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19917         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19918         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19919         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19920         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19921         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19922         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19923         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19925         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19926         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19928         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19930         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19931         * nptl/pthreadP.h: Likewise.
19932         * nptl_db/structs.def: Likewise.
19933         * sysdeps/arm/sysdep.h: Likewise.
19934         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19935         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19936         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19937         * sysdeps/unix/alpha/sysdep.h: Likewise.
19938         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19940         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19941         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19942         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19943         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19944         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19945         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19946         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19947         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19948         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19949         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19950         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19951         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19956         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19959         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19960         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19961         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19962         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19963         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19965         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19966         * nptl/pthreadP.h: Likewise.
19967         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19968         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19969         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19970         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19971         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19972         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19973         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19974         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19975         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19976         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19977         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19978         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19980         Likewise.
19981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19982         Likewise.
19983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19984         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19985         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19986         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19988         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19989         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19990         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19992         * dlfcn/dladdr.c: Use IS_IN.
19993         * dlfcn/dladdr1.c: Likewise.
19994         * dlfcn/dlclose.c: Likewise.
19995         * dlfcn/dlerror.c: Likewise.
19996         * dlfcn/dlinfo.c: Likewise.
19997         * dlfcn/dlmopen.c: Likewise.
19998         * dlfcn/dlopen.c: Likewise.
19999         * dlfcn/dlsym.c: Likewise.
20000         * dlfcn/dlvsym.c: Likewise.
20002         * include/ifaddrs.h: Use IS_IN.
20003         * inet/check_pf.c: Likewise.
20004         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20005         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20007         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20008         IS_IN_ldconfig.
20009         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20010         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20012         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20013         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20014         IS_IN (libc).
20016         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20018         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20019         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20020         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20021         * include/libc-symbols.h (IS_IN_LIB): New macro.
20022         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20023         * include/netdb.h: Likewise.
20024         * include/stap-probe.h: Remove all uses of IN_LIB.
20026         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20027         instead of IN_MODULE.
20028         * include/libc-symbols.h (IN_MODULE): Define using
20029         MODULE_NAME.
20030         (PASTE_NAME, PASTE_NAME1): New macros.
20031         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20032         of IN_LIB.
20033         (STAP_PROBE_ASM): Likewise.
20035 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20037         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20038         __mach_init in dlopened libc.
20040 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20042         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20043         * sysdeps/arm/preconfigure: Regenerate.
20045 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20047         * nptl/pthread_create.c (__pthread_create_2_1): Set
20048         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20049         when copying values from IATTR into PD.
20051 2014-11-21  Will Newton  <will.newton@linaro.org>
20052             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20054         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20055         Refactor inline-asm.  Also add comment.
20057         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20058         ElfW macro instead of hardcoded Elf64 types.
20059         (la_aarch64_gnu_pltenter): Likewise.
20060         * sysdeps/aarch64/dl-machine.h
20061         (elf_machine_runtime_setup): Use ElfW(Addr).
20063         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20064         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20065         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20066         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20067         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20068         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20069         (R_AARCH64_TLS_DTPMOD): This.
20070         (R_AARCH64_TLS_DTPREL64): Rename to ...
20071         (R_AARCH64_TLS_DTPREL): This.
20072         (R_AARCH64_TLS_TPREL64): Rename to ...
20073         (R_AARCH64_TLS_TPREL): This.
20074         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20075         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20076         R_AARCH64_TLS_TPREL64.
20077         (elf_machine_rela): Likewise.
20079 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20081         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20082         by setting it to 0.  64b atomics are not supported currently.
20084 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20086         [BZ #16469]
20087         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20088         search domain names.
20090 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20092         [BZ #16469]
20093         * NEWS: Update.
20094         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20095         trailing dot.
20096         * posix/tst-getaddrinfo5.c: New.
20097         * posix/Makefile (tests): Add it.
20099 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20101         [BZ #14498]
20102         * NEWS: Fixed.
20103         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20104         after parsing line but before break_if_match.
20105         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20106         if there is a protocol mismatch.
20108 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20110         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20111         because the potential race is on the user-supplied stream.
20113 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20115         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20116         string literal if not passed a buffer.
20117         * manual/job.texi (ctermid): Update reasoning, note deviation
20118         from posix, suggest mtasurace when not passed a buffer, for
20119         future non-preliminary safety notes.
20121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20123         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20124         of not passing it a buffer.
20125         Reported by Peng Haitao.
20127 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20129         * manual/Makefile ($(objpfx)stamp-summary): Require
20130         check-safety.sh to pass.
20131         * manual/check-safety.sh: Wish for verification that every
20132         @deftypefn and @deftypefun is followed by a @safety remark.
20134 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20136         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20138         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20139         PTHREAD_CANCEL_ASYNCHRONOUS.
20140         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20141         send SIGCANCEL.
20143         * nptl/default-sched.h: New file.
20144         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20145         * nptl/pthread_create.c: Include it.
20146         (__pthread_create_2_1): Use collect_default_sched instead of making
20147         Linux syscalls here directly.
20149 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20151         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20152         __pthread_once): Use C11 atomics.
20154 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20156         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20158 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20160         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20161         atomic_thread_fence_acquire, atomic_thread_fence_release,
20162         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20163         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20164         atomic_compare_exchange_weak_relaxed,
20165         atomic_compare_exchange_weak_acquire,
20166         atomic_compare_exchange_weak_release,
20167         atomic_exchange_acquire, atomic_exchange_release,
20168         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20169         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20170         atomic_fetch_and_acquire,
20171         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20173 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20175         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20176         USE_ATOMIC_COMPILER_BUILTINS): Define.
20177         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20179         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20181         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20183         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20185         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20187         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20189         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20191         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20193         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20195         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20197         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20199         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20201         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20203         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20205         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20207         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20209         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20211         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20212         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20213         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20215         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20218 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20220         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20221         the sched_priority value here.  It was already checked when the user
20222         called pthread_attr_setschedparam.
20224         * nptl/tst-bad-schedattr.c: New file.
20225         * nptl/Makefile (tests): Add it.
20227 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20228             Florian Weimer  <fweimer@redhat.com>
20229             Joseph Myers  <joseph@codesourcery.com>
20230             Adam Conrad  <adconrad@0c3.net>
20231             Andreas Schwab  <schwab@suse.de>
20232             Brooks  <bmoses@google.com>
20234         [BZ #17625]
20235         * wordexp-test.c (__dso_handle): Add prototype.
20236         (__register_atfork): Likewise.
20237         (__app_register_atfork): New function.
20238         (registered_forks): New global.
20239         (register_fork): New function.
20240         (test_case): Add 3 new tests for WRDE_CMDSUB.
20241         (main): Call __app_register_atfork.
20242         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20243         fork count is non-zero fail the test.
20244         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20245         is set.
20246         (parse_dollars): Remove check for WRDE_NOCMD.
20247         (parse_dquote): Likewise.
20249 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20251         * Makeconfig (built-modules): List non-library modules to be
20252         built.
20253         (module-cppflags): Include libc-modules.h for
20254         everything except shlib-versions.v.i.
20255         (CPPFLAGS): Use it.
20256         (before-compile): Add libc-modules.h.
20257         ($(common-objpfx)libc-modules.h,
20258         $(common-objpfx)libc-modules.stmp): New targets.
20259         (common-generated): Add libc-modules.h and libc-modules.stmp.
20260         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20261         * include/libc-symbols.h: Don't include libc-modules.h.
20262         * include/libc-modules.h: Remove file.
20263         * scripts/gen-libc-modules.awk: New script to generate
20264         libc-modules.h.
20265         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20266         Depend on libc-modules.stmp.
20268         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20270         * Makeconfig (in-module): Get value of libof set for the
20271         translation unit.
20272         (CPPFLAGS): Use $(in-module).
20273         * Makerules: Don't suffix routine names for nonlib.
20274         * include/libc-modules.h: New file.
20275         * include/libc-symbols.h: Include libc-modules.h
20276         (IS_IN): New macro to replace IS_IN_* macros.
20277         * elf/Makefile: Set libof-* for each routine.
20278         * elf/rtld-Rules: Likewise.
20279         * extra-modules.mk: Likewise.
20280         * iconv/Makefile: Likewise.
20281         * iconvdata/Makefile: Likewise.
20282         * locale/Makefile: Likewise.
20283         * malloc/Makefile: Likewise.
20284         * nss/Makefile: Likewise.
20285         * sysdeps/gnu/Makefile: Likewise.
20286         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20287         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20288         * sysdeps/s390/s390-64/Makefile: Likewise.
20289         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20290         CPPFLAGS for nscd instead of nonlib.
20292 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20294         * nptl/createthread.c: New file.
20296         * nptl/createthread.c: Moved ...
20297         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20299         * nptl/createthread.c: Add proper top-line comment.
20300         (do_clone): Folded into ...
20301         (create_thread): ... here.  Take new arguments STOPPED_START and
20302         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20303         increment __nptl_threads, do event-reporting logic, do
20304         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20305         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20306         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20307         just send SIGCANCEL.
20308         * nptl/pthread_create.c: Forward-declare create_thread before
20309         including createthread.c.
20310         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20311         declaration, and new macro START_THREAD_SELF to replace argument.
20312         Remove return statement.
20313         (report_thread_creation): New function.
20314         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20315         synchronization logic, and __nptl_nthreads increment here, around
20316         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20317         PD->parent_cancelhandling here, before create_thread.  When
20318         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20319         __deallocate_stack, and ENOMEM translation here.
20321 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20323         [BZ #17616]
20324         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20325         (mptwo): Rename to __mptwo.
20326         (__inv): Use __mptwo instead of mptwo.
20327         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20328         (mptwo): Rename to __mptwo.
20329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20330         of mpone and __mptwo instead of mptwo.
20331         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20332         instead of mpone.
20333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20334         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20335         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20336         of mpone and __mptwo instead of mptwo.
20337         (__mpranred): Use __mpone instead of mpone.
20338         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20339         variable.
20340         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20341         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20342         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20343         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20344         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20345         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20346         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20347         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20348         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20349         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20350         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20351         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20352         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20353         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20354         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20355         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20356         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20357         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20358         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20360 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20362         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20363         replace BSD Handler xref with BSD Signal Handling.
20365 2014-11-17  Richard Henderson  <rth@redhat.com>
20367         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20368         (_FP_PACK_RAW_2): Remove.
20369         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20370         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20371         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20372         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20373         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20374         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20375         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20376         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20377         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20378         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20379         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20380         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20381         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20382         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20383         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20384         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20386 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20388         * signal/signal.h [__USE_MISC]
20389         (struct sigvec): Remove type.
20390         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20391         (sigvec): Remove declaration.
20392         * sysdeps/posix/sigvec.c: Moved ...
20393         * signal/sigvec.c: ... here, replacing old file.
20394         (struct sigvec): New type, copied from old signal.h definition.
20395         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20396         (__sigvec): Convert definition to prototype.
20397         (sigvec): Replace weak_alias with compat_symbol.
20398         * signal/Versions (libc: GLIBC_2.21): New version set.
20399         * include/signal.h: Remove __sigvec declaration.
20400         * sysdeps/unix/bsd/sigvec.c: Remove file.
20401         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20402         * manual/signal.texi (BSD Handler): Remove subsection.
20403         Move siginterrupt up to ...
20404         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20405         (Blocking in BSD): Fold subsection into its parent.
20406         * NEWS: Mention sigvec removal.
20408 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20410         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20411         (DLA_FMS): Make definition conditional only on [__FMA4__].
20412         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20413         definition.
20415         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20416         Make definition conditional only on [PROF].
20417         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20418         definition.
20419         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20420         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20422         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20423         !__GNUC__].
20424         * include/signal.h (__sigpause): Move declaration above call to
20425         libc_hidden_proto.
20426         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20427         variable.
20428         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20429         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20431 2014-11-14  David S. Miller  <davem@davemloft.net>
20433         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20434         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20436 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20438         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20439         * configure: Regenerated.
20440         * manual/install.texi (Tools for Compilation): Document a
20441         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20442         compiler verified to work.
20443         * INSTALL: Regenerated.
20445         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20446         redeclare with asm name.
20447         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20448         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20449         including <string.h>.
20450         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20451         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20452         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20453         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20454         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20456         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20458 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20460         * stdlib/strtol.c (__strtol): Use prototype definition.
20462         [BZ #17594]
20463         * stdlib/strtol.c (SYM__): New macro.
20464         (SYM__1): Likewise.
20465         (__strtol): Likewise.
20466         (strtol): Rename to __strtol and define as weak alias of
20467         __strtol.  Use libc_hidden_weak.
20469 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20471         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20472         Use numbered labels in inline assembly.
20474 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20476         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20477         Add setjmp LIBC_PROBE.
20478         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20479         Likewise.
20480         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20481         Add longjmp, longjmp_target LIBC_PROBE.
20482         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20483         Likewise.
20485 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20488         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20489         to get rid of unused variable warning.
20491 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20493         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20494         Check for unwind_backtrace ==  NULL only in SHARED case.
20495         (__backchain_backtrace): Compile only in SHARED case.
20496         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20497         Likewise.
20498         (__backchain_backtrace): Declare as static.
20500 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20502         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20503         (__libc_multiple_threads_ptr): Variable moved ...
20504         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20506 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20508         * conform/GlibcConform.pm: New file.
20509         * conform/conformtest.pl: Use GlibcConform module.
20510         * conform/linknamespace.pl: New file.
20511         * conform/list-header-symbols.pl: Likewise.
20512         * conform/Makefile (linknamespace-symlists-base): New variable.
20513         (linknamespace-symlists-tests): Likewise.
20514         (linknamespace-header-base): Likewise.
20515         (linknamespace-header-tests): Likewise.
20516         (tests-special): Add new tests.
20517         ($(linknamespace-symlists-tests)): New rule.
20518         (linknamespace-libs): New variable.
20519         ($(objpfx)symlist-stdlibs): New rule.
20520         ($(linknamespace-header-tests)): Likewise.
20521         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20522         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20523         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20524         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20525         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20526         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20527         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20528         (test-xfail-ISO/math.h/linknamespace): Likewise.
20529         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20530         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20531         (test-xfail-ISO/time.h/linknamespace): Likewise.
20532         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20533         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20534         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20535         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20536         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20537         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20538         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20539         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20540         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20541         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20542         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20543         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20544         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20545         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20546         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20547         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20548         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20549         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20550         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20551         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20552         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20553         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20554         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20555         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20556         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20557         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20558         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20559         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20560         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20561         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20562         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20563         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20564         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20565         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20566         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20567         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20568         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20569         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20570         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20571         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20572         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20573         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20574         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20575         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20576         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20577         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20578         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20579         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20580         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20581         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20582         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20583         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20584         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20585         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20586         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20587         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20588         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20589         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20590         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20591         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20592         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20593         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20594         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20595         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20596         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20597         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20598         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20599         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20600         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20601         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20602         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20603         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20604         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20605         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20606         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20607         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20608         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20609         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20610         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20611         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20612         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20613         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20614         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20615         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20616         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20617         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20618         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20619         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20620         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20621         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20622         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20623         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20624         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20625         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20626         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20627         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20628         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20629         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20630         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20631         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20632         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20633         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20634         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20635         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20636         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20637         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20638         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20639         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20640         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20641         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20642         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20643         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20644         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20645         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20646         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20647         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20648         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20649         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20650         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20651         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20652         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20653         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20654         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20655         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20656         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20657         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20658         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20659         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20660         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20661         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20662         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20663         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20664         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20665         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20666         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20667         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20668         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20669         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20670         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20671         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20672         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20673         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20674         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20675         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20676         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20677         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20678         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20679         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20680         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20681         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20683         [BZ #17589]
20684         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20685         of fgets_unlocked.
20687         [BZ #17585]
20688         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20689         (memmem): Rename to __memmem and define as weak alias of
20690         __memmem.  Use libc_hidden_weak.
20691         (__memmem): Use libc_hidden_def.
20692         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20693         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20694         memmem.
20696         [BZ #17582]
20697         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20698         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20699         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20700         and define as weak alias of __fgets_unlocked.  Use
20701         libc_hidden_weak.
20702         (__fgets_unlocked): Use libc_hidden_def.
20703         * include/stdio.h (__fgets_unlocked): Declare.  Use
20704         libc_hidden_proto.
20705         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20706         __fgets_unlocked instead of fgets_unlocked.
20707         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20708         (GET_NPROCS_CONF_PARSER): Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20710         (GET_NPROCS_CONF_PARSER): Likewise.
20712         [BZ #17574]
20713         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20714         weak alias of __wmemset.  Use libc_hidden_weak.
20715         (__wmemset): Use libc_hidden_def.
20716         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20717         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20718         of wmemset.
20720         [BZ #17573]
20721         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20722         with asm name __mempcpy.
20723         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20725         [BZ #17572]
20726         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20727         and define as weak alias of __rawmemchr.
20728         (__rawmemchr): Do not define as strong alias of rawmemchr.
20730         [BZ #17571]
20731         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20732         alias of __qsort_r.
20733         (qsort): Call __qsort_r instead of qsort_r.
20734         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20735         (__qsort_r): Declare.  Call libc_hidden_proto.
20736         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20737         instead of qsort_r.
20738         * nscd/gai.c (__qsort_r): Define to qsort_r.
20739         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20740         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20741         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20743         [BZ #17570]
20744         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20745         define as weak alias of __malloc_info.
20747         [BZ #17584]
20748         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20749         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20750         (__rewinddir): Use libc_hidden_def.
20751         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20752         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20753         (__rewinddir): Use libc_hidden_def.
20754         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20755         weak alias of __rewinddir.  Don't use libc_hidden_def.
20756         (__rewinddir): Use libc_hidden_def.
20757         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20758         (__rewinddir): Use libc_hidden_proto.
20759         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20760         rewinddir.
20761         (__getcwd): Use __rewinddir instead of rewinddir.
20763         [BZ #17583]
20764         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20765         alias of __fileno.  Use libc_hidden_weak.
20766         (__fileno): Use libc_hidden_def.
20767         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20768         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20769         alias of __ftello.
20770         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20771         __ftello.
20772         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20773         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20774         libc_hidden_def.
20775         (fread_unlocked): Don't use libc_hidden_ver.
20776         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20777         and define as weak alias of __fread_unlocked.  Don't use
20778         libc_hidden_def.
20779         (__fread_unlocked): Use libc_hidden_def.
20780         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20781         (ftello): Don't use libc_hidden_proto.
20782         (__ftello): Declare.  Use libc_hidden_proto.
20783         (fread_unlocked): Don't use libc_hidden_proto.
20784         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20785         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20786         and __ftello instead of fileno, fread_unlocked and ftello.
20788 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20790         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20791         GOT12.
20792         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20793         Likewise.
20794         (_dl_start_user): Likewise.
20795         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20797 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20798             Siddhesh Poyarekar  <siddhesh@redhat.com>
20800         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20801         Move argv and envp down instead of moving argc up.
20802         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20804 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20806         [BZ #17506]
20807         * test-skeleton.c (main): Return successful if one of
20808         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20809         * string/tst-strcoll-overflow.c: Define expected status.
20811 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20813         [BZ #17475]
20814         * locale/iso-639.def: Define Bhili and Tulu language codes.
20816 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20818         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20820 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20822         [BZ #17555]
20823         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20825 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20827         * configure.ac: Updated check of minimal required version to
20828         2.22.
20829         * manual/install.texi (Tools for Compilation): Updated version
20830         number.
20831         * configure: Regenerated.
20832         * INSTALL: Likewise.
20834 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20836         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20837         __tls_get_addr.
20839 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20841         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20842         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20843         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20844         libc_hidden_weak.
20845         (waitpid): Define as alias of __waitpid.
20846         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20847         __waitpid.
20848         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20849         libc_hidden_weak.
20850         (waitpid): Define as alias of __waitpid.
20851         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20852         __libc_waitpid alias.
20853         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20854         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20855         Likewise.
20856         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20857         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20858         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20859         alias.
20860         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20861         __waitpid.
20862         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20863         libc_hidden_weak.
20864         (waitpid): Define as alias of __waitpid.
20866 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20868         * manual/llio.texi: Add comment that write safety has been
20869         fixed in Linux.
20871         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20872         (localplt-build-dso): Add elf/ld.so.
20873         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20874         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20875         and free for ld.so.
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20877         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20879         Likewise.
20880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20881         Likewise.
20882         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20883         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20884         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20885         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20886         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20887         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20888         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20889         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20890         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20891         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20892         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20894 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20896         [BZ #14132]
20897         * include/libc-symbols.h (INTUSE): Remove macro.
20898         (INTDEF): Likewise.
20899         (INTVARDEF): Likewise.
20900         (_INTVARDEF): Likewise.
20901         (INTDEF2): Likewise.
20902         (INTVARDEF2): Likewise.
20903         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20904         rtld_hidden_def instead of INTVARDEF.
20905         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20906         (_dl_starting_up_internal): Remove declaration.
20907         (_dl_starting_up): Use rtld_hidden_proto.
20908         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20909         declaration.
20910         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20911         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20912         _dl_starting_up.
20913         * elf/dl-writev.h (_dl_writev): Likewise.
20914         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20915         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20916         _dl_starting_up_internal.
20918 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20920         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20921         test-skeleton.c.
20923 2014-11-05  Will Newton  <will.newton@linaro.org>
20925         * benchtests/Makefile: (bench-malloc): Add malloc thread
20926         scalability benchmark.
20927         * benchtests/bench-malloc-threads.c: New file.
20929 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20931         * sysdeps/aarch64/strchrnul.S: New file.
20933 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20935         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20936         definition.
20937         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20938         Likwise.
20939         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20940         Likewise.
20941         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20942         Likewise.
20943         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20944         Likewise.
20945         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20946         Likewise.
20948 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20950         * catgets/test-gencat.c: Use test-skeleton.c.
20951         * catgets/tst-catgets.c: Likewise.
20952         * csu/tst-empty.c: Likewise.
20953         * elf/tst-audit2.c: Likewise.
20954         * elf/tst-global1.c: Likewise.
20955         * elf/tst-pathopt.c: Likewise.
20956         * elf/tst-piemod1.c: Likewise.
20957         * elf/tst-tls10.c: Likewise.
20958         * elf/tst-tls11.c: Likewise.
20959         * elf/tst-tls12.c: Likewise.
20960         * gnulib/tst-gcc.c: Likewise.
20961         * iconvdata/tst-e2big.c: Likewise.
20962         * iconvdata/tst-loading.c: Likewise.
20963         * iconv/tst-iconv1.c: Likewise.
20964         * iconv/tst-iconv2.c: Likewise.
20965         * inet/test-inet6_opt.c: Likewise.
20966         * inet/tst-gethnm.c: Likewise.
20967         * inet/tst-network.c: Likewise.
20968         * inet/tst-ntoa.c: Likewise.
20969         * intl/tst-codeset.c: Likewise.
20970         * intl/tst-gettext2.c: Likewise.
20971         * intl/tst-gettext3.c: Likewise.
20972         * intl/tst-ngettext.c: Likewise.
20973         * intl/tst-translit.c: Likewise.
20974         * io/test-stat.c: Likewise.
20975         * libio/test-fmemopen.c: Likewise.
20976         * libio/tst-freopen.c: Likewise.
20977         * libio/tst-sscanf.c: Likewise.
20978         * libio/tst-ungetwc1.c: Likewise.
20979         * libio/tst-ungetwc2.c: Likewise.
20980         * libio/tst-widetext.c: Likewise.
20981         * localedata/tst-ctype.c: Likewise.
20982         * localedata/tst-digits.c: Likewise.
20983         * localedata/tst-leaks.c: Likewise.
20984         * localedata/tst-mbswcs1.c: Likewise.
20985         * localedata/tst-mbswcs2.c: Likewise.
20986         * localedata/tst-mbswcs3.c: Likewise.
20987         * localedata/tst-mbswcs4.c: Likewise.
20988         * localedata/tst-mbswcs5.c: Likewise.
20989         * localedata/tst-setlocale.c: Likewise.
20990         * localedata/tst-trans.c: Likewise.
20991         * localedata/tst-wctype.c: Likewise.
20992         * localedata/tst-xlocale1.c: Likewise.
20993         * login/tst-grantpt.c: Likewise.
20994         * malloc/tst-calloc.c: Likewise.
20995         * malloc/tst-malloc.c: Likewise.
20996         * malloc/tst-mallocstate.c: Likewise.
20997         * malloc/tst-mcheck.c: Likewise.
20998         * malloc/tst-mtrace.c: Likewise.
20999         * malloc/tst-obstack.c: Likewise.
21000         * math/atest-exp2.c: Likewise.
21001         * math/atest-exp.c: Likewise.
21002         * math/atest-sincos.c: Likewise.
21003         * math/test-matherr.c: Likewise.
21004         * math/test-misc.c: Likewise.
21005         * math/test-powl.c: Likewise.
21006         * math/tst-definitions.c: Likewise.
21007         * misc/tst-dirname.c: Likewise.
21008         * misc/tst-efgcvt.c: Likewise.
21009         * misc/tst-fdset.c: Likewise.
21010         * misc/tst-hsearch.c: Likewise.
21011         * misc/tst-mntent2.c: Likewise.
21012         * nptl/tst-sem7.c: Likewise.
21013         * nptl/tst-sem8.c: Likewise.
21014         * nptl/tst-sem9.c: Likewise.
21015         * nss/test-netdb.c: Likewise.
21016         * posix/tst-fnmatch.c: Likewise.
21017         * posix/tst-getlogin.c: Likewise.
21018         * posix/tst-gnuglob.c: Likewise.
21019         * posix/tst-mmap.c: Likewise.
21020         * pwd/tst-getpw.c: Likewise.
21021         * resolv/tst-inet_ntop.c: Likewise.
21022         * rt/tst-timer.c: Likewise.
21023         * stdio-common/test-fseek.c: Likewise.
21024         * stdio-common/test-popen.c: Likewise.
21025         * stdio-common/test-vfprintf.c: Likewise.
21026         * stdio-common/tst-cookie.c: Likewise.
21027         * stdio-common/tst-fileno.c: Likewise.
21028         * stdio-common/tst-gets.c: Likewise.
21029         * stdio-common/tst-obprintf.c: Likewise.
21030         * stdio-common/tst-perror.c: Likewise.
21031         * stdio-common/tst-sprintf2.c: Likewise.
21032         * stdio-common/tst-sprintf3.c: Likewise.
21033         * stdio-common/tst-sprintf.c: Likewise.
21034         * stdio-common/tst-swprintf.c: Likewise.
21035         * stdio-common/tst-tmpnam.c: Likewise.
21036         * stdio-common/tst-unbputc.c: Likewise.
21037         * stdio-common/tst-wc-printf.c: Likewise.
21038         * stdlib/tst-environ.c: Likewise.
21039         * stdlib/tst-fmtmsg.c: Likewise.
21040         * stdlib/tst-limits.c: Likewise.
21041         * stdlib/tst-rand48-2.c: Likewise.
21042         * stdlib/tst-rand48.c: Likewise.
21043         * stdlib/tst-random2.c: Likewise.
21044         * stdlib/tst-random.c: Likewise.
21045         * stdlib/tst-strtol.c: Likewise.
21046         * stdlib/tst-strtoll.c: Likewise.
21047         * stdlib/tst-tls-atexit.c: Likewise.
21048         * stdlib/tst-xpg-basename.c: Likewise.
21049         * string/test-ffs.c: Likewise.
21050         * string/tst-bswap.c: Likewise.
21051         * string/tst-inlcall.c: Likewise.
21052         * string/tst-strtok.c: Likewise.
21053         * string/tst-strxfrm.c: Likewise.
21054         * sysdeps/x86_64/tst-audit10.c: Likewise.
21055         * sysdeps/x86_64/tst-audit3.c: Likewise.
21056         * sysdeps/x86_64/tst-audit4.c: Likewise.
21057         * sysdeps/x86_64/tst-audit5.c: Likewise.
21058         * time/tst-ftime_l.c: Likewise.
21059         * time/tst-getdate.c: Likewise.
21060         * time/tst-mktime3.c: Likewise.
21061         * time/tst-mktime.c: Likewise.
21062         * time/tst-posixtz.c: Likewise.
21063         * time/tst-strptime2.c: Likewise.
21064         * time/tst-strptime3.c: Likewise.
21065         * wcsmbs/tst-btowc.c: Likewise.
21066         * wcsmbs/tst-mbrtowc.c: Likewise.
21067         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21068         * wcsmbs/tst-wchar-h.c: Likewise.
21069         * wcsmbs/tst-wcpncpy.c: Likewise.
21070         * wcsmbs/tst-wcrtomb.c: Likewise.
21071         * wcsmbs/tst-wcsnlen.c: Likewise.
21072         * wcsmbs/tst-wcstof.c: Likewise.
21074 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21076         [BZ #14132]
21077         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21078         INTDEF.
21079         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21080         declaration.
21081         (_dl_mcount): Use rtld_hidden_proto.
21082         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21083         _dl_mcount.
21084         * elf/rtld.c (_rtld_global_ro): Likewise.
21086         [BZ #14132]
21087         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21088         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21089         of _dl_init_internal.
21090         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21091         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21092         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21093         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21094         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21095         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21096         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21097         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21098         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21099         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21100         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21101         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21102         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21103         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21104         * sysdeps/tile/dl-start.S (_start): Likewise.
21105         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21106         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21108         [BZ #14132]
21109         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21110         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21111         (rtld_progname): Make macro definition unconditional.
21112         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21113         INTDEF.
21114         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21115         (dl_main): Likewise.
21116         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21117         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21118         instead of _dl_argv_internal.
21119         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21120         __GI__dl_argv instead of INTUSE(_dl_argv).
21121         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21122         __GI__dl_argv instead of _dl_argv_internal.
21124         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21125         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21126         macro.
21127         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21128         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21129         New macro.
21130         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21131         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21132         macro.
21133         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21134         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21136 2014-11-04  Andreas Schwab  <schwab@suse.de>
21138         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21140 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21142         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21143         mtvsrd instruction in binary form.
21145 2014-11-03  Andreas Schwab  <schwab@suse.de>
21147         [BZ #17522]
21148         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21149         for less than MB_LEN_MAX use a local buffer of that size.
21150         * libio/tst-fputws.c: New file.
21151         * libio/Makefile (tests): Add tst-fputws.
21153 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21155         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21156         the size of the fpu_fr.fpu_dregs[] array.
21158 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21160         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21161         (__nanosleep): Do not define as alias.
21162         (nanosleep): Define as alias of __nanosleep.
21163         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21164         __libc_nanosleep name.
21166 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21168         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21169         install.texi in comment.
21171 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21173         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21174         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21175         ... add here and use lwsync or sync ...
21176         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21177         ... and add here using lwsync.
21179 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21181         * elf/dl-machine-reject-phdr.h: New file.
21182         * elf/dl-load.c: #include that.
21183         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21184         if that returned true.
21186 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21188         [BZ #17496]
21189         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21190         gen-as-const-headers chunk.  Add a big scare comment after the last
21191         safe place to touch before-compile.
21193 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21195         * manual/install.texi (Tools for Compilation): Update autoconf
21196         version requirements.
21197         * INSTALL: Regenerated.
21199         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21200         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21201         (__libc_pselect): Likewise.
21203         [BZ #14138]
21204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21209 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21211         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21212         correct barrier instruction.
21213         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21214         Likewise.
21215         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21216         Likewise.
21218 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21220         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21221         after defining inlines.  Instead, just use parens to defeat macro
21222         expansion of __isctype in its declaration.
21224 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21226         * include/sys/uio.h (__libc_readv): Remove declaration.
21227         (__libc_writev): Likewise.
21228         * misc/readv.c (__libc_readv): Rename to __readv.
21229         (__readv): Do not define as alias.
21230         (readv): Define as alias of __readv.
21231         * misc/writev.c (__libc_writev): Rename to __writev.
21232         (__writev): Do not define as alias.
21233         (writev): Define as alias of __writev.
21234         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21235         (__readv): Do not define as alias.
21236         (readv): Define unconditionally as alias of __readv.
21237         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21238         (__writev): Do not define as alias.
21239         (writev): Define unconditionally as alias of __writev.
21240         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21241         name.
21242         (writev): Do not define __libc_writev name.
21244 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21246         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21247         (convert_charseq): New function, broken out of ...
21248         (use_from_charmap): ... here.  Call it.
21249         (use_to_charmap): Use convert_charseq and free instead of duplicating
21250         its code with a variable-length stack struct.
21252 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21254         * include/fcntl.h (__libc_creat): Remove declaration.
21255         * io/creat.c (__libc_creat): Rename to creat.
21256         (creat): Do not define as alias.
21257         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21258         of creat instead of __libc_creat.
21259         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21260         to creat.
21261         (creat): Do not define as alias.
21262         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21263         __libc_creat.
21264         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21265         __libc_creat name.
21266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21267         Likewise.
21269 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21271         * manual/llio.texi: Add comments discussing why write() may be
21272         considered MT-unsafe on Linux.
21274 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21276         * dl-load.c (local_strdup): Remove.
21277         (expand_dynamic_string_token): Use __strdup.
21278         (decompose_rpath): Likewise.
21279         (_dl_map_object): Likewise.
21281 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21283         [BZ #14132]
21284         * sysdeps/generic/unwind-dw2-fde.c
21285         (__register_frame_info_bases_internal): Do not declare.
21286         (__register_frame_info_table_bases_internal): Likewise.
21287         (__deregister_frame_info_bases_internal): Likewise.
21288         (__register_frame_info_bases): Declare and use hidden_proto before
21289         definition.  Use hidden_def instead of INTDEF.
21290         (__register_frame_info_table_bases): Likewise.
21291         (__deregister_frame_info_bases): Likewise.
21292         (__register_frame_info): Do not use INTUSE.
21293         (__register_frame): Likewise.
21294         (__register_frame_info_table): Likewise.
21295         (__register_frame_table): Likewise.
21296         (__deregister_frame_info): Likewise.
21297         (__deregister_frame): Likewise.
21299 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21301         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21302         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21303         not undefine.
21304         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21305         Likewise.
21306         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21307         Likewise.
21309 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21311         [BZ #14138]
21312         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21313         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21314         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21315         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21316         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21317         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21318         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21319         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21320         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21321         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21323         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21324         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21325         syscall.
21326         (setfsuid): Likewise.
21327         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21328         (setfsuid): Likewise.
21329         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21330         (setfsuid): Likewise.
21331         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21332         Likewise.
21333         (setfsuid): Likewise.
21334         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21335         (setfsuid): Likewise.
21336         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21337         Likewise.
21338         (setfsuid): Likewise.
21340 2014-10-27  Andreas Schwab  <schwab@suse.de>
21342         [BZ #17501]
21343         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21344         check for Slow_SSE4_2 feature bit.
21345         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21346         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21347         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21348         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21350 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21352         * configure.ac: Validate compiler version with a empirical test of
21353         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21354         $CC -v output.
21355         * configure: Regenerated.
21357         * inet/htons.c (htons): Prototypify.
21358         * inet/htonl.c (htonl): Likewise.
21360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21362         * string/strncat.c (strncat): Improve performance by using strlen.
21364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21366         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21368 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21370         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21371         Call libc_fetestexcept_aarch64.
21373 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21375         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21376         Call libc_feholdexcept_aarch64.
21378 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21380         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21381         Call get_rounding_mode.
21383 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21385         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21386         Simplify logic.
21388 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21390         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21391         Simplify logic.
21393 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21395         [BZ #14138]
21396         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21397         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21398         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21399         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21400         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21401         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21402         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21403         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21404         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21405         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21406         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21407         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21408         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21409         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21410         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21411         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21412         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21413         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21414         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21415         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21416         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21417         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21418         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21419         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21420         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21421         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21422         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21423         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21424         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21425         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21426         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21427         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21428         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21429         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21430         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21431         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21432         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21433         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21434         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21435         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21436         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21437         syscall.
21438         (geteuid): Likewise.
21439         (getgid): Likewise.
21440         (getuid): Likewise.
21441         (getresgid): Likewise.
21442         (getresuid): Likewise.
21443         (getgroups): Likewise.
21444         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21445         (geteuid): Likewise.
21446         (getgid): Likewise.
21447         (getuid): Likewise.
21448         (getresgid): Likewise.
21449         (getresuid): Likewise.
21450         (getgroups): Likewise.
21451         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21452         (geteuid): Likewise.
21453         (getgid): Likewise.
21454         (getuid): Likewise.
21455         (getresgid): Likewise.
21456         (getresuid): Likewise.
21457         (getgroups): Likewise.
21458         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21459         Likewise.
21460         (geteuid): Likewise.
21461         (getgid): Likewise.
21462         (getuid): Likewise.
21463         (getresgid): Likewise.
21464         (getresuid): Likewise.
21465         (getgroups): Likewise.
21466         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21467         (geteuid): Likewise.
21468         (getgid): Likewise.
21469         (getuid): Likewise.
21470         (getresgid): Likewise.
21471         (getresuid): Likewise.
21472         (getgroups): Likewise.
21473         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21474         Likewise.
21475         (geteuid): Likewise.
21476         (getgid): Likewise.
21477         (getuid): Likewise.
21478         (getgroups): Likewise.
21480         [BZ #14138]
21481         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21482         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21483         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21485         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21486         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21487         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21488         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21489         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21490         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21491         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21492         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21493         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21494         __chown.
21495         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21496         (lchown): Likewise.
21497         (fchown): Likewise.
21498         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21499         Likewise.
21500         (lchown): Likewise.
21501         (fchown): Likewise.
21502         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21503         (lchown): Likewise.
21504         (fchown): Likewise.
21505         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21506         Likewise.
21507         (lchown): Likewise.
21508         (fchown): Likewise.
21510 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21512         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21513         Simplify logic.
21515 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21517         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21518         Cleanup logic.
21520 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21522         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21523         Remove unused include.
21525 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21527         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21528         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21529         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21530         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21532 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21533             Helge Deller <deller@gmx.de>
21535         [BZ #17508]
21536         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21537         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21538         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21540 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #14132]
21543         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21544         Remove macro definition.
21545         (__ashrdi3_v_glibc20): Likewise.
21546         (__lshrdi3_v_glibc20): Likewise.
21547         (__cmpdi2_v_glibc20): Likewise.
21548         (__ucmpdi2_v_glibc20): Likewise.
21549         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21550         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21551         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21552         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21553         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21554         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21556 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21558         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21559         old GNU extension [0] syntax.
21560         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21561         alloca rather than an array member with variable length.
21562         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21563         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21564         (parse_opt): ... here.  Likewise use alloca there.
21565         Validate the -i argument before checking for rootness.
21566         (send_shutdown): New function, broken out of ...
21567         (parse_opt): ... here.
21569 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21571         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21572         macro to get at the _rt_local_ro field.
21573         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21574         ([PIC] case) or _dl_hwcap ([!PIC] case).
21575         * sysdeps/arm/setjmp.S: Likewise.
21577         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21578         * sysdeps/arm/configure.ac: New check to define it.
21579         * sysdeps/arm/configure: Regenerated.
21580         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21581         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21582         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21583         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21584         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21585         Use move/movt pair instead of a load.
21586         (LDST_GLOBAL): Macro removed.
21587         (LDR_GLOBAL): New macro replaces it.
21588         (LDR_HIDDEN): New macro.
21589         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21590         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21592         * setjmp/tst-setjmp-static.c: New file.
21593         * setjmp/Makefile (tests): Add it.
21594         (tests-static): New variable.
21596 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21598         [BZ #17485]
21599         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21601 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21603         [BZ #14132]
21604         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21606 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21608         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21610 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21612         * io/fts.c (dirent_not_directory): New function.
21613         (fts_build): Call it.
21615 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21617         * nptl/version.c (__nptl_main): Use normal __write rather than
21618         INTERNAL_SYSCALL.
21619         (banner): Update copyright years.
21621         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21622         gettimeofday.
21623         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21624         * nptl/pthread_cond_timedwait.c: Likewise.
21625         * nptl/pthread_mutex_timedlock.c: Likewise.
21626         * nptl/sem_timedwait.c: Likewise.
21628         * sysdeps/nptl/bits/libc-lock.h
21629         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21630         (__libc_lock_init_recursive): Return void, not 0.
21631         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21632         (__libc_rwlock_init): Likewise.
21633         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21635 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21637         [BZ #15215]
21638         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21639         (__pthread_once_slow): ... here.
21640         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21641         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21643 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21645         [BZ #15215]
21646         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21647         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21648         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21649         * nptl/pthread_once.c (__pthread_once): Likewise.
21650         Update comments.
21652 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21654         [BZ #14138]
21655         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21656         name.
21657         (writev): Use __libc_writev as strong name.
21658         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21659         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21661 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21663         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21665         * sysdeps/i386/nptl/tls.h
21666         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21667         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21668         New macros.
21669         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21670         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21671         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21672         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21673         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21674         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21676         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21677         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21678         on [__NR_futex].
21679         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21680         broken out of ...
21681         (__pthread_mutex_init): ... here.  Call it.
21682         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21683         Conditionalize PI cases on [__NR_futex].
21684         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21685         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21686         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21688         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21689         conditional on [SIGSETXID].
21690         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21691         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21692         is defined.  Likewise for SIGSETXID.
21693         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21694         Conditionalize definitions on [SIGSETXID].
21695         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21696         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21697         unblocking on [SIGCANCEL].
21699         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21700         [__NR_set_robust_list].
21702 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21704         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21705         (do_compare): Likewise.
21707 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21709         [BZ #15884]
21710         * string/strcoll_l.c: Don't include stdio.h.
21711         (coll_seq): Remove members idxarr and rulearr.
21712         (get_next_seq_cached): Remove function.
21713         (get_next_seq): Likewise.
21714         (get_next_seq_nocache): Rename to get_next_seq.
21715         (do_compare): Remove function.
21716         (do_compare_nocache): Rename to do_compare.
21717         (STRCOLL): Remove weight and rules cache.
21719 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21721         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21722         * sysdeps/arm/sfp-machine.h: ... to here.
21723         * sysdeps/arm/Implies: Remove arm/soft-fp.
21725 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21727         * conform/data/sys/utsname.h-data (*_t): Allow.
21728         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21729         [POSIX] (WEXITED): Do not expect constant.
21730         [POSIX] (WSTOPPED): Likewise.
21731         [POSIX] (WNOHANG): Likewise.
21732         [POSIX] (WNOWAIT): Likewise.
21733         [POSIX] (siginfo_t): Do not expect type or elements.
21734         [POSIX] (pid_t): Do not expect type.
21735         [POSIX] (signal.h): Do not allow header.
21736         [POSIX] (sys/resource.h): Likewise.
21737         [POSIX] (si_*): Do not allow pattern.
21738         [POSIX] (W*): Likewise.
21739         [POSIX] (P_*): Likewise.
21740         [POSIX] (BUS_*): Likewise.
21741         [POSIX] (CLD_*): Likewise.
21742         [POSIX] (FPE_*): Likewise.
21743         [POSIX] (ILL_*): Likewise.
21744         [POSIX] (POLL_*): Likewise.
21745         [POSIX] (SEGV_*): Likewise.
21746         [POSIX] (SI_*): Likewise.
21747         [POSIX] (TRAP_*): Likewise.
21748         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21749         variable.
21751 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21753         [BZ #12926]
21754         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21755         infinite loop when __recvmsg returns 0.
21757 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21759         * CANCEL-FCT-WAIVE: Remove file.
21760         * CANCEL-FILE-WAIVE: Likewise.
21762         [BZ #14132]
21763         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21764         instead of INTVARDEF.
21765         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21766         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21767         rtld_hidden_data_def instead of INTVARDEF.
21768         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21769         * elf/dl-deps.c (expand_dst): Likewise.
21770         * elf/dl-load.c (_dl_dst_count): Likewise.
21771         (_dl_dst_substitute): Likewise.
21772         (decompose_rpath): Likewise.
21773         (_dl_init_paths): Likewise.
21774         (open_path): Likewise.
21775         (_dl_map_object): Likewise.
21776         * elf/rtld.c (dl_main): Likewise.
21777         (process_dl_audit): Likewise.
21778         (process_envvars): Likewise.
21779         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21780         Remove declaration.
21781         (__libc_enable_secure): Use rtld_hidden_proto.
21783 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21785         * elf/dl-load.c
21786         (add_path): New function broken out of _dl_rtld_di_serinfo.
21787         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21789 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21791         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21792         parentheses around macro arguments.
21793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21795         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21796         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21797         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21798         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21799         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21800         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21801         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21803         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21804         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21805         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21806         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21807         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21808         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21809         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21814         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21818         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21821         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21822         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21823         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21824         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21825         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21826         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21827         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21828         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21829         Likewise.
21830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21832         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21837         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21839         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21840         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21841         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21842         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21851         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21855         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21856         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21857         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21858         (_FP_FRAC_SRS_1): Likewise.
21859         (_FP_FRAC_CLZ_1): Likewise.
21860         (_FP_MUL_MEAT_1_imm): Likewise.
21861         (_FP_MUL_MEAT_1_wide): Likewise.
21862         (_FP_MUL_MEAT_1_hard): Likewise.
21863         (_FP_SQRT_MEAT_1): Likewise.
21864         (_FP_FRAC_ASSEMBLE_1): Likewise.
21865         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21866         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21867         (__FP_CLZ_2): Likewise.
21868         (_FP_MUL_MEAT_2_wide): Likewise.
21869         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21870         (_FP_MUL_MEAT_2_gmp): Likewise.
21871         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21872         (_FP_SQRT_MEAT_2): Likewise.
21873         (_FP_FRAC_ASSEMBLE_2): Likewise.
21874         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21875         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21876         (_FP_FRAC_CLZ_4): Likewise.
21877         (_FP_MUL_MEAT_4_wide): Likewise.
21878         (_FP_MUL_MEAT_4_gmp): Likewise.
21879         (_FP_SQRT_MEAT_4): Likewise.
21880         (_FP_FRAC_ASSEMBLE_4): Likewise.
21881         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21882         * soft-fp/op-common.h (_FP_CMP): Likewise.
21883         (_FP_CMP_EQ): Likewise.
21884         (_FP_CMP_UNORD): Likewise.
21885         (_FP_TO_INT): Likewise.
21886         (_FP_FROM_INT): Likewise.
21887         [!__FP_CLZ] (__FP_CLZ): Likewise.
21888         (_FP_DIV_HELP_imm): Likewise.
21889         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21890         Likewise.
21891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21894         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21895         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21898         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21899         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21902         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21903         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21904         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21906         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21907         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21912         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21913         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21916         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21917         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21920         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21921         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21922         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21924         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21925         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21926         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21927         (FP_UNPACK_RAW_SP): Likewise.
21928         (FP_PACK_RAW_S): Likewise.
21929         (FP_PACK_RAW_SP): Likewise.
21930         (FP_UNPACK_S): Likewise.
21931         (FP_UNPACK_SP): Likewise.
21932         (FP_UNPACK_SEMIRAW_S): Likewise.
21933         (FP_UNPACK_SEMIRAW_SP): Likewise.
21934         (FP_PACK_S): Likewise.
21935         (FP_PACK_SP): Likewise.
21936         (FP_PACK_SEMIRAW_S): Likewise.
21937         (FP_PACK_SEMIRAW_SP): Likewise.
21938         (_FP_SQRT_MEAT_S): Likewise.
21939         (FP_CMP_S): Likewise.
21940         (FP_CMP_EQ_S): Likewise.
21941         (FP_CMP_UNORD_S): Likewise.
21942         (FP_TO_INT_S): Likewise.
21943         (FP_FROM_INT_S): Likewise.
21945         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21947         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21948         (FP_EX_INVALID_IMZ): Likewise.
21949         (FP_EX_INVALID_IMZ_FMA): Likewise.
21950         (FP_EX_INVALID_ISI): Likewise.
21951         (FP_EX_INVALID_ZDZ): Likewise.
21952         (FP_EX_INVALID_IDI): Likewise.
21953         (FP_EX_INVALID_SQRT): Likewise.
21954         (FP_EX_INVALID_CVI): Likewise.
21955         (FP_EX_INVALID_VC): Likewise.
21956         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21957         "invalid" exceptions.
21958         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21959         (_FP_ADD_INTERNAL): Likewise.
21960         (_FP_MUL): Likewise.
21961         (_FP_FMA): Likewise.
21962         (_FP_DIV): Likewise.
21963         (_FP_CMP_CHECK_NAN): Likewise.
21964         (_FP_SQRT): Likewise.
21965         (_FP_TO_INT): Likewise.
21966         (FP_EXTEND): Likewise.
21968 2014-10-09  Allan McRae  <allan@archlinux.org>
21970         * po/fr.po: Update French translation from translation project.
21972 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21974         [BZ #14132]
21975         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21976         of INTDEF.
21977         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21978         (__cxa_atexit): Use libc_hidden_proto.
21979         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21981         [BZ #14132]
21982         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21983         declaration.
21984         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21985         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21986         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21987         [!_ISOMAC] (__iswctype_internal): Likewise.
21988         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21989         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21990         alias.
21991         (fcntl): Remove __fcntl_internal alias.
21992         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21993         __connect_internal alias.
21994         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21995         Likewise.
21997         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21998         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21999         FP_DENORM_ZERO.
22000         (_FP_CHECK_FLUSH_ZERO): New macro.
22001         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22002         (_FP_CMP): Likewise.
22003         (_FP_CMP_EQ): Likewise.
22004         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22005         FP_DENORM_ZERO.
22006         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22007         (FP_TRUNC): Likewise.
22009         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22010         treated as invalid conversion, not as normal exponent.
22012         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22013         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22014         (_FP_CMP_EQ): Likewise.
22015         (_FP_CMP_UNORD): Likewise.
22016         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22017         (FP_CMP_EQ_D): Likewise.
22018         (FP_CMP_UNORD_D): Likewise.
22019         * soft-fp/extended.h (FP_CMP_E): Likewise.
22020         (FP_CMP_EQ_E): Likewise.
22021         (FP_CMP_UNORD_E): Likewise.
22022         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22023         (FP_CMP_EQ_Q): Likewise.
22024         (FP_CMP_UNORD_Q): Likewise.
22025         * soft-fp/single.h (FP_CMP_S): Likewise.
22026         (FP_CMP_EQ_S): Likewise.
22027         (FP_CMP_UNORD_S): Likewise.
22028         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22029         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22030         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22031         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22032         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22033         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22034         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22035         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22036         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22037         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22038         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22039         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22040         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22041         to FP_CMP_Q.
22042         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22043         FP_CMP_Q.
22044         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22045         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22046         FP_CMP_EQ_Q.
22047         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22048         FP_CMP_Q.
22049         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22050         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22051         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22052         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22053         FP_CMP_EQ_Q.
22054         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22055         FP_CMP_Q.
22056         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22057         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22058         FP_CMP_EQ_Q.
22059         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22060         FP_CMP_Q.
22061         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22062         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22063         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22064         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22065         FP_CMP_EQ_Q.
22067         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22068         a subnormal result, set the underflow exception if trapping on
22069         underflow is enabled.
22070         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22071         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22072         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22073         redefine to 0.
22074         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22075         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22076         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22077         * soft-fp/extendxftf2.c (__extendxftf2): Use
22078         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22080         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22081         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22082         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22083         FP_HANDLE_EXCEPTIONS.
22084         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22085         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22086         FP_HANDLE_EXCEPTIONS.
22087         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22088         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22089         FP_HANDLE_EXCEPTIONS.
22090         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22091         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22092         FP_HANDLE_EXCEPTIONS.
22094 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22096         [BZ #14132]
22097         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22098         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22099         use INTUSE.
22100         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22101         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22102         Remove alias.
22103         (__adjtimex): Define using libc_hidden_ver.
22104         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22105         Remove declaration.
22106         (ntp_gettime): Call __adjtimex directly.
22107         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22108         Remove declaration.
22109         (ntp_gettimex): Call __adjtimex directly.
22110         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22111         __adjtimex_internal alias.
22113 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22115         [BZ #17460]
22116         * nscd/nscd.c (more_help): Rewrite list of tables collection
22117         using xstrdup and asprintf.
22119         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22121 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22122             Roland McGrath  <roland@hack.frob.com>
22124         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22125         (do_lookup_unique): ... local function 'enter' here; update callers.
22127 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22129         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22130         compat_symbol calls on [SHARED].
22131         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22132         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22133         Remove.
22134         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22135         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22136         (oldsetrlimit): Remove.
22137         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22139         (lchown): New syscall entry.
22140         (oldsetrlimit): Remove.
22141         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22143         (oldsetrlimit): Remove.
22144         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22146         [BZ #14138]
22147         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22148         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22149         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22150         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22151         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22152         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22153         (fchown): Likewise.
22154         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22155         (fchown): Likewise.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22157         Likewise.
22159 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22162         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22163         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22164         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22165         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22166         Likewise.
22167         (__old_sem_post): Likewise.
22169 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22171         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22172         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22173         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22174         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22175         Use INLINE_VSYSCALL macro.
22176         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22177         __vdso_clock_gettime.
22178         * sysdeps/unix/sysv/linux/tile/init-first.c
22179         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22180         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22181         __vdso_clock_gettime.
22183         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22184         to set up frame more cleanly.
22186         * sysdeps/tile/memcmp.c: New file.
22188         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22190         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22191         * sysdeps/tile/tilegx/strcasestr.c: New file.
22192         * sysdeps/tile/tilegx/strnlen.c: New file.
22193         * sysdeps/tile/tilegx/strstr.c: New file.
22195         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22197 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22199         * nptl/tst-setuid3.c: Write errors to stdout.
22201 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22203         * elf/dl-deps.c
22204         (preload): New functions broken out of _dl_map_object_deps.
22205         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22207 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22209         [BZ #14138]
22210         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22211         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22213 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22215         * sysdeps/mips/strcmp.S: New.
22217 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22219         [BZ #14138]
22220         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22221         (linkat): Likewise.
22222         (mkdirat): Likewise.
22223         (readlinkat): Likewise.
22224         (renameat): Likewise.
22225         (symlinkat): Likewise.
22226         (unlinkat): Likewise.
22227         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22228         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22229         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22230         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22231         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22232         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22233         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22235 2014-09-30  Will Newton  <will.newton@linaro.org>
22237         * math/math.h: Define long double math functions if
22238         _LIBC_TEST is defined.
22239         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22241         * localedata/Makefile: Move assignment to tests-special
22242         into an ifdef testing run-built-tests.
22243         * timezone/Makefile: Likewise.
22245 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22247         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22248         with $(BASH) not $(SHELL).
22250 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22251             Matthew LeGendre  <legendre1@llnl.gov>
22253         [BZ #17411]
22254         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22255         l_reloc_result.
22257 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22259         * stdio-common/printf_fp.c
22260         (hack_digit): New function, broken out of ...
22261         (__printf_fp): ... local function here.  Update call sites.
22262         hack_digit now takes an additional parameter that is a pointer
22263         to a struct of the referenced locals.  Those locals moved inside
22264         the struct and references updated.
22266 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22268         * aclocal.m4: Require autoconf 2.69.
22269         * configure: Regenerated.
22270         * sysdeps/aarch64/configure: Likewise.
22271         * sysdeps/alpha/configure: Likewise.
22272         * sysdeps/arm/armv7/configure: Likewise.
22273         * sysdeps/arm/configure: Likewise.
22274         * sysdeps/ia64/configure: Likewise.
22275         * sysdeps/mach/configure: Likewise.
22276         * sysdeps/mips/configure: Likewise.
22277         * sysdeps/s390/configure: Likewise.
22278         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22281         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22282         file.
22283         * sysdeps/ia64/configure.ac: Likewise.
22285 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22288         specify symbol version for ld.so.  Do not include entry for
22289         libpthread.
22290         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22291         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22292         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22294         [BZ #14171]
22295         * Makeconfig [$(build-shared) = yes]
22296         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22297         makefiles.
22298         [$(build-shared) = yes && $(soversions.mk-done) = t]
22299         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22300         [$(build-shared) = yes && $(soversions.mk-done) = t]
22301         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22302         to Makerules.
22303         [$(build-shared) = yes && $(soversions.mk-done) = t]
22304         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22305         here.
22306         [$(build-shared) = yes && $(soversions.mk-done) = t]
22307         (common-generated): Don't append gnu/lib-names.h and
22308         gnu/lib-names.stmp here.
22309         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22310         (lib-names-h-abi): New variable.
22311         [$(build-shared) = yes && $(soversions.mk-done) = t]
22312         (lib-names-stmp-abi): Likewise.
22313         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22314         abi-variants] (before-compile): Append
22315         $(common-objpfx)$(lib-names-h-abi).
22316         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22317         abi-variants] (common-generated): Append gnu/lib-names.h.
22318         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22319         abi-variants] (install-others-nosubdir): Depend on
22320         $(inst_includedir)/$(lib-names-h-abi).
22321         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22322         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22323         [$(build-shared) = yes && $(soversions.mk-done) = t]
22324         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22325         [$(build-shared) = yes && $(soversions.mk-done) = t]
22326         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22327         [$(build-shared) = yes && $(soversions.mk-done) = t]
22328         (common-generated): Append $(lib-names-h-abi) and
22329         $(lib-names-stmp-abi).
22330         * scripts/lib-names.awk: Do not handle multi being set.
22331         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22332         Remove variable.
22333         (abi-lp64_be-ld-soname): Likewise.
22334         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22335         Likewise.
22336         (abi-hard-ld-soname): Likewise.
22337         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22338         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22339         Remove variable.
22340         (abi-o32_hard-ld-soname): Likewise.
22341         (abi-o32_soft_2008-ld-soname): Likewise.
22342         (abi-o32_hard_2008-ld-soname): Likewise.
22343         (abi-n32_soft-ld-soname): Likewise.
22344         (abi-n32_hard-ld-soname): Likewise.
22345         (abi-n32_soft_2008-ld-soname): Likewise.
22346         (abi-n32_hard_2008-ld-soname): Likewise.
22347         (abi-n64_soft-ld-soname): Likewise.
22348         (abi-n64_hard-ld-soname): Likewise.
22349         (abi-n64_soft_2008-ld-soname): Likewise.
22350         (abi-n64_hard_2008-ld-soname): Likewise.
22351         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22352         Likewise.
22353         (abi-64-v2-ld-soname): Likewise.
22354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22355         ld.so entries.
22356         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22357         variable.
22358         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22359         entry.
22360         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22361         variable.
22362         (abi-64-ld-soname): Likewise.
22363         (abi-x32-ld-soname): Likewise.
22364         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22365         entry.
22366         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22368 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22370         [BZ #14138]
22371         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22372         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22373         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22374         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22375         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22376         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22377         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22378         syscall entry for GLIBC_2.2 symbol version.
22379         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22380         Likewise.
22381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22382         (setrlimit): Likewise.
22383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22384         Likewise.
22386 2014-09-23  Will Newton  <will.newton@linaro.org>
22388         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22389         _LINUX_ARM_SYSDEP_H include guard too.
22390         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22391         define.
22393 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22395         * sysdeps/unix/sysv/linux/eventfd.c:
22396         Make first argument unsigned.
22397         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22398         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22400 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22402         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22403         * socket/sys/socket.h: Likewise.
22404         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22406 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22408         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22410 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22412         * time/tst-ftime.c: New test.
22413         * time/Makefile (tests): Add tst-ftime.
22415 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22417         * soft-fp/extended.h: Fix comment formatting.
22418         * soft-fp/op-1.h: Likewise.
22419         * soft-fp/op-2.h: Likewise.
22420         * soft-fp/op-4.h: Likewise.
22421         * soft-fp/op-8.h: Likewise.
22422         * soft-fp/op-common.h: Likewise.
22423         * soft-fp/soft-fp.h: Likewise.
22425         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22427 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22429         [BZ #6652]
22430         * Makeconfig (soversions-default-setname): Remove variable.
22431         ($(common-objpfx)soversions.i): Don't pass default_setname to
22432         soversions.awk.
22433         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22434         oldest_abi to abi-versions.awk.
22435         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22436         * config.make.in (oldest-abi): Remove variable.
22437         * configure.ac (--enable-oldest-abi): Remove configure option.
22438         * configure: Regenerated.
22439         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22440         text.
22441         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22442         * scripts/soversions.awk: Do not handle default_setname variable.
22443         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22444         variable.
22445         * sysdeps/mach/hurd/configure: Regenerated.
22446         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22447         variable.
22448         * sysdeps/unix/sysv/linux/configure: Regenerated.
22450 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22452         * elf/Makefile (CFLAGS-interp.c): Remove.
22453         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22454         path string.
22455         * elf/interp.c: Include generated runtime-linker.h
22457         * Makerules (lib%.so): Don't include $(+interp) in
22458         prerequisites.
22459         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22460         * dlfcn/eval.c: Remove file.
22462         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22463         macros.
22465         [BZ #17266]
22466         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22467         4.2 and newer.
22469         [BZ #17370]
22470         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22472 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22473             Jakub Jelinek  <jakub@redhat.com>
22475         [BZ #17266]
22476         * libio/stdio.h: Check definition of __fortify_function
22477         instead of __extern_always_inline to include bits/stdio2.h.
22478         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22479         check if __extern_always_inline is defined.
22480         [__USE_MISC || __USE_XOPEN]: Likewise.
22481         [__USE_ISOC99] Likewise.
22482         * misc/sys/cdefs.h (__fortify_function): Define only if
22483         __extern_always_inline is defined.
22484         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22485         __extern_always_inline and __extern_inline only for g++-4.3
22486         and newer or a compatible gcc.
22488 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22490         [BZ #17371]
22491         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22492         last change to handle zero prefix length.
22494 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22496         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22497         _SC_REGEX_VERSION.
22499         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22500         _POSIX_RAW_SOCKETS.
22502 2014-09-13  Allan McRae  <allan@archlinux.org>
22504         * po/ru.po: Update Russian translation from translation project.
22506 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22508         * locale/programs/locale.c (show_locale_vars): Inline local function
22509         into its sole call site.  Clean up some style nits.
22510         (print_item): New function, broken out of ...
22511         (show_info): ... local function here.  Clean up style nits.
22513         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22514         out of ...
22515         (set_class_defaults): ... local function set_default here.
22516         Define set_default as a macro locally to pass constant parameters.
22517         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22518         rather than a shared local.
22520         * stdlib/rpmatch.c (try): New function, broken out of ...
22521         (rpmatch): ... local function here.  Also, prototypify definition.
22523 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22525         * scripts/soversions.awk: Do not handle configuration names.
22526         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22527         vendor and os variables to soversions.awk.
22528         * configure.ac: Do not modify gnu-* host_os.
22529         * configure: Regenerated
22530         * shlib-versions: Remove first column with configuration names.
22531         * nptl/shlib-versions: Likewise.
22532         * nptl_db/shlib-versions: Likewise.
22533         * sysdeps/hppa/shlib-versions: Likewise.
22534         * sysdeps/m68k/shlib-versions: Likewise.
22535         * sysdeps/mach/hurd/shlib-versions: Likewise.
22536         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22537         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22538         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22539         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22540         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22541         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22542         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22543         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22545         Likewise.
22546         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22547         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22548         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22549         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22550         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22551         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22552         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22553         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22556         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22558         Regenerated.
22559         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22561         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22563         * shlib-versions: Remove OS-specific entries.  Moved to files in
22564         sysdeps.
22565         * sysdeps/mach/hurd/shlib-versions: New file.
22566         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22568         * nptl/shlib-versions: Remove architecture-specific entries.
22569         Moved to files in sysdeps.
22570         * shlib-versions: Likewise.
22571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22572         file.
22573         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22574         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22575         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22576         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22578         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22579         (UDP_NO_CHECK6_RX): Likewise.
22581 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22583         * sysdeps/posix/sysconf.c (__sysconf): Spell
22584         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22586 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22588         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22589         loading.
22590         * iconv/Versions (__gconv_transliterate): Export for use from
22591         gconv modules.
22592         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22593         (struct __gconv_trans_data, __gconv_trans_fct,
22594         __gconv_trans_context_fct, __gconv_trans_query_fct,
22595         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22596         definitions.
22597         (struct __gconv_step_data): Remove __trans member.
22598         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22599         longer hidden.  Remove unused trans_data argument.
22600         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22601         (__gconv_translit_find): Remove declaration.
22602         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22603         prototype.
22604         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22605         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22606         trans_data argument.  Add hidden definition.
22607         (__gconv_translit_find): Remove.
22608         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22609         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22610         * iconv/skeleton.c: Remove transliteration initialization.
22611         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22612         __gconv_step_data initialization.
22613         * libio/iofwide.c (__libio_translit_): Remove.
22614         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22615         * wcsmbs/btowc.c (__btowc): Likewise.
22616         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22617         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22618         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22619         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22620         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22621         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22622         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22623         * wcsmbs/wctob.c (wctob): Likewise.
22625 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22627         [BZ #16194]
22628         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22629         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22630         register usage.
22631         * sysdeps/x86/Makefile: Adjust.
22633 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22634             Roland McGrath  <roland@hack.frob.com>
22636         * locale/weight.h: Add include guard.
22637         (findidx): Make static rather than auto; take new parameters
22638         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22639         * locale/weightwc.h: Likewise.
22640         * posix/fnmatch_loop.c
22641         (FCT): Change type of EXTRA from int32_t to wint_t.
22642         Don't include either header inside the function.
22643         Call FINDIDX rather than findidx, and pass new arguments.
22644         #undef FINDIDX at the end of the file.
22645         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22646         FINDIDX before including fnmatch_loop.c for the non-wide version.
22647         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22648         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22649         for the wide version.
22650         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22651         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22652         Pass new arguments to findidx.
22653         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22654         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22655         Don't #include it inside the function.  Pass new arguments to findidx.
22656         * posix/regex_internal.h
22657         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22658         (re_string_elem_size_at): Don't #include it inside the function.
22659         Pass new arguments to findidx.
22660         * string/strcoll_l.c: #include WEIGHT_H at top level.
22661         (get_next_seq): Don't #include it inside the function.
22662         Pass new arguments to findidx.
22663         (get_next_seq_nocache): Likewise.
22664         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22665         (STRXFRM): Don't #include it inside the function.
22666         Pass new arguments to findidx.
22668 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22670         [BZ #17344]
22671         * malloc/malloc.c (unlink): Turn asserts into a call to
22672         malloc_printerr.
22674 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22676         [BZ #17370]
22677         * libio/wfileops (do_ftell_wide): Free OUT.
22679 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22681         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22683 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22685         [BZ #17363]
22686         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22687         group if the current group is empty.
22689 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22691         * benchtests/bench-memset.c (test_main): Add more test from size
22692         from 32 to 512 bytes.
22693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22694         Add POWER8 memset object.
22695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22696         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22697         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22698         implementation.
22699         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22700         Likewise.
22701         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22702         multiarch POWER8 memset optimization.
22703         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22704         POWER8 memset optimization.
22706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22707         Remove bzero multiarch objects.
22708         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22709         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22710         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22711         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22712         Remove define.
22713         [__bzero]: Redefine to specific name.
22714         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22715         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22716         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22717         define.
22718         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22719         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22721 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22723         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22724         warnings into errors.
22726         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22727         __cxa_thread_atexit_impl prototype.
22729 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22731         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22732         Fix capitalization of error message.
22734 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22736         * sysdeps/mips/preconfigure: Modify ABI tests.
22738 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22740         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22742 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22743             Carlos O'Donell  <carlos@systemhalted.org>
22745         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22746         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22747         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22748         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22749         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22750         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22751         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22752         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22753         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22754         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22755         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22756         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22757         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22758         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22760         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22761         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22762         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22763         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22764         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22765         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22766         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22767         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22768         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22769         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22770         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22771         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22772         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22773         Deconditionalize the code that was previously under [RESET_PID].
22774         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22775         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22776         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22777         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22778         include sysdep.h.
22780 2014-09-08  Allan McRae  <allan@archlinux.org>
22782         * version.h (RELEASE): Set to "development".
22783         (VERSION): Set to "2.20.90"
22785 2014-09-07  Allan McRae  <allan@archlinux.org
22787         * version.h (RELEASE): Set to "stable".
22788         (VERSION): Set to "2.20"
22789         * include/features.h (__GLIBC_MINOR__): Set to 20.
22791         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22792         Liebler.
22794         * po/ko.po: Update Korean translation from translation project.
22796 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22798         [BZ #17354]
22799         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22800         macro for handling signed relocations.
22802 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22804         [BZ #17325]
22805         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22806         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22807         assert.
22808         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22809         * iconvdata/ibm935.c (BODY): Likewise.
22810         * iconvdata/ibm937.c (BODY): Likewise.
22811         * iconvdata/ibm939.c (BODY): Likewise.
22812         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22813         assert.
22814         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22815         script.
22816         * iconvdata/run-iconv-test.sh: New test loop for checking for
22817         decoder crashers.
22819 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22821         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22822         libm_hidden_ver.
22824 2014-09-01  Allan McRae  <allan@archlinux.org>
22826         * po/eo.po: Update Esperanto translation from translation project.
22828         * po/ca.po: Update Catalan translation from translation project.
22830 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22832         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22833         __proc_dostop call.
22835 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22837         [BZ #17319]
22838         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22839         to call set_thread_area instead of hand written asm.
22840         (__NR_set_thread_area): Removed define.
22841         (TLS_FLAG_WRITABLE): Likewise.
22842         (__ASSUME_SET_THREAD_AREA): Remove check.
22843         (TLS_EBX_ARG): Remove define.
22844         (TLS_LOAD_EBX): Likewise.
22846 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22848         Simplify atomicity of socket creation in bind.
22850         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22851         looking up the name after linking the file.
22853 2014-08-27  Allan McRae  <allan@archlinux.org>
22855         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22857 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22859         [BZ #17187]
22860         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22861         trans_compare, open_translit, __gconv_translit_find):
22862         Remove module loading code.
22864 2014-08-26  Allan McRae  <allan@archlinux.org>
22866         * po/vi.po: Update Vietnamese translation from translation project.
22868         * po/uk.po: Update Ukrainian translation from translation project.
22870         * po/fr.po: Update French translation from translation project.
22872         * po/ru.po: Update Russian translation from translation project.
22874         * po/pl.po: Update Polish translation from translation project.
22876         * po/cs.po: Update Czech translation from translation project.
22878         * po/de.po: Update German translation from translation project.
22880         * po/bg.po: Update Bulgarian translation from translation project.
22882         * po/sv.po: Update Sweedish translation from translation project.
22884         * po/nl.po: Update Dutch translation from translation project.
22886         * po/es.po: Update Spanish translation from translation project.
22888 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22890         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22892         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22893         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22894         (CPPFLAGS-iconvconfig): Likewise.
22895         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22897         * include/libc-symbols.h: Remove unnecessary check for
22898         NOT_IN_libc.
22899         * nptl/pthreadP.h: Likewise.
22900         * sysdeps/aarch64/setjmp.S: Likewise.
22901         * sysdeps/alpha/setjmp.S: Likewise.
22902         * sysdeps/arm/sysdep.h: Likewise.
22903         * sysdeps/i386/setjmp.S: Likewise.
22904         * sysdeps/m68k/setjmp.c: Likewise.
22905         * sysdeps/posix/getcwd.c: Likewise.
22906         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22907         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22908         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22909         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22910         * sysdeps/sh/sh3/setjmp.S: Likewise.
22911         * sysdeps/sh/sh4/setjmp.S: Likewise.
22912         * sysdeps/unix/alpha/sysdep.h: Likewise.
22913         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22914         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22915         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22916         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22919         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22921         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22922         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22924         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22926         * sysdeps/x86_64/setjmp.S: Likewise.
22928 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #17263]
22931         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22932         <stdint.h>.
22933         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22934         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22936 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22938         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22940         [BZ #17262]
22941         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22942         and __x86_64__ when disabling x87 inline functions.
22944 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22946         [BZ #17259]
22947         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22948         asm statement with __cpuid_count.
22950 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22952         * configure.ac: Change __ehdr_start code to dereference the struct.
22953         Run readelf on the output to look for relocations.
22954         * configure: Regenerated.
22956 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22958         [BZ #17261]
22959         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22960         value to 0.
22961         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22963 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22965         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22967 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22969         [BZ #16892]
22970         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22971         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22973 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22975         * malloc/malloc.c: Fix typo in comment.
22977 2014-08-09  Allan McRae  <allan@archlinux.org>
22979         * Regenerate libc.po.
22981 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22983         * intl/tst-gettext2.sh: Check every lang file for creation.
22985 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22987         * sysdeps/aarch64/fpu/math_private.h
22988         (libc_feholdsetround_noex_aarch64_ctx): New function.
22990 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22992         * sysdeps/arm/armv6/strcpy.S (strcpy):
22993         Fix performance issue in misaligned cases.
22995 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22997         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22998         Move definition from termios.h.
22999         (struct termio): Likewise.
23000         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23001         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23002         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23003         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23004         Likewise.
23005         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23006         Move definition to ioctl-types.h
23007         (struct termio): Likewise.
23008         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23009         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23010         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23011         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23012         Likewise.
23014 2014-08-05  Richard Henderson  <rth@redhat.com>
23016         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23017         exceptions.
23018         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23019         Add fraiseexcpt.
23020         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23021         Use __feraiseexcept.
23022         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23023         Protect libm symbols with IS_IN_libm.
23025         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23027 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23029         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23031 2014-08-04  Will Newton  <will.newton@linaro.org>
23033         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23034         file.
23036 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23038         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23039         variants for each function.
23041 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23043         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23044         appended ...
23045         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23046         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23047         appended ...
23048         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23049         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23050         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23051         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23052         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23053         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23054         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23055         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23056         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23057         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23058         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23059         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23060         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23061         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23062         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23066         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23068         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23069         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23070         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23074         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23078         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23079         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23080         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23082         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23083         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23084         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23085         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23086         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23087         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23088         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23090         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23092         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23094         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23095         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23096         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23097         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23098         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23099         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23100         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23101         Update #include.
23102         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23103         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23105 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23107         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23108         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23109         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23110         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23111         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23112         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23114 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23116         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23117         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23118         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23119         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23121 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23123         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23124         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23125         (__libc_vfork): Define function under this name.
23126         (__vfork): Define as an alias.
23127         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23128         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23130 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23132         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23133         that was previously under [RESET_PID].
23134         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23136 2014-08-04  Andreas Schwab  <schwab@suse.de>
23138         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23140 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23142         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23143         (main): Likewise.
23145 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23147         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23149 2014-08-01  Richard Henderon  <rth@redhat.com>
23151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23152         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23153         typo in exact zero test.
23154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23155         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23158 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23160         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23161         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23162         * sysdeps/arm/sysdep.h: ... here.
23163         [!__ASSEMBLER__]: Include <stdint.h>.
23165 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23167         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23168         (HAVE_WCTYPE_H): Likewise.
23169         (HAVE_ISWCTYPE): Likewise.
23170         (ENABLE_NLS): Likewise.
23171         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23172         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23174         * posix/regex_internal.c: Check if DEBUG is defined and is
23175         set.
23177         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23178         (HAVE_MBSRTOWCS): Likewise.
23179         * posix/fnmatch.c: Include string.h unconditionally.
23181 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23183         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23184         reversal.
23186 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23188         * sysdeps/generic/safe-fatal.h: New file.
23189         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23190         * nptl/forward.c: Include it.
23191         (__pthread_unwind): Use __safe_fatal as default action, rather
23192         than a bogus use of INTERNAL_SYSCALL that could never work.
23194         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23195         * configure.ac (libc_cv_builtin_trap): New test.
23196         * configure: Regenerated.
23197         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23198         (ABORT_INSTRUCTION): Define using __builtin_trap.
23200         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23201         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23202         * sysdeps/nptl/nptl-signals.h: New file.
23203         * nptl/pthreadP.h: Include <nptl-signals.h>.
23205 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23207         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23208         (ONE_DIRECTION): Define.
23209         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23210         (ONE_DIRECTION): Define.
23211         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23212         (ONE_DIRECTION): Define.
23214 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23216         * sysdeps/s390/Makefile: Delete file.
23217         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23218         * sysdeps/s390/__longjmp.c: Delete file.
23219         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23220         Remove fields __flags and __reserved.
23221         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23222         and add versioning.
23223         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23224         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23225         * sysdeps/s390/rtld-setjmp.S: Likewise.
23226         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23227         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23228         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23229         * sysdeps/s390/s390-32/setjmp.S: ... here.
23230         Add versioning.
23231         (__sigsetjmp): Remove setting __flags field.
23232         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23233         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23234         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23235         * sysdeps/s390/s390-64/setjmp.S: ... here.
23236         Add versioning.
23237         (__sigsetjmp): Remove setting __flags field.
23238         * sysdeps/s390/setjmp.S: Delete file.
23239         * sysdeps/s390/sigjmp.c: Likewise.
23240         * sysdeps/s390/v1-longjmp.c: Likewise.
23241         * sysdeps/s390/v1-setjmp.h: Likewise.
23242         * sysdeps/s390/v1-sigjmp.c: Likewise.
23243         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23244         Remove v1-longjmp_chk.
23245         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23246         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23247         Include debug/longjmp_chk.c and add versioning.
23248         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23249         Include nptl/pt-longjmp.c and add versioning.
23250         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23251         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23252         Include __longjmp.c.
23253         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23254         Move to ...
23255         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23256         (__getcontext): Remove setting __flags field.
23257         Add versioning.
23258         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23259         Don't restore upper high grps.
23260         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23261         Likewise.
23262         (__swapcontext): Remove setting uc_flags field.
23263         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23264         Delete file.
23265         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23266         Include __longjmp.c.
23267         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23268         Move to ...
23269         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23270         (__getcontext): Remove setting __flags field.
23271         Add versioning.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23273         (__swapcontext): Remove setting uc_flags field.
23274         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23275         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23276         Remove fields uc_high_gprs and __reserved.
23277         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23278         New file with reverted content.
23279         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23280         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23281         Regenerated.
23282         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23283         Regenerated.
23285 2014-07-31  Andreas Schwab  <schwab@suse.de>
23287         * config.h.in (HAVE_IFUNC): Define to 0.
23288         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23289         definedness.
23291 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23294         memmove-avx-unaligned, memcpy-avx-unaligned and
23295         mempcpy-avx-unaligned.
23296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23297         Add tests for AVX memcpy functions.
23298         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23299         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23300         memcpy_chk.
23301         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23302         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23303         memmove_chk.
23304         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23305         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23306         mempcpy_chk.
23307         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23308         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23309         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23311 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23313         [BZ #17213]
23314         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23315         powerpc64le.
23317 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23319         [BZ #16839]
23320         * manual/llio.texi: Add section about open file description locks.
23321         * manual/examples/ofdlocks.c: Example of open file description
23322         lock usage.
23323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23324         F_OFD_SETLK, and F_OFD_SETLKW.
23326 2014-07-23  Allan McRae  <allan@archlinux.org>
23328         * po/es.po: Update Spanish translation from translation project.
23330 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23332         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23334 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23336         [BZ #17078]
23337         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23338         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23339         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23341 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23343         [BZ #17088]
23344         * math/fesetenv.c (__fesetenv)
23345         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23346         * math/feupdateenv.c (__feupdateenv)
23347         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23349         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23350         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23351         (__ASSUME_SOCKETCALL): Do not define.
23353         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23354         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23355         (__ASSUME_SOCKETCALL): Do not define.
23356         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23357         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23358         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23359         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23360         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23361         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23362         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23363         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23365         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23366         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23367         (__ASSUME_SOCKETCALL): Do not define.
23368         (__ASSUME_IPC64): Define unconditionally.
23369         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23370         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23371         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23372         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23373         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23375         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23376         Likewise.
23378         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23379         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23380         (__ASSUME_SOCKETCALL): Do not define.
23381         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23382         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23383         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23384         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23385         (__ASSUME_REQUEUE_PI): Define unconditionally.
23386         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23387         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23388         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23389         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23391         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23393         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23394         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23395         (__ASSUME_SOCKETCALL): Do not define.
23396         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23397         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23398         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23399         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23400         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23401         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23403         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23404         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23405         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23406         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23407         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23408         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23409         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23410         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23411         (__ASSUME_GETCPU_SYSCALL): Likewise.
23413         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23414         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23415         cases for individual architectures.
23416         * sysdeps/gnu/configure: Regenerated.
23417         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23418         LIBC_SLIBDIR_RTLDDIR.
23419         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23420         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23421         LIBC_SLIBDIR_RTLDDIR.
23422         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23424         LIBC_SLIBDIR_RTLDDIR.
23425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23426         Regenerated.
23427         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23428         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23429         file.
23430         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23431         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23432         file.
23433         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23434         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23435         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23436         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23438         * sysdeps/aarch64/shlib-versions: Move to ...
23439         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23440         * sysdeps/alpha/shlib-versions: Move to ...
23441         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23442         * sysdeps/arm/shlib-versions: Move to ...
23443         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23444         * sysdeps/hppa/shlib-versions: Move all contents except for
23445         libgcc_s entry to ...
23446         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23447         entry from ...
23448         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23449         * sysdeps/ia64/shlib-versions: Move to ...
23450         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23451         entry from ...
23452         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23453         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23454         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23455         * sysdeps/microblaze/shlib-versions: Move to ...
23456         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23457         * sysdeps/mips/shlib-versions: Move to ...
23458         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23459         entry from ...
23460         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23461         * sysdeps/tile/shlib-versions: Move to ...
23462         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23463         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23464         from ...
23465         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23466         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23467         entry from ...
23468         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23470 2014-07-17  Will Newton  <will.newton@linaro.org>
23472         * sysdeps/arm/bits/atomic.h
23473         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23474         (__arch_compare_and_exchange_bool_16_int): Likewise.
23475         (__arch_compare_and_exchange_bool_64_int): Likewise.
23477         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23478         into an #else block.
23480 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23482         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23483         just Linux configurations.  Test empirically that the compiler sets
23484         __ARM_EABI__, rather than using the tuple to decide.
23485         * sysdeps/arm/preconfigure: Regenerated.
23486         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23487         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23488         contents appended ...
23489         * sysdeps/arm/configure.ac: ... here.
23490         * sysdeps/arm/configure: Regenerated.
23492 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23494         * nptl/pthread_kill.c: New file.
23495         * nptl/pthread_sigmask.c: New file.
23496         * nptl/pthread_sigqueue.c: New file.
23498         * sysdeps/nptl/lowlevellock.h: New file.
23499         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23500         * sysdeps/nptl/lowlevellock-futex.h: New file.
23502         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23503         Remove dead declarations.
23505 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23507         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23508         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23509         config-cflags-avx2.
23510         * sysdeps/x86_64/configure.ac: Likewise.
23511         * sysdeps/i386/configure: Regenerated.
23512         * sysdeps/x86_64/configure: Likewise.
23513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23514         memset-avx2 only if config-cflags-avx2 is yes.
23515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23516         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23517         defined.
23518         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23519         only if HAVE_AVX2_SUPPORT is defined.
23520         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23522 2014-07-14  Alan Modra  <amodra@gmail.com>
23524         [BZ #17153]
23525         * elf/elf.h (DT_PPC64_NUM): Correct value.
23526         * NEWS: Add to fixed bug list.
23528 2014-07-13  Jim Meyering  <meyering@fb.com>
23530         [BZ 17150]
23531         regex: don't deref NULL upon heap allocation failure
23532         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23533         failure in one more place.
23534         To trigger the segfault, configure grep -with-included-regex,
23535         build it, and run these commands:
23536         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23538 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23540         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23542 2014-07-11  Richard Henderson  <rth@redhat.com>
23544         * sysdeps/aarch64/libm-test-ulps: Update.
23546 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23548         [BZ #17135]
23549         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23550         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23551         (__nptl_setxid): Initialize error member.  Call
23552         __nptl_setxid_error.
23553         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23554         * nptl/descr.h (struct xid_command): Add error member.
23555         * nptl/tst-setuid3.c: New file.
23556         * nptl/Makefile (tests): Add it.
23558 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23560         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23561         New define.
23562         (__lll_trylock): Use __lll_base_trylock.
23563         (__lll_cond_trylock): Likewise.
23565 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23567         * nptl/pthread_create.c (start_thread): Use atomic_or and
23568         lll_futex_wake directly rather than lll_robust_dead.
23569         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23570         (lll_robust_dead): Macro removed.
23571         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23572         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23573         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23574         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23575         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23576         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23577         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23578         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23579         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23581         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23582         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23583         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23584         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23585         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23587         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23588         Use atomic_compare_and_exchange_val_acq directly rather than
23589         lll_robust_trylock.
23590         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23591         (__lll_robust_trylock, lll_robust_trylock): Removed.
23592         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23593         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23594         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23595         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23596         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23597         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23598         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23599         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23601         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23602         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23603         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23604         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23605         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23607 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23609         * manual/locale.texi (Locale Names): New section documenting
23610         locale name syntax.  Adjust menu and node chaining accordingly.
23611         (Choosing Locale): Reference Locale Names, Locale Categories.
23612         Mention setting LC_ALL=C.  Reflect that name syntax is now
23613         documented.
23614         (Locale Categories): New section title.  Reference Locale Names.
23615         LC_ALL is an environment variable, but not a category.
23616         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23617         description, now in Locale Name.  Reference that section.  Locale
23618         name syntax is now documented.
23620 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23622         [BZ #17137]
23623         * locale/findlocale.c (name_present, valid_locale_name): New
23624         functions.
23625         (_nl_find_locale): Use the loc_name variable to store name
23626         candidates.  Call name_present and valid_locale_name to check and
23627         validate locale names.  Return an error if the locale is invalid.
23629 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23631         * locale/setlocale.c (setlocale): Use strdup for allocating
23632         composite name copy.
23634 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23636         Sync up with gnulib.
23637         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23638         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23639         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23640         and _GL_ARG_NONNULL.
23641         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23642         [!_LIBC]: Include code for Windows and Cygwin.
23643         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23644         Include prototype for int strerror_r.
23645         [!_LIBC] (is_open): New function.
23646         (flush_stdout): New function.
23647         (print_errno_message): Use it.
23648         (error): Likewise.
23649         (error_at_line): Likewise.
23650         (error_tail) Add function attribute macros.  Use
23651         __builtin_expect.
23653         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23655         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23657         * io/ftw.c: Include sys/param.h unconditionally.
23659         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23661         [BZ #17125]
23662         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23663         libc_freeres_ptr.
23664         (freecache): New function to free CACHE on exit.
23666         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23667         initialization.
23669 2014-07-09  David S. Miller  <davem@davemloft.net>
23671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23673         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23674         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23675         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23676         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23677         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23678         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23679         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23680         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23681         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23682         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23683         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23684         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23685         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23687 2014-07-09  Andreas Schwab  <schwab@suse.de>
23689         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23690         output.
23691         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23692         (do_test): Likewise.
23694         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23696 2014-07-09  Will Newton  <will.newton@linaro.org>
23698         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23699         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23700         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23701         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23702         * sysdeps/hppa/start.S (_start): Likewise.
23704 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23706         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23708         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23709         defined.
23711 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23713         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23714         after checking that it is non-NULL.
23716         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23718 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23720         * sysdeps/powerpc/memmove.c: Remove file.
23721         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23722         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23723         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23724         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23725         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23726         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23727         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23728         string memmove instead of removed powerpc one.
23730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23731         [weak_alias]: Fix compiler warning due trailing data.
23732         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23733         [weak_alias]: Likewise.
23734         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23735         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23738         (__libc_ifunc_impl_list): Add memmove functions.
23740 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23742         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23743         Remove code.
23744         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23745         Likewise.
23746         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23747         Likewise.
23748         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23749         Likewise.
23750         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23751         Likewise.
23752         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23753         Likewise.
23754         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23755         Likewise.
23756         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23757         Likewise.
23758         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23759         Likewise.
23760         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23761         Likewise.
23762         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23763         Likewise.
23764         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23765         Likewise.
23766         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23767         Likewise.
23768         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23769         Likewise.
23770         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23771         Likewise.
23772         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23773         Likewise.
23774         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23775         Likewise.
23777 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23780         to avoid alignment traps in non-cacheable memory.
23781         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23784         multiarch objects.
23785         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23786         file: multiarch power7 memmove.
23787         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23788         multiarch default memmove.
23789         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23790         multiarch memove for powerpc32/power4.
23792         * string/bcopy.c: Use full path to include memmove.c.
23793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23794         multiarch objects.
23795         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23796         bcopy for powerpc64.
23797         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23798         bcopy for powerpc64.
23799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23800         and memmove implementations.
23801         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23802         optimized multiarch memmove for POWER7/powerpc64.
23803         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23804         default multiarch memmove for powerpc64.
23805         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23806         multiarch for powerpc64.
23807         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23808         for POWER7/powerpc64.
23809         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23810         memmove for POWER7/powerpc64.
23812         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23813         glibc default one.
23815         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23816         __ELF_NATIVE_CLASS equal to 64.
23818 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23820         * sysdeps/nptl/lowlevellock.h: File removed.
23822         * NEWS: NPTL is no longer an add-on!
23823         * nptl/internaltypes.h: Moved ...
23824         * sysdeps/nptl/internaltypes.h: ... here.
23825         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23826         * sysdeps/nptl/fork.c: Likewise.
23827         * sysdeps/nptl/gai_misc.h: Likewise.
23828         * sysdeps/nptl/librt-cancellation.c: Likewise.
23829         * sysdeps/nptl/jmp-unwind.c: Likewise.
23830         * sysdeps/nptl/setxid.h: Likewise.
23831         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23832         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23833         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23834         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23835         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23836         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23837         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23838         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23839         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23840         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23841         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23842         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23843         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23844         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23845         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23846         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23847         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23848         * nptl/Makeconfig: Moved ...
23849         * sysdeps/nptl/Makeconfig: ... here.
23850         * nptl/configure: File removed.
23851         * nptl/ANNOUNCE: File removed.
23852         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23853         * sysdeps/unix/sysv/linux/configure: Regenerated.
23855         * nptl/Makefile (routines): Add libc_pthread_init,
23856         libc_multiple_threads, register-atfork and unregister-atfork.
23857         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23858         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23859         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23860         pthread-pi-defines.sym, structsem.sym.
23861         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23862         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23863         [$(subdir) = nptl] (tests): Add tst-setgetname.
23864         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23865         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23866         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23867         [!LIBC_SIGACTION]: Remove aliases.
23868         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23869         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23870         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23871         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23872         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23873         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23874         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23875         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23876         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23877         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23878         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23879         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23880         __libc_allocate_rtsig_private.
23881         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23882         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23883         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23884         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23885         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23886         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23887         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23888         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23889         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23890         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23891         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23892         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23893         * nptl/internaltypes.h: ... here.
23894         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23895         * sysdeps/nptl/jmp-unwind.c: ... here.
23896         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23897         * nptl/libc-lowlevellock.c: ... here.
23898         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23899         * nptl/libc_multiple_threads.c: ... here.
23900         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23901         * nptl/libc_pthread_init.c: ... here.
23902         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23903         * nptl/lowlevelbarrier.sym: ... here.
23904         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23905         * nptl/lowlevelcond.sym: ... here.
23906         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23907         * nptl/lowlevellock.c: ... here.
23908         * nptl/lowlevellock.h: Moved ...
23909         * sysdeps/nptl/lowlevellock.h: ... here.
23910         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23911         * nptl/lowlevelrobustlock.c: ... here.
23912         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23913         * nptl/lowlevelrobustlock.sym: ... here.
23914         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23915         * nptl/lowlevelrwlock.sym: ... here.
23916         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23917         * nptl/pt-fork.c: ... here.
23918         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23919         * nptl/pthread-pi-defines.sym: ... here.
23920         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23921         * nptl/pthread_attr_getaffinity.c: ... here.
23922         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23923         * nptl/pthread_attr_setaffinity.c: ... here.
23924         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23925         * nptl/pthread_mutex_cond_lock.c: ... here.
23926         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23927         Update #include.
23928         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23929         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23930         * nptl/pthread_once.c: ... here, replacing old file.
23931         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23932         * nptl/pthread_yield.c: ... here.
23933         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23934         * nptl/register-atfork.c: ... here.
23935         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23936         * nptl/sem_post.c: ... here.
23937         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23938         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23939         * nptl/sem_timedwait.c: ... here.
23940         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23941         * nptl/sem_trywait.c: ... here.
23942         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23943         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23944         * nptl/sem_wait.c: ... here.
23945         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23946         * nptl/structsem.sym: ... here.
23947         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23948         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23949         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23950         * nptl/unregister-atfork.c: ... here.
23951         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23952         * nptl/unwindbuf.sym: ... here.
23953         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23954         * sysdeps/nptl/fork.c: ... here.
23955         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23956         * sysdeps/nptl/fork.h: ... here.
23957         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23958         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23959         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23960         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23961         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23962         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23963         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23964         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23965         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23966         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23967         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23968         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23969         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23970         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23971         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23972         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23973         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23974         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23975         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23976         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23977         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23978         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23979         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23980         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23981         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23982         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23983         * sysdeps/unix/sysv/linux/raise.c: ... here.
23984         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23985         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23986         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23987         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23988         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23989         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23990         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23991         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23992         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23993         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23994         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23995         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23996         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23997         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23998         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24000 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24002         * sysdeps/generic/memcopy.h: Add comment for
24003         MEMCPY_OK_FOR_FWD_MEMMOVE.
24005 2014-07-04  Will Newton  <will.newton@linaro.org>
24007         * string/memchr.c: Merge from gnulib.
24008         [_LIBC]: Remove conditionals.
24009         (__ptr_t): Remove define.
24010         (LONG_MAX_32_BITS): Likewise.
24011         (LONG_MAX): Likewise.
24012         (MEMCHR): Use ANSI prototype and optimize algorithm.
24014         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24016 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24018         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24019         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24021         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24022         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24023         in a bare environment with no <stdlib.h> installed.
24024         * sysdeps/nptl/configure: Regenerated.
24026         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24028         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24029         AC_EGREP_CPP for kernel header checks, so they only succeed if
24030         including <linux/version.h> actually works right.
24031         * sysdeps/unix/sysv/linux/configure: Regenerated.
24033         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24034         value so it's not diagnosed as unused.
24036         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24037         thing) with "ifeq ($(subdir),rt)".
24039 2014-07-03  Richard Henderson  <rth@redhat.com>
24041         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24042         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24043         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24045         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24046         (math_force_eval): New.
24048         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24049         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24051         * sysdeps/alpha/fpu/s_round.c: Remove file.
24052         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24054         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24055         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24056         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24057         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24058         (_dl_start, print_statistics): Likewise.
24059         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24060         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24062         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24063         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24064         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24065         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24066         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24067         (HP_SMALL_TIMING_AVAIL): Define.
24068         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24069         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24070         (HP_SMALL_TIMING_AVAIL): Define.
24071         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24072         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24074         * sysdeps/aarch64/hp-timing.h: New file.
24076         * sysdeps/generic/hp-timing.h: Remove dead comment.
24077         * sysdeps/generic/hp-timing-common.h: New file.
24078         * sysdeps/alpha/hp-timing.h: Include it.
24079         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24080         * sysdeps/i386/i686/hp-timing.h: Likewise.
24081         * sysdeps/ia64/hp-timing.h: Likewise.
24082         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24083         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24084         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24085         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24086         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24087         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24088         (hp_timing_t): New.
24090         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24091         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24092         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24093         * elf/rtld.c (_dl_start_final): Likewise.
24094         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24095         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24096         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24097         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24098         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24100         (HP_TIMING_DIFF_INIT): Remove.
24101         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24102         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24103         (HP_TIMING_DIFF_INIT): Remove.
24104         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24105         * sysdeps/i386/i686/hp-timing.c: Remove file.
24106         * sysdeps/x86_64/hp-timing.c: Remove file.
24107         * sysdeps/ia64/hp-timing.c: Remove file.
24108         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24109         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24111         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24113         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24114         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24115         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24116         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24117         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24118         (HP_TIMING_ACCUM): Remove.
24119         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24120         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24121         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24123         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24124         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24125         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24126         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24127         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24128         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24129         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24130         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24132         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24134 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24136         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24138 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24140         Sync up with gettext.
24141         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24142         [_MSC_VER]: Include malloc.h
24143         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24144         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24145         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24146         TEMP_FAILURE_RETRY.  Cast return of alloca.
24147         [!_LIBC] Call gl_rwlock_init.
24148         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24150 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24152         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24153         before checking its value.
24155 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24157         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24159         * debug/memcpy_chk.c: Don't include pagecopy.h.
24160         * debug/mempcpy_chk.c: Likewise.
24161         * string/memcpy.c: Likewise.
24162         * string/memmove.c: Likewise.
24163         * sysdeps/powerpc/memmove.c: Likewise.
24164         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24165         definition of PAGE_COPY_FWD_MAYBE here...
24166         * sysdeps/generic/pagecopy.h: ... from here.
24167         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24169 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24172         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24174         optimizations.
24175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24176         (__libc_ifunc_impl_list): Likewise.
24177         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24178         multiarch strcat for PPC64.
24179         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24180         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24182 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24184         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24186 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24188         * intl/loadmsgcat.c: Remove declaration of
24189         get_sysdep_segment_value.
24190         (get_sysdep_segment_value): Use ISO C style.
24191         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24192         semicolon.  Fix typo and formatting in comment.
24193         (_nl_unload_domain): Use ISO C style.
24195         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24197 2014-07-02  Will Newton  <will.newton@linaro.org>
24199         * malloc/obstack.c: Merge from gnulib master.
24200         [HAVE_CONFIG_H]: Remove conditional code.
24201         [!_LIBC]: Include config.h.
24202         [!ELIDE_CODE]: Don't include inttypes.h, include
24203         stdint.h unconditionally.
24204         (print_and_abort): Mark as _Noreturn.
24205         (_obstack_allocated_p): Mark as __attribute_pure__.
24206         (obstack_free): Rename to __obstack_free.
24207         [!__attribute__]: Remove conditional code.
24208         * malloc/obstack.h: Merge from gnulib master.
24209         [__cplusplus]: Move conditional down.
24210         [!__attribute_pure__]: Define __attribute_pure__ here
24211         if it is not already defined.
24212         (_obstack_memory_used): Mark as __attribute_pure__.
24213         [!__obstack_free]: Define as obstack_free.
24214         [__GNUC__]: Remove check for ancient NeXT gcc.
24216 2014-07-02  Will Newton  <will.newton@linaro.org>
24217             Paul Eggert  <eggert@cs.ucla.edu>
24219         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24221 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24223         * resolv/gethnamaddr.c: Add comment warning that the file is
24224         not maintained.
24226 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24228         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24229         entries.
24231         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24232         entry for aio_cancel and aio_cancel64.
24233         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24234         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24235         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24236         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24237         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24238         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24239         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24240         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24241         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24242         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24243         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24244         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24245         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24247 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24249         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24250         * nptl/pthread_mutex_lock.c: Likewise.
24251         * nptl/pthread_mutex_timedlock.c: Likewise.
24252         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24254 2014-07-01  Richard henderson  <rth@redhat.com>
24256         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24257         (__isnan, __isnanl): Remove.
24258         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24260         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24262 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24264         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24266 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24268         * resolv/nss_dns/dns-host.c (getanswer_r)
24269         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24271 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24274         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24275         undefine.
24276         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24277         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24279 2014-07-01  Roland McGrath <roland@hack.frob.com>
24281         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24282         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24284         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24285         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24287         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24288         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24289         ... here.
24290         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24291         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24293         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24294         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24295         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24296         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24298         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24299         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24300         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24301         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24302         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24303         Moved ...
24304         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24305         ... here.
24306         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24307         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24308         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24309         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24310         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24311         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24312         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24313         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24314         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24315         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24316         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24317         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24318         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24319         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24320         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24321         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24322         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24323         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24324         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24325         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24326         ... here.
24327         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24328         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24329         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24330         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24331         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24332         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24333         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24334         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24336 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24338         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24339         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24340         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24341         Add sysdep.
24343 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24347 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24349         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24350         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24352         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24354         * sysdeps/arm/libm-test-ulps: Regenerated.
24356 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24357             Roland McGrath <roland@hack.frob.com>
24359         * test-skeleton.c (signal_handler): Kill the whole process group
24360         before killing the child individually.
24361         (main): Report any failure on `setpgid'.
24363 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24365         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24366         from _TLS_H to _ARM_NPTL_TLS_H.
24367         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24368         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24370 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #16539]
24373         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24374         (__expm1l): Return argument unchanged when small but not
24375         subnormal.
24377         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24378         include macro name.
24379         (_FP_UNPACK_RAW_1_P): Likewise.
24380         (_FP_PACK_RAW_1): Likewise.
24381         (_FP_PACK_RAW_1_P): Likewise.
24382         (_FP_MUL_MEAT_1_wide): Likewise.
24383         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24384         (_FP_MUL_MEAT_1_hard): Likewise.
24385         (_FP_DIV_MEAT_1_imm): Likewise.
24386         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24387         (_FP_DIV_MEAT_1_udiv): Likewise.
24388         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24389         (_FP_UNPACK_RAW_2): Likewise.
24390         (_FP_UNPACK_RAW_2_P): Likewise.
24391         (_FP_PACK_RAW_2): Likewise.
24392         (_FP_PACK_RAW_2_P): Likewise.
24393         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24394         (_FP_MUL_MEAT_2_wide): Likewise.
24395         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24396         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24397         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24398         (_FP_MUL_MEAT_2_gmp): Likewise.
24399         (_FP_DIV_MEAT_2_udiv): Likewise.
24400         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24401         (_FP_FRAC_SRL_4): Likewise.
24402         (_FP_FRAC_SRST_4): Likewise.
24403         (_FP_FRAC_SRS_4): Likewise.
24404         (_FP_UNPACK_RAW_4): Likewise.
24405         (_FP_UNPACK_RAW_4_P): Likewise.
24406         (_FP_PACK_RAW_4): Likewise.
24407         (_FP_PACK_RAW_4_P): Likewise.
24408         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24409         (_FP_MUL_MEAT_4_wide): Likewise.
24410         (_FP_MUL_MEAT_4_gmp): Likewise.
24411         (umul_ppppmnnn): Likewise.
24412         (_FP_DIV_MEAT_4_udiv): Likewise.
24413         (__FP_FRAC_ADD_4): Likewise.
24414         (__FP_FRAC_SUB_3): Likewise.
24415         (__FP_FRAC_SUB_4): Likewise.
24416         (__FP_FRAC_DEC_3): Likewise.
24417         (__FP_FRAC_DEC_4): Likewise.
24418         (__FP_FRAC_ADDI_4): Likewise.
24419         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24420         (_FP_FRAC_SRL_8): Likewise.
24421         (_FP_FRAC_SRS_8): Likewise.
24423         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24424         include macro name.
24425         (FP_UNPACK_RAW_EP): Likewise.
24426         (FP_PACK_RAW_E): Likewise.
24427         (FP_PACK_RAW_EP): Likewise.
24428         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24429         (_FP_ISSIGNAN): Likewise.
24430         (_FP_ADD_INTERNAL): Likewise.
24431         (_FP_FMA): Likewise.
24432         (_FP_CMP): Likewise.
24433         (_FP_SQRT): Likewise.
24434         (_FP_TO_INT): Likewise.
24435         (_FP_FROM_INT): Likewise.
24436         (FP_EXTEND): Likewise.
24437         (_FP_DIV_MEAT_N_loop): Likewise.
24439 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24441         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24442         throughout.
24444 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24446         [BZ #17097]
24447         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24448         result with correct sign in case of exponents that produce
24449         overflow except for X very close to 1.
24451 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24453         mktime: merge #if/#ifdef usage from glibc
24454         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24455         as that works with both Glibc's and Gnulib's style.
24456         See thread starting at Siddhesh Poyarekar's bug report at:
24457         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24459 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24461         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24462         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24463         * sysdeps/tile/tilegx/memmove.c: Remove file.
24465 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24467         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24468         abi-name definition.
24469         * scripts/soversions.awk: Do not handle or generate ABI lines.
24470         * shlib-versions: Remove ABI entries.
24471         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24472         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24474 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24477         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24478         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24479         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24481         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24483         Moved ...
24484         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24485         ... here.
24486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24487         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24489         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24491         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24493         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24495         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24497         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24499         Moved ...
24500         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24502         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24504         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24506         Moved ...
24507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24509         Moved ...
24510         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24512         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24514         Moved ...
24515         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24517         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24519         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24521         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24523         Moved ...
24524         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24526         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24527         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24528         Moved ...
24529         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24530         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24531         Moved ...
24532         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24534         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24536         Moved ...
24537         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24538         ... here.
24539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24540         Identical file removed.
24541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24542         Moved ...
24543         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24545         Identical file removed.
24546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24547         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24549         Moved ...
24550         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24552         Identical file removed.
24553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24554         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24555         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24556         Identical file removed.
24557         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24558         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24560         Identical file removed.
24561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24562         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24564         Identical file removed.
24565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24566         Moved ...
24567         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24569         Identical file removed.
24570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24571         Moved ...
24572         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24574         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24576         Identical file removed.
24577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24580         ... here.
24581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24582         Identical file removed.
24583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24584         Moved ...
24585         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24587         Identical file removed.
24588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24589         Moved ...
24590         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24592         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24594         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24595         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24596         Moved ...
24597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24598         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24599         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24601         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24602         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24603         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24604         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24605         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24607 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24609         [BZ #17092]
24610         * nscd/nscd.c (monitor_child): Return exit status of child
24611         instead of return value from wait syscall.
24613 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24615         * configure.ac (libc_commonpagesize): Remove variable.
24616         (libc_relro_required): Likewise.
24617         (libc_cv_z_relro): Remove configure test.
24618         * configure: Regenerated.
24619         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24620         variable.
24621         (libc_relro_required): Likewise.
24622         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24623         (libc_relro_required): Likewise.
24624         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24625         (libc_relro_required): Likewise.
24626         * sysdeps/arm/preconfigure: Regenerated.
24627         * sysdeps/ia64/preconfigure: Remove file.
24628         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24629         variable.
24630         (libc_relro_required): Likewise.
24632         [BZ #16561]
24633         [BZ #16562]
24634         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24635         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24636         recompute overflowing results in original rounding mode.
24637         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24638         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24639         recompute overflowing results in original rounding mode.
24640         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24641         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24642         recompute overflowing results in original rounding mode.
24643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24644         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24645         recompute overflowing results in original rounding mode.
24646         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24647         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24648         recompute overflowing results in original rounding mode.
24649         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24650         (libc_feholdsetround_ctx): New macro.
24651         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24652         * sysdeps/i386/fpu/libm-test-ulps: Update.
24653         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24655 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24657         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24658         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24659         corresponding .cpsetup call.
24661 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24663         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24664         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24665         * sysdeps/arm/Makefile [$(subdir) = csu]
24666         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24667         (static-only-routines): Add aeabi_read_tp here.
24668         (shared-only-routines): Add libc-aeabi_read_tp here.
24669         (CFLAGS-libc-start.c): Add -fexceptions here.
24670         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24671         (sysdep_routines, static-only-routines, shared-only-routines):
24672         Don't add to these here.
24673         (CFLAGS-libc-start.c): Likewise.
24675         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24676         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24677         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24678         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24679         * sysdeps/arm/Makefile [$(subdir) = rt]
24680         (librt-sysdep_routines, librt-shared-only-routines):
24681         Append rt-aeabi_unwind_cpp_pr1 here.
24682         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24683         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24684         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24685         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24686         Append nptl-aeabi_unwind_cpp_pr1 here.
24687         (tests): Filter out tst-cleanupx4 here.
24688         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24689         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24690         Don't do those here.
24692 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24694         * scripts/list-sources.sh: Do not handle ports specially.
24696 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24698         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24699         * sysdeps/arm/feupdateenv.c: Likewise.
24701         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24703 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24705         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24706         trailing whitespace removed.
24707         * scripts/config.guess: Update to version 2014-03-23.
24708         * scripts/config.sub: Update to version 2014-05-01
24709         * scripts/install-sh: Update to version 2013-12-25.23.
24710         * scripts/move-if-change: Update from gnulib.
24712 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24714         * debug/memmove_chk.c: Remove pagecopy.h include.
24716 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24718         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24719         identical to gnulib mktime.
24721 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24723         * configure.ac: Do not test for machine being rs6000.  Do not test
24724         for powerpc*-*soft.
24725         * configure: Regenerated.
24727         [BZ #11505]
24728         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24729         test.
24730         * configure: Regenerated.
24731         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24732         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24733         Remove configure test.
24734         * sysdeps/arm/configure: Regenerated.
24735         * sysdeps/nptl/configure.ac: Do not check
24736         libc_cv_asm_cfi_directives.
24737         * sysdeps/nptl/configure: Regenerated.
24738         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24739         * sysdeps/x86_64/nptl/configure: Remove generated file.
24740         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24741         unconditional.
24742         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24744 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24747         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24748         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24749         it is defined.
24751         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24752         instead of whether it is defined.
24753         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24754         * sysdeps/hppa/dl-machine.h: Likewise.
24755         * sysdeps/ia64/dl-machine.h: Likewise.
24756         * sysdeps/m68k/dl-machine.h: Likewise.
24757         * sysdeps/microblaze/dl-machine.h: Likewise.
24758         * sysdeps/mips/dl-machine.: Likewise.
24759         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24760         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24761         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24762         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24763         * sysdeps/sh/dl-machine.h: Likewise.
24764         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24765         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24766         * sysdeps/tile/dl-machine.h: Likewise.
24767         * sysdeps/x86_64/dl-machine.h: Likewise.
24769         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24770         code.
24771         (verify_persistent_db): Likewise.
24773 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24776         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24778         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24780         Moved ...
24781         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24782         ... here.
24783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24784         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24786         Identical file removed.
24787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24788         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24790         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24792         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24794         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24796         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24798         Moved ...
24799         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24801         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24803         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24805         Moved ...
24806         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24808         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24810         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24812         Identical file removed.
24813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24814         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24818         Moved ...
24819         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24820         ... here.
24821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24822         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24824         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24826         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24828         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24830         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24832         Moved ...
24833         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24835         Moved ...
24836         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24838         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24840         Moved ...
24841         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24843         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24845         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24846         folded into ...
24847         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24848         * sysdeps/unix/sysv/linux/s390/Versions
24849         (libpthread: GLIBC_2.19): New version set.
24850         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24851         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24852         (librt: GLIBC_2.3.3): New version set.
24853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24854         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24855         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24856         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24857         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24859         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24860         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24861         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24863         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24865         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24867         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24868         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24869         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24870         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24872         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24873         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24874         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24875         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24876         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24877         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24878         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24879         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24880         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24881         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24882         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24883         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24889         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24890         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24891         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24893         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24895         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24897         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24899         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24900         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24901         (__libc_vfork): Define the function under this name.
24902         [!NOT_IN_libc] (__vfork): Make this an alias.
24903         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24904         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24905         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24906         (__libc_vfork): Define the function under this name.
24907         [!NOT_IN_libc] (__vfork): Make this an alias.
24908         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24909         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24910         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24912         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24913         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24915         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24916         code that was previously under [RESET_PID].
24917         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24918         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24921         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24922         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24923         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24924         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24925         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24926         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24927         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24928         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24929         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24930         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24931         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24932         Moved ...
24933         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24934         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24935         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24936         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24937         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24938         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24939         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24940         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24941         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24942         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24943         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24944         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24945         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24946         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24947         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24948         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24949         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24950         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24951         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24952         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24953         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24954         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24955         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24956         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24957         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24958         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24959         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24960         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24961         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24963 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24965         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24966         that was previously under [RESET_PID].
24967         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24969 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24971         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24972         not undefine and redefine.
24973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24974         [O_CLOEXEC]: Make code unconditional.
24975         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24976         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24977         <kernel-features.h>.
24978         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24979         conditional variable definition.
24980         (shm_open) [O_CLOEXEC]: Make code unconditional.
24981         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24982         code.
24984         * configure.ac (USE_REGPARMS): Don't define here.
24985         * configure: Regenerated.
24986         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24987         * sysdeps/i386/configure: Regenerated.
24989         * nptl/createthread.c: Don't include kernel-features.h.
24990         * nptl/pthread_cancel.c: Likewise.
24991         * nptl/pthread_condattr_setclock.c: Likewise.
24992         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24993         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24994         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24995         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24996         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24997         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24998         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25000         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25001         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25002         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25003         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25004         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25005         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25006         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25007         * nscd/gai.c: Likewise.
25008         * nss/nss_db/db-open.c: Likewise.
25009         * sysdeps/generic/ldsodefs.h: Likewise.
25010         * sysdeps/sh/nptl/tls.h: Likewise.
25011         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25012         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25013         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25014         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25015         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25016         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25017         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25018         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25020         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25021         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25022         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25023         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25024         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25025         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25026         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25027         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25028         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25029         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25030         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25033         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25034         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25039         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25040         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25041         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25042         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25043         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25044         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25045         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25046         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25047         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25048         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25049         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25050         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25051         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25052         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25053         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25054         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25055         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25056         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25057         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25058         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25059         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25060         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25061         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25062         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25063         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25064         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25065         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25066         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25067         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25068         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25091         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25092         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25093         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25094         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25095         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25096         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25097         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25098         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25099         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25100         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25101         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25102         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25103         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25104         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25105         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25106         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25107         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25108         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25109         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25110         * sysdeps/unix/sysv/linux/system.c: Likewise.
25111         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25112         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25113         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25114         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25115         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25116         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25117         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25119         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25120         * configure: Regenerated.
25121         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25123         * configure.ac (base_machine): Do not set specially for particular
25124         machines here.
25125         * configure: Regenerated.
25126         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25127         settings from configure.ac.
25128         * sysdeps/i386/preconfigure: New file.
25129         * sysdeps/s390/preconfigure: Likewise.
25130         * sysdeps/sh/preconfigure: Likewise.
25131         * sysdeps/sparc/preconfigure: Likewise.
25133 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25135         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25136         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25137         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25138         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25139         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25140         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25141         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25142         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25143         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25144         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25145         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25146         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25147         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25148         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25149         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25150         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25152         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25153         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25155         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25156         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25157         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25158         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25159         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25160         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25161         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25162         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25163         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25164         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25165         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25166         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25167         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25168         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25169         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25170         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25171         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25172         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25173         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25174         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25176         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25179         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25184         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25185         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25186         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25187         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25188         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25189         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25190         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25191         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25192         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25195         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25197         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25199         Moved ...
25200         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25201         ... here.
25202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25203         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25205         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25207         Moved ...
25208         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25210         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25214         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25216         Moved ...
25217         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25219         Moved ...
25220         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25222         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25224         Moved ...
25225         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25227         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25229         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25231         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25233         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25235         Moved ...
25236         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25237         ... here.
25238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25239         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25241         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25243         Moved ...
25244         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25246         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25248         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25250         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25252         Moved ...
25253         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25255         Moved ...
25256         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25258         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25260         Moved ...
25261         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25263         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25265         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25267 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25269         * timezone/checktab.awk: Update from tzcode 2014e.
25270         * timezone/private.h: Likewise.
25271         * timezone/tzfile.h: Likewise.
25272         * timezone/zdump.c: Likewise.
25273         * timezone/zic.c: Likewise.
25275         * sysdeps/unix/sysv/linux/kernel-features.h
25276         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25277         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25278         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25279         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25280         Remove conditional code.
25282 2014-06-25  Will Newton  <will.newton@linaro.org>
25284         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25285         (_dl_arm_cap_flags): Add HWCAP2 values.
25286         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25287         (_DL_HWCAP_COUNT): Increase to 37.
25288         (_DL_HWCAP_LAST): New define.
25289         (_DL_HWCAP2_LAST): New define.
25290         (_dl_procinfo): Add support for printing
25291         AT_HWCAP2 entries.
25292         (_dl_string_hwcap): Use _dl_hwcap_string.
25294 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25298 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25300         * README: Do not mention ports directory.
25302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25303         Remove macro.
25304         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25305         <kernel-features.h>.
25306         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25307         conditional variable definition.
25308         (__futimes): Update comment.
25309         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25310         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25312         [BZ #16560]
25313         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25314         arguments close to 0.
25315         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25316         Likewise.
25317         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25318         Likewise.
25319         * math/auto-libm-test-in: Add more tests of exp10.
25320         * math/auto-libm-test-out: Regenerated.
25321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25323         * sysdeps/unix/sysv/linux/kernel-features.h
25324         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25325         * sysdeps/unix/sysv/linux/readv.c: Do not include
25326         <kernel-features.h>.
25327         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25328         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25329         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25330         unconditional.
25331         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25332         conditional code.
25333         * sysdeps/unix/sysv/linux/writev.c: Do not include
25334         <kernel-features.h>.
25335         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25336         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25337         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25338         unconditional.
25339         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25340         conditional code.
25342 2014-06-25  Will Newton  <will.newton@linaro.org>
25344         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25345         comment changes throughout the file.  Remove checks
25346         for HAVE_*_H definitions that are not required.
25347         (__gen_tempname): Call abort if an unknown kind value is
25348         passed.
25350 2014-06-25  Andreas Schwab  <schwab@suse.de>
25352         [BZ #17086]
25353         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25354         scalbln, scalblnf, scalblnl in libc.
25356 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25358         [BZ #17086]
25359         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25360         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25361         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25363 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25365         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25366         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25367         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25368         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25369         Update #include.
25370         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25371         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25372         Update #include.
25373         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25374         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25375         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25376         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25377         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25378         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25379         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25380         * sysdeps/x86/bits/semaphore.h: ... here.
25381         * sysdeps/x86/nptl/elide.h: Moved ...
25382         * sysdeps/x86/elide.h: ... here.
25383         * sysdeps/x86_64/nptl/Implies: File removed.
25384         * sysdeps/i386/nptl/Implies: File removed.
25386 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25388         [BZ #16539]
25389         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25390         return the argument for normal arguments with exponent below -64.
25391         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25392         Likewise.
25393         * math/auto-libm-test-in: Add another test of expm1.
25394         * math/auto-libm-test-out: Regenerated.
25396         [BZ #16287]
25397         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25398         calling __erfcl for arguments at least 16.
25399         * math/auto-libm-test-in: Add more tests of erf.
25400         * math/auto-libm-test-out: Regenerated.
25402         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25403         individual architectures.
25404         * sysdeps/unix/sysv/linux/configure: Regenerated.
25405         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25406         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25407         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25408         (ldd_rewrite_script): Define variable.
25409         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25411         file.
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25413         generated file.
25414         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25415         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25416         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25417         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25418         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25419         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25420         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25421         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25423 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25425         [BZ #17084]
25426         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25427         Rename member __data.d to __data.__elision_data.
25429 2014-06-24  Wilco  <wdijkstr@arm.com>
25431         * NEWS: Add 16918 to fixed bug list.
25433 2014-06-24  Wilco  <wdijkstr@arm.com>
25435         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25437 2014-06-24  Wilco  <wdijkstr@arm.com>
25439         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25440         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25441         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25442         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25443         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25444         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25445         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25446         Use _FPU_MASK_RM.
25448 2014-06-24  Wilco  <wdijkstr@arm.com>
25450         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25452 2014-06-24  Wilco  <wdijkstr@arm.com>
25454         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25455         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25456         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25457         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25459 2014-06-24  Wilco  <wdijkstr@arm.com>
25461         [BZ #16918]
25462         * sysdeps/arm/feupdateenv.c (feupdateenv):
25463         Rewrite to reduce FPSCR accesses and fix return value.
25465 2014-06-24  Wilco  <wdijkstr@arm.com>
25467         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25468         Optimize to avoid unnecessary FPSCR writes.
25469         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25470         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25471         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25472         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25474 2014-06-24  Wilco  <wdijkstr@arm.com>
25476         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25477         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25478         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25479         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25480         Call libc_fetestexcept_vfp.
25481         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25482         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25483         __SOFTFP__ ifdef so that they can be built for softfp.
25485 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25487         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25488         argument type signed char.
25490         * Makerules (check-abi): Dump diff of symlist if the test
25491         fails.
25493 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25495         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25496         using abort.
25498         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25499         Remove unused variable ST.
25501 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25503         [BZ #16354]
25504         [BZ #17061]
25505         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25506         small arguments before calling __expm1.
25507         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25508         small arguments before calling __expm1f.
25509         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25510         small arguments before calling __expm1l.
25511         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25512         Likewise.
25513         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25514         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25515         spurious underflow for some cosh tests.
25516         * math/auto-libm-test-out: Regenerated.
25517         * sysdeps/i386/fpu/libm-test-ulps: Update.
25519         [BZ #17050]
25520         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25521         (__ieee754_y1): Set errno if return value overflows.
25522         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25523         (__ieee754_y1f): Set errno if return value overflows.
25524         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25525         (__ieee754_y1l): Set errno if return value overflows.
25526         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25527         (__ieee754_y1l): Set errno if return value overflows.
25528         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25529         * math/auto-libm-test-out: Regenerated.
25531         * math/gen-auto-libm-tests.c: Document use of
25532         ignore-zero-inf-sign.
25533         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25534         (input_flags): Add ignore-zero-inf-sign.
25535         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25536         * math/gen-libm-test.pl (generate_testfile): Handle
25537         ignore-zero-inf-sign.
25538         * math/auto-libm-test-in: Mark some cpow tests with
25539         ignore-zero-inf-sign and some with xfail-rounding.
25540         * math/auto-libm-test-out: Regenerated.
25541         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25542         * sysdeps/i386/fpu/libm-test-ulps: Update.
25543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545         [BZ #16315]
25546         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25547         overflowing or underflowing operations take place with sign of
25548         result.
25549         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25550         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25551         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25552         (__ieee754_pow): Recompute overflowing and underflowing results in
25553         original rounding mode.
25554         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25555         (__powl_helper): Allow negative argument X and scale negated value
25556         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25557         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25558         overflowing or underflowing operations take place with sign of
25559         result.
25560         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25561         Include <math.h>.
25562         * math/auto-libm-test-in: Add more tests of pow.
25563         * math/auto-libm-test-out: Regenerated.
25564         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25565         (pow_tonearest_test_data): Remove.
25566         (pow_test_tonearest): Likewise.
25567         (pow_towardzero_test_data): Likewise.
25568         (pow_test_towardzero): Likewise.
25569         (pow_downward_test_data): Likewise.
25570         (pow_test_downward): Likewise.
25571         (pow_upward_test_data): Likewise.
25572         (pow_test_upward): Likewise.
25573         (main): Don't call removed functions.
25574         * sysdeps/i386/fpu/libm-test-ulps: Update.
25575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25580         Moved ...
25581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25583         Moved ...
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25586         Moved ...
25587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25589         Moved ...
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25592         File removed.
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25594         File removed.
25595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25596         File removed.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25598         File removed.
25599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25600         File removed.
25601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25602         File removed.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25604         File removed.
25605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25606         File removed.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25608         File removed.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25610         File removed.
25611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25612         File removed.
25613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25614         File removed.
25615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25616         Moved ...
25617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25619         Moved ...
25620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25621         ... here.
25622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25623         Moved ...
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25626         Moved ...
25627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25629         Moved ...
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25632         Moved ...
25633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25635         Moved ...
25636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25638         Moved ...
25639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25641         Moved ...
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25645         ... here.
25646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25647         Moved ...
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25650         Moved ...
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25652         ... here.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25654         Moved ...
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25656         ... here.
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25658         Moved ...
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25660         ... here.
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25662         Moved ...
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25665         Moved ...
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25670         Moved ...
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25672         ... here.
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25674         Moved ...
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25676         ... here.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25678         Moved ...
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25681         Moved ...
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25684         Moved ...
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25687         Moved ...
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25690         Moved ...
25691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25692         ... here.
25693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25694         Moved ...
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25697         Moved ...
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25700         Moved ...
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25703         Moved ...
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25708         Moved ...
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25711         Moved ...
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25714         Moved ...
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25716         ... here.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25718         Moved ...
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25720         ... here.
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25722         Moved ...
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25724         ... here.
25725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25726         Moved ...
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25729         Moved ...
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25732         Moved ...
25733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25735         Moved ...
25736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25737         ... here.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25739         Moved ...
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25741         ... here.
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25743         Moved ...
25744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25745         ... here.
25746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25747         Moved ...
25748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25750         Moved ...
25751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25753 2014-06-23  Will Newton  <will.newton@linaro.org>
25754             Wilco  <wdijkstr@arm.com>
25756         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25757         implementation.  Include get-rounding-mode.h.
25758         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25759         [!libc_feholdsetround_noex_ctx]: Define
25760         libc_feholdsetround_noex_ctx.
25761         [!libc_feholdsetround_noexf_ctx]: Define
25762         libc_feholdsetround_noexf_ctx.
25763         [!libc_feholdsetround_noexl_ctx]: Define
25764         libc_feholdsetround_noexl_ctx.
25765         (libc_feholdsetround_ctx): New function.
25766         (libc_feresetround_ctx): New function.
25767         (libc_feholdsetround_noex_ctx): New function.
25768         (libc_feresetround_noex_ctx): New function.
25770 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25772         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25773         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25774         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25775         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25776         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25777         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25779         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25780         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25781         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25782         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25783         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25784         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25786         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25788         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25789         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25790         Moved ...
25791         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25792         ... here.
25793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25794         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25796         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25798         Moved ...
25799         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25801         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25803         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25805         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25806         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25807         Moved ...
25808         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25810         Moved ...
25811         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25813         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25814         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25815         Moved ...
25816         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25818         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25819         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25820         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25821         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25822         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25824         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25826         Moved ...
25827         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25828         ... here.
25829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25830         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25832         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25833         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25834         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25835         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25836         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25837         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25840         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25842         Moved ...
25843         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25845         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25847         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25849         Moved ...
25850         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25852         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25853         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25854         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25856         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25857         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25858         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25859         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25860         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25867         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25868         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25869         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25870         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25871         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25873         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25877         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25878         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25879         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25880         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25881         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25882         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25883         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25885 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25888         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25889         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25890         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25891         (IPV6_PMTUDISC_INTERFACE): Likewise.
25892         (IPV6_PMTUDISC_OMIT): Likewise.
25894 2014-06-23  Andreas Schwab  <schwab@suse.de>
25896         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25897         Remove unused errout label.
25899 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25901         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25902         macro: hardware supports Vector Crypto instructions.
25904 2014-06-23  Will Newton  <will.newton@linaro.org>
25906         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25907         rather than __builtin_expect.
25909         * elf/dl-lookup.c (undefined_msg): Remove variable.
25910         (_dl_lookup_symbol_x): Replace undefined_msg with string
25911         literal.
25913         * elf/dl-lookup.c (do_lookup_unique): New function.
25914         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25915         to a separate function.
25917 2014-06-23  Andreas Schwab  <schwab@suse.de>
25919         [BZ #17079]
25920         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25921         before reading the next line.
25923 2014-06-23  Will Newton  <will.newton@linaro.org>
25925         * test-skeleton.c (signal_handler): Use printf and %m
25926         rather than perror.  Use printf rather than fprintf to
25927         stderr.  Use puts rather than fputs to stderr.
25928         (main): Likewise.
25930 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25932         * nscd/nscd.c (thread_info_t): Remove typedef.
25933         (thread_info): Remove variable.
25935 2014-06-21  Allan McRae  <allan@archlinux.org>
25937         * NEWS: Mention CVE-2014-4043.
25939 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25941         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25942         * nptl/smp.h: ... here.
25944         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25946         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25947         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25948         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25949         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25951         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25952         * nptl/stack-aliasing.h: New file.
25953         * sysdeps/i386/i686/stack-aliasing.h: New file.
25954         * sysdeps/i386/i686/nptl/Makefile: File removed.
25955         * sysdeps/x86_64/stack-aliasing.h: New file.
25956         * sysdeps/x86_64/nptl/Makefile
25957         (CFLAGS-pthread_create.c): Variable removed.
25959         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25960         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25961         old file.
25962         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25963         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25964         old file.
25966 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25968         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25969         (__ASSUME_SIGFRAME_V2): Remove macro.
25970         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25971         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25972         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25973         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25974         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25975         Declare as function.  Remove conditional macro definitions.
25976         (__default_rt_sa_restorer): Likewise.
25977         (__default_sa_restorer_v1): Remove declaration.
25978         (__default_sa_restorer_v2): Likewise.
25979         (__default_rt_sa_restorer_v1): Likewise.
25980         (__default_rt_sa_restorer_v2): Likewise.
25981         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25982         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25983         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25985 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25987         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25988         (libpthread-routines): Add sysdep.
25989         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25990         * sysdeps/unix/sysv/linux/sparc/Versions
25991         (libpthread: GLIBC_2.3.3): New version set.
25992         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25993         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25994         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25995         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25996         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25997         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25998         Moved ...
25999         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26000         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26001         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26002         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26003         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26004         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26005         * sysdeps/sparc/nptl/sem_init.c: ... here.
26006         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26007         * sysdeps/sparc/nptl/sem_post.c: ... here.
26008         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26009         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26010         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26011         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26012         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26013         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26014         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26015         (libpthread-routines): Add cpu_relax.
26016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26017         File removed.
26018         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26019         (librt: GLIBC_2.3.3): New version set.
26020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26021         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26022         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26023         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26026         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26028         Moved ...
26029         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26031         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26033         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26035         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26037         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26039         Moved ...
26040         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26041         Update #include.
26042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26043         Moved ...
26044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26045         Update #include.
26046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26047         Moved ...
26048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26049         Update #include.
26050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26051         Moved ...
26052         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26053         Update #include.
26054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26055         Moved ...
26056         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26057         Update #include.
26058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26059         Moved ...
26060         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26061         Update #include.
26062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26063         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26069         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26071         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26073         Moved ...
26074         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26076         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26078         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26080 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26082         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26083         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26084         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26085         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26086         * nscd/nscd.c: Likewise.
26087         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26088         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26089         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26090         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26092         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26093         <kernel-features.h>.
26094         (init_mq_netlink): Remove conditional have_sock_cloexec
26095         definitions.  Remove code conditional on have_sock_cloexec < 0.
26096         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26097         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26098         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26099         <kernel-features.h>.
26100         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26101         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26103 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26106         Add tests for memset_chk and memset.
26108         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26109         with AVX2_Usable.
26111 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26113         [BZ #16046]
26114         * elf/tst-dl-iter-static.c: New file.
26115         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26117         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26118         error.
26120 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26122         * sysdeps/unix/sysv/linux/kernel-features.h
26123         (__ASSUME_F_GETOWN_EX): Remove macro.
26124         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26125         <kernel-features.h>.
26126         (miss_F_GETOWN_EX): Remove variable or macro.
26127         (do_fcntl): Do not check miss_F_GETOWN_EX.
26128         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26130         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26131         Remove macro.
26132         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26133         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26134         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26136         * sysdeps/unix/sysv/linux/kernel-features.h
26137         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26138         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26139         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26140         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26142 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26144         [BZ #17075]
26145         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26146         Fix calculation of the symbol's value.
26147         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26148         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26149         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26150         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26151         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26152         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26153         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26154         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26155         (modules-names): Add `tst-armtlsdescmod',
26156         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26157         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26158         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26159         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26160         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26161         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26162         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26163         ($(objpfx)tst-armtlsdescloc): New dependency.
26164         ($(objpfx)tst-armtlsdescextnow): Likewise.
26165         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26166         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26167         TLS scheme support.
26168         * sysdeps/arm/configure: Regenerate.
26170 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26172         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26173         (__atfct_seterrno_2): Likewise.
26174         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26175         <kernel-features.h>.
26176         (__ASSUME_ATFCTS): Do not undefine and redefine.
26177         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26178         (__have_atfcts): Remove conditional definition.
26179         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26180         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26181         unreachable if [__ASSUME_ATFCTS].
26182         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26183         not undefine and redefine.
26184         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26185         <kernel-features.h>.
26186         (faccessat) [__NR_faccessat]: Make code unconditional.
26187         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26188         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26189         <kernel-features.h>.
26190         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26191         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26192         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26193         <kernel-features.h>.
26194         (fchownat) [__NR_fchownat]: Make code unconditional.
26195         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26196         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26197         <kernel-features.h>.
26198         (futimesat) [__NR_futimesat]: Make code unconditional.
26199         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26200         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26201         <kernel-features.h>.
26202         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26203         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26204         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26205         <kernel-features.h>.
26206         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26207         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26208         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26209         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26210         <kernel-features.h>.
26211         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26212         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26213         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26214         <kernel-features.h>.
26215         (linkat) [__NR_linkat]: Make code unconditional.
26216         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26217         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26218         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26219         <kernel-features.h>.
26220         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26221         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26222         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26223         <kernel-features.h>.
26224         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26225         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26226         * sysdeps/unix/sysv/linux/openat.c: Do not include
26227         <kernel-features.h>.
26228         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26229         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26230         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26231         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26232         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26233         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26234         <kernel-features.h>.
26235         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26236         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26237         result of INLINE_SYSCALL directly, not via int variable.
26238         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26239         <kernel-features.h>.
26240         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26241         (renameat) [__NR_renameat]: Make code unconditional.
26242         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26243         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26244         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26245         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26246         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26247         (__ASSUME_ATFCTS): Do not undefine and redefine.
26248         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26249         <kernel-features.h>.
26250         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26251         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26252         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26253         <kernel-features.h>.
26254         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26255         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26256         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26257         (__ASSUME_ATFCTS): Do not undefine and redefine.
26258         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26259         <kernel-features.h>.
26260         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26261         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26262         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26263         <kernel-features.h>.
26264         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26265         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26267 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26269         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26271 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26273         [BZ #17069]
26274         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26275         constructed tree before returning error.
26276         * posix/bug-regexp36.c: Expand test case.
26278 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26280         [BZ #6803]
26281         * math/libm-test.inc (scalbln_test_date):
26282         Add errno expectations.
26283         * math/w_scalblnf.c: New File.
26284         Add wrapper which checks for setting errno to ERANGE.
26285         Add weak_alias for corresponding scalbln function.
26286         * math/w_scalbln.c: Likewise.
26287         * math/w_scalblnl.c: Likewise.
26288         * math/Makefile (libm-calls): Add w_scalbln.
26289         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26290         Remove weak_alias for corresponding scalbln function.
26291         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26294         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26295         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26296         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26297         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26298         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26299         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26300         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26301         Remove long_double_symbol for scalblnl function in libm, libc.
26302         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26303         Add wrapper which checks for setting errno to ERANGE.
26304         Add long_double_symbol for scalblnl function in libm, libc.
26305         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26306         Remove long_double_symbol for scalblnl in libm.
26307         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26308         Add wrapper which checks for setting errno to ERANGE.
26309         Add long_double_symbol for scalblnl function in libm.
26310         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26311         Do not use wrapper because of own implementation.
26313 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26315         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26316         3 bytes for __pad1 for x32.
26317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26319 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26320             H.J. Lu  <hongjiu.lu@intel.com>
26322         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26323         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26324         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26325         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26326         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26328 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26330         [BZ #17069]
26331         * posix/regcomp.c (parse_expression): Deallocate partially
26332         constructed tree before returning error.
26333         * posix/Makefile.c (tests): Add bug-regex36.
26334         (generated): Add bug-regex36.mtrace.
26335         (tests-special): Add $(objpfx)bug-regex36-mem.out
26336         (bug-regex36-ENV): New variable.
26337         ($(objpfx)bug-regex36-mem.out): New rule.
26338         * posix/bug-regex36.c: New file.
26340 2014-06-19  Will Newton  <will.newton@linaro.org>
26342         * malloc/malloc.c (systrim): If extra is zero then return
26343         early.
26345 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26347         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26349 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26351         * sysdeps/aarch64/strchr.S: New file.
26353 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #17022]
26356         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26357         from arguments -2 or below.
26358         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26359         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26361 2014-06-18  Andreas Schwab  <schwab@suse.de>
26363         [BZ #17062]
26364         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26365         of a bracket expr not to run off the end of the string.
26366         * posix/Makefile (tests): Add tst-fnmatch3.
26367         * posix/tst-fnmatch3.c: New file.
26369 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26371         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26372         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26373         [$(cross-compiling) = no]: Likewise.
26374         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26375         [$(cross-compiling) = no]: Likewise.
26377 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26379         [BZ #17031]
26380         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26381         double, adjusted for any remainder from the high double.
26382         * math/libm-test.inc (nearbyint): Add tests.
26383         (rint): Likewise.
26385 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26387         * nptl/sysdeps/powerpc/Makefile: Moved ...
26388         * sysdeps/powerpc/nptl/Makefile: ... here.
26389         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26390         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26391         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26392         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26393         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26394         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26395         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26396         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26397         * nptl/sysdeps/powerpc/tls.h: Moved ...
26398         * sysdeps/powerpc/nptl/tls.h: ... here.
26400 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26402         [BZ #16681]
26403         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26404         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26405         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26406         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26407         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26408         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26409         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26410         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26411         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26413 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26415         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26417 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26419         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26420         defined operator.
26422         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26423         $TIMEOUTFACTOR.
26425 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26427         [BZ #17058]
26428         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26429         non-executed part of the test.
26431 2014-06-16  Andreas Schwab  <schwab@suse.de>
26433         * string/bits/string2.h (strdup, strndup): Update feature guard.
26435 2014-06-14  David S. Miller  <davem@davemloft.net>
26437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26439 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26441         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26442         that was previously under [RESET_PID].
26443         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26445         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26446         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26447         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26448         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26449         (__libc_vfork): New strong alias.
26450         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26452 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26454         * sysdeps/generic/elide.h: New file.
26456 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26458         * Makefile (installed-headers): Adjust path of pthread.h header.
26460 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26462         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26463         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26464         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26465         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26467         * nptl/sysdeps/s390/Makefile: Moved ...
26468         * sysdeps/s390/nptl/Makefile: ... here.
26469         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26470         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26471         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26472         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26473         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26474         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26475         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26476         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26477         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26478         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26479         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26480         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26481         * nptl/sysdeps/s390/tls.h: Moved ...
26482         * sysdeps/s390/nptl/tls.h: ... here.
26484         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26485         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26487 2014-06-13  David S. Miller  <davem@davemloft.net>
26489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26492         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26497         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26498         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26499         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26500         Remove RESET_PID cpp guards.
26501         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26502         Remove RESET_PID cpp guards.
26503         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26505 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26507         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26508         __sp to uintptr_t.
26510 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26513         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26516         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26519         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26524         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26527         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26528         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26533         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26534         (pthread_rwlock_rdlock): Add elision.
26535         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26536         (pthread_rwlock_wrlock): Add elision.
26537         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26538         (pthread_rwlock_trywrlock): Add elision.
26539         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26540         (pthread_rwlock_tryrdlock): Add elision.
26541         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26542         (pthread_rwlock_tryrdlock): Add elision unlock.
26543         * nptl/sysdeps/pthread/pthread.h:
26544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26545         (PTHREAD_RWLOCK_INITIALIZER,
26546         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26547         Handle new elision field.
26548         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26549         * sysdeps/arm/nptl/bits/pthreadtypes.h
26550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26551         * sysdeps/sh/nptl/bits/pthreadtypes.h
26552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26553         * sysdeps/tile/nptl/bits/pthreadtypes.h
26554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26555         * sysdeps/a/nptl/bits/pthreadtypes.h
26556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26557         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26559         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26561         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26562         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26563         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26565         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26566         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26567         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26568         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26569         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26571         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26573         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26574         (elision_init): Set try_xbegin to zero when no RTM.
26575         * sysdeps/x86/nptl/bits/pthreadtypes.h
26576         (pthread_rwlock_t): Change __pad1 to __rwelision.
26577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26579 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26581         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26582         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26583         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26584         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26586 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26588         [BZ #16996]
26589         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26590         that the cached result has been set before returning it.
26592 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26594         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26595         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26596         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26597         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26598         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26599         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26601         * nptl/sysdeps/sparc/Makefile: Moved ...
26602         * sysdeps/sparc/nptl/Makefile: ... here.
26603         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26604         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26605         * nptl/sysdeps/sparc/tls.h: Moved ...
26606         * sysdeps/sparc/nptl/tls.h: ... here.
26607         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26608         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26609         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26610         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26611         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26612         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26613         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26614         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26615         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26616         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26617         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26618         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26619         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26620         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26621         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26622         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26623         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26625         Update #include.
26626         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26628         Update #include.
26629         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26631         Update #include.
26632         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26634         Update #include.
26636         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26638         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26639         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26641         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26642         (struct list_links): Type removed.
26643         (struct thread_node, struct timer_node): Replace struct list_links
26644         with struct list_head.
26645         (list_unlink_ip): Likewise.
26646         * sysdeps/pthread/timer_routines.c
26647         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26648         (list_append, list_insbefore): Likewise.
26649         (list_init): Function removed.
26650         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26651         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26652         * sysdeps/pthread/Makefile: ... here, new file.
26654         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26655         * sysdeps/nptl/Implies: ... here.
26656         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26657         * nptl/sysdeps/pthread/list.h: Moved ...
26658         * include/list.h: ... here.
26659         * nptl/sysdeps/pthread/createthread.c: Moved ...
26660         * nptl/createthread.c: ... here.
26661         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26662         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26663         * nptl/pt-longjmp.c: ... here.
26664         * nptl/sysdeps/pthread/Makefile: Moved ...
26665         * sysdeps/nptl/Makefile: ... here.
26666         * nptl/sysdeps/pthread/Subdirs: Moved ...
26667         * sysdeps/nptl/Subdirs: ... here.
26668         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26669         * sysdeps/nptl/aio_misc.h: ... here.
26670         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26671         * sysdeps/nptl/bits/libc-lock.h: ... here.
26672         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26673         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26674         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26675         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26676         * nptl/sysdeps/pthread/configure: Moved ...
26677         * sysdeps/nptl/configure: ... here.
26678         * nptl/sysdeps/pthread/configure.ac: Moved ...
26679         * sysdeps/nptl/configure.ac: ... here.
26680         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26681         * sysdeps/nptl/gai_misc.h: ... here.
26682         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26683         * sysdeps/nptl/librt-cancellation.c: ... here.
26684         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26685         * sysdeps/nptl/malloc-machine.h: ... here.
26686         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26687         * sysdeps/nptl/pthread-functions.h: ... here.
26688         * nptl/sysdeps/pthread/pthread.h: Moved ...
26689         * sysdeps/nptl/pthread.h: ... here.
26690         * nptl/sysdeps/pthread/setxid.h: Moved ...
26691         * sysdeps/nptl/setxid.h: ... here.
26692         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26693         * sysdeps/nptl/sigfillset.c: ... here.
26694         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26695         * sysdeps/nptl/tcb-offsets.h: ... here.
26696         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26697         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26698         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26699         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26700         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26701         * sysdeps/pthread/allocalim.h: ... here.
26702         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26703         * sysdeps/pthread/bits/sigthread.h: ... here.
26704         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26705         * sysdeps/pthread/flockfile.c: ... here.
26706         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26707         * sysdeps/pthread/ftrylockfile.c: ... here.
26708         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26709         * sysdeps/pthread/funlockfile.c: ... here.
26710         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26711         * sysdeps/pthread/posix-timer.h: ... here.
26712         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26713         * sysdeps/pthread/timer_create.c: ... here.
26714         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26715         * sysdeps/pthread/timer_delete.c: ... here.
26716         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26717         * sysdeps/pthread/timer_getoverr.c: ... here.
26718         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26719         * sysdeps/pthread/timer_gettime.c: ... here.
26720         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26721         * sysdeps/pthread/timer_routines.c: ... here.
26722         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26723         * sysdeps/pthread/timer_settime.c: ... here.
26724         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26725         * sysdeps/pthread/tst-timer.c: ... here.
26726         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26727         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26729         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26730         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26732         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26733         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26734         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26735         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26736         Update #include target.
26737         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26738         * sysdeps/i386/i686/nptl/Makefile: ... here.
26739         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26740         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26741         Update #include target.
26742         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26743         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26744         * nptl/sysdeps/i386/Makefile: Moved ...
26745         * sysdeps/i386/nptl/Makefile: ... here.
26746         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26747         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26748         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26749         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26750         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26751         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26752         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26753         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26754         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26755         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26756         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26757         * nptl/sysdeps/i386/tls.h: Moved ...
26758         * sysdeps/i386/nptl/tls.h: ... here.
26760         * sysdeps/sh/Makefile [$(subdir) = csu]
26761         (gen-as-const-headers): Add tcb-offsets.sym.
26762         * nptl/sysdeps/sh/Makefile: File removed.
26763         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26764         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26765         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26766         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26767         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26768         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26769         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26770         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26771         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26772         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26773         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26774         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26775         * nptl/sysdeps/sh/tls.h: Moved ...
26776         * sysdeps/sh/nptl/tls.h: ... here.
26777         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26778         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26779         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26780         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26781         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26782         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26783         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26784         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26785         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26786         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26788         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26790         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26792         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26793         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26794         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26796         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26798         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26799         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26802         Moved ...
26803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26805         Moved ...
26806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26808         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26810         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26812         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26814         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26816         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26818         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26820         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26821         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26822         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26824         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26826 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26828         * posix/spawn_faction_addopen.c: Include string.h.
26830 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26832         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26833         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26834         * nptl/sysdeps/x86_64/Makefile: Moved ...
26835         * sysdeps/x86_64/nptl/Makefile: ... here.
26836         * nptl/sysdeps/x86_64/configure: Moved ...
26837         * sysdeps/x86_64/nptl/configure: ... here.
26838         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26839         * sysdeps/x86_64/nptl/configure.ac: ... here.
26840         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26841         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26842         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26843         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26844         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26845         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26846         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26847         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26848         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26849         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26850         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26851         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26852         * nptl/sysdeps/x86_64/tls.h: Moved ...
26853         * sysdeps/x86_64/nptl/tls.h: ... here.
26854         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26855         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26856         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26857         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26859         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26861 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26865 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26867         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26868         type.
26869         [POSIX] (off_t): Likewise.
26870         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26871         [POSIX] (S_ISBLK): Require macro.
26872         [POSIX] (S_ISCHR): Likewise.
26873         [POSIX] (S_ISDIR): Likewise.
26874         [POSIX] (S_ISFIFO): Likewise.
26875         [POSIX] (S_ISREG): Likewise.
26876         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26877         optional-macro.
26878         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26879         type.
26880         [POSIX] (time_t): Likewise.
26881         [POSIX] (timer_t): Likewise.
26883 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26885         [BZ #17048]
26886         * posix/spawn_int.h (struct __spawn_action): Make the path string
26887         non-const to support deallocation.
26888         * posix/spawn_faction_addopen.c
26889         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26890         * posix/spawn_faction_destroy.c
26891         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26892         path in all spawn_do_open actions.
26893         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26894         posix_spawn_file_actions_addopen.
26896 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26898         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26899         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26900         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26901         conditional code always true.
26902         (__libc_vfork): New alias.
26904 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26906         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26907         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26909         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26911         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26912         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26914         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26915         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26917         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26918         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26920 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26922         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26923         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26924         multiarch strcmp for PPC64.
26925         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26926         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26928         multiarch optimizations.
26929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26930         (__libc_ifunc_impl_list): Likewise.
26932 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26934         * benchtests/scripts/validate_benchout.py: New script.
26935         * benchtests/Makefile (bench-func): Call it.
26936         * benchtests/scripts/benchout.schema.json: New file.
26938 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26940         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26941         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26942         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26943         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26944         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26945         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26946         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26947         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26948         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26949         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26950         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26951         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26952         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26953         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26954         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26955         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26957         Moved ...
26958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26959         ... here.
26960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26961         Moved ...
26962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26964         Moved ...
26965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26966         ... here.
26967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26968         Moved ...
26969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26970         ... here.
26971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26972         Moved ...
26973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26975         Moved ...
26976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26977         ... here.
26978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26979         Moved ...
26980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26981         ... here.
26982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26983         Moved ...
26984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26986         Moved ...
26987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26988         ... here.
26989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26990         Moved ...
26991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26992         ... here.
26993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26994         Moved ...
26995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26996         ... here.
26997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26998         Moved ...
26999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27001         Moved ...
27002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27003         ... here.
27004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27005         Moved ...
27006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27007         ... here.
27008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27009         Moved ...
27010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27011         ... here.
27012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27013         Moved ...
27014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27016         Moved ...
27017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27018         ... here.
27019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27020         Moved ...
27021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27022         ... here.
27023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27024         Moved ...
27025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27027         Moved ...
27028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27029         ... here.
27030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27031         Moved ...
27032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27034         Moved ...
27035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27037         Moved ...
27038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27039         ... here.
27040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27041         Moved ...
27042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27043         ... here.
27044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27045         Moved ...
27046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27047         ... here.
27048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27049         Moved ...
27050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27052         Moved ...
27053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27054         ... here.
27055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27056         Moved ...
27057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27058         ... here.
27059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27060         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27062         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27064         Moved ...
27065         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27066         ... here.
27067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27068         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27070         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27072         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27074         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27076         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27078         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27079         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27080         Moved ...
27081         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27083         Moved ...
27084         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27086         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27088         Moved ...
27089         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27091         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27092         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27093         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27094         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27095         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27097 2014-06-10  Wilco  <wdijkstr@arm.com>
27099         * math/test-fenv-return.c: New file.
27100         * math/Makefile: Add new test test-fenv-return.
27102 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27104         [BZ #17042]
27105         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27106         when x - 1 is zero.
27107         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27108         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27109         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27110         0.0L for an argument of 1.0L.
27111         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27112         Likewise.
27113         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27114         value when x - 1 is zero.
27115         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27116         * sysdeps/i386/fpu/libm-test-ulps: Update.
27117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27119 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27121         [BZ #15119]
27122         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27124 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27126         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27127         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27129 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27131         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27132         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27134         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27135         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27137         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27138         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27140         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27141         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27143         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27144         if not already defined.
27145         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27146         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27147         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27148         (TLS_INIT_TP): Use it.
27149         (TLS_DEFINE_INIT_TP): New macro.
27150         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27152 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27154         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27155         constant.
27156         [POSIX] (IXANY): Likewise.
27157         [POSIX] (OLCUC): Likewise.
27158         [POSIX || POSIX2008] (CBAUD): Do not allow.
27159         [POSIX || POSIX2008] (DEFECHO): Likewise.
27160         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27161         [POSIX || POSIX2008] (ECHOKE): Likewise.
27162         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27163         [POSIX || POSIX2008] (EXTA): Likewise.
27164         [POSIX || POSIX2008] (EXTB): Likewise.
27165         [POSIX || POSIX2008] (FLUSHO): Likewise.
27166         [POSIX || POSIX2008] (LOBLK): Likewise.
27167         [POSIX || POSIX2008] (PENDIN): Likewise.
27168         [POSIX || POSIX2008] (SWTCH): Likewise.
27169         [POSIX || POSIX2008] (VDISCARD): Likewise.
27170         [POSIX || POSIX2008] (VDSUSP): Likewise.
27171         [POSIX || POSIX2008] (VLNEXT): Likewise.
27172         [POSIX || POSIX2008] (VREPRINT): Likewise.
27173         [POSIX || POSIX2008] (VSTATUS): Likewise.
27174         [POSIX || POSIX2008] (VWERASE): Likewise.
27175         (B*): Change to B[0123456789]*.
27176         * conform/data/time.h-data [POSIX || UNIX98]
27177         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27178         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27179         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27180         [POSIX] (tm_*): Do not allow.
27182 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27184         * Makefile (install): Don't set LANGUAGE.
27185         * Makefile.in (install): Likewise.
27186         * assert/Makefile (test-assert-ENV): Remove variable.
27187         (test-assert-perr-ENV): Likewise.
27188         * elf/Makefile (neededtest4-ENV): Likewise.
27189         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27190         [$(cross-compiling) = no]: Don't set LANGUAGE.
27191         * io/ftwtest-sh (LANG): Remove variable.
27192         * libio/Makefile (tst-widetext-ENV): Likewise.
27193         * manual/install.texi (Running make install): Don't refer to
27194         environment settings for make install.
27195         * INSTALL: Regenerated.
27196         * nptl/tst-tls6.sh: Don't set LANG.
27197         * posix/globtest.sh (LANG): Remove variable.
27198         * string/Makefile (tester-ENV): Likewise.
27199         (inl-tester-ENV): Likewise.
27200         (noinl-tester-ENV): Likewise.
27201         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27202         [$(cross-compiling) = no]: Don't set LANGUAGE.
27203         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27204         without explicit environment settings.
27206 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27208         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27209         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27210         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27211         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27213 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27215         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27216         other files in the crypt directory.
27217         * crypt/crypt.c: Remove duplicate includes.
27218         * crypt/crypt-entry.c: Likewise.
27219         * crypt/crypt_util.c: Likewise.
27221 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27223         * Makeconfig (run-program-env): New variable.
27224         (run-program-prefix-before-env): Likewise.
27225         (run-program-prefix-after-env): Likewise.
27226         (run-program-prefix): Define in terms of new variables.
27227         (built-program-cmd-before-env): New variable.
27228         (built-program-cmd-after-env): Likewise.
27229         (built-program-cmd): Define in terms of new variables.
27230         (test-program-prefix-before-env): New variable.
27231         (test-program-prefix-after-env): Likewise.
27232         (test-program-prefix): Define in terms of new variables.
27233         (test-program-cmd-before-env): New variable.
27234         (test-program-cmd-after-env): Likewise.
27235         (test-program-cmd): Define in terms of new variables.
27236         * Rules (make-test-out): Use $(run-program-env).
27237         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27238         (help): Do not mention environment variables.  Mention
27239         --timeoutfactor option.
27240         (timeoutfactor): New variable.
27241         (blacklist_exports): Remove function.
27242         (exports): Remove variable.
27243         (command): Do not include ${exports}.
27244         * manual/install.texi (Configuring and compiling): Do not mention
27245         test wrappers preserving environment variables.  Mention that last
27246         assignment to a variable must take precedence.
27247         * INSTALL: Regenerated.
27248         * benchtests/Makefile (run-bench): Use $(run-program-env).
27249         * catgets/Makefile ($(objpfx)test1.cat): Use
27250         $(built-program-cmd-before-env), $(run-program-env) and
27251         $(built-program-cmd-after-env).
27252         ($(objpfx)test2.cat): Do not specify environment variables
27253         explicitly.
27254         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27255         $(run-program-env) and $(built-program-cmd-after-env).
27256         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27257         $(run-program-env) and $(test-program-cmd-after-env).
27258         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27259         explicitly.
27260         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27261         run_program_env and test_program_cmd_after_env arguments.
27262         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27263         * elf/tst-pathopt.sh: Use run_program_env argument.
27264         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27265         $(test-wrapper-env) and $(run-program-env).
27266         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27267         run_program_env arguments.
27268         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27269         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27270         $(test-program-prefix-before-env), $(run-program-env) and
27271         $(test-program-prefix-after-env).
27272         ($(objpfx)tst-gettext2.out): Likewise.
27273         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27274         run_program_env and test_program_prefix_after_env arguments.
27275         * intl/tst-gettext2.sh: Likewise.
27276         * intl/tst-gettext4.sh: Do not set environment variables
27277         explicitly.
27278         * intl/tst-gettext6.sh: Likewise.
27279         * intl/tst-translit.sh: Likewise.
27280         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27281         $(test-program-prefix-before-env), $(run-program-env) and
27282         $(test-program-prefix-after-env).
27283         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27284         run_program_env and test_program_prefix_after_env arguments.
27285         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27286         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27287         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27288         explicitly with each use of ${test_wrapper_env}.
27289         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27290         $(test-program-prefix-before-env), $(run-program-env) and
27291         $(test-program-prefix-after-env).
27292         * posix/tst-getconf.sh: Do not set environment variables
27293         explicitly.
27294         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27295         run_program_env and test_program_prefix_after_env arguments.
27296         * stdio-common/tst-printf.sh: Do not set environment variables
27297         explicitly.
27298         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27299         $(test-program-prefix-before-env), $(run-program-env) and
27300         $(test-program-prefix-after-env).
27301         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27302         run_program_env and test_program_prefix_after_env arguments.
27303         Split $test calls into $test_pre and $test.
27304         * timezone/Makefile (build-testdata): Use
27305         $(built-program-cmd-before-env), $(run-program-env) and
27306         $(built-program-cmd-after-env).
27308 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27310         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27311         strlen for non SHARED builds.
27313 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27315         * nptl/allocatestack.c (check_list): Inlined function...
27316         (__reclaim_stacks): ... here.
27318 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27320         [BZ #15698]
27321         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27322         memory overrun.
27324 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27326         * Rules (make-test-out): Include
27327         LOCPATH=$(common-objpfx)localedata in default environment.
27328         * debug/Makefile (tst-chk1-ENV): Remove variable.
27329         (tst-chk2-ENV): Likewise.
27330         (tst-chk3-ENV): Likewise.
27331         (tst-chk4-ENV): Likewise.
27332         (tst-chk5-ENV): Likewise.
27333         (tst-chk6-ENV): Likewise.
27334         (tst-lfschk1-ENV): Likewise.
27335         (tst-lfschk2-ENV): Likewise.
27336         (tst-lfschk3-ENV): Likewise.
27337         (tst-lfschk4-ENV): Likewise.
27338         (tst-lfschk5-ENV): Likewise.
27339         (tst-lfschk6-ENV): Likewise.
27340         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27341         (tst-iconv7-ENV): Likewise.
27342         * intl/Makefile (LOCPATH-ENV): Likewise.
27343         (tst-codeset-ENV): Likewise.
27344         (tst-gettext3-ENV): Likewise.
27345         (tst-gettext5-ENV): Likewise.
27346         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27347         (tst-fopenloc-ENV): Likewise.
27348         (tst-fgetws-ENV): Remove variable.
27349         (tst-ungetwc1-ENV): Likewise.
27350         (tst-ungetwc2-ENV): Likewise.
27351         (bug-ungetwc2-ENV): Likewise.
27352         (tst-swscanf-ENV): Likewise.
27353         (bug-ftell-ENV): Likewise.
27354         (tst-fgetwc-ENV): Likewise.
27355         (tst-fseek-ENV): Likewise.
27356         (tst-ftell-partial-wide-ENV): Likewise.
27357         (tst-ftell-active-handler-ENV): Likewise.
27358         (tst-ftell-append-ENV): Likewise.
27359         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27360         (tst-regexloc-ENV): Likewise.
27361         (bug-regex1-ENV): Likewise.
27362         (tst-regex-ENV): Likewise.
27363         (tst-regex2-ENV): Likewise.
27364         (bug-regex5-ENV): Likewise.
27365         (bug-regex6-ENV): Likewise.
27366         (bug-regex17-ENV): Likewise.
27367         (bug-regex18-ENV): Likewise.
27368         (bug-regex19-ENV): Likewise.
27369         (bug-regex20-ENV): Likewise.
27370         (bug-regex22-ENV): Likewise.
27371         (bug-regex23-ENV): Likewise.
27372         (bug-regex25-ENV): Likewise.
27373         (bug-regex26-ENV): Likewise.
27374         (bug-regex30-ENV): Likewise.
27375         (bug-regex32-ENV): Likewise.
27376         (bug-regex33-ENV): Likewise.
27377         (bug-regex34-ENV): Likewise.
27378         (bug-regex35-ENV): Likewise.
27379         (tst-rxspencer-ENV): Likewise.
27380         (tst-rxspencer-no-utf8-ENV): Likewise.
27381         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27382         (tst-sscanf-ENV): Likewise.
27383         (tst-swprintf-ENV): Likewise.
27384         (tst-swscanf-ENV): Likewise.
27385         (test-vfprintf-ENV): Likewise.
27386         (scanf13-ENV): Likewise.
27387         (bug14-ENV): Likewise.
27388         (tst-grouping-ENV): Likewise.
27389         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27390         (tst-strtod3-ENV): Likewise.
27391         (tst-strtod4-ENV): Likewise.
27392         (tst-strtod5-ENV): Likewise.
27393         (testmb2-ENV): Likewise./
27394         * string/Makefile (tst-strxfrm-ENV): Likewise.
27395         (tst-strxfrm2-ENV): Likewise.
27396         (bug-strcoll1-ENV): Likewise.
27397         (test-strcasecmp-ENV): Likewise.
27398         (test-strncasecmp-ENV): Likewise.
27399         * time/Makefile (tst-strptime-ENV): Likewise.
27400         (tst-ftime_l-ENV): Likewise.
27401         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27402         (tst-mbrtowc-ENV): Likewise.
27403         (tst-wcrtomb-ENV): Likewise.
27404         (tst-mbrtowc2-ENV): Likewise.
27405         (tst-c16c32-1-ENV): Likewise.
27406         (tst-mbsnrtowcs-ENV): Likewise.
27408 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27410         * manual/resource.texi (How to get information about the memory
27411         subsystem?): Fix typo.
27412         Reported by Peon de la Parra Ivan <peon@keba.com>
27414 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27416         [BZ #16882]
27417         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27418         (pthread_spin_lock): Branch out of spin loop to proper location.
27419         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27420         (pthread_spin_lock): Likewise.
27422         * nptl/tst-spin4.c: New test.
27423         * nptl/Makefile (tests): Add tst-spin4.
27425 2014-06-03  Andreas Schwab  <schwab@suse.de>
27427         [BZ #15946]
27428         * resolv/res_send.c (send_dg): Reload file descriptor after
27429         calling reopen.
27431 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27433         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27435 2014-06-03  Richard Henderson  <rth@redhat.com>
27437         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27438         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27439         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27440         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27441         in the SAVE_PID block.
27442         (__libc_vfork): New alias.
27443         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27445         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27446         child in registers, not on the stack.  Remove RESET_PID conditionals.
27447         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27449 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27451         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27453 2014-06-03  Wilco  <wdijkstr@arm.com>
27455         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27456         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27457         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27458         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27459         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27460         Likewise.
27462 2014-06-03  Wilco  <wdijkstr@arm.com>
27464         * sysdeps/aarch64/fpu/math_private.h
27465         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27466         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27467         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27468         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27469         Fix declarations.
27471 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27473         * crypt/crypt-private.h: Include ufc-crypt.h.
27474         (__b64_from_24bit): Declare extern.
27475         * crypt/crypt_util.c(__b64_from_24bit): New function.
27476         (b64t): New static const variable.
27477         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27478         (b64t): Remove variable.
27479         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27480         * crypt/sha256-crypt.c: Include crypt-private.h.
27481         (b64t): Remove variable.
27482         (__sha256_crypt_r): Remove b64_from_24bit and replace
27483         with __b64_from_24bit.
27484         * crypt/sha512-crypt.c: Likewise.
27486 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27488         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27489         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27490         Label the code __libc_vfork rather than __vfork.
27491         [!NOT_IN_libc] (vfork): Define as weak alias.
27492         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27493         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27494         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27496 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27498         * malloc/malloc.c (malloc_info): Fix format specifier for
27499         n_mmaps.
27501 2014-06-02  Wilco  <wdijkstr@arm.com>
27503         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27504         FPCR write.
27506 2014-06-02  Wilco  <wdijkstr@arm.com>
27508         [BZ #17009]
27509         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27510         Rewrite to reduce FPCR/FPSR accesses.
27512 2014-06-01  David S. Miller  <davem@davemloft.net>
27514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27516 2014-05-31  David S. Miller  <davem@davemloft.net>
27518         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27519         to occur in round to nearest mode when |x| >= 2.0
27521 2014-05-30  Richard Henderson  <rth@twiddle.net>
27523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27524         (PSEUDO_RET_NOERRNO): Remove.
27525         (ret): Don't redefine.
27526         (ret_NOERRNO): Define in terms of ret.
27527         (ret_ERRVAL): Likewise.
27529         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27530         use of PSEUDO_RET; perform the error check directly.
27532 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27534         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27535         with __int128_t.
27537 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27539         * malloc/malloc (malloc_info): Fix formatting.
27541 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542             Roland McGrath  <roland@hack.frob.com>
27544         * malloc/malloc (malloc_info): Also print mmapped statistics.
27546 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27548         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27549         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27551 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27553         * malloc/malloc.c (malloc_info): Inline mi_arena.
27555 2014-05-29  Richard Henderson  <rth@twiddle.net>
27557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27558         Remove comma before expanding ASM_ARGS_##nr.
27559         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27560         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27561         of ASM_ARGS_##nr.
27562         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27563         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27564         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27565         (ASM_ARGS_1): Add leading comma.
27567         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27568         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27569         to __errno_location.
27570         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27571         Remove the expected plt for __errno_location.
27573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27574         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27575         call to __read_tp.
27577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27578         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27579         it and break it down.
27580         (DOCARGS_0, DOCARGS_1): Do nothing.
27581         (DOCARGS_2): Update to store into the new stack frame.
27582         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27583         (UNDOCARGS_1): Update to restore from the new stack frame.
27584         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27585         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27588         (SINGLE_THREAD_P): New parameter for result regno.
27589         (PSEUDO): Update to match; use cbz instead of beq.
27591         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27592         Use ENTRY to define the _nocancel entry point.  Share the syscall
27593         and syscall error check paths with the cancel path.
27594         (PSEUDO_END): New.
27596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27597         whitespace; tabs before and after asm mnemonics.
27599 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27601         [BZ #15132]
27602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27603         Call fstat64 or stat64 internally, depending on arguments passed.
27604         Replace stat buffer argument with file descriptor argument.
27605         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27606         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27607         Pass fd to __internal_statvfs instead of calling fstat64.
27608         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27609         Pass fd to __internal_statvfs64 instead of calling fstat64.
27610         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27611         Pass -1 to __internal_statvfs instead of calling stat64.
27612         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27613         Pass -1 to __internal_statvfs64 instead of calling stat64.
27615 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27617         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27618         that was previously under [RESET_PID].
27619         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27621         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27622         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27624 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27626         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27628         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27629         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27631 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27633         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27635 2014-05-27  Andreas Schwab  <schwab@suse.de>
27637         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27638         TLS_INIT_TP macro.
27639         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27640         * elf/rtld.c (init_tls, dl_main): Likewise.
27641         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27642         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27643         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27644         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27645         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27646         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27647         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27648         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27649         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27650         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27651         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27652         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27653         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27654         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27655         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27656         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27657         * sysdeps/generic/tls.h: Update description.
27659 2014-05-27  Will Newton  <will.newton@linaro.org>
27661         [BZ #16990]
27662         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27663         and restore r2 rather than just restoring.
27665 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667         [BZ #16724]
27668         * libio/tst-ftell-append.c: New test case.
27669         * libio/Makefile (tests): Add test case.
27670         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27671         append mode.
27672         * libio/wfileops.c (do_ftell_wide): Likewise.
27674 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27678         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27679         ...
27680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27682         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27683         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27684         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27685         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27686         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27689         Moved ...
27690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27692         Moved ...
27693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27694         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27695         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27696         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27697         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27698         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27699         ...
27700         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27701         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27702         Moved ...
27703         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27704         here.
27705         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27706         ...
27707         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27708         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27709         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27711         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27712         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27714         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27717         merge into ...
27718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27720         ...
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27723         ...
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27726         Moved ...
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27728         here.
27729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27730         Moved ...
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27733         Moved ...
27734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27737         conditional [RESET_PID].
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27740         removed.
27741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27742         removed.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27745         <tcb-offsets.h>.
27746         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27747         (__libc_vfork): New strong alias.
27748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27749         removed.
27750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27751         Removed.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27754         <tcb-offsets.h>.
27755         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27756         (__libc_vfork): New strong alias.
27757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27758         removed.
27759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27760         removed.
27762 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27764         * malloc/malloc.c (mi_arena): New function.
27765         (malloc_info): Remove nested function mi_arena. Call non-nosted
27766         function mi_arena.
27768 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27770         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27771         by insrwi.
27772         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27773         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27774         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27775         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27776         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27777         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27778         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27780 2014-05-26  Andreas Schwab  <schwab@suse.de>
27782         [BZ #16984]
27783         * locale/programs/repertoire.c (repertoire_read): Add slash
27784         between I18NPATH element and file name.
27785         * locale/programs/locfile.c (locfile_read): Likewise.
27787 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27789         * nptl/pthread_mutexattr_settype.c
27790         (__pthread_mutexattr_settype):
27791         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27793 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27795         * nptl/tst-mutex5 (do_test):
27796         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27798 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27800         * benchtests/README: Document 'init' directive.
27801         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27802         BENCH_INIT.
27803         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27804         (parse_file): Recognize 'init' directive.
27806 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27808         [BZ #16796]
27809         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27810         alignment of struct pthread.
27812 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27814         [BZ #16878]
27815         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27816         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27817         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27818         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27820 2014-05-25  Richard Henderson  <rth@twiddle.net>
27822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27823         (SINGLE_THREAD_P_PIC): Remove.
27824         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27825         (SINGLE_THREAD_P_PIC): Remove.
27827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27828         branch to syscall error ...
27829         (PSEUDO): ... here.
27830         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27831         from __local_syscall_error to .Lsyscall_error.
27832         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27833         (SYSCALL_ERROR): Update label name.
27835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27836         Do not use DOARGS/UNDOARGS.
27837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27838         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27839         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27840         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27841         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27844         block comment.
27846         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27847         define if !NOT_IN_libc.
27848         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27849         define with non-default symbol versions.
27851 2014-05-23  Richard Henderson  <rth@twiddle.net>
27853         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27854         (vfork, __vfork): Define via compat_symbol.
27856         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27857         [!HAVE_IFUNC] (vfork_compat): Remove.
27858         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27860 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27862         [BZ #16978]
27863         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27864         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27865         variable.
27867 2014-05-23  Richard Henderson  <rth@twiddle.net>
27869         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27870         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27871         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27872         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27874         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27875         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27876         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27877         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27878         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27879         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27880         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27881         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27882         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27883         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27884         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27885         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27886         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27887         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27888         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27889         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27890         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27891         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27892         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27893         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27894         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27895         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27896         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27897         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27898         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27899         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27900         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27901         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27902         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27903         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27904         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27905         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27906         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27907         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27908         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27909         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27910         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27911         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27912         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27913         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27914         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27915         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27916         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27917         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27918         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27919         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27920         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27921         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27923         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27925         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27926         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27927         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27928         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27929         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27931         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27932         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27933         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27934         before exiting on error.
27935         (__libc_vfork): New strong alias.
27936         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27937         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27939         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27940         that was previously under [RESET_PID].
27941         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27943         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27945 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27947         [BZ #16977]
27948         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27949         value when x - 1 is zero.
27950         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27951         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27952         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27953         0.0L for an argument of 1.0L.
27954         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27955         Likewise.
27956         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27957         value when x - 1 is zero.
27958         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27959         * sysdeps/i386/fpu/libm-test-ulps: Update.
27960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27962 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27964         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27965         alphasort and versionsort.
27967 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27969         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27970         macro.
27971         [copysignf]: Likewise.
27973 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27975         * crypt/md5-crypt.c: Fix formatting.
27977 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27979         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27980         (b64_from_24bit): New function.
27982 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27985         libc_hidden_builtin_def to ifunc.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27987         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27989 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27991         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27992         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27994 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27996         * nscd/Depend (linuxthreads): Remove.
27997         (nptl): Add.
27998         * resolv/Depend (linuxthreads): Remove.
27999         * rt/Depend (linuxthreads): Remove.
28001         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28002         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28003         $(common-objpfx)elf/.
28004         (link-libc-before-gnulib): Likewise.
28005         (elfobjdir): Remove variable.
28006         * Makefile (install): Use $(elf-objpfx) instead of
28007         $(common-objpfx)elf/.
28008         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28009         $(elfobjdir)/.
28010         (link-libc-deps): Likewise.
28011         ($(common-objpfx)libc.so): Likewise.
28012         ($(common-objpfx)linkobj/libc.so): Likewise.
28013         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28014         instead of $(common-objpfx)elf/.
28015         (symbolic-link-list): Likewise.
28016         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28017         [$(cross-compiling) = no]: Likewise.
28018         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28019         $(elfobjdir)/.
28020         (static-gnulib-arch): Likewise.
28021         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28022         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28023         $(common-objpfx)elf/.
28025 2014-05-21  Richard Henderson  <rth@redhat.com>
28027         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28028         (SINGLE_THREAD_P): Use the correct width load.  Fold
28029         into the ldr offset.
28031         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28032         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28034 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28036         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28037         (libgcc_s_resume): Use __attribute_used__.
28038         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28039         Likewise.
28041 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28043         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28044         optimization when used with float constants.
28046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28048 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28050         [BZ #16915]
28051         * locale/nl_langinfo_l.c: Make direct reference to every
28052         _nl_current_CATEGORY symbol.
28053         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28054         (tests-static): Add tst-langinfo-static.
28055         (tests-special): Add tst-langinfo-static.out.
28056         ($(objpfx)tst-langinfo.out): Redirect output.
28057         ($(objpfx)tst-langinfo-static.out): New.
28058         * localedata/tst-langinfo.sh: Send output to stdout.
28059         * localedata/tst-langinfo-static.c: New file.
28061         [BZ #16965]
28062         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28063         when the shift amount is modulo the limb size.
28065 2014-05-20  Richard Henderson  <rth@redhat.com>
28067         [BZ #16967]
28068         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28069         Change type of sa_flags from unsigned int to int.
28071         [BZ #16966]
28072         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28074         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28076 2014-05-20  Will Newton  <will.newton@linaro.org>
28078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28079         Test the return value of the system call in the nocancel case.
28081 2014-05-20  Will Newton  <will.newton@linaro.org>
28082             Yvan Roux  <yvan.roux@linaro.org>
28084         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28085         #include of asm/ptrace.h.
28086         (PTRACE_GET_THREAD_AREA): Remove #undef.
28087         (PTRACE_GETHBPREGS): Likewise.
28088         (PTRACE_SETHBPREGS): Likewise.
28089         (struct user_regs_struct): New structure.
28090         (struct user_fpsimd_struct): New structure.
28091         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28092         #include of asm/ptrace.h and second #include of sys/user.h.
28093         (PTRACE_GET_THREAD_AREA): Remove #undef.
28094         (PTRACE_GETHBPREGS): Likewise.
28095         (PTRACE_SETHBPREGS): Likewise.
28096         (ELF_NGREG): Use new struct user_regs_struct.
28097         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28099 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28104 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28106         [BZ #16958]
28107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28108         membar to avoid block loads/stores to overlap previous stores.
28110 2014-05-17  Richard Henderson  <rth@redhat.com>
28112         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28113         Create the __##syscall_name##_nocancel entry point.
28114         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28115         Remove; let the sysdep-cancel.h code create it.
28117 2014-05-17  David S. Miller  <davem@davemloft.net>
28119         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28120         Protect with __USE_GNU.
28121         (TIOCSET_TEMPT): Likewise.
28122         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28123         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28124         these are already provided in bits/ioctl-types.h
28126 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28128         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28129         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28131         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28132         Use wait4 regardless of [__NR_waitpid].
28134 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28136         PR libgcc/60166
28137         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28138         (_FP_NANSIGN_Q): Set the quiet bit.
28140 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28142         * benchtests/Makefile
28143         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28144         not $(common-objpfx)math/libm.so.
28145         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28146         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28147         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28148         $(common-objpfx)dlfcn/libdl.so.
28149         ($(objpfx)tst-audit8): Depend on $(libm), not
28150         $(common-objpfx)math/libm.so.
28151         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28152         not $(common-objpfx)dlfcn/libdl.so.
28153         * math/Makefile
28154         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28155         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28156         [$(build-shared) = yes].
28157         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28158         $(common-objpfx)nptl/libpthread.so.
28159         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28160         $(common-objpfx)math/libm.so$(libm.so-version) or
28161         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28162         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28163         $(common-objpfx)dlfcn/libdl.so.
28164         * setjmp/Makefile (link-libm): Remove variable.
28165         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28166         * stdio-common/Makefile (link-libm): Remove variable.
28167         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28168         * stdlib/Makefile (link-libm): Remove variable.
28169         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28170         ($(objpfx)tst-strtod-round): Likewise.
28171         ($(objpfx)tst-tininess): Likewise.
28172         ($(objpfx)tst-strtod-underflow): Likewise.
28173         ($(objpfx)tst-strtod6): Likewise.
28174         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28175         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28176         $(common-objpfx)dlfcn/libdl.so.
28178 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28180         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28181         BSD terminal modes definitions.
28183 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28185         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28186         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28188         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28189         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28190         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28191         Don't do #include_next.
28192         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28193         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28194         Don't do #include_next.
28195         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28196         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28197         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28198         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28200 2014-05-16  Allan McRae  <allan@archlinux.org>
28202         * po/sv.po: Update Swedish translation from translation project.
28204         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28205         in sed expression.
28207 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28209         [BZ #16917]
28210         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28211         errno if the TIOCGPTN ioctl fails with an error different than
28212         EINVAL.
28213         * login/tst-ptsname.c: New file.
28214         * login/Makefile (tests): Add tst-ptsname.
28216         [BZ #16943]
28217         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28218         and prlimit64.
28220 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28222         [BZ #16849]
28223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28224         herrno to return EAI_AGAIN.
28226 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28228         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28229         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28230         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28231         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28232         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28233         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28234         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28235         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28237         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28238         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28239         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28240         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28241         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28243         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28244         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28245         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28246         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28247         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28248         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28249         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28250         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28251         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28252         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28253         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28254         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28255         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28256         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28257         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28259         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28261         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28263         Moved ...
28264         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28266         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28268         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28270         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28272         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28276         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28278         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28280         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28282         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28284         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28286         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28288         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28290         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28292         Moved ...
28293         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28295         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28297         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28299         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28301         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28305         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28307         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28309         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28311         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28313         Moved ...
28314         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28319         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28320         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28321         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28322         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28323         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28324         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28326         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28328         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28330         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28331         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28332         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28333         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28334         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28336         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28337         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28338         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28339         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28340         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28341         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28342         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28343         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28344         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28345         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28346         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28347         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28348         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28350         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28351         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28353         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28354         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28355         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28356         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28357         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28359         Moved ...
28360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28362         Moved ...
28363         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28365         Moved ...
28366         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28368         Moved ...
28369         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28370         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28371         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28372         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28373         Moved ...
28374         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28376         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28378         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28379         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28380         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28381         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28382         Moved ...
28383         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28385         Moved ...
28386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28387         ... here.
28388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28389         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28390         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28391         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28393         Moved ...
28394         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28395         ... here.
28396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28397         Moved ...
28398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28400         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28401         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28402         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28404         Moved ...
28405         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28407         Moved ...
28408         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28410         Moved ...
28411         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28413         Moved ...
28414         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28415         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28416         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28417         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28418         Moved ...
28419         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28421         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28423         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28425         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28427         Moved ...
28428         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28430         Moved ...
28431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28432         ... here.
28433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28434         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28435         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28436         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28438         Moved ...
28439         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28440         ... here.
28441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28442         Moved ...
28443         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28444         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28445         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28446         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28447         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28448         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28450         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28451         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28452         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28453         Moved ...
28454         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28456         Moved ...
28457         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28459         Moved ...
28460         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28462         Moved ...
28463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28464         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28465         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28466         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28467         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28469         Moved ...
28470         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28471         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28472         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28474         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28475         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28476         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28477         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28478         Moved ...
28479         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28481         Moved ...
28482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28483         ... here.
28484         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28485         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28487         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28489         Moved ...
28490         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28491         ... here.
28492         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28493         Moved ...
28494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28495         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28496         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28497         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28498         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28499         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28500         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28501         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28502         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28503         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28504         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28506         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28507         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28509         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28510         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28512         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28513         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28514         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28515         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28516         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28517         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28518         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28519         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28520         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28523         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28524         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28525         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28526         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28528         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28530         Moved ...
28531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28533         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28535         Moved ...
28536         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28538         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28540         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28542         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28543         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28544         Moved ...
28545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28547         Moved ...
28548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28550         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28551         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28552         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28554         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28555         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28556         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28557         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28558         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28559         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28560         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28561         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28562         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28563         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28564         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28566         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28567         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28568         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28569         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28570         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28572         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28573         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28574         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28575         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28576         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28577         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28578         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28579         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28580         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28581         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28586         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28587         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28588         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28589         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28590         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28591         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28592         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28593         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28594         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28595         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28596         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28597         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28598         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28599         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28601         Update #include.
28602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28603         Likewise.
28604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28605         Likewise.
28606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28607         Likewise.
28608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28609         Likewise.
28610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28611         Likewise.
28612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28613         Likewise.
28614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28615         Likewise.
28616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28617         Likewise.
28618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28619         Likewise.
28620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28625         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28627         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28629         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28632         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28634         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28636         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28637         that was previously under [RESET_PID].
28638         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28639         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28640         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28642         * sysdeps/i386/nptl/Implies: New file.
28643         * sysdeps/x86_64/nptl/Implies: New file.
28644         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28645         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28647         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28649         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28650         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28651         (__libc_vfork): New strong alias.
28652         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28653         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28655         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28656         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28657         (__libc_vfork): New strong alias.
28658         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28659         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28661         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28662         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28663         (__libc_vfork): New strong alias.
28664         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28665         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28666         * nptl/pt-vfork.c: New file.
28667         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28668         (libpthread: GLIBC_2.20): New version set (empty).
28670 2014-05-14  Will Newton  <will.newton@linaro.org>
28672         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28673         rather than #if.
28675 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28677         [BZ #16564]
28678         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28679         arguments with exponent 65 or above.
28680         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28681         arguments 0x1p113L or above.
28682         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28683         to arguments 0x1p107L or above.
28684         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28685         positive arguments with exponent 65 or above.
28686         * math/auto-libm-test-in: Add more tests of log1p.
28687         * math/auto-libm-test-out: Regenerated.
28689         [BZ #16928]
28690         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28691         non-finite arguments is +0.
28692         * math/s_cacosf.c (__cacosf): Likewise.
28693         * math/s_cacosl.c (__cacosl): Likewise.
28694         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28695         * sysdeps/i386/fpu/libm-test-ulps: Update.
28696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28698         [BZ #16927]
28699         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28700         value.
28701         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28702         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28703         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28704         for explicit high bit of mantissa when testing for argument equal
28705         to 1.
28706         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28707         * sysdeps/i386/fpu/libm-test-ulps: Update.
28708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28710         [BZ #16516]
28711         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28712         (__erf): Scale by 16 instead of 8 in potentially underflowing
28713         case.  Ensure exception if result actually underflows.
28714         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28715         (__erff): Scale by 16 instead of 8 in potentially underflowing
28716         case.  Ensure exception if result actually underflows.
28717         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28718         (efx8): Remove variable.
28719         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28720         case.  Ensure exception if result actually underflows.
28721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28722         (efx8): Remove variable.
28723         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28724         case.  Ensure exception if result actually underflows.
28725         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28726         (efx8): Remove variable.
28727         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28728         case.  Ensure exception if result actually underflows.
28729         * math/auto-libm-test-in: Add more tests of erf.
28730         * math/auto-libm-test-out: Regenerated.
28732 2014-05-14  Andreas Schwab  <schwab@suse.de>
28734         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28735         Remove code conditionalized on USE___THREAD.
28737         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28738         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28739         not definedness.
28741 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28744         Define unconditionally.
28745         (__ASSUME_O_CLOEXEC): Likewise.
28746         (__ASSUME_SOCK_CLOEXEC): Likewise.
28747         (__ASSUME_IN_NONBLOCK): Likewise.
28748         (__ASSUME_PIPE2): Likewise.
28749         (__ASSUME_EVENTFD2): Likewise.
28750         (__ASSUME_SIGNALFD4): Likewise.
28751         (__ASSUME_DUP3): Likewise.
28752         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28753         (__ASSUME_DUP3): Do not define.
28754         (__ASSUME_EVENTFD2): Likewise.
28755         (__ASSUME_IN_NONBLOCK): Likewise.
28756         (__ASSUME_O_CLOEXEC): Likewise.
28757         (__ASSUME_PIPE2): Likewise.
28758         (__ASSUME_SIGNALFD4): Likewise.
28759         (__ASSUME_SOCK_CLOEXEC): Likewise.
28760         (__ASSUME_UTIMES): Undefine.
28761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28762         (__ASSUME_UTIMES): Do not define.
28763         (__ASSUME_O_CLOEXEC): Likewise.
28764         (__ASSUME_SOCK_CLOEXEC): Likewise.
28765         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28766         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28767         0x020621].
28768         (__ASSUME_PIPE2): Likewise.
28769         (__ASSUME_EVENTFD2): Likewise.
28770         (__ASSUME_SIGNALFD4): Likewise.
28771         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28772         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28773         Do not define.
28774         (__ASSUME_EVENTFD2): Likewise.
28775         (__ASSUME_SIGNALFD4): Likewise.
28776         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28777         (__ASSUME_32BITUIDS): Likewise.
28778         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28779         (__ASSUME_IPC64): Likewise.
28780         (__ASSUME_ST_INO_64_BIT): Likewise.
28781         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28782         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28783         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28784         (__ASSUME_UTIMES): Do not define.
28785         (__ASSUME_PSELECT): Likewise.
28786         (__ASSUME_PPOLL): Likewise.
28787         (__ASSUME_O_CLOEXEC): Likewise.
28788         (__ASSUME_SOCK_CLOEXEC): Likewise.
28789         (__ASSUME_IN_NONBLOCK): Likewise.
28790         (__ASSUME_PIPE2): Likewise.
28791         (__ASSUME_EVENTFD2): Likewise.
28792         (__ASSUME_SIGNALFD4): Likewise.
28793         (__ASSUME_DUP3): Likewise.
28794         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28795         (__ASSUME_UTIMES): Likewise.
28796         (__ASSUME_O_CLOEXEC): Likewise.
28797         (__ASSUME_SOCK_CLOEXEC): Likewise.
28798         (__ASSUME_IN_NONBLOCK): Likewise.
28799         (__ASSUME_PIPE2): Likewise.
28800         (__ASSUME_EVENTFD2): Likewise.
28801         (__ASSUME_SIGNALFD4): Likewise.
28802         (__ASSUME_DUP3): Likewise.
28803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28804         (__ASSUME_UTIMES): Likewise.
28805         (__ASSUME_O_CLOEXEC): Likewise.
28806         (__ASSUME_SOCK_CLOEXEC): Likewise.
28807         (__ASSUME_IN_NONBLOCK): Likewise.
28808         (__ASSUME_PIPE2): Likewise.
28809         (__ASSUME_EVENTFD2): Likewise.
28810         (__ASSUME_SIGNALFD4): Likewise.
28811         (__ASSUME_DUP3): Likewise.
28812         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28813         Likewise.
28814         (__ASSUME_UTIMES): Likewise.
28815         (__ASSUME_EVENTFD2): Likewise.
28816         (__ASSUME_SIGNALFD4): Likewise.
28817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28818         (__ASSUME_O_CLOEXEC): Likewise.
28819         (__ASSUME_SOCK_CLOEXEC): Likewise.
28820         (__ASSUME_IN_NONBLOCK): Likewise.
28821         (__ASSUME_PIPE2): Likewise.
28822         (__ASSUME_EVENTFD2): Likewise.
28823         (__ASSUME_SIGNALFD4): Likewise.
28824         (__ASSUME_DUP3): Likewise.
28825         (__ASSUME_UTIMES): Undefine.
28827         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28828         feclearexcept.  Remove symbol versioning code.
28829         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28830         symbol versioning code.
28831         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28832         symbol versioning code.
28833         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28834         feupdateenv.  Remove symbol versioning code.
28835         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28836         fegetexceptflag.  Remove symbol versioning code.
28837         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28838         fesetexceptflag.  Remove symbol versioning code.
28839         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28840         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28841         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28842         (__posix_fadvise64_l32): Remove prototype.
28843         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28844         code.
28846 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28848         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28849         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28850         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28851         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28853 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28855         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28856         current working directory
28858 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28860         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28861         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28862         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28863         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28864         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28865         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28866         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28867         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28868         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28869         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28871         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28872         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28873         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28874         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28875         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28876         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28877         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28878         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28879         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28881         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28882         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28883         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28884         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28885         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28886         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28887         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28888         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28889         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28890         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28891         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28892         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28893         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28894         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28895         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28896         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28897         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28898         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28899         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28900         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28901         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28903         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28904         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28906         * sysdeps/unix/sysv/linux/arm/Makefile
28907         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28908         Add rt-aeabi_unwind_cpp_pr1.
28909         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28910         Add nptl-aeabi_unwind_cpp_pr1.
28911         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28912         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28913         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28914         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28915         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28916         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28918         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28919         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28920         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28921         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28923         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28924         Deconditionalize the code that was previously under [RESET_PID].
28925         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28927         * sysdeps/generic/exit-thread.h: New file.
28928         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28929         * include/unistd.h (__exit_thread): Remove declaration.
28930         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28931         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28932         * csu/libc-start.c: Include <exit-thread.h>.
28933         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28934         * nptl/pthread_create.c: Include <exit-thread.h>.
28935         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28936         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28937         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28938         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28939         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28940         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28941         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28942         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28943         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28944         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28945         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28946         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28947         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28948         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28949         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28950         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28951         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28953 2014-05-13  Andreas Schwab  <schwab@suse.de>
28955         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28957 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28959         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28960         (__ASSUME_UTIMES): Do not condition on kernel version.
28961         (__ASSUME_PSELECT): Define unconditionally.
28962         (__ASSUME_PPOLL): Likewise.
28963         (__ASSUME_ATFCTS): Likewise.
28964         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28965         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28966         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28967         (__ASSUME_UTIMENSAT): Define unconditionally.
28968         (__ASSUME_PRIVATE_FUTEX): Likewise.
28969         (__ASSUME_FALLOCATE): Likewise.
28970         (__ASSUME_O_CLOEXEC): Likewise.
28971         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28972         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28973         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28974         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28975         (__ASSUME_IN_NONBLOCK): Likewise.
28976         (__ASSUME_PIPE2): Likewise.
28977         (__ASSUME_EVENTFD2): Likewise.
28978         (__ASSUME_SIGNALFD4): Likewise.
28979         (__ASSUME_DUP3): Likewise.
28980         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28981         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28982         (__ASSUME_AT_RANDOM): Likewise.
28983         (__ASSUME_PREADV): Likewise.
28984         (__ASSUME_PWRITEV): Likewise.
28985         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28986         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28987         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28988         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28989         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28991         (__ASSUME_O_CLOEXEC): Define unconditionally.
28992         (__ASSUME_PSELECT): Do not undefine conditionally.
28993         (__ASSUME_PPOLL): Likewise.
28994         (__ASSUME_ATFCTS): Likewise.
28995         (__ASSUME_SET_ROBUST_LIST): Likewise.
28996         (__ASSUME_UTIMENSAT): Likewise.
28997         (__ASSUME_FDATASYNC): Define unconditionally.
28998         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28999         (__ASSUME_SIGFRAME_V2): Likewise.
29000         )__ASSUME_EVENTFD2): Likewise.
29001         (__ASSUME_SIGNALFD4): Likewise.
29002         (__ASSUME_PSELECT): Do not undefine conditionally.
29003         (__ASSUME_PPOLL): Likewise.
29004         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29005         (__ASSUME_PSELECT): Define unconditionally.
29006         (__ASSUME_PPOLL): Likewise.
29007         (__ASSUME_O_CLOEXEC): Likewise.
29008         (__ASSUME_SOCK_CLOEXEC): Likewise.
29009         (__ASSUME_IN_NONBLOCK): Likewise.
29010         (__ASSUME_PIPE2): Likewise.
29011         (__ASSUME_EVENTFD2): Likewise.
29012         (__ASSUME_SIGNALFD4): Likewise.
29013         (__ASSUME_DUP3): Likewise.
29014         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29015         (__ASSUME_O_CLOEXEC): Likewise.
29016         (__ASSUME_SOCK_CLOEXEC): Likewise.
29017         (__ASSUME_IN_NONBLOCK): Likewise.
29018         (__ASSUME_PIPE2): Likewise.
29019         (__ASSUME_EVENTFD2): Likewise.
29020         (__ASSUME_SIGNALFD4): Likewise.
29021         (__ASSUME_DUP3): Likewise.
29022         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29023         (__ASSUME_EVENTFD2): Likewise.
29024         (__ASSUME_SIGNALFD4): Likewise.
29025         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29027 2014-05-12  Andreas Schwab  <schwab@suse.de>
29029         [BZ #16932]
29030         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29031         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29032         than maximum RPC packet size.
29033         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29034         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29035         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29036         (_nss_nis_getservbyport_r): Likewise.
29038 2014-05-12  Will Newton  <will.newton@linaro.org>
29040         * malloc/Makefile (tests): Add tst-mallopt.
29041         * malloc/tst-mallopt.c: New file.
29043 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29045         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29046         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29048 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29050         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29051         (tst-tlsmod6.so): Likewise.
29053 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29055         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29057 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29059         [BZ #16064]
29060         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29061         and <dl-procinfo.h>.
29062         (__fegetenv): Save SSE state in envp->__eip if supported.
29063         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29064         envp->__eip if supported.
29065         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29066         and <dl-procinfo.h>.
29067         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29068         __data_offset and __data_selector in environment to 0.  Set SSE
29069         state if supported.
29070         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29071         test-fenv-sse.
29072         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29073         -mfpmath=sse.
29074         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29076 2014-05-09  Will Newton  <will.newton@linaro.org>
29078         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29079         and libc_relro_required for ARM.
29080         * sysdeps/arm/preconfigure: Regenerate.
29082 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29083             Stefan Liebler  <stli@linux.vnet.ibm.com>
29085         * config.make.in (enable-lock-elision): New Makefile variable.
29086         * configure.ac: Likewise.
29087         * configure: Regenerate.
29088         * sysdeps/s390/configure.ac:
29089         Add check for gcc transactions support.
29090         * sysdeps/s390/configure: Regenerate.
29091         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29092         Build elision files if enabled.
29093         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29094         Add lock elision support for s390.
29095         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29096         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29097         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29098         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29099         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29100         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29102         Likewise.
29103         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29104         Likewise.
29105         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29106         Likewise.
29107         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29108         Likewise.
29109         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29110         (__lll_timedlock_elision, __lll_lock_elision)
29111         (__lll_unlock_elision, __lll_trylock_elision)
29112         (lll_timedlock_elision, lll_lock_elision)
29113         (lll_unlock_elision, lll_trylock_elision): Add.
29114         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29115         (pthread_mutex_t): Add lock elision support for s390.
29117 2014-05-14  Wilco  <wdijkstr@arm.com>
29119         * sysdeps/arm/fclrexcpt.c: Cleanup.
29120         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29121         * sysdeps/arm/feenablxcpt.c: Cleanup.
29122         * sysdeps/arm/fegetenv.c: Cleanup.
29123         * sysdeps/arm/fegetexcept.c: Cleanup.
29124         * sysdeps/arm/fegetround.c: Cleanup.
29125         * sysdeps/arm/feholdexcpt.c: Cleanup.
29126         * sysdeps/arm/fesetenv.c: Cleanup.
29127         * sysdeps/arm/fesetround.c: Cleanup.
29128         * sysdeps/arm/feupdateenv.c: Cleanup.
29129         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29130         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29131         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29132         * sysdeps/arm/ftestexcept.c: Cleanup.
29133         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29134         * sysdeps/arm/setfpucw.c: Cleanup.
29136 2014-05-09  Will Newton  <will.newton@linaro.org>
29138         * sysdeps/arm/armv7/strcmp.S: New file.
29139         * NEWS: Mention addition of ARMv7 optimized strcmp.
29141 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29143         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29144         look for %.ac rather than %.in.
29146         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29147         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29148         * sysdeps/mach/hurd/configure: Regenerated.
29149         * sysdeps/unix/sysv/linux/configure: Regenerated.
29151         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29153 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29155         [BZ# 16922]
29156         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29157         (LONG_SUB): Ditto.
29158         (PTR_SUB): Ditto.
29160 2014-05-07  Andreas Schwab  <schwab@suse.de>
29162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29163         when skipping over non-matching result from nscd.
29165 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29167         [BZ #16876]
29168         * nptl/sockperf.c (client): Check socket return value.
29170         [BZ #16877]
29171         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29172         nscd security class.
29174 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29176         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29177         * sysdeps/arm/unwind.h: ... here.
29179 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29181         [BZ# 16916]
29182         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29183         Define.
29185 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29187         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29188         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29189         multiarch strncpy for PPC64.
29190         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29191         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29193         multiarch optimizations.
29194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29195         (__libc_ifunc_impl_list): Likewise.
29196         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29197         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29198         multiarch stpncpy for PPC64.
29199         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29202 2014-05-06  Andreas Schwab  <schwab@suse.de>
29204         [BZ #16912]
29205         * gmon/mcount.c (_MCOUNT_DECL): Use
29206         atomic_compare_and_exchange_bool_acq instead of
29207         catomic_compare_and_exchange_bool_acq.
29209 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29211         * elf/Makefile (others, install-bin): Remove pldd.
29212         (pldd-modules): Variable removed.
29213         ($(objpfx)pldd): Target removed.
29214         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29215         (others, install-bin): Append pldd here.
29216         ($(objpfx)pldd): New target.
29218         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29219         to 0, so the first #if test emitted later doesn't see it undefined.
29220         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29221         * sysdeps/gnu/errlist.c: Regenerated.
29223 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29225         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29226         [libc_hidden_builtin_def]: Define to empty value.
29227         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29228         [libc_hidden_builtin_def]: Likewise.
29229         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29230         [libc_hidden_builtin_def]: Likewise.
29231         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29232         [libc_hidden_builtin_def]: Likewise.
29233         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29234         __redirect_memcpy and define ifunc as default hidden symbol.
29235         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29236         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29238 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29240         * locale/iso-4217.def: Reintroduce XDR currency.
29242 2014-05-04  Allan McRae  <allan@archlinux.org>
29244         * po/eo.po: Update Esperanto translation from translation project.
29246 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29248         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29249         and FEATURE_INDEX_MAX to 1.
29250         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29252 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29254         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29255         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29256         * iconvdata/big5.c (ONE_DIRECTION): Define.
29257         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29258         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29259         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29260         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29261         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29262         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29263         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29264         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29265         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29266         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29267         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29268         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29269         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29270         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29271         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29272         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29273         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29274         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29275         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29276         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29277         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29278         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29279         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29280         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29281         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29282         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29283         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29284         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29285         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29286         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29287         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29288         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29289         * iconvdata/johab.c (ONE_DIRECTION): Define.
29290         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29291         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29292         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29293         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29294         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29295         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29296         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29297         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29298         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29299         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29301 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29303         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29304         (_IO_JUMPS_OFFSET): Define to 0.
29306         * nptl/sysdeps/pthread/bits/libc-lock.h
29307         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29308         (__libc_lock_define_initialized_recursive): Always define using
29309         initializer.  Modern compilers treat uninitialized (implicit zero) and
29310         explicit zero initializers the same (i.e. put the datum in bss).
29312 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29314         * nscd/nscd-client.h: Include <string.h>.
29316 2014-05-01  David S. Miller  <davem@davemloft.net>
29318         [BZ #16885]
29319         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29320         multiple zero bytes exist at the end of a string.
29321         Reported by Aurelien Jarno <aurelien@aurel32.net>
29323         * string/test-strcmp.c (check): Add explicit test for situations where
29324         there are multiple zero bytes after the first.
29326 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29328         [BZ #16890]
29329         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29330         when compiling wprintf.
29331         * stdio-common/tstdiomisc.c (t3): New function.
29332         (main): Call it.
29334 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29336         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29337         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29338         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29339         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29341 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29343         * stdlib/longlong.h: Updated from GCC.
29345 2014-05-01  Will Newton  <will.newton@linaro.org>
29346             Bernard Ogden  <bernie.ogden@linaro.org>
29348         * NEWS: Update fixed bug list.
29350         [BZ #15119]
29351         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29353 2014-04-30  David S. Miller  <davem@davemloft.net>
29355         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29356         (libc_feholdexcept_setround_sparc_ctx): New function.
29357         (libc_fesetenv_sparc_ctx): Likewise.
29358         (libc_feupdateenv_sparc_ctx): Likewise.
29359         (libc_feholdsetround_sparc_ctx): Likewise.
29360         (libc_feholdexcept_setround_ctx): Define.
29361         (libc_feholdexcept_setroundf_ctx): Likewise.
29362         (libc_feholdexcept_setroundl_ctx): Likewise.
29363         (libc_fesetenv_ctx): Likewise.
29364         (libc_fesetenvf_ctx): Likewise.
29365         (libc_fesetenvl_ctx): Likewise.
29366         (libc_feupdateenv_ctx): Likewise.
29367         (libc_feupdateenvf_ctx): Likewise.
29368         (libc_feupdateenvl_ctx): Likewise.
29369         (libc_feresetround_ctx): Likewise.
29370         (libc_feresetroundf_ctx): Likewise.
29371         (libc_feresetroundl_ctx): Likewise.
29372         (libc_feholdsetround_ctx): Likewise.
29373         (libc_feholdsetroundf_ctx): Likewise.
29374         (libc_feholdsetroundl_ctx): Likewise.
29376         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29377         with __USE_GNU instead of XOPEN cpp guards.
29379         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29380         0.
29382         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29383         with XOPEN cpp guards.
29385 2014-04-30  Julian Brown  <julian@codesourcery.com>
29387         [BZ #16888]
29388         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29389         handling.
29391 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #9894]
29394         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29395         Change to 2.6.32.
29396         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29397         * sysdeps/unix/sysv/linux/configure: Regenerated.
29398         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29399         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29400         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29401         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29402         * README: Update reference to required Linux kernel version.
29403         * manual/install.texi (Linux): Update reference to required Linux
29404         kernel headers version.
29405         * INSTALL: Regenerated.
29407         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29408         header inclusion.
29409         [POSIX] (limits.h): Likewise.
29410         [POSIX] (math.h): Likewise.
29411         [POSIX] (sys/wait.h): Likewise.
29412         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29413         function.
29414         [POSIX] (stddef.h): Do not allow header inclusion.
29416 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29418         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29420 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29422         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29423         Return immediately after lll_futex_wake.
29425 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29427         [BZ #16791]
29428         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29429         structure.
29430         (datahead_init_pos): Call datahead_init_common early.
29431         (datahead_init_neg): Likewise.
29433         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29434         datahead_init_neg): New functions.
29435         * nscd/aicache.c (addhstaiX): Use them.
29436         * nscd/grpcache.c (cache_addgr): Likewise.
29437         * nscd/hstcache.c (cache_addhst): Likewise.
29438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29439         * nscd/netgroupcache.c (do_notfound): Likewise.
29440         (addgetnetgrentX): Likewise.
29441         (addinnetgrX): Likewise.
29442         * nscd/pwdcache.c (cache_addpw): Likewise.
29443         * nscd/servicescache.c (cache_addserv): Likewise.
29445 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29446             Atsushi Onoe  <atsushi@onoe.org>
29448         [BZ #14308]
29449         [BZ #12994]
29450         [BZ #13651]
29451         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29452         one response is valid.
29453         * resolv/res_send.c (send_dg): Check for validity of other
29454         response if the current response is a referral.
29456 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29458         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29460 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29462         [BZ #16823]
29463         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29464         Always divide by positive zero when computing -Inf result.
29465         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29466         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29468 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29470         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29471         FPSCR if value do not change.
29472         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29473         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29474         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29475         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29476         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29477         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29478         function.
29480 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29482         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29483         * sysdeps/unix/sysv/linux/hppa: Move directory from
29484         ports/systeps/unix/sysv/linux/hppa.
29485         * README: Update listing for hppa-*-linux-gnu.
29487 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29489         [BZ #16754]
29490         * manual/stdio.texi (Hook functions): Fix types of stream hook
29491         functions.
29492         [BZ #16854]
29493         * socket/sys/socket.h: Fix typo in comment.
29495 2014-04-28  Wilco  <wdijkstr@arm.com>
29497         * sysdeps/arm/fenv_private.h: New file.
29498         * sysdeps/arm/math_private.h: New file.
29499         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29501 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29503         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29504         with __int128_t.
29505         (La_x86_64_retval): Likewise.
29507 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29509         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29510         fpsr if value didn't change.
29511         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29512         to fpcr if value didn't change.
29513         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29514         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29515         fpsr or fpcr if value didn't change.
29516         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29517         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29518         fpcr if value didn't change.
29519         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29520         to fpsr if value didn't change.
29522 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29524         * nptl/tst-sem3.c: Use test-skeleton.c
29525         (main): Rename to do_test.  Use return instead of
29526         exit.
29527         * nptl/tst-sem4.c: Use test-skeleton.c
29528         (main): Rename to do_test.
29530 2014-04-22  David S. Miller  <davem@davemloft.net>
29532         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29533         (struct sigaction): New struct member __glibc_reserved0, change
29534         type of sa_flags to int.
29536 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29538         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29539         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29541 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29543         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29544         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29546 2014-04-22  Will Newton  <will.newton@linaro.org>
29547             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29549         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29550         (__longjmp): Add longjmp and longjmp_target SystemTap
29551         probes.
29552         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29553         (__sigsetjmp): Add setjmp SystemTap probe.
29555 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29557         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29558         match manual order.
29560 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29562         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29564         * sysdeps/powerpc/fpu/fenv_private.h
29565         (libc_feholdexcept_setroundl_ctx): Define to
29566         libc_feholdexcept_setround_ppc_ctx.
29567         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29568         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29569         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29570         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29572 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29574         * sysdeps/aarch64/math-tests.h: New file.
29576 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29578         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29579         New.
29580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29581         Check and set bit_AVX2_Usable.
29582         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29583         macro.
29584         (bit_AVX2): Likewise.
29585         (index_AVX2_Usable): Likewise.
29586         (CPUID_AVX2): Likewise.
29587         (HAS_AVX2): Likewise.
29589 2014-04-17  Will Newton  <will.newton@linaro.org>
29591         * manual/setjmp.texi (System V contexts): Add note that
29592         calling setcontext on a context created by a call to a
29593         signal handler is undefined.  Update text to note that
29594         setcontext from a signal handler is possible but not
29595         recommended.
29597         [BZ #16629]
29598         * stdlib/tst-setcontext.c: Include signal.h.
29599         (main): Check that the signal stack before and
29600         after swapcontext is the same.
29602         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29603         Re-implement to restore registers in user code and avoid
29604         rt_sigreturn system call.
29606 2014-04-17  Wilco  <wdijkstr@arm.com>
29608         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29609         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29610         * math/test-fenv.c: Skip exception trap tests on targets which only
29611         support non-stop mode.
29613 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29614             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29616         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29617         (libc_feholdsetround_aarch64_ctx)
29618         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29619         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29620         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29621         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29622         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29623         (libc_feresetround_noexl_ctx): Define.
29625 2014-04-16  Richard Henderson  <rth@redhat.com>
29627         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29629         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29630         unwind tables.
29632         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29633         const from the non-libc, non-ldso copy.
29635         * sysdeps/alpha/libm-test-ulps: Regenerate.
29637 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29638             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29640         * sysdeps/aarch64/fpu/math_private.h: New file.
29642 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29644         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29646 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29648         [BZ #16275]
29649         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29650         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29652         Intel MPX bound registers before _dl_profile_fixup.
29653         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29654         registers after _dl_profile_fixup.  Save and restore bound
29655         registers bnd0/bnd1 when calling _dl_call_pltexit.
29656         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29657         (LR_BND_OFFSET): Likewise.
29658         (LRV_BND0_OFFSET): Likewise.
29659         (LRV_BND1_OFFSET): Likewise.
29661 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29663         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29664         to...
29665         * sysdeps/mach/hurd/i386/tls.h: ... here.
29666         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29667         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29668         fields.
29670 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29672         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29674 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29676         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29678 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29680         [BZ #14770]
29681         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29682         * sysdeps/s390/configure: Regenerate.
29684         [BZ #16824]
29685         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29686         Set round-to-nearest internally to reduce error accumulation.
29688 2014-04-16  Alan Modra  <amodra@gmail.com>
29690         [BZ #16740]
29691         [BZ #16619]
29692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29693         * math/libm-test.inc (frexp_test_data): Add tests.
29694         * NEWS: Update fixed bug list.
29696 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29698         * benchtests/Makefile: Depend on libraries in build directory.
29699         (bench-math): Separate out math tests.
29700         (bench-pthread): Separate out pthread tests.
29701         (bench): Include math and pthread tests.
29703 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29705         [BZ #16831]
29706         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29707         _dl_debug_initialize.
29709         * configure.ac: Remove SELinux header check.
29710         * configure: Regenerate.
29711         * nscd/selinux.c (perms): Array of const char* to permission names.
29712         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29713         default policy. Call string_to_security_class and string_to_av_perm to
29714         translate strings. Enforce default policy and call avs_has_perm with
29715         results of translated strings.
29717 2014-04-13  David S. Miller  <davem@davemloft.net>
29719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29721 2014-04-12  Allan McRae  <allan@archlinux.org>
29723         [BZ #16838]
29724         * manual/string.texi (Collation Functions): Fix qsort argument
29725         order in example.
29726         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29728 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29730         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29731         Make the test a no-op if there are no exceptions defined.
29733 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29735         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29736         enable-hardcoded-path-in-tests
29738 2014-04-11  Will Newton  <will.newton@linaro.org>
29740         * benchtests/Makefile (extra-objs): Add json-lib.o.
29741         (bench-func): Tidy up JSON output.
29742         * benchtests/bench-skeleton.c: Include json-lib.h.
29743         (main): Use JSON library functions to do output of
29744         benchmark results.
29745         * benchtests/bench-timing-type.c (main): Output the
29746         timing type simply, leaving formatting to the user.
29747         * benchtests/json-lib.c: New file.
29748         * benchtests/json-lib.h: Likewise.
29750 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29752         [BZ #15215]
29753         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29754         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29755         memory barriers.  Add comments.
29756         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29757         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29758         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29759         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29760         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29761         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29763 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29765         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29766         * sysdeps/s390/s390-64/configure.ac: ... this ...
29767         * sysdeps/s390/configure.ac: ... to here.
29768         * sysdeps/s390/s390-32/configure: Delete file.
29769         * sysdeps/s390/s390-64/configure: Delete file.
29770         * sysdeps/s390/configure: Regenerate.
29772 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29774         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29776 2014-04-11  Will Newton  <will.newton@linaro.org>
29778         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29779         to zero if it is not defined elsewhere.  (mtrim): Test
29780         the value of MALLOC_DEBUG with #if rather than #ifdef.
29782 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29784         * benchtests/pthread_once-inputs: New file.
29785         * benchtests/pthread_once-source.c: New file.
29786         * benchtests/README: Update documentation.
29788 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29789             H.J. Lu  <hongjiu.lu@intel.com>
29791         [BZ #16275]
29792         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29793         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29794         * sysdeps/x86_64/configure: Regenerated.
29795         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29796         macro.
29797         (REGISTER_SAVE_RAX): Likewise.
29798         (REGISTER_SAVE_RCX): Likewise.
29799         (REGISTER_SAVE_RDX): Likewise.
29800         (REGISTER_SAVE_RSI): Likewise.
29801         (REGISTER_SAVE_RDI): Likewise.
29802         (REGISTER_SAVE_R8): Likewise.
29803         (REGISTER_SAVE_R9): Likewise.
29804         (REGISTER_SAVE_BND0): Likewise.
29805         (REGISTER_SAVE_BND1): Likewise.
29806         (REGISTER_SAVE_BND2): Likewise.
29807         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29808         bound registers when calling _dl_fixup.
29810 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29812         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29813         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29814         of its definition.
29815         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29816         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29817         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29818         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29819         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29820         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29821         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29823 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29825         [BZ #15514]
29826         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29827         pathconf(_PC_NAME_MAX).
29829 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29831         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29832         Remove macro usage.
29833         (__PTHREAD_SPINS): Move definition to ...
29834         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29835         (__PTHREAD_SPINS): ... here.
29836         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29837         (__PTHREAD_SPIN): Likewise.
29838         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29839         (__PTHREAD_SPIN): Likewise.
29840         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29841         (__PTHREAD_SPIN): Likewise.
29842         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29843         (__PTHREAD_SPIN): Likewise.
29844         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29845         (__PTHREAD_SPIN): Likewise.
29846         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29847         (__PTHREAD_SPIN): Likewise.
29848         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29849         (__PTHREAD_SPIN): Likewise.
29850         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29851         (__PTHREAD_SPIN): Likewise.
29852         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29853         (__PTHREAD_SPIN): Likewise.
29854         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29855         (__PTHREAD_SPIN): Likewise.
29856         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29857         (__PTHREAD_SPIN): Likewise.
29858         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29859         (__PTHREAD_SPIN): Likewise.
29861         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29862         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29863         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29864         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29865         imply folder.
29866         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29867         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29868         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29869         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29870         correct imply path.
29871         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29872         strlen symbol for non multi-arch builds.
29873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29874         missing hidden_def and weak_alias.
29876 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29878         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29880 2014-04-07  Will Newton  <will.newton@linaro.org>
29882         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29883         and contents.  [!_LIBC] Remove #ifndef and contents.
29884         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29885         * string/memccpy.c (__memccpy): Use ANSI prototype.
29886         * string/memfrob.c (memfrob): Likewise.
29887         * string/strcoll.c (STRCOLL): Likewise.
29888         * string/strlen.c (strlen): Likewise.
29889         * string/strtok.c (STRTOK): Likewise.
29890         * string/strcat.c: Remove unused #include of memcopy.h.
29891         (strcat): Use ANSI prototype.
29892         * string/strchr.c: Remove unused #include of memcopy.h.
29893         (strchr): Use ANSI prototype.
29894         * string/strcmp.c: Remove unused #include of memcopy.h.
29895         (strcmp): Use ANSI prototype.
29896         * string/strcpy.c: Remove unused #include of memcopy.h.
29897         (strcpy): Use ANSI prototype.
29899 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29901         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29902         * config.make.in (config-extra-cppflags): Set it from
29903         libc_extra_cppflags.
29904         * configure.ac (libc_extra_cflags): Make it accumulate over
29905         configure fragments.
29906         (libc_extra_cppflags): New flag.
29907         * configure. Regenerate.
29908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29909         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29910         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29913         [BZ #16815]
29914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29915         result for FE_DOWNWARD rounding mode.
29916         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29917         Likewise.
29918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29920 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29922         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29923         in function argument name.
29925 2014-04-03  David Svoboda  <svoboda@cert.org>
29927         [BZ #5666]
29928         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29929         explicitly.
29931 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29933         * elf/dl-unmap-segments.h: New file.
29934         * sysdeps/generic/ldsodefs.h
29935         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29936         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29937         * elf/dl-fptr.c: Likewise.
29938         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29939         * sysdeps/aarch64/tlsdesc.c: Likewise.
29940         * sysdeps/arm/tlsdesc.c: Likewise.
29941         * sysdeps/i386/tlsdesc.c: Likewise.
29942         * sysdeps/tile/dl-runtime.c: Likewise.
29943         * sysdeps/x86_64/tlsdesc.c: Likewise.
29944         * elf/dl-load.h: New file.
29945         * elf/dl-load.c: Include it.
29946         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29947         Macros moved to dl-load.h.
29948         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29949         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29950         Use _dl_unmap_segments in place of __munmap.
29951         Break out segment-mapping loop into ...
29952         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29954 2014-04-03  Will Newton  <will.newton@linaro.org>
29956         * elf/dl-lookup.c (do_lookup_x): Remove comment
29957         referring to nested function and move variable
29958         declarations down to before first use.
29960 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29962         [BZ #16799]
29963         [BZ #16800]
29964         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29965         with 0 numerator.
29966         * math/s_catanf.c (__catanf): Likewise.
29967         * math/s_catanh.c (__catanh): Likewise.
29968         * math/s_catanhf.c (__catanhf): Likewise.
29969         * math/s_catanhl.c (__catanhl): Likewise.
29970         * math/s_catanl.c (__catanl): Likewise.
29971         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29972         by positive zero when computing -Inf result.
29973         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29974         (catanh_test): Likewise.
29975         * sysdeps/i386/fpu/libm-test-ulps: Update.
29976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29978         [BZ #16789]
29979         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29980         instead of using underflowing value in computing result.
29981         * math/s_clog10.c (__clog10): Likewise.
29982         * math/s_clog10f.c (__clog10f): Likewise.
29983         * math/s_clog10l.c (__clog10l): Likewise.
29984         * math/s_clogf.c (__clogf): Likewise.
29985         * math/s_clogl.c (__clogl): Likewise.
29986         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29987         (clog10_test): Likewise.
29988         * sysdeps/i386/fpu/libm-test-ulps: Update.
29989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29991 2014-04-02  Alan Modra  <amodra@gmail.com>
29993         [BZ #16739]
29994         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29995         output when value is near a power of two.  Use int64_t for lx and
29996         remove casts.  Use decimal rather than hex exponent constants.
29997         Don't use long double multiplication when double will suffice.
29998         * math/libm-test.inc (nextafter_test_data): Add tests.
29999         * NEWS: Add 16739 and 16786 to bug list.
30001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30003         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30005 2014-04-01  Will Newton  <will.newton@linaro.org>
30007         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30008         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30010 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30012         [BZ #13347]
30013         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30014         * nptl/tst-setuid2.c: New file.
30015         * nptl/Makefile (xtests): Add tst-setuid2.
30017 2014-04-01  Alan Modra  <amodra@gmail.com>
30019         [BZ #16786]
30020         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30022 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30024         [BZ #6803]
30025         [BZ #6804]
30026         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30027         set errno as appropriate.
30028         * math/w_scalbf.c (__scalbf): Likewise.
30029         * math/w_scalbl.c (__scalbl): Likewise.
30030         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30031         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30032         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30033         Add more NaN tests.
30035         [BZ #16349]
30036         * math/w_atan2.c: Include <errno.h>.
30037         (__atan2): Set errno for result underflowing to zero.
30038         * math/w_atan2f.c: Include <errno.h>.
30039         (__atan2f): Set errno for result underflowing to zero.
30040         * math/w_atan2l.c: Include <errno.h>.
30041         (__atan2l): Set errno for result underflowing to zero.
30042         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30043         tests.
30044         * math/auto-libm-test-out: Regenerated.
30046 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30048         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30049         Encode instruction correctly in little endian.
30050         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30051         Likewise.
30052         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30053         Likewise.
30054         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30055         Likewise.
30056         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30057         Likewise.
30059 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30061         [BZ #9894]
30062         * sysdeps/unix/sysv/linux/kernel-features.h
30063         [__sparc__ && !__arch64__ && !__sparc_v9__]
30064         (__ASSUME_SET_ROBUST_LIST): Do not define.
30065         [__sparc__ && !__arch64__ && !__sparc_v9__]
30066         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30067         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30068         Likewise.
30069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30070         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30071         (__ASSUME_REQUEUE_PI): Likewise.
30072         (__ASSUME_SET_ROBUST_LIST): Likewise.
30073         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30074         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30075         Undefine.
30076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30078         Likewise.
30079         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30080         Likewise.
30081         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30082         Likewise.
30083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30084         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30085         Undefine.
30086         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30087         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30088         Likewise.
30090         [BZ #16648]
30091         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30092         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30093         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30095 2014-03-31  Will Newton  <will.newton@linaro.org>
30097         * benchtests/Makefile (bench): Add ffs and ffsll to list
30098         of tests.
30099         * benchtests/ffs-inputs: New file.
30100         * benchtests/ffsll-inputs: Likewise.
30102 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30104         [BZ #16770]
30105         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30106         too large before casting to int.
30107         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30108         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30109         * math/libm-test.inc (scalb_test_data): Add more tests.
30111 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30113         * benchtests/Makefile (DETAILED_OPT): New make option.
30114         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30115         set.
30116         * benchtests/bench-skeleton.c: Include stdbool.h.
30117         (main): Store and print timings per input.
30118         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30119         member to each argument value.
30120         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30121         (_print_arg_data): Initialize per-input timing to 0.
30123         * benchtests/Makefile (timing-type): New binary.
30124         (bench-clean): Also remove bench-timing-type.
30125         (bench): New target for timing-type.
30126         (bench-func): Print output in JSON format.
30127         * benchtests/bench-skeleton.c (main): Print output in JSON
30128         format.
30129         * benchtests/bench-timing-type.c: New file.
30130         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30131         (TIMING_PRINT_STATS): Remove.
30132         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30133         name separately.
30135         * benchtests/bench-modf.c: Remove.
30136         * benchtests/modf-inputs: New inputs file.
30138 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30140         [BZ #16362]
30141         * math/s_clog10.c (M_PI_LOG10E): New macro.
30142         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30143         imaginary parts are 0.
30144         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30145         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30146         imaginary parts are 0.
30147         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30148         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30149         imaginary parts are 0.
30150         * math/libm-test.inc (clog10_test_data): Update expected results
30151         for when real and imaginary parts are 0.
30153 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30155         * elf/dl-load.c: Finish conversion of __builtin_expect into
30156         __glibc_{un}likely.
30158 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30160         [BZ #16348]
30161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30162         1+x for argument with exponent below -67.
30163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30164         Likewise.
30165         * math/auto-libm-test-in: Add more tests of exp.
30166         * math/auto-libm-test-out: Regenerated.
30168 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30170         [BZ #16759]
30171         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30172         (nscd_getnetgrent): Use it.
30174         [BZ #16760]
30175         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30176         of stpcpy.
30178 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30180         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30181         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30182         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30183         (lll_robust_unlock): Remove out of line section. Use cfi
30184         intrinsics.
30185         (LLL_STUB_UNWIND_INFO*): Remove.
30186         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30187         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30188         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30189         (lll_robust_unlock): Remove out of line section. Use cfi
30190         intrinsics.
30191         (LLL_STUB_UNWIND_INFO*): Remove.
30193 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30195         [BZ #16758]
30196         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30197         blank values.
30199 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30201         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30203 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30205         [BZ #16198]
30206         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30207         fnstenv.
30208         * math/test-fenv-preserve.c: New file.
30209         * math/Makefile (tests): Add test-fenv-preserve.
30211 2014-03-26  Will Newton <will.newton@linaro.org>
30213         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30215 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30217         * scripts/versionlist.awk: Partition the version sets and emit all
30218         GLIBC_* (sorted) before all others (sorted).
30220 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30222         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30223         GLIBC_2.2.5 version.
30225 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30227         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30228         calls.
30230         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30231         previous change.
30233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30235 2014-03-25  Andreas Schwab  <schwab@suse.de>
30237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30238         label to be used after in6ailist is initialized.
30240 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30242         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30243         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30245 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30247         [BZ #16357]
30248         [BZ #16599]
30249         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30250         min_plus_half.
30251         (fp_formats): Update initializers.
30252         (init_fp_formats): Initialize new field.
30253         (output_for_one_input_case): Allow underflow for results up to
30254         min_plus_half.
30255         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30256         * math/auto-libm-test-in: Don't mark some underflows from asin and
30257         atanh as spurious.
30258         * math/auto-libm-test-out: Regenerated.
30259         * sysdeps/i386/fpu/libm-test-ulps: Update.
30260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30262 2014-03-25  Andreas Schwab  <schwab@suse.de>
30264         * libio/Makefile (tst-ftell-partial-wide-ENV)
30265         (tst-ftell-active-handler-ENV): Define.
30267 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30269         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30271 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30273         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30275 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30277         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30278         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30279         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30281 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30283         [BZ #16634]
30284         * elf/dl-load.c (open_verify): Add mode parameter.
30285         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30286         (open_path): Change from boolean 'secure' to complete flag 'mode'
30287         (_dl_map_object): Adjust.
30288         * elf/Makefile (tests): Add tst-dlopen-aout.
30289         * elf/tst-dlopen-aout.c: New test.
30291 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30293         [BZ #16714]
30294         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30295         (struct stat): Rename member pad0 to __glibc_reserved0.
30297         [BZ #16712]
30298         * sysdeps/s390/s390-32/bits/wordsize.h
30299         (__WORDSIZE32_SIZE_ULONG): New define.
30300         * sysdeps/s390/s390-64/bits/wordsize.h
30301         (__WORDSIZE32_SIZE_ULONG): Likewise.
30302         * sysdeps/generic/stdint.h (SIZE_MAX):
30303         Define as UL if __WORDSIZE32_SIZE_ULONG.
30305         [BZ #16713]
30306         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30307         (__glibc_reserved0): New variable.
30308         (sa_flags): Change type to int.
30310         * posix/Makefile (before-compile): Use += before-compile instead
30311         of a :=.
30313         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30314         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30316 2014-03-20  Andreas Schwab  <schwab@suse.de>
30318         [BZ #16743]
30319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30320         non-matching result from nscd.
30322 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30324         * scripts/bench.py: Moved to ...
30325         * benchtests/scripts/bench.py: ... here.
30326         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30328 2014-03-24  Andreas Schwab  <schwab@suse.de>
30330         [BZ #16002]
30331         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30332         alloca_account and account alloca use for struct in6ailist.
30334 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30336         [BZ #16284]
30337         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30338         rounding mode to recompute results that overflow to infinity or
30339         underflow to zero.
30340         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30341         bug 16284.
30342         * math/auto-libm-test-out: Regenerated.
30343         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30344         (ccosh_test): Likewise.
30345         (csin_test_data): Use plus_oflow.
30346         (csin_test): Use ALL_RM_TEST.
30347         (csinh_test_data): Use plus_oflow.
30348         (csinh_test): Use ALL_RM_TEST.
30349         * sysdeps/i386/fpu/libm-test-ulps: Update.
30350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30352 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30354         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30355         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30356         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30358         [BZ #16731]
30359         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30360         when x - 1 is zero.
30361         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30362         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30363         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30364         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30365         argument is 1.
30366         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30367         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30368         zero.
30369         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30370         * sysdeps/i386/fpu/libm-test-ulps: Update.
30371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30373 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30375         * scripts/bench.pl: Remove file.
30376         * scripts/bench.py: New benchmark script.
30377         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30378         * benchtests/README: Mention python dependency.
30379         * scripts/pylintrc: New file.
30380         * scripts/pylint: New file.
30382         * bits/mathdef.h: Use #ifdef instead of #if.
30383         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30384         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30385         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30386         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30387         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30388         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30390 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30391             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30393         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30395         and strpbrk-ppc64 objects.
30396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30397         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30398         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30399         multiarch strpbrk for POWER7.
30400         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30401         multiarch strpbrk for PPC64.
30402         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30403         ifunc selector.
30404         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30405         strpbrk for POWER7.
30407 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30409         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30410         (atan_test): Likewise.
30411         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30412         (atanh_test): Use ALL_RM_TEST.
30413         (atan2_test_data): Likewise.
30414         (cabs_test): Likewise.
30415         (cacosh_test): Likewise.
30416         (carg_test): Likewise.
30417         (casin_test): Likewise.
30418         (casinh_test): Likewise.
30419         (cbrt_test): Likewise.
30420         (csqrt_test): Likewise.
30421         (erf_test): Likewise.
30422         (erfc_test): Likewise.
30423         (pow10_test): Likewise.
30424         (exp2_test): Likewise.
30425         (hypot_test): Likewise.
30426         (j0_test): Likewise.
30427         (j1_test): Likewise.
30428         (lgamma_test): Likewise.
30429         (gamma_test): Likewise.
30430         (sincos_test): Likewise.
30431         (tanh_test): Likewise.
30432         (y0_test): Likewise.
30433         (y1_test): Likewise.
30434         * sysdeps/i386/fpu/libm-test-ulps: Update.
30435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30437 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30439         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30441         and strcspn-ppc64 objects.
30442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30443         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30444         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30445         multiarch strcspn for POWER7.
30446         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30447         multiarch strcspn for PPC64.
30448         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30449         ifunc selector.
30450         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30451         strcspn for POWER7.
30453 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30455         * math/gen-libm-test.pl (generate_testfile): Expect only function
30456         name as argument to AUTO_TESTS_* and pass results for all rounding
30457         modes to parse_args.
30458         (parse_auto_input): Separate inputs of automatic tests from
30459         outputs before storing in %auto_tests.
30460         * math/libm-test.inc (acos_test_data): Update call to
30461         AUTO_TESTS_f_f.
30462         (acos_test): Use ALL_RM_TEST.
30463         (acos_tonearest_test_data): Remove.
30464         (acos_test_tonearest): Likewise.
30465         (acos_towardzero_test_data): Likewise.
30466         (acos_test_towardzero): Likewise.
30467         (acos_downward_test_data): Likewise.
30468         (acos_test_downward): Likewise.
30469         (acos_upward_test_data): Likewise.
30470         (acos_test_upward): Likewise.
30471         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30472         (asin_test_data): Likewise.
30473         (asin_test): Use ALL_RM_TEST.
30474         (asin_tonearest_test_data): Remove.
30475         (asin_test_tonearest): Likewise.
30476         (asin_towardzero_test_data): Likewise.
30477         (asin_test_towardzero): Likewise.
30478         (asin_downward_test_data): Likewise.
30479         (asin_test_downward): Likewise.
30480         (asin_upward_test_data): Likewise.
30481         (asin_test_upward): Likewise.
30482         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30483         (atan_test_data): Likewise.
30484         (atanh_test_data): Likewise.
30485         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30486         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30487         (carg_test_data): Likewise.
30488         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30489         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30490         (ccosh_test_data): Likewise.
30491         (cexp_test_data): Likewise.
30492         (clog_test_data): Likewise.
30493         (clog10_test_data): Likewise.
30494         (cos_test_data): Update call to AUTO_TESTS_f_f.
30495         (cos_test): Use ALL_RM_TEST.
30496         (cos_tonearest_test_data): Remove.
30497         (cos_test_tonearest): Likewise.
30498         (cos_towardzero_test_data): Likewise.
30499         (cos_test_towardzero): Likewise.
30500         (cos_downward_test_data): Likewise.
30501         (cos_test_downward): Likewise.
30502         (cos_upward_test_data): Likewise.
30503         (cos_test_upward): Likewise.
30504         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30505         (cosh_test): Use ALL_RM_TEST.
30506         (cosh_tonearest_test_data): Remove.
30507         (cosh_test_tonearest): Likewise.
30508         (cosh_towardzero_test_data): Likewise.
30509         (cosh_test_towardzero): Likewise.
30510         (cosh_downward_test_data): Likewise.
30511         (cosh_test_downward): Likewise.
30512         (cosh_upward_test_data): Likewise.
30513         (cosh_test_upward): Likewise.
30514         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30515         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30516         (ctan_test_data): Likewise.
30517         (ctan_test): Use ALL_RM_TEST.
30518         (ctan_tonearest_test_data): Remove.
30519         (ctan_test_tonearest): Likewise.
30520         (ctan_towardzero_test_data): Likewise.
30521         (ctan_test_towardzero): Likewise.
30522         (ctan_downward_test_data): Likewise.
30523         (ctan_test_downward): Likewise.
30524         (ctan_upward_test_data): Likewise.
30525         (ctan_test_upward): Likewise.
30526         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30527         (ctanh_test): Use ALL_RM_TEST.
30528         (ctanh_tonearest_test_data): Remove.
30529         (ctanh_test_tonearest): Likewise.
30530         (ctanh_towardzero_test_data): Likewise.
30531         (ctanh_test_towardzero): Likewise.
30532         (ctanh_downward_test_data): Likewise.
30533         (ctanh_test_downward): Likewise.
30534         (ctanh_upward_test_data): Likewise.
30535         (ctanh_test_upward): Likewise.
30536         (erf_test_data): Update call to AUTO_TESTS_f_f.
30537         (erfc_test_data): Likewise.
30538         (exp_test_data): Likewise.
30539         (exp_test): Use ALL_RM_TEST.
30540         (exp_tonearest_test_data): Remove.
30541         (exp_test_tonearest): Likewise.
30542         (exp_towardzero_test_data): Likewise.
30543         (exp_test_towardzero): Likewise.
30544         (exp_downward_test_data): Likewise.
30545         (exp_test_downward): Likewise.
30546         (exp_upward_test_data): Likewise.
30547         (exp_test_upward): Likewise.
30548         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30549         (exp10_test): Use ALL_RM_TEST.
30550         (exp10_tonearest_test_data): Remove.
30551         (exp10_test_tonearest): Likewise.
30552         (exp10_towardzero_test_data): Likewise.
30553         (exp10_test_towardzero): Likewise.
30554         (exp10_downward_test_data): Likewise.
30555         (exp10_test_downward): Likewise.
30556         (exp10_upward_test_data): Likewise.
30557         (exp10_test_upward): Likewise.
30558         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30559         (expm1_test_data): Likewise.
30560         (expm1_test): Use ALL_RM_TEST.
30561         (expm1_tonearest_test_data): Remove.
30562         (expm1_test_tonearest): Likewise.
30563         (expm1_towardzero_test_data): Likewise.
30564         (expm1_test_towardzero): Likewise.
30565         (expm1_downward_test_data): Likewise.
30566         (expm1_test_downward): Likewise.
30567         (expm1_upward_test_data): Likewise.
30568         (expm1_test_upward): Likewise.
30569         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30570         (fma_test): Use ALL_RM_TEST.
30571         (fma_towardzero_test_data): Remove.
30572         (fma_test_towardzero): Likewise.
30573         (fma_downward_test_data): Likewise.
30574         (fma_test_downward): Likewise.
30575         (fma_upward_test_data): Likewise.
30576         (fma_test_upward): Likewise.
30577         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30578         (j0_test_data): Update call to AUTO_TESTS_f_f.
30579         (j1_test_data): Likewise.
30580         (jn_test_data): Update call to AUTO_TESTS_if_f.
30581         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30582         (log_test_data): Update call to AUTO_TESTS_f_f.
30583         (log10_test_data): Likewise.
30584         (log1p_test_data): Likewise.
30585         (log2_test_data): Likewise.
30586         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30587         (pow_tonearest_test_data): Likewise.
30588         (sin_test_data): Update call to AUTO_TESTS_f_f.
30589         (sin_test): Use ALL_RM_TEST.
30590         (sin_tonearest_test_data): Remove.
30591         (sin_test_tonearest): Likewise.
30592         (sin_towardzero_test_data): Likewise.
30593         (sin_test_towardzero): Likewise.
30594         (sin_downward_test_data): Likewise.
30595         (sin_test_downward): Likewise.
30596         (sin_upward_test_data): Likewise.
30597         (sin_test_upward): Likewise.
30598         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30599         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30600         (sinh_test): Use ALL_RM_TEST.
30601         (sinh_tonearest_test_data): Remove.
30602         (sinh_test_tonearest): Likewise.
30603         (sinh_towardzero_test_data): Likewise.
30604         (sinh_test_towardzero): Likewise.
30605         (sinh_downward_test_data): Likewise.
30606         (sinh_test_downward): Likewise.
30607         (sinh_upward_test_data): Likewise.
30608         (sinh_test_upward): Likewise.
30609         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30610         (sqrt_test): Use ALL_RM_TEST.
30611         (sqrt_tonearest_test_data): Remove.
30612         (sqrt_test_tonearest): Likewise.
30613         (sqrt_towardzero_test_data): Likewise.
30614         (sqrt_test_towardzero): Likewise.
30615         (sqrt_downward_test_data): Likewise.
30616         (sqrt_test_downward): Likewise.
30617         (sqrt_upward_test_data): Likewise.
30618         (sqrt_test_upward): Likewise.
30619         (tan_test_data): Update call to AUTO_TESTS_f_f.
30620         (tan_test): Use ALL_RM_TEST.
30621         (tan_tonearest_test_data): Remove.
30622         (tan_test_tonearest): Likewise.
30623         (tan_towardzero_test_data): Likewise.
30624         (tan_test_towardzero): Likewise.
30625         (tan_downward_test_data): Likewise.
30626         (tan_test_downward): Likewise.
30627         (tan_upward_test_data): Likewise.
30628         (tan_test_upward): Likewise.
30629         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30630         (tgamma_test_data): Likewise.
30631         (y0_test_data): Likewise.
30632         (y1_test_data): Likewise.
30633         (yn_test_data): Update call to AUTO_TESTS_if_f.
30634         (main): Do not call removed functions.
30636 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30638         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30639         (ldexp_test_data): Remove.
30640         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30641         scalbn_test_data.
30642         (scalb_test): Use ALL_RM_TEST.
30644 2014-03-19  Andreas Schwab  <schwab@suse.de>
30646         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30648 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30650         [BZ #16649]
30651         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30652         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30653         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30655         (__ASSUME_PREADV): Undefine.
30656         (__ASSUME_PWRITEV): Likewise.
30658 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30660         * bits/mman-linux.h: Add comment about non-Linux use.
30661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30662         bits/mman-linux.h resting place.
30664         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30665         * bits/mman-linux.h: ... here.
30667 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669         * conform/conformtest.pl: Add standard definition when calling C
30670         preprocessor on data files.
30671         (checknamespace): Remove unused variable.
30673 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30675         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30676         minus_oflow, plus_uflow and minus_uflow in expected results.
30677         * math/libm-test.inc (scalbn_test_data): Add more tests of
30678         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30679         minus_uflow.
30680         (scalbn_test): Use ALL_RM_TEST.
30681         (scalbln_test_data): Add more tests of negative arguments.  Use
30682         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30683         (scalbln_test): Use ALL_RM_TEST.
30685 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30687         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30689 2014-03-18  Will Newton  <will.newton@linaro.org>
30691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30692         inaccurate comment.
30694 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30696         * Makerules [!subdir] (check-abi): Exit with error status if a
30697         test failed.
30699 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30701         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30702         for rint.  Include results for all rounding modes.
30703         (nearbyint_test): Use ALL_RM_TEST.
30704         (rint_test_data): Include all tests used for nearbyint.
30706 2014-03-17  Will Newton  <will.newton@linaro.org>
30708         * nptl/sysdeps/pthread/pthread.h: Revert previous
30709         change.
30711         * sysdeps/generic/ldsodefs.h: Revert previous
30712         change.
30714         * libio/genops.c: Revert previous change.
30715         * libio/libioP.h: Likewise.
30716         * stdio-common/vfprintf.c: Likewise.
30718         * sysdeps/generic/math_private.h: Revert previous
30719         change.
30721         * sysdeps/generic/math_private.h: Check whether
30722         HAVE_RM_CTX is defined with #ifdef rather
30723         than #if.
30725         * argp/argp-fmtstream.h: Check whether
30726         __STRICT_ANSI__ is defined with #ifdef rather
30727         than #if.
30728         * argp/argp.h: Likewise.
30730         * libio/genops.c: Check whether
30731         _IO_JUMPS_OFFSET is defined with #ifdef rather
30732         than #if.
30733         * libio/libioP.h: Likewise.
30734         * stdio-common/vfprintf.c: Likewise.
30736         * sysdeps/generic/ldsodefs.h: Check whether
30737         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30738         than #if.
30740         * nptl/sysdeps/pthread/pthread.h: Check
30741         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30742         its value.
30744 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30746         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30747         setting O_APPEND.
30748         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30749         test case.
30751         [BZ #16680]
30752         * libio/fileops.c (_IO_file_open): Seek to end of file but
30753         don't cache the offset.
30754         (get_file_offset): Remove function.
30755         (do_ftell): Use cached offset when available.
30756         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30757         don't cache the offset.
30758         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30759         case.
30760         (do_one_test): Call it.
30761         (do_ftell_test): Fix up expected old offset for a+ mode.
30762         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30763         available.
30765         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30766         up test status with function return status.
30767         (do_write_test): Likewise.
30768         (do_append_test): Likewise.
30770         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30771         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30772         Remove.
30774 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30776         * math/gen-libm-test.pl (parse_args): Handle results specified for
30777         each rounding mode separately.
30778         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30779         tests and results from lrint_tonearest_test_data,
30780         lrint_towardzero_test_data, lrint_downward_test_data and
30781         lrint_upward_test_data.
30782         (lrint_test): Use ALL_RM_TEST.
30783         (lrint_tonearest_test_data): Remove.
30784         (lrint_test_tonearest): Likewise.
30785         (lrint_towardzero_test_data): Likewise.
30786         (lrint_test_towardzero): Likewise.
30787         (lrint_downward_test_data): Likewise.
30788         (lrint_test_downward): Likewise.
30789         (lrint_upward_test_data): Likewise.
30790         (lrint_test_upward): Likewise.
30791         (llrint_test_data): Merge in per-rounding-mode tests and results
30792         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30793         llrint_downward_test_data and llrint_upward_test_data.
30794         (llrint_test): Use ALL_RM_TEST.
30795         (llrint_tonearest_test_data): Remove.
30796         (llrint_test_tonearest): Likewise.
30797         (llrint_towardzero_test_data): Likewise.
30798         (llrint_test_towardzero): Likewise.
30799         (llrint_downward_test_data): Likewise.
30800         (llrint_test_downward): Likewise.
30801         (llrint_upward_test_data): Likewise.
30802         (llrint_test_upward): Likewise.
30803         (rint_test_data): Merge in per-rounding-mode tests and results
30804         from rint_tonearest_test_data, rint_towardzero_test_data,
30805         rint_downward_test_data and rint_upward_test_data.  Add
30806         per-rounding-mode results for tests not in those arrays.
30807         (rint_test): Use ALL_RM_TEST.
30808         (rint_tonearest_test_data): Remove.
30809         (rint_test_tonearest): Likewise.
30810         (rint_towardzero_test_data): Likewise.
30811         (rint_test_towardzero): Likewise.
30812         (rint_downward_test_data): Likewise.
30813         (rint_test_downward): Likewise.
30814         (rint_upward_test_data): Likewise.
30815         (rint_test_upward): Likewise.
30816         (main): Don't call removed functions.
30818 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30820         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30821         "Compiled on ..." crapola.  It is anti-useful.
30823 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30825         * scripts/evaluate-test.sh: Handle fourth argument to determine
30826         whether test run should stop on failure.
30827         * Makeconfig (stop-on-test-failure): New variable.
30828         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30829         $(stop-on-test-failure).
30830         * Makefile (tests): Give a summary of results from testing and
30831         exit with failure status if they include an ERROR or FAIL.
30832         (xtests): Likewise.
30833         * manual/install.texi (Configuring and compiling): Mention
30834         stop-on-test-failure=y.
30835         * INSTALL: Regenerated.
30837 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30839         * scripts/versionlist.awk: New file.
30840         * Makerules [$(build-shared) = yes]
30841         (postclean-generated): Add Versions.def, not Versions.def.v and
30842         Versions.def.v.i.
30843         ($(common-objpfx)Versions.def.v.i): Target removed.
30844         ($(common-objpfx)Versions.def): New target.
30845         ($(common-objpfx)Versions.all): Depend on that rather that
30846         $(common-objpfx)Versions.def.v.
30847         * Versions.def: File removed.
30849         * Makeconfig (+gccwarn): Add -Wundef.
30850         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30851         a dl-sysdep.h breaking its contract.
30852         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30853         * include/stackinfo.h: New file.
30854         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30855         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30856         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30857         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30858         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30859         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30860         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30861         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30862         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30863         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30864         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30865         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30866         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30867         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30868         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30870 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30872         [BZ #16707]
30873         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30874         implementation.
30875         * math/libm-test.inc (round_test_data): Add more tests.
30877         [BZ #16706]
30878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30879         implementation.
30880         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30882         [BZ #16701]
30883         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30884         implementation.
30885         * math/libm-test.inc (ceil_test_data): Add more tests.
30887         * math/libm-test.inc (trunc_test_data): Add more tests related to
30888         BZ#16414.
30890 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30892         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30893         with #if rather than #ifdef.
30894         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30896 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30898         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30899         first.  Disable AVX-512 GCC support if assembler doesn't support
30900         it.
30901         * sysdeps/x86_64/configure: Regenerated.
30903 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30905         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30906         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30907         (__old_pthread_attr_setstack): Likewise.
30908         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30909         [!_STACK_GROWS_DOWN]: Likewise.
30911 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30913         * config.make.in (have-bash2): Delete.
30914         * configure.ac (libc_cv_have_bash2): Delete.
30915         * configure: Regenerate.
30916         * elf/Makefile (common-ldd-rewrite): Rename to ...
30917         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30918         (sh-ldd-rewrite): Delete.
30919         (bash-ldd-rewrite): Delete.
30920         (have-bash2): Delete checks.
30921         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30922         ldd-rewrite.
30924         * config.make.in (have-ksh): Delete.
30925         (KSH): Delete.
30926         * configure.ac (libc_cv_have_ksh): Delete.
30927         * configure: Regenerate.
30929         * elf/Makefile: Delete $(have-ksh) check.
30930         ($(objpfx)sotruss): Change KSH to BASH.
30931         * elf/sotruss.ksh: Rename to ...
30932         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30933         function style to match POSIX.  Drop ksh vim mode setting.
30935         * manual/time.texi (Specifying the Time Zone with TZ): Change
30936         Tuesday to Thursday.
30938         * debug/tst-longjmp_chk2.c: Update header comment.
30939         (stackoverflow_handler): Add comment.  Call assert on pass value.
30941 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30943         [BZ #16194]
30944         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30945         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30946         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30947         (La_x86_64_vector): Add zmm.
30948         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30949         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30950         ($(objpfx)tst-audit10): New target.
30951         ($(objpfx)tst-audit10.out): Likewise.
30952         (tst-audit10-ENV): New.
30953         (AVX512-CFLAGS): Likewise.
30954         (CFLAGS-tst-audit10.c): Likewise.
30955         (CFLAGS-tst-auditmod10a.c): Likewise.
30956         (CFLAGS-tst-auditmod10b.c): Likewise.
30957         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30958         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30959         * sysdeps/x86_64/configure: Regenerated.
30960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30961         AVX-512 zmm register support.
30962         (_dl_x86_64_save_sse): Likewise.
30963         (_dl_x86_64_restore_sse): Likewise.
30964         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30965         size vector registers.
30966         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30967         (ZMM_SIZE): Likewise.
30968         * sysdeps/x86_64/tst-audit10.c: New file.
30969         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30970         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30972 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30974         * configure.ac (HAVE_EHDR_START): New check.
30975         * configure: Regenerated.
30976         * config.h.in (HAVE_EHDR_START): New #undef.
30977         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30978         assuming the lowest-addressed segment maps the start of the file.
30980 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30982         * INSTALL: Regenerated.
30984 2014-03-13  Will Newton  <will.newton@linaro.org>
30986         * manual/setjmp.texi (System V contexts): Improve
30987         clarity and grammar of documentation.
30989 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30991         [BZ #16381]
30992         * elf/Makefile (tests): Add tst-pie2.
30993         (tests-pie): Add tst-pie2.
30994         * elf/tst-pie2.c: New file.
30995         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30996         for ET_EXEC.
30997         * elf/rtld.c (map_doit): Load executable as lt_executable.
30998         (dl_main): Likewise.
31000 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31002         [BZ #16642]
31003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31004         (__ASSUME_PSELECT): Undefine.
31006 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31008         [BZ #16689]
31009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31010         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31011         static build.
31012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31013         selector for static builds.
31015 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31017         [BZ #16695]
31018         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31019         key in the buffer.
31021 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31023         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31024         IFUNC selector for static builds.
31026 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31028         * sysdeps/mips/math_private.h [__mips_hard_float]
31029         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31030         libc_feresetround_mips_ctx.
31031         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31032         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31033         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31035         [BZ #16677]
31036         * math/s_nextafter.c (__nextafter): Do not return value from
31037         overflowing computation.
31038         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31039         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31040         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31041         Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31043         Likewise.
31044         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31045         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31047 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31049         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31050         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31051         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31052         the new mov targetting sp.
31054 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31056         [BZ #16683]
31057         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31058         Define it for static builds as well.
31059         (NO_BZERO_IMPL): Likewise.
31061 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31063         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31064         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31065         multiarch strspn for PPC64.
31066         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31067         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31069         (__libc_ifunc_impl_list): Likewise.
31070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31071         multiarch optimizations
31072         * string/strspn.c (strspn): Using macro to redefine symbol name.
31074 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31075             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31077         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31078         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31079         multiarch strncat for PPC64.
31080         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31081         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31083         (__libc_ifunc_impl_list): Likewise.
31084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31085         multiarch optimizations
31087 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089         [BZ #16639]
31090         * nscd/nscd.service: Make service type forking.
31092 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31094         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31095         sign in non default rounding modes.
31096         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31098 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31100         * math/libm-test.inc (ALL_RM_TEST): New macro.
31101         (ceil_test): Use ALL_RM_TEST.
31102         (cimag_test): Likewise.
31103         (conj_test): Likewise.
31104         (copysign_test): Likewise.
31105         (cproj_test): Likewise.
31106         (creal_test): Likewise.
31107         (fabs_test): Likewise.
31108         (floor_test): Likewise.
31109         (fmax_test): Likewise.
31110         (fmin_test): Likewise.
31111         (fmod_test): Likewise.
31112         (fpclassify_test): Likewise.
31113         (frexp_test): Likewise.
31114         (ilogb_test): Likewise.
31115         (isfinite_test): Likewise.
31116         (finite_test): Likewise.
31117         (isgreater_test): Likewise.
31118         (isgreaterequal_test): Likewise.
31119         (isinf_test): Likewise.
31120         (isless_test): Likewise.
31121         (islessequal_test): Likewise.
31122         (islessgreater_test): Likewise.
31123         (isnan_test): Likewise.
31124         (isnormal_test): Likewise.
31125         (issignaling_test): Likewise.
31126         (isunordered_test): Likewise.
31127         (logb_test): Likewise.
31128         (logb_downward_test_data): Remove.
31129         (logb_test_downward): Likewise.
31130         (lround_test): Use ALL_RM_TEST.
31131         (llround_test): Likewise.
31132         (modf_test): Likewise.
31133         (nexttoward_test): Likewise.
31134         (remainder_test): Likewise.
31135         (drem_test): Likewise.
31136         (remainder_tonearest_test_data): Likewise.
31137         (remainder_test_tonearest): Likewise.
31138         (drem_test_tonearest): Likewise.
31139         (remainder_towardzero_test_data): Likewise.
31140         (remainder_test_towardzero): Likewise.
31141         (drem_test_towardzero): Likewise.
31142         (remainder_downward_test_data): Likewise.
31143         (remainder_test_downward): Likewise.
31144         (drem_test_downward): Likewise.
31145         (remainder_upward_test_data): Likewise.
31146         (remainder_test_upward): Likewise.
31147         (drem_test_upward): Likewise.
31148         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31149         (round_test): Use ALL_RM_TEST.
31150         (signbit_test): Likewise.
31151         (trunc_test): Likewise.
31152         (significand_test): Likewise.
31153         (main): Don't call removed functions.
31155 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31157         [BZ #16674]
31158         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31159         || __USE_XOPEN2K8].
31160         (ILL_ILLOPN): Likewise.
31161         (ILL_ILLADR): Likewise.
31162         (ILL_ILLTRP): Likewise.
31163         (ILL_PRVOPC): Likewise.
31164         (ILL_PRVREG): Likewise.
31165         (ILL_COPROC): Likewise.
31166         (ILL_BADSTK): Likewise.
31167         (FPE_INTDIV): Likewise.
31168         (FPE_INTOVF): Likewise.
31169         (FPE_FLTDIV): Likewise.
31170         (FPE_FLTOVF): Likewise.
31171         (FPE_FLTUND): Likewise.
31172         (FPE_FLTRES): Likewise.
31173         (FPE_FLTINV): Likewise.
31174         (FPE_FLTSUB): Likewise.
31175         (SEGV_MAPERR): Likewise.
31176         (SEGV_ACCERR): Likewise.
31177         (BUS_ADRALN): Likewise.
31178         (BUS_ADRERR): Likewise.
31179         (BUS_OBJERR): Likewise.
31180         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31181         (TRAP_TRACE): Likewise.
31182         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31183         __USE_XOPEN2K8].
31184         (CLD_KILLED): Likewise.
31185         (CLD_DUMPED): Likewise.
31186         (CLD_TRAPPED): Likewise.
31187         (CLD_STOPPED): Likewise.
31188         (CLD_CONTINUED): Likewise.
31189         (POLL_IN): Likewise.
31190         (POLL_OUT): Likewise.
31191         (POLL_MSG): Likewise.
31192         (POLL_ERR): Likewise.
31193         (POLL_PRI): Likewise.
31194         (POLL_HUP): Likewise.
31195         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31196         Likewise.
31197         (ILL_ILLOPN): Likewise.
31198         (ILL_ILLADR): Likewise.
31199         (ILL_ILLTRP): Likewise.
31200         (ILL_PRVOPC): Likewise.
31201         (ILL_PRVREG): Likewise.
31202         (ILL_COPROC): Likewise.
31203         (ILL_BADSTK): Likewise.
31204         (FPE_INTDIV): Likewise.
31205         (FPE_INTOVF): Likewise.
31206         (FPE_FLTDIV): Likewise.
31207         (FPE_FLTOVF): Likewise.
31208         (FPE_FLTUND): Likewise.
31209         (FPE_FLTRES): Likewise.
31210         (FPE_FLTINV): Likewise.
31211         (FPE_FLTSUB): Likewise.
31212         (SEGV_MAPERR): Likewise.
31213         (SEGV_ACCERR): Likewise.
31214         (BUS_ADRALN): Likewise.
31215         (BUS_ADRERR): Likewise.
31216         (BUS_OBJERR): Likewise.
31217         (BUS_MCEERR_AR): Likewise.
31218         (BUS_MCEERR_AO): Likewise.
31219         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31220         (TRAP_TRACE): Likewise.
31221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31222         __USE_XOPEN2K8].
31223         (CLD_KILLED): Likewise.
31224         (CLD_DUMPED): Likewise.
31225         (CLD_TRAPPED): Likewise.
31226         (CLD_STOPPED): Likewise.
31227         (CLD_CONTINUED): Likewise.
31228         (POLL_IN): Likewise.
31229         (POLL_OUT): Likewise.
31230         (POLL_MSG): Likewise.
31231         (POLL_ERR): Likewise.
31232         (POLL_PRI): Likewise.
31233         (POLL_HUP): Likewise.
31234         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31235         (ILL_ILLOPN): Likewise.
31236         (ILL_ILLADR): Likewise.
31237         (ILL_ILLTRP): Likewise.
31238         (ILL_PRVOPC): Likewise.
31239         (ILL_PRVREG): Likewise.
31240         (ILL_COPROC): Likewise.
31241         (ILL_BADSTK): Likewise.
31242         (FPE_INTDIV): Likewise.
31243         (FPE_INTOVF): Likewise.
31244         (FPE_FLTDIV): Likewise.
31245         (FPE_FLTOVF): Likewise.
31246         (FPE_FLTUND): Likewise.
31247         (FPE_FLTRES): Likewise.
31248         (FPE_FLTINV): Likewise.
31249         (FPE_FLTSUB): Likewise.
31250         (SEGV_MAPERR): Likewise.
31251         (SEGV_ACCERR): Likewise.
31252         (BUS_ADRALN): Likewise.
31253         (BUS_ADRERR): Likewise.
31254         (BUS_OBJERR): Likewise.
31255         (BUS_MCEERR_AR): Likewise.
31256         (BUS_MCEERR_AO): Likewise.
31257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31258         (TRAP_TRACE): Likewise.
31259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31260         __USE_XOPEN2K8].
31261         (CLD_KILLED): Likewise.
31262         (CLD_DUMPED): Likewise.
31263         (CLD_TRAPPED): Likewise.
31264         (CLD_STOPPED): Likewise.
31265         (CLD_CONTINUED): Likewise.
31266         (POLL_IN): Likewise.
31267         (POLL_OUT): Likewise.
31268         (POLL_MSG): Likewise.
31269         (POLL_ERR): Likewise.
31270         (POLL_PRI): Likewise.
31271         (POLL_HUP): Likewise.
31272         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31273         Likewise.
31274         (ILL_ILLOPN): Likewise.
31275         (ILL_ILLADR): Likewise.
31276         (ILL_ILLTRP): Likewise.
31277         (ILL_PRVOPC): Likewise.
31278         (ILL_PRVREG): Likewise.
31279         (ILL_COPROC): Likewise.
31280         (ILL_BADSTK): Likewise.
31281         (ILL_BADIADDR): Likewise.
31282         (ILL_BREAK): Likewise.
31283         (FPE_INTDIV): Likewise.
31284         (FPE_INTOVF): Likewise.
31285         (FPE_FLTDIV): Likewise.
31286         (FPE_FLTOVF): Likewise.
31287         (FPE_FLTUND): Likewise.
31288         (FPE_FLTRES): Likewise.
31289         (FPE_FLTINV): Likewise.
31290         (FPE_FLTSUB): Likewise.
31291         (FPE_DECOVF): Likewise.
31292         (FPE_DECDIV): Likewise.
31293         (FPE_DECERR): Likewise.
31294         (FPE_INVASC): Likewise.
31295         (FPE_INVDEC): Likewise.
31296         (SEGV_MAPERR): Likewise.
31297         (SEGV_ACCERR): Likewise.
31298         (SEGV_PSTKOVF): Likewise.
31299         (BUS_ADRALN): Likewise.
31300         (BUS_ADRERR): Likewise.
31301         (BUS_OBJERR): Likewise.
31302         (BUS_MCEERR_AR): Likewise.
31303         (BUS_MCEERR_AO): Likewise.
31304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31305         (TRAP_TRACE): Likewise.
31306         (TRAP_BRANCH): Likewise.
31307         (TRAP_HWBKPT): Likewise.
31308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31309         __USE_XOPEN2K8].
31310         (CLD_KILLED): Likewise.
31311         (CLD_DUMPED): Likewise.
31312         (CLD_TRAPPED): Likewise.
31313         (CLD_STOPPED): Likewise.
31314         (CLD_CONTINUED): Likewise.
31315         (POLL_IN): Likewise.
31316         (POLL_OUT): Likewise.
31317         (POLL_MSG): Likewise.
31318         (POLL_ERR): Likewise.
31319         (POLL_PRI): Likewise.
31320         (POLL_HUP): Likewise.
31321         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31322         (ILL_ILLOPN): Likewise.
31323         (ILL_ILLADR): Likewise.
31324         (ILL_ILLTRP): Likewise.
31325         (ILL_PRVOPC): Likewise.
31326         (ILL_PRVREG): Likewise.
31327         (ILL_COPROC): Likewise.
31328         (ILL_BADSTK): Likewise.
31329         (FPE_INTDIV): Likewise.
31330         (FPE_INTOVF): Likewise.
31331         (FPE_FLTDIV): Likewise.
31332         (FPE_FLTOVF): Likewise.
31333         (FPE_FLTUND): Likewise.
31334         (FPE_FLTRES): Likewise.
31335         (FPE_FLTINV): Likewise.
31336         (FPE_FLTSUB): Likewise.
31337         (SEGV_MAPERR): Likewise.
31338         (SEGV_ACCERR): Likewise.
31339         (BUS_ADRALN): Likewise.
31340         (BUS_ADRERR): Likewise.
31341         (BUS_OBJERR): Likewise.
31342         (BUS_MCEERR_AR): Likewise.
31343         (BUS_MCEERR_AO): Likewise.
31344         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31345         (TRAP_TRACE): Likewise.
31346         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31347         __USE_XOPEN2K8].
31348         (CLD_KILLED): Likewise.
31349         (CLD_DUMPED): Likewise.
31350         (CLD_TRAPPED): Likewise.
31351         (CLD_STOPPED): Likewise.
31352         (CLD_CONTINUED): Likewise.
31353         (POLL_IN): Likewise.
31354         (POLL_OUT): Likewise.
31355         (POLL_MSG): Likewise.
31356         (POLL_ERR): Likewise.
31357         (POLL_PRI): Likewise.
31358         (POLL_HUP): Likewise.
31359         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31360         (ILL_ILLOPN): Likewise.
31361         (ILL_ILLADR): Likewise.
31362         (ILL_ILLTRP): Likewise.
31363         (ILL_PRVOPC): Likewise.
31364         (ILL_PRVREG): Likewise.
31365         (ILL_COPROC): Likewise.
31366         (ILL_BADSTK): Likewise.
31367         (FPE_INTDIV): Likewise.
31368         (FPE_INTOVF): Likewise.
31369         (FPE_FLTDIV): Likewise.
31370         (FPE_FLTOVF): Likewise.
31371         (FPE_FLTUND): Likewise.
31372         (FPE_FLTRES): Likewise.
31373         (FPE_FLTINV): Likewise.
31374         (FPE_FLTSUB): Likewise.
31375         (SEGV_MAPERR): Likewise.
31376         (SEGV_ACCERR): Likewise.
31377         (BUS_ADRALN): Likewise.
31378         (BUS_ADRERR): Likewise.
31379         (BUS_OBJERR): Likewise.
31380         (BUS_MCEERR_AR): Likewise.
31381         (BUS_MCEERR_AO): Likewise.
31382         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31383         (TRAP_TRACE): Likewise.
31384         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31385         __USE_XOPEN2K8].
31386         (CLD_KILLED): Likewise.
31387         (CLD_DUMPED): Likewise.
31388         (CLD_TRAPPED): Likewise.
31389         (CLD_STOPPED): Likewise.
31390         (CLD_CONTINUED): Likewise.
31391         (POLL_IN): Likewise.
31392         (POLL_OUT): Likewise.
31393         (POLL_MSG): Likewise.
31394         (POLL_ERR): Likewise.
31395         (POLL_PRI): Likewise.
31396         (POLL_HUP): Likewise.
31397         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31398         (ILL_ILLOPN): Likewise.
31399         (ILL_ILLADR): Likewise.
31400         (ILL_ILLTRP): Likewise.
31401         (ILL_PRVOPC): Likewise.
31402         (ILL_PRVREG): Likewise.
31403         (ILL_COPROC): Likewise.
31404         (ILL_BADSTK): Likewise.
31405         (FPE_INTDIV): Likewise.
31406         (FPE_INTOVF): Likewise.
31407         (FPE_FLTDIV): Likewise.
31408         (FPE_FLTOVF): Likewise.
31409         (FPE_FLTUND): Likewise.
31410         (FPE_FLTRES): Likewise.
31411         (FPE_FLTINV): Likewise.
31412         (FPE_FLTSUB): Likewise.
31413         (SEGV_MAPERR): Likewise.
31414         (SEGV_ACCERR): Likewise.
31415         (BUS_ADRALN): Likewise.
31416         (BUS_ADRERR): Likewise.
31417         (BUS_OBJERR): Likewise.
31418         (BUS_MCEERR_AR): Likewise.
31419         (BUS_MCEERR_AO): Likewise.
31420         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31421         (TRAP_TRACE): Likewise.
31422         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31423         __USE_XOPEN2K8].
31424         (CLD_KILLED): Likewise.
31425         (CLD_DUMPED): Likewise.
31426         (CLD_TRAPPED): Likewise.
31427         (CLD_STOPPED): Likewise.
31428         (CLD_CONTINUED): Likewise.
31429         (POLL_IN): Likewise.
31430         (POLL_OUT): Likewise.
31431         (POLL_MSG): Likewise.
31432         (POLL_ERR): Likewise.
31433         (POLL_PRI): Likewise.
31434         (POLL_HUP): Likewise.
31435         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31436         (ILL_ILLOPN): Likewise.
31437         (ILL_ILLADR): Likewise.
31438         (ILL_ILLTRP): Likewise.
31439         (ILL_PRVOPC): Likewise.
31440         (ILL_PRVREG): Likewise.
31441         (ILL_COPROC): Likewise.
31442         (ILL_BADSTK): Likewise.
31443         (ILL_DBLFLT): Likewise.
31444         (ILL_HARDWALL): Likewise.
31445         (FPE_INTDIV): Likewise.
31446         (FPE_INTOVF): Likewise.
31447         (FPE_FLTDIV): Likewise.
31448         (FPE_FLTOVF): Likewise.
31449         (FPE_FLTUND): Likewise.
31450         (FPE_FLTRES): Likewise.
31451         (FPE_FLTINV): Likewise.
31452         (FPE_FLTSUB): Likewise.
31453         (SEGV_MAPERR): Likewise.
31454         (SEGV_ACCERR): Likewise.
31455         (BUS_ADRALN): Likewise.
31456         (BUS_ADRERR): Likewise.
31457         (BUS_OBJERR): Likewise.
31458         (BUS_MCEERR_AR): Likewise.
31459         (BUS_MCEERR_AO): Likewise.
31460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31461         (TRAP_TRACE): Likewise.
31462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31463         __USE_XOPEN2K8].
31464         (CLD_KILLED): Likewise.
31465         (CLD_DUMPED): Likewise.
31466         (CLD_TRAPPED): Likewise.
31467         (CLD_STOPPED): Likewise.
31468         (CLD_CONTINUED): Likewise.
31469         (POLL_IN): Likewise.
31470         (POLL_OUT): Likewise.
31471         (POLL_MSG): Likewise.
31472         (POLL_ERR): Likewise.
31473         (POLL_PRI): Likewise.
31474         (POLL_HUP): Likewise.
31475         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31476         (ILL_ILLOPN): Likewise.
31477         (ILL_ILLADR): Likewise.
31478         (ILL_ILLTRP): Likewise.
31479         (ILL_PRVOPC): Likewise.
31480         (ILL_PRVREG): Likewise.
31481         (ILL_COPROC): Likewise.
31482         (ILL_BADSTK): Likewise.
31483         (FPE_INTDIV): Likewise.
31484         (FPE_INTOVF): Likewise.
31485         (FPE_FLTDIV): Likewise.
31486         (FPE_FLTOVF): Likewise.
31487         (FPE_FLTUND): Likewise.
31488         (FPE_FLTRES): Likewise.
31489         (FPE_FLTINV): Likewise.
31490         (FPE_FLTSUB): Likewise.
31491         (SEGV_MAPERR): Likewise.
31492         (SEGV_ACCERR): Likewise.
31493         (BUS_ADRALN): Likewise.
31494         (BUS_ADRERR): Likewise.
31495         (BUS_OBJERR): Likewise.
31496         (BUS_MCEERR_AR): Likewise.
31497         (BUS_MCEERR_AO): Likewise.
31498         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31499         (TRAP_TRACE): Likewise.
31500         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31501         __USE_XOPEN2K8].
31502         (CLD_KILLED): Likewise.
31503         (CLD_DUMPED): Likewise.
31504         (CLD_TRAPPED): Likewise.
31505         (CLD_STOPPED): Likewise.
31506         (CLD_CONTINUED): Likewise.
31507         (POLL_IN): Likewise.
31508         (POLL_OUT): Likewise.
31509         (POLL_MSG): Likewise.
31510         (POLL_ERR): Likewise.
31511         (POLL_PRI): Likewise.
31512         (POLL_HUP): Likewise.
31513         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31514         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31516         [BZ #16670]
31517         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31518         before #include of <time.h>.
31519         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31520         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31521         (test-xfail-UNIX98/sched.h/conform): Likewise.
31523 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31525         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31526         error absence of trapping exception support.
31527         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31529 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31531         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31532         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31533         * timezone/Makefile (testdata): Move definition above include of
31534         Rules.
31535         (test-zones): New variable.
31536         (tests-special): Add zone files.
31537         (build-testdata): Use $(evaluate-test).
31539         * elf/Makefile (tests-special): Rename tests to end with .out.
31540         ($(objpfx)noload-mem): Likewise.
31541         ($(objpfx)tst-leaks1-mem): Likewise.
31542         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31543         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31544         $(objpfx)test-iconvconfig.out.
31545         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31546         set -e inside subshell and redirect output to file.
31547         * iconvdata/Makefile (generated): Rename tests to end with .out.
31548         Correct type.
31549         (tests-special): Rename tests to end with .out.
31550         ($(objpfx)mtrace-tst-loading): Likewise.
31551         * intl/Makefile (generated): Likewise.
31552         (tests-special): Likewise.
31553         ($(objpfx)mtrace-tst-gettext): Likewise.
31554         * misc/Makefile (generated): Likewise.
31555         (tests-special): Likewise.
31556         ($(objpfx)tst-error1-mem): Likewise.
31557         * nptl/Makefile (tests-special): Likewise.
31558         ($(objpfx)tst-stack3-mem): Likewise.
31559         (generated): Likewise.
31560         * posix/Makefile (generated): Likewise.
31561         (tests-special): Likewise.
31562         (xtests-special): Likewise.
31563         ($(objpfx)tst-fnmatch-mem): Likewise.
31564         ($(objpfx)bug-regex2-mem): Likewise.
31565         ($(objpfx)bug-regex14-mem): Likewise.
31566         ($(objpfx)bug-regex21-mem): Likewise.
31567         ($(objpfx)bug-regex31-mem): Likewise.
31568         ($(objpfx)tst-vfork3-mem): Likewise.
31569         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31570         ($(objpfx)tst-pcre-mem): Likewise.
31571         ($(objpfx)tst-boost-mem): Likewise.
31572         ($(objpfx)bug-ga2-mem): Likewise.
31573         ($(objpfx)bug-glob2-mem): Likewise.
31574         * resolv/Makefile (generate): Likewise.
31575         (tests-special): Likewise.
31576         (xtests-special): Likewise.
31577         (generated): Likewise.
31578         ($(objpfx)mtrace-tst-leaks): Likewise.
31579         ($(objpfx)mtrace-tst-leaks2): Likewise.
31581         * scripts/merge-test-results.sh: New file.
31582         * Makefile (tests-special-notdir): New variable.
31583         (tests): Run merge-test-results.sh.
31584         (xtests): Likewise.
31585         * Rules (tests-special-notdir): New variable.
31586         (xtests-special-notdir): Likewise.
31587         (tests): Run merge-test-results.sh
31588         (xtests): Likewise.
31590         * Makeconfig (test-xfail-name): New variable.
31591         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31592         compute variable name for expected failures.
31593         * conform/Makefile (conformtest-headers-data): New variable.
31594         (conformtest-standards): Likewise.
31595         (conformtest-headers-ISO): Likewise.
31596         (conformtest-headers-ISO99): Likewise.
31597         (conformtest-headers-ISO11): Likewise.
31598         (conformtest-headers-POSIX): Likewise.
31599         (conformtest-headers-XPG3): Likewise.
31600         (conformtest-headers-XPG4): Likewise.
31601         (conformtest-headers-UNIX98): Likewise.
31602         (conformtest-headers-XOPEN2K): Likewise.
31603         (conformtest-headers-POSIX2008): Likewise.
31604         (conformtest-headers-XOPEN2K8): Likewise.
31605         (conformtest-header-list-base): Likewise.
31606         (conformtest-header-list-tests): Likewise.
31607         (conformtest-header-base): Likewise.
31608         (conformtest-header-tests): Likewise.
31609         (tests-special): Add $(conformtest-header-list-tests).  If
31610         [$(fast-check) && !$(cross-compiling)], add
31611         $(conformtest-header-tests) instead of
31612         $(objpfx)run-conformtest.out.
31613         (generated): Add $(conformtest-header-list-base).  If
31614         [$(fast-check) && !$(cross-compiling)], add
31615         $(conformtest-header-base).  Remove previous setting.
31616         ($(conformtest-header-list-tests)): New target.
31617         (test-xfail-run-conformtest): Remove variable.
31618         ($(objpfx)run-conformtest.out): Remove target.
31619         (test-xfail-ISO11/complex.h/conform): New variable.
31620         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31621         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31622         (test-xfail-XPG3/varargs.h/conform): Likewise.
31623         (test-xfail-XPG4/varargs.h/conform): Likewise.
31624         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31625         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31626         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31627         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31628         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31629         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31630         (test-xfail-XPG3/ftw.h/conform): Likewise.
31631         (test-xfail-XPG3/grp.h/conform): Likewise.
31632         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31633         (test-xfail-XPG3/limits.h/conform): Likewise.
31634         (test-xfail-XPG3/pwd.h/conform): Likewise.
31635         (test-xfail-XPG3/search.h/conform): Likewise.
31636         (test-xfail-XPG3/signal.h/conform): Likewise.
31637         (test-xfail-XPG3/stdio.h/conform): Likewise.
31638         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31639         (test-xfail-XPG3/string.h/conform): Likewise.
31640         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31641         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31642         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31643         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31644         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31645         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31646         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31647         (test-xfail-XPG3/termios.h/conform): Likewise.
31648         (test-xfail-XPG3/time.h/conform): Likewise.
31649         (test-xfail-XPG3/unistd.h/conform): Likewise.
31650         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31651         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31652         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31653         (test-xfail-XPG4/netdb.h/conform): Likewise.
31654         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31655         (test-xfail-XPG4/signal.h/conform): Likewise.
31656         (test-xfail-XPG4/stdio.h/conform): Likewise.
31657         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31658         (test-xfail-XPG4/stropts.h/conform): Likewise.
31659         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31660         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31661         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31662         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31663         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31664         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31665         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31666         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31667         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31668         (test-xfail-XPG4/termios.h/conform): Likewise.
31669         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31670         (test-xfail-XPG4/unistd.h/conform): Likewise.
31671         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31672         (test-xfail-POSIX/sched.h/conform): Likewise.
31673         (test-xfail-POSIX/signal.h/conform): Likewise.
31674         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31675         (test-xfail-POSIX/tar.h/conform): Likewise.
31676         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31677         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31678         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31679         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31680         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31681         (test-xfail-UNIX98/sched.h/conform): Likewise.
31682         (test-xfail-UNIX98/signal.h/conform): Likewise.
31683         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31684         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31685         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31686         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31687         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31688         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31689         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31690         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31691         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31692         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31693         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31694         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31695         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31696         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31697         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31698         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31699         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31700         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31701         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31702         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31703         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31704         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31705         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31706         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31707         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31708         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31709         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31710         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31711         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31712         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31713         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31714         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31715         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31716         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31717         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31718         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31719         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31720         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31721         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31722         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31723         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31724         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31725         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31726         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31727         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31728         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31729         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31730         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31731         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31732         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31733         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31734         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31735         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31736         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31737         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31738         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31739         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31740         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31741         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31742         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31743         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31744         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31745         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31746         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31747         (conformtest-cc-flags): Likewise.
31748         ($(conformtest-header-tests): New target.
31749         * conform/check-header-lists.sh: New file.
31750         * conform/run-conformtest.sh: Remove.
31752         * conform/conformtest.pl: Allow ' and \ in values given for
31753         constants.
31754         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31755         inclusion.
31756         [POSIX] (sys/types.h): Likewise.
31757         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31758         inclusion.
31759         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31760         inclusion.
31761         * conform/data/signal.h-data (SIGIO): Remove expectation.
31762         [XPG3] (SIGBUS): Do not expect.
31763         [POSIX || XPG3] (SIGPOLL): Likewise.
31764         [POSIX || XPG3] (SIGPROF): Likewise.
31765         [POSIX || XPG3] (SIGSYS): Likewise.
31766         [XPG3] (SIGTRAP): Likewise.
31767         [POSIX || XPG3] (SIGURG): Likewise.
31768         [POSIX || XPG3] (SIGVTALRM): Likewise.
31769         [POSIX || XPG3] (SIGXCPU): Likewise.
31770         [POSIX || XPG3] (SIGXFSZ): Likewise.
31771         [POSIX] (SA_SIGINFO): Expect.
31772         [XPG3] (siginfo_t): Do not expect type or contents.
31773         [POSIX] (si_pid): Do not expect element.
31774         [POSIX] (si_uid): Likewise.
31775         [POSIX] (si_addr): Likewise.
31776         [POSIX] (si_status): Likewise.
31777         [POSIX] (si_band): Likewise.
31778         [XPG4] (si_value): Likewise.
31779         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31780         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31781         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31782         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31783         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31784         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31785         [POSIX || XPG3] (ILL_COPROC): Likewise.
31786         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31787         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31788         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31789         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31790         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31791         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31792         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31793         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31794         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31795         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31796         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31797         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31798         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31799         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31800         [POSIX || XPG3] (CLD_EXITED): Likewise.
31801         [POSIX || XPG3] (CLD_KILLED): Likewise.
31802         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31803         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31804         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31805         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31806         [POSIX || XPG3] (POLL_IN): Likewise.
31807         [POSIX || XPG3] (POLL_OUT): Likewise.
31808         [POSIX || XPG3] (POLL_MSG): Likewise.
31809         [POSIX || XPG3] (POLL_ERR): Likewise.
31810         [POSIX || XPG3] (POLL_PRI): Likewise.
31811         [POSIX || XPG3] (POLL_HUP): Likewise.
31812         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31813         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31814         (SIG*): Do not allow.
31815         [XPG3] (si_*): Likewise.
31816         [XPG3] (SI_*): Likewise.
31817         [XPG3 || XPG4] (sigev_*): Likewise.
31818         [XPG3 || XPG4] (SIGEV_*): Likewise.
31819         [XPG3 || XPG4] (sival_*): Likewise.
31820         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31821         [POSIX || XPG3] (BUS_*): Likewise.
31822         [POSIX || XPG3] (CLD_*): Likewise.
31823         [POSIX || XPG3] (FPE_*): Likewise.
31824         [POSIX || XPG3] (ILL_*): Likewise.
31825         [POSIX || XPG3] (POLL_*): Likewise.
31826         [POSIX || XPG3] (SEGV_*): Likewise.
31827         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31828         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31829         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31830         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31831         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31832         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31833         Specify type and value.
31834         (TVERSLEN): Likewise.
31835         (REGTYPE): Likewise.
31836         (AREGTYPE): Likewise.
31837         (LNKTYPE): Likewise.
31838         (SYMTYPE): Likewise.
31839         (CHRTYPE): Likewise.
31840         (BLKTYPE): Likewise.
31841         (DIRTYPE): Likewise.
31842         (FIFOTYPE): Likewise.
31843         (CONTTYPE): Likewise.
31844         (TSUID): Likewise.
31845         (TSGID): Likewise.
31846         (TSVTX): Likewise.
31847         (TUREAD): Likewise.
31848         (TUWRITE): Likewise.
31849         (TUEXEC): Likewise.
31850         (TGREAD): Likewise.
31851         (TGWRITE): Likewise.
31852         (TGEXEC): Likewise.
31853         (TOREAD): Likewise.
31854         (TOWRITE): Likewise.
31855         (TOEXEC): Likewise.
31856         [POSIX] (TSVTX): Expect constant.
31858 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31860         * Makefile (tests): Change dependencies to ....
31861         (tests-special): ... additions to this variable.
31862         (tests): Depend on $(tests-special).
31863         * Makerules (check-abi-list): New variable.
31864         (check-abi): Depend on $(check-abi-list).
31865         [$(subdir) = elf] (tests-special): Add
31866         $(objpfx)check-abi-libc.out.
31867         [$(build-shared) = yes && subdir] (tests-special): Add
31868         $(check-abi-list).
31869         [$(build-shared) = yes && subdir] (tests): Do not depend on
31870         check-abi.
31871         * Rules (tests): Depend on $(tests-special).
31872         (xtests): Depend on $(xtests-special).
31873         * catgets/Makefile (tests): Change dependencies to ....
31874         (tests-special): ... additions to this variable.
31875         * conform/Makefile (tests): Change dependencies to ....
31876         (tests-special): ... additions to this variable.
31877         * elf/Makefile (tests): Change dependencies to ....
31878         (tests-special): ... additions to this variable.
31879         * grp/Makefile (tests): Change dependencies to ....
31880         (tests-special): ... additions to this variable.
31881         * iconv/Makefile (xtests): Change dependencies to ....
31882         (xtests-special): ... additions to this variable.
31883         * iconvdata/Makefile (tests): Change dependencies to ....
31884         (tests-special): ... additions to this variable.
31885         * intl/Makefile (tests): Change dependencies to ....
31886         (tests-special): ... additions to this variable.  Also add
31887         $(objpfx)tst-gettext.out.
31888         * io/Makefile (tests): Change dependencies to ....
31889         (tests-special): ... additions to this variable.
31890         * libio/Makefile (tests): Change dependencies to ....
31891         (tests-special): ... additions to this variable.
31892         * malloc/Makefile (tests): Change dependencies to ....
31893         (tests-special): ... additions to this variable.
31894         * misc/Makefile (tests): Change dependencies to ....
31895         (tests-special): ... additions to this variable.
31896         * nptl/Makefile (tests): Change dependencies to ....
31897         (tests-special): ... additions to this variable.
31898         * nptl_db/Makefile (tests): Change dependencies to ....
31899         (tests-special): ... additions to this variable.
31900         * posix/Makefile (tests): Change dependencies to ....
31901         (tests-special): ... additions to this variable.
31902         (xtests): Change dependencies to ....
31903         (xtests-special): ... additions to this variable.
31904         * resolv/Makefile (tests): Change dependencies to ....
31905         (tests-special): ... additions to this variable.
31906         (xtests): Change dependencies to ....
31907         (xtests-special): ... additions to this variable.
31908         * stdio-common/Makefile (tests): Change dependencies to ....
31909         (tests-special): ... additions to this variable.
31910         (do-tst-unbputc): Remove target.
31911         (do-tst-printf): Likewise.
31912         * stdlib/Makefile (tests): Change dependencies to ....
31913         (tests-special): ... additions to this variable.
31914         * string/Makefile (tests): Change dependencies to ....
31915         (tests-special): ... additions to this variable.
31916         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31917         (tests-special): ... additions to this variable.
31919         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31920         whole file.
31921         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31922         whole file.
31923         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31924         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31926         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31927         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31928         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31929         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31930         * conform/data/libgen.h-data [XPG3]: Likewise.
31931         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31932         * conform/data/ndbm.h-data [XPG3]: Likewise.
31933         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31934         * conform/data/netdb.h-data [XPG3]: Likewise.
31935         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31936         * conform/data/poll.h-data [XPG3]: Likewise.
31937         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31938         * conform/data/strings.h-data [XPG3]: Likewise.
31939         * conform/data/stropts.h-data [XPG3]: Likewise.
31940         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31941         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31942         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31943         Likewise.
31944         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31945         * conform/data/sys/time.h-data [XPG3]: Likewise.
31946         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31947         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31948         * conform/data/sys/un.h-data [XPG3]: Likewise.
31949         * conform/data/syslog.h-data [XPG3]: Likewise.
31950         * conform/data/ucontext.h-data [XPG3]: Likewise.
31951         * conform/data/utmpx.h-data [XPG3]: Likewise.
31952         * conform/data/varargs.h-data [UNIX98]: Enable file.
31954         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31956         * math/libm-test.inc (struct test_f_f_data): Move expected results
31957         into structure for each rounding mode.
31958         (struct test_ff_f_data): Likewise.
31959         (struct test_ff_f_data_nexttoward): Likewise.
31960         (struct test_fi_f_data): Likewise.
31961         (struct test_fl_f_data): Likewise.
31962         (struct test_if_f_data): Likewise.
31963         (struct test_fff_f_data): Likewise.
31964         (struct test_c_f_data): Likewise.
31965         (struct test_f_f1_data): Likewise.
31966         (struct test_fF_f1_data): Likewise.
31967         (struct test_ffI_f1_data): Likewise.
31968         (struct test_c_c_data): Likewise.
31969         (struct test_cc_c_data): Likewise.
31970         (struct test_f_i_data): Likewise.
31971         (struct test_ff_i_data): Likewise.
31972         (struct test_f_l_data): Likewise.
31973         (struct test_f_L_data): Likewise.
31974         (struct test_fFF_11_data): Likewise.
31975         (RM_): New macro.
31976         (RM_FE_DOWNWARD): Likewise.
31977         (RM_FE_TONEAREST): Likewise.
31978         (RM_FE_TOWARDZERO): Likewise.
31979         (RM_FE_UPWARD): Likewise.
31980         (RUN_TEST_LOOP_f_f): Update references to expected results.
31981         (RUN_TEST_LOOP_2_f): Likewise.
31982         (RUN_TEST_LOOP_fff_f): Likewise.
31983         (RUN_TEST_LOOP_c_f): Likewise.
31984         (RUN_TEST_LOOP_f_f1): Likewise.
31985         (RUN_TEST_LOOP_fF_f1): Likewise.
31986         (RUN_TEST_LOOP_fI_f1): Likewise.
31987         (RUN_TEST_LOOP_ffI_f1): Likewise.
31988         (RUN_TEST_LOOP_c_c): Likewise.
31989         (RUN_TEST_LOOP_cc_c): Likewise.
31990         (RUN_TEST_LOOP_f_i): Likewise.
31991         (RUN_TEST_LOOP_f_i_tg): Likewise.
31992         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31993         (RUN_TEST_LOOP_f_b): Likewise.
31994         (RUN_TEST_LOOP_f_b_tg): Likewise.
31995         (RUN_TEST_LOOP_f_l): Likewise.
31996         (RUN_TEST_LOOP_f_L): Likewise.
31997         (RUN_TEST_LOOP_fFF_11): Likewise.
31998         * math/gen-libm-test.pl (parse_args): Output four copies of
31999         expected results for each test.
32001         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32002         (__ASSUME_UTIMES): Remove.
32003         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32004         (__ASSUME_UTIMES): Likewise.
32006         * math/gen-auto-libm-tests.c: Update comment on output format.
32007         (output_for_one_input_case): Generate before-rounding and
32008         after-rounding information as conditions on output flags not
32009         floating-point format.
32010         * math/auto-libm-test-out: Regenerated.
32011         * math/gen-libm-test.pl (cond_value): New function.
32012         (or_cond_value): Use cond_value.
32013         (generate_testfile): Handle conditional exceptions.
32015 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32017         * math/libm-test.inc (max_valid_error): New variable.
32018         (init_max_error): Take new argument specifying whether function
32019         results are exactly determined.  Set max_valid_error and bound
32020         other variables for errors based on this argument.
32021         (set_max_error): Do not record results above max_valid_error.
32022         (check_float_internal): Only accept errors of up to 0.5ulps if
32023         also at most max_valid_error.
32024         (START): Take new argument EXACT and pass it to init_max_error.
32025         (acos_test): Update call to START.
32026         (acos_test_tonearest): Likewise.
32027         (acos_test_towardzero): Likewise.
32028         (acos_test_downward): Likewise.
32029         (acos_test_upward): Likewise.
32030         (acosh_test): Likewise.
32031         (asin_test): Likewise.
32032         (asin_test_tonearest): Likewise.
32033         (asin_test_towardzero): Likewise.
32034         (asin_test_downward): Likewise.
32035         (asin_test_upward): Likewise.
32036         (asinh_test): Likewise.
32037         (atan_test): Likewise.
32038         (atanh_test): Likewise.
32039         (atan2_test): Likewise.
32040         (cabs_test): Likewise.
32041         (cacos_test): Likewise.
32042         (cacosh_test): Likewise.
32043         (carg_test): Likewise.
32044         (casin_test): Likewise.
32045         (casinh_test): Likewise.
32046         (catan_test): Likewise.
32047         (catanh_test): Likewise.
32048         (cbrt_test): Likewise.
32049         (ccos_test): Likewise.
32050         (ccosh_test): Likewise.
32051         (ceil_test): Likewise.
32052         (cexp_test): Likewise.
32053         (cimag_test): Likewise.
32054         (clog_test): Likewise.
32055         (clog10_test): Likewise.
32056         (conj_test): Likewise.
32057         (copysign_test): Likewise.
32058         (cos_test): Likewise.
32059         (cos_test_tonearest): Likewise.
32060         (cos_test_towardzero): Likewise.
32061         (cos_test_downward): Likewise.
32062         (cos_test_upward): Likewise.
32063         (cosh_test): Likewise.
32064         (cosh_test_tonearest): Likewise.
32065         (cosh_test_towardzero): Likewise.
32066         (cosh_test_downward): Likewise.
32067         (cosh_test_upward): Likewise.
32068         (cpow_test): Likewise.
32069         (cproj_test): Likewise.
32070         (creal_test): Likewise.
32071         (csin_test): Likewise.
32072         (csinh_test): Likewise.
32073         (csqrt_test): Likewise.
32074         (ctan_test): Likewise.
32075         (ctan_test_tonearest): Likewise.
32076         (ctan_test_towardzero): Likewise.
32077         (ctan_test_downward): Likewise.
32078         (ctan_test_upward): Likewise.
32079         (ctanh_test): Likewise.
32080         (ctanh_test_tonearest): Likewise.
32081         (ctanh_test_towardzero): Likewise.
32082         (ctanh_test_downward): Likewise.
32083         (ctanh_test_upward): Likewise.
32084         (erf_test): Likewise.
32085         (erfc_test): Likewise.
32086         (exp_test): Likewise.
32087         (exp_test_tonearest): Likewise.
32088         (exp_test_towardzero): Likewise.
32089         (exp_test_downward): Likewise.
32090         (exp_test_upward): Likewise.
32091         (exp10_test): Likewise.
32092         (exp10_test_tonearest): Likewise.
32093         (exp10_test_towardzero): Likewise.
32094         (exp10_test_downward): Likewise.
32095         (exp10_test_upward): Likewise.
32096         (pow10_test): Likewise.
32097         (exp2_test): Likewise.
32098         (expm1_test): Likewise.
32099         (expm1_test_tonearest): Likewise.
32100         (expm1_test_towardzero): Likewise.
32101         (expm1_test_downward): Likewise.
32102         (expm1_test_upward): Likewise.
32103         (fabs_test): Likewise.
32104         (fdim_test): Likewise.
32105         (floor_test): Likewise.
32106         (fma_test): Likewise.
32107         (fma_test_towardzero): Likewise.
32108         (fma_test_downward): Likewise.
32109         (fma_test_upward): Likewise.
32110         (fmax_test): Likewise.
32111         (fmin_test): Likewise.
32112         (fmod_test): Likewise.
32113         (fpclassify_test): Likewise.
32114         (frexp_test): Likewise.
32115         (hypot_test): Likewise.
32116         (ilogb_test): Likewise.
32117         (isfinite_test): Likewise.
32118         (finite_test): Likewise.
32119         (isgreater_test): Likewise.
32120         (isgreaterequal_test): Likewise.
32121         (isinf_test): Likewise.
32122         (isless_test): Likewise.
32123         (islessequal_test): Likewise.
32124         (islessgreater_test): Likewise.
32125         (isnan_test): Likewise.
32126         (isnormal_test): Likewise.
32127         (issignaling_test): Likewise.
32128         (isunordered_test): Likewise.
32129         (j0_test): Likewise.
32130         (j1_test): Likewise.
32131         (jn_test): Likewise.
32132         (ldexp_test): Likewise.
32133         (lgamma_test): Likewise.
32134         (gamma_test): Likewise.
32135         (lrint_test): Likewise.
32136         (lrint_test_tonearest): Likewise.
32137         (lrint_test_towardzero): Likewise.
32138         (lrint_test_downward): Likewise.
32139         (lrint_test_upward): Likewise.
32140         (llrint_test): Likewise.
32141         (llrint_test_tonearest): Likewise.
32142         (llrint_test_towardzero): Likewise.
32143         (llrint_test_downward): Likewise.
32144         (llrint_test_upward): Likewise.
32145         (log_test): Likewise.
32146         (log10_test): Likewise.
32147         (log1p_test): Likewise.
32148         (log2_test): Likewise.
32149         (logb_test): Likewise.
32150         (logb_test_downward): Likewise.
32151         (lround_test): Likewise.
32152         (llround_test): Likewise.
32153         (modf_test): Likewise.
32154         (nearbyint_test): Likewise.
32155         (nextafter_test): Likewise.
32156         (nexttoward_test): Likewise.
32157         (pow_test): Likewise.
32158         (pow_test_tonearest): Likewise.
32159         (pow_test_towardzero): Likewise.
32160         (pow_test_downward): Likewise.
32161         (pow_test_upward): Likewise.
32162         (remainder_test): Likewise.
32163         (drem_test): Likewise.
32164         (remainder_test_tonearest): Likewise.
32165         (drem_test_tonearest): Likewise.
32166         (remainder_test_towardzero): Likewise.
32167         (drem_test_towardzero): Likewise.
32168         (remainder_test_downward): Likewise.
32169         (drem_test_downward): Likewise.
32170         (remainder_test_upward): Likewise.
32171         (drem_test_upward): Likewise.
32172         (remquo_test): Likewise.
32173         (rint_test): Likewise.
32174         (rint_test_tonearest): Likewise.
32175         (rint_test_towardzero): Likewise.
32176         (rint_test_downward): Likewise.
32177         (rint_test_upward): Likewise.
32178         (round_test): Likewise.
32179         (scalb_test): Likewise.
32180         (scalbn_test): Likewise.
32181         (scalbln_test): Likewise.
32182         (signbit_test): Likewise.
32183         (sin_test): Likewise.
32184         (sin_test_tonearest): Likewise.
32185         (sin_test_towardzero): Likewise.
32186         (sin_test_downward): Likewise.
32187         (sin_test_upward): Likewise.
32188         (sincos_test): Likewise.
32189         (sinh_test): Likewise.
32190         (sinh_test_tonearest): Likewise.
32191         (sinh_test_towardzero): Likewise.
32192         (sinh_test_downward): Likewise.
32193         (sinh_test_upward): Likewise.
32194         (sqrt_test): Likewise.
32195         (sqrt_test_tonearest): Likewise.
32196         (sqrt_test_towardzero): Likewise.
32197         (sqrt_test_downward): Likewise.
32198         (sqrt_test_upward): Likewise.
32199         (tan_test): Likewise.
32200         (tan_test_tonearest): Likewise.
32201         (tan_test_towardzero): Likewise.
32202         (tan_test_downward): Likewise.
32203         (tan_test_upward): Likewise.
32204         (tanh_test): Likewise.
32205         (tgamma_test): Likewise.
32206         (trunc_test): Likewise.
32207         (y0_test): Likewise.
32208         (y1_test): Likewise.
32209         (yn_test): Likewise.
32210         (significand_test): Likewise.
32212         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32213         individual tests in comment.
32214         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32215         (prev_max_error): New variable.
32216         (prev_real_max_error): Likewise.
32217         (prev_imag_max_error): Likewise.
32218         (compare_ulp_data): Don't refer to test names in comment.
32219         (find_test_ulps): Remove function.
32220         (find_function_ulps): Likewise.
32221         (find_complex_function_ulps): Likewise.
32222         (init_max_error): Take function name as argument.  Look up ulps
32223         for that function.
32224         (print_ulps): Remove function.
32225         (print_max_error): Use prev_max_error instead of calling
32226         find_function_ulps.
32227         (print_complex_max_error): Use prev_real_max_error and
32228         prev_imag_max_error instead of calling find_complex_function_ulps.
32229         (check_float_internal): Take max_ulp parameter instead of calling
32230         find_test_ulps.  Don't call print_ulps.
32231         (check_float): Update call to check_float_internal.
32232         (check_complex): Update calls to check_float_internal.
32233         (START): Pass argument to init_max_error.
32234         * math/gen-libm-test.pl (%results): Don't include "kind"
32235         information.
32236         (parse_ulps): Don't handle ulps of individual tests.
32237         (print_ulps_file): Likewise.
32238         (output_ulps): Likewise.
32239         * math/README.libm-test: Update.
32240         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32241         individual tests.
32242         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32243         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32244         * sysdeps/arm/libm-test-ulps: Likewise.
32245         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32246         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32247         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32248         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32249         * sysdeps/microblaze/libm-test-ulps: Likewise.
32250         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32251         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32252         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32253         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32255         * sysdeps/sh/libm-test-ulps: Likewise.
32256         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32257         * sysdeps/tile/libm-test-ulps: Likewise.
32258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32260 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32262         * math/libm-test.inc (print_complex_max_error): Check separately
32263         whether real and imaginary errors are within allowed range and
32264         pass 0 to print_complex_function_ulps instead of value within
32265         allowed range.
32267 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32269         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32270         formatting.
32271         (get_handles_fopen): Likewise.
32272         (do_write_test): Likewise.
32274         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32276         * libio/fileops.c (do_ftell): Use cached offset when
32277         available.
32278         * libio/iofwide.c (do_ftell_wide): Likewise.
32279         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32280         _IO_file_attach.
32281         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32283         [BZ #16532]
32284         * libio/libioP.h (get_file_offset): New function.
32285         * libio/fileops.c (get_file_offset): Likewise.
32286         (do_ftell): Likewise.
32287         (_IO_new_file_seekoff): Split out ftell logic.
32288         * libio/wfileops.c (do_ftell_wide): Likewise.
32289         (_IO_wfile_seekoff): Split out ftell logic.
32290         * libio/tst-ftell-active-handler.c: New test case.
32291         * libio/Makefile (tests): Add it.
32293 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32295         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32296         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32298 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32300         [BZ #16639]
32301         * nscd/connections.c (nscd_init): Call do_exit.
32302         (start_threads): Call do_exit and notify_parent.
32303         (begin_drop_privileges): Call do_exit.
32304         (finish_drop_privileges): Likewise.
32305         * nscd/selinux.c (preserve_capabilities): Likewise.
32306         (install_real_capabilities): Likewise.
32307         (nscd_selinux_enabled): Likewise.
32308         (avc_create_thread): Likewise.
32309         (avc_alloc_lock): Likewise.
32310         (nscd_avc_init): Likewise.
32311         * nscd/nscd.c (parent_fd): New static variable.
32312         (main): Create a pipe between parent and child processes.
32313         Skip closing parent_fd.
32314         (monitor_child): New function.
32315         (do_exit): Likewise.
32316         (notify_parent): Likewise.
32317         * nscd/nscd.h (notify_parent): Likewise.
32318         (do_exit): Likewise.
32320 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32322         * malloc/malloc.c (__libc_calloc): Revert last change.
32324 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32328 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32330         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32332         implementation.
32333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32334         (__libc_ifunc_impl_list): Likewise.
32335         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32336         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32337         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32338         * string/strrchr.c: Define STRRCHR.
32340 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32342         * benchtest/bench-strtok.c (simple_strtok): Delete.
32343         (strtok_string): Use as benchmark.
32344         * string/strtok (STRTOK): New macro.
32346 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32348         * manual/threads.texi: Add header and standard comments to all
32349         functions.
32351         * elf/dl-lookup.c (check_match): New function.
32352         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32353         (do_lookup_x): Remove nested function check_match. Use non-nested
32354         function check_match.
32356 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32358         * csu/Makefile (generated, before-compile): Use += rather than =.
32359         * catgets/Makefile (generated, generated-dirs): Likewise.
32360         * debug/Makefile (generated): Likewise.
32361         * dlfcn/Makefile (generated): Likewise.
32362         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32363         * iconvdata/Makefile (before-compile, generated): Likewise.
32364         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32365         * libio/Makefile (generated): Likewise.
32366         * malloc/Makefile (generated): Likewise.
32367         * manual/Makefile (generated, generated-dirs): Likewise.
32368         * misc/Makefile (generated): Likewise.
32369         * posix/Makefile (generated): Likewise.
32370         * resolv/Makefile (generated): Likewise.
32371         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32372         * timezone/Makefile (generated, generated-dirs): Likewise.
32374         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32376 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32379         power8 implementation.
32380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32381         file: POWER8 llround ifunc implementation.
32382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32383         (__lllround): Add POWER8 implementation.
32384         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32385         POWER8 llround implementation.
32387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32388         power8 implementation.
32389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32390         file: POWER8 llrint ifunc implementation.
32391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32392         Add POWER8 implementation.
32393         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32394         POWER8 llrint implementation.
32396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32397         power8 implementation.
32398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32399         file: POWER8 finite ifunc implementation.
32400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32401         Add POWER8 implementation.
32402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32403         Likewise.
32404         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32405         POWER8 finite implementation.
32406         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32409         power8 implementation.
32410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32411         file: POWER8 isinf ifunc implementation.
32412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32413         POWER8 implementation.
32414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32415         Likewise.
32416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32417         isinf implementation.
32418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32420         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32421         (INIT_ARCH): Add hwcap2 initialization.
32422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32423         power8 implementation.
32424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32425         file: POWER8 isnan ifunc implementation.
32426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32427         POWER8 implementation.
32428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32429         Likewise.
32430         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32431         isnan implementation.
32432         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32434 2014-02-27  Joey Ye  <joey.ye@arm.com>
32436         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32437         (_FP_NANFRAC_Q): Set to zero.
32439 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32441         [BZ #16623]
32442         * math/auto-libm-test-in: New test inputs.
32443         * math/auto-libm-test-out: Regenerate.
32444         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32445         and DA.
32446         (__cos): Likewise.
32447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32449 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32451         * scripts/evaluate-test.sh: Take new argument indicating whether
32452         failure is expected.
32453         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32454         indicating whether failure is expected.
32455         * conform/Makefile (test-xfail-run-conformtest): New variable.
32456         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32457         level.
32458         * posix/Makefile (test-xfail-annexc): New variable.
32459         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32461 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32463         * argp/Makefile: Include Makeconfig immediately after defining
32464         subdir.
32465         * assert/Makefile: Likewise.
32466         * benchtests/Makefile: Likewise.
32467         * catgets/Makefile: Likewise.
32468         * conform/Makefile: Likewise.
32469         * crypt/Makefile: Likewise.
32470         * csu/Makefile: Likewise.
32471         (all): Remove target.
32472         * ctype/Makefile: Include Makeconfig immediately after defining
32473         subdir.
32474         * debug/Makefile: Likewise.
32475         * dirent/Makefile: Likewise.
32476         * dlfcn/Makefile: Likewise.
32477         * gmon/Makefile: Likewise.
32478         * gnulib/Makefile: Likewise.
32479         * grp/Makefile: Likewise.
32480         * gshadow/Makefile: Likewise.
32481         * hesiod/Makefile: Likewise.
32482         * hurd/Makefile: Likewise.
32483         (all): Remove target.
32484         * iconvdata/Makefile: Include Makeconfig immediately after
32485         defining subdir.
32486         * inet/Makefile: Likewise.
32487         * intl/Makefile: Likewise.
32488         * io/Makefile: Likewise.
32489         * libio/Makefile: Likewise.
32490         (all): Remove target.
32491         * locale/Makefile: Include Makeconfig immediately after defining
32492         subdir.
32493         * login/Makefile: Likewise.
32494         * mach/Makefile: Likewise.
32495         (all): Remove target.
32496         * malloc/Makefile: Include Makeconfig immediately after defining
32497         subdir.
32498         (all): Remove target.
32499         * manual/Makefile: Include Makeconfig immediately after defining
32500         subdir.
32501         * math/Makefile: Likewise.
32502         * misc/Makefile: Likewise.
32503         * nis/Makefile: Likewise.
32504         * nss/Makefile: Likewise.
32505         * po/Makefile: Likewise.
32506         (all): Remove target.
32507         * posix/Makefile: Include Makeconfig immediately after defining
32508         subdir.
32509         * pwd/Makefile: Likewise.
32510         * resolv/Makefile: Likewise.
32511         * resource/Makefile: Likewise.
32512         * rt/Makefile: Likewise.
32513         * setjmp/Makefile: Likewise.
32514         * shadow/Makefile: Likewise.
32515         * signal/Makefile: Likewise.
32516         * socket/Makefile: Likewise.
32517         * soft-fp/Makefile: Likewise.
32518         * stdio-common/Makefile: Likewise.
32519         * stdlib/Makefile: Likewise.
32520         * streams/Makefile: Likewise.
32521         * string/Makefile: Likewise.
32522         * sunrpc/Makefile: Likewise.
32523         (all): Remove target.
32524         * sysvipc/Makefile: Include Makeconfig immediately after defining
32525         subdir.
32526         * termios/Makefile: Likewise.
32527         * time/Makefile: Likewise.
32528         * timezone/Makefile: Likewise.
32529         (all): Remove target.
32530         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32531         subdir.
32532         * wctype/Makefile: Likewise.
32534 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32536         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32537         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32538         (libc_feholdexcept_setround_mips): Ditto.
32539         (libc_feholdsetround): New.
32540         (libc_feholdsetroundf): New.
32541         (libc_feholdsetroundl): New.
32542         (libc_feupdateenv_test_mips): New.
32543         (libc_feupdateenv_test): New.
32544         (libc_feupdateenv_testf): New.
32545         (libc_feupdateenv_testl): New.
32546         (libc_feresetround): New.
32547         (libc_feresetroundf): New.
32548         (libc_feresetroundl): New.
32549         (libc_fetestexcept_mips): New.
32550         (libc_fetestexcept): New.
32551         (libc_fetestexceptf): New.
32552         (libc_fetestexceptl): New.
32553         (HAVE_RM_CTX): New.
32554         (libc_feholdexcept_setround_mips_ctx): New.
32555         (libc_feholdexcept_setround_ctx): New.
32556         (libc_feholdexcept_setroundf_ctx): New.
32557         (libc_feholdexcept_setroundl_ctx): New.
32558         (libc_fesetenv_mips_ctx): New.
32559         (libc_fesetenv_ctx): New.
32560         (libc_fesetenv_ctxf): New.
32561         (libc_fesetenv_ctxl): New.
32562         (libc_feupdateenv_mips_ctx): New.
32563         (libc_feupdateenv_ctx): New.
32564         (libc_feupdateenvf_ctx): New.
32565         (libc_feupdateenvl_ctx): New.
32566         (libc_feholdsetround_mips_ctx): New.
32567         (libc_feholdsetround_ctx): New.
32568         (libc_feholdsetroundf_ctx): New.
32569         (libc_feholdsetroundl_ctx): New.
32570         (libc_feresetround_mips_ctx): New.
32571         (libc_feresetround_ctx): New.
32572         (libc_feresetroundf_ctx): New.
32573         (libc_feresetroundl_ctx): New.
32575 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32577         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32579         * manual/ipc.texi: New file.
32580         * manual/Makefile (chapters): Add ipc.
32581         * manual/job.texi: Add "Inter-Process Communication" to next.
32582         * manual/process.texi: Add "Inter-Process Communication" to prev.
32584 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32588 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32590         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32592         * manual/arith.texi: Fix spaces after sentences.
32593         * manual/charset.texi: Likewise.
32594         * manual/errno.texi: Likewise.
32595         * manual/install.texi: Likewise.
32596         * manual/llio.texi: Likewise.
32597         * manual/locale.texi: Likewise.
32598         * manual/maint.texi: Likewise.
32599         * manual/math.texi: Likewise.
32600         * manual/memory.texi: Likewise.
32601         * manual/message.texi: Likewise.
32602         * manual/probes.texi: Likewise.
32603         * manual/resource.texi: Likewise.
32604         * manual/signal.texi: Likewise.
32605         * manual/socket.texi: Likewise.
32606         * manual/stdio.texi: Likewise.
32607         * manual/string.texi: Likewise.
32608         * manual/time.texi: Likewise.
32609         * manual/users.texi: Likewise.
32611 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32613         [BZ #16632]
32614         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32615         _DEFAULT_SOURCE is defined.
32617 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32618             Carlos O'Donell  <carlos@redhat.com>
32620         [BZ #16613]
32621         * elf/dl-tls.c (_dl_count_modids): New function.
32622         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32623         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32624         audit library and increment generation counter.
32625         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32626         * elf/tst-audit9.c: New file.
32627         * elf/tst-auditmod9a.c: New file.
32628         * elf/tst-auditmod9b.c: New file.
32629         * elf/Makefile: Add rules to build and run tst-audit9.
32631 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32633         [BZ #15347]
32634         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32636 2014-02-25  Will Newton  <will.newton@linaro.org>
32638         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32639         (__longjmp): Restore sp and lr before restoring callee
32640         saved registers.  Add longjmp and longjmp_target
32641         SystemTap probe point.
32642         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32643         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32644         Define to zero to match jmpbuf layout.
32645         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32646         (__sigsetjmp): Save sp and lr before saving callee
32647         saved registers.  Add setjmp SystemTap probe point.
32649 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32651         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32653 2014-02-24  Andreas Schwab  <schwab@suse.de>
32655         [BZ #15804]
32656         * elf/pldd.c (wait_for_ptrace_stop): New function.
32657         (main): Call it after attaching.
32659 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32661         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32662         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32663         Versions files is now verboten.
32664         * hurd/Versions (libc: GLIBC_2.0):
32665         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32666         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32667         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32668         * mach/Versions: Likewise.
32670         * csu/Versions: Remove unused %include.
32671         * resolv/Versions: Likewise.
32673 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32675         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32676         ($(objpfx)check-local-headers.out): Likewise.
32677         ($(objpfx)begin-end-check.out): Likewise.
32678         * Makerules (check-abi-%.out): Likewise.
32679         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32680         ($(objpfx)test2.cat): Likewise.
32681         ($(objpfx)de/libc.cat): Likewise.
32682         ($(objpfx)test-gencat.out): Likewise.
32683         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32684         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32685         ($(objpfx)noload-mem): Likewise.
32686         ($(objpfx)tst-pathopt.out): Likewise.
32687         ($(objpfx)tst-rtld-load-self.out): Likewise.
32688         ($(objpfx)tst-array1-cmp.out): Likewise.
32689         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32690         ($(objpfx)tst-array2-cmp.out): Likewise.
32691         ($(objpfx)tst-array3-cmp.out): Likewise.
32692         ($(objpfx)tst-array4-cmp.out): Likewise.
32693         ($(objpfx)tst-array5-cmp.out): Likewise.
32694         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32695         ($(objpfx)check-textrel.out): Likewise.
32696         ($(objpfx)check-execstack.out): Likewise.
32697         ($(objpfx)check-localplt.out): Likewise.
32698         ($(objpfx)order2-cmp.out): Likewise.
32699         ($(objpfx)tst-leaks1-mem): Likewise.
32700         ($(objpfx)tst-leaks1-static-mem): Likewise.
32701         ($(objpfx)tst-initorder-cmp.out): Likewise.
32702         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32703         ($(objpfx)tst-unused-dep.out): Likewise.
32704         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32705         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32706         * iconv/Makefile (test-iconvconfig): Likewise.
32707         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32708         ($(objpfx)iconv-test.out): Likewise.
32709         ($(objpfx)tst-tables.out): Likewise.
32710         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32711         ($(objpfx)tst-gettext.out): Likewise.
32712         ($(objpfx)tst-translit.out): Likewise.
32713         ($(objpfx)tst-gettext2.out): Likewise.
32714         ($(objpfx)tst-gettext4.out): Likewise.
32715         ($(objpfx)tst-gettext6.out): Likewise.
32716         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32717         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32718         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32719         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32720         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32721         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32722         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32723         ($(objpfx)wordexp-tst.out): Likewise.
32724         ($(objpfx)annexc.out): Likewise.
32725         ($(objpfx)tst-fnmatch-mem): Likewise.
32726         ($(objpfx)bug-regex2-mem): Likewise.
32727         ($(objpfx)bug-regex14-mem): Likewise.
32728         ($(objpfx)bug-regex21-mem): Likewise.
32729         ($(objpfx)bug-regex31-mem): Likewise.
32730         ($(objpfx)tst-vfork3-mem): Likewise.
32731         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32732         ($(objpfx)tst-pcre-mem): Likewise.
32733         ($(objpfx)tst-boost-mem): Likewise.
32734         ($(objpfx)tst-getconf.out): Likewise.
32735         ($(objpfx)bug-ga2-mem): Likewise.
32736         ($(objpfx)bug-glob2-mem): Likewise.
32737         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32738         ($(objpfx)mtrace-tst-leaks2): Likewise.
32739         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32740         ($(objpfx)tst-printf.out): Likewise.
32741         ($(objpfx)tst-setvbuf1.out): Likewise.
32742         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32743         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32744         ($(objpfx)tst-fmtmsg.out): Likewise.
32745         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32746         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32748         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32749         * bits/sigaction.h [__USE_MISC]: Likewise.
32750         * bits/waitstatus.h: Update #endif comments.
32751         * ctype/ctype.h: Likewise.
32752         * dirent/dirent.h: Likewise.
32753         [__USE_MISC]: Remove redundant conditionals.
32754         * grp/grp.h: Update #endif comments.
32755         [__USE_GNU]: Remove redundant conditionals.
32756         [__USE_MISC]: Likewise.
32757         * inet/netinet/in.h [__USE_GNU]: Likewise.
32758         * io/sys/stat.h [__USE_MISC]: Likewise.
32759         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32760         * libio/bits/stdio.h: Update #endif comments.
32761         [__USE_MISC]: Remove redundant conditionals.
32762         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32763         * libio/stdio.h: Update #endif comments.
32764         [__USE_MISC]: Remove redundant conditionals.
32765         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32766         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32767         * math/math.h: Update #else and #endif comments.
32768         [__USE_MISC]: Remove redundant conditionals.
32769         * misc/sys/uio.h: Update #endif comments.
32770         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32771         * posix/glob.h [__USE_MISC]: Likewise.
32772         * posix/sys/types.h: Update #endif comments.
32773         [__USE_MISC]: Remove redundant conditionals.
32774         * posix/sys/wait.h: Update #endif comments.
32775         [__USE_MISC]: Remove redundant conditionals.
32776         * posix/unistd.h: Update #endif comments.
32777         [__USE_MISC]: Remove redundant conditionals.
32778         * pwd/pwd.h [__USE_GNU]: Likewise.
32779         [__USE_MISC]: Likewise.
32780         * resolv/netdb.h [__USE_GNU]: Likewise.
32781         * signal/signal.h: Update #endif comments.
32782         [__USE_MISC]: Remove redundant conditionals.
32783         * stdlib/stdlib.h: Update #else and #endif comments.
32784         [__USE_MISC]: Remove redundant conditionals.
32785         [__USE_GNU]: Likewise.
32786         * string/bits/string2.h [__USE_MISC]: Likewise.
32787         * string/string.h: Update #endif comments.
32788         [__USE_MISC]: Remove redundant conditionals.
32789         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32790         Likewise.
32791         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32792         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32793         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32794         Likewise.
32795         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32796         Likewise.
32797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32798         comments.
32799         [__USE_MISC]: Remove redundant conditionals.
32800         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32801         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32802         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32803         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32804         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32805         Likewise.
32806         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32807         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32808         Likewise.
32809         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32810         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32811         Likewise.
32812         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32813         Likewise.
32814         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32815         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32816         Likewise.
32817         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32818         Likewise.
32819         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32820         * sysdeps/x86/bits/string.h: Update #endif comments.
32821         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32822         conditionals.
32823         * time/sys/time.h: Update #endif comments.
32824         * time/time.h: Likewise.
32825         [__USE_MISC]: Remove redundant conditionals.
32827 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32829         [BZ #16600]
32830         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32832 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32834         * Versions.def (librt): Add GLIBC_2.17.
32836 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32838         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32839         synonym for _SYS_AUXV_H to allow direct inclusion.
32840         * sysdeps/sparc/bits/hwcap.h: Likewise.
32841         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32842         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32843         * sysdeps/sparc/sysdep.h: Likewise.
32845 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32849 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32851         * benchtests/bench-strrchr.c: Print length instead of position.
32853 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32855         [BZ #16611]
32856         * sysdeps/unix/sysv/linux/kernel-features.h
32857         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32858         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32859         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32860         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32861         Likewise.
32862         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32863         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32864         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32865         (__ASSUME_SENDMMSG): Define instead of using previous
32866         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32867         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32868         (__ASSUME_SENDMMSG_SYSCALL): Define.
32869         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32870         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32871         Likewise.
32872         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32873         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32874         Likewise.
32875         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32877         Likewise.
32878         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32879         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32880         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32881         [__ASSUME_SENDMMSG]: Change conditionals to
32882         [__ASSUME_SENDMMSG_SOCKETCALL].
32883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32884         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32885         Define.
32886         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32887         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32888         Likewise.
32889         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32890         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32891         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32892         [!__ASSUME_SENDMMSG]: Change conditional to
32893         [!__ASSUME_SENDMMSG_SOCKETCALL].
32894         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32895         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32896         Define.
32898         [BZ #16610]
32899         * sysdeps/unix/sysv/linux/kernel-features.h
32900         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32901         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32902         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32903         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32904         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32905         [__i386__ || __sparc__]
32906         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32907         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32908         (__ASSUME_RECVMMSG): Define instead of using previous
32909         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32910         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32911         (__ASSUME_RECVMMSG_SYSCALL): Define.
32912         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32914         Likewise.
32915         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32917         Likewise.
32918         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32920         Likewise.
32921         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32922         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32923         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32924         [__ASSUME_RECVMMSG]: Change condition to
32925         [__ASSUME_RECVMMSG_SOCKETCALL].
32926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32927         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32928         Define.
32929         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32931         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32932         Likewise.
32933         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32934         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32935         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32936         [!__ASSUME_RECVMMSG]: Change condition to
32937         [!__ASSUME_RECVMMSG_SOCKETCALL].
32938         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32939         (__ASSUME_RECVMMSG_SYSCALL): Define.
32941         [BZ #16609]
32942         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32943         __powerpc__ || __s390__ || __sh__ || __sparc__]
32944         (__ASSUME_SOCKETCALL): Define.
32945         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32946         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32947         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32948         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32949         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32950         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32951         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32952         (__ASSUME_ACCEPT4): Define instead of using previous
32953         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32954         __powerpc__ || __sparc__ || __s390__)] condition.
32955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32956         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32957         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32958         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32959         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32960         [!__ASSUME_ACCEPT4]: Change condition to
32961         [!__ASSUME_ACCEPT4_SOCKETCALL].
32962         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32963         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32964         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32965         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32966         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32967         __ASSUME_ACCEPT4_SYSCALL.
32968         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32969         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32970         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32971         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32972         __ASSUME_ACCEPT4_SYSCALL.
32973         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32974         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32975         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32976         [__ASSUME_ACCEPT4]: Change condition to
32977         [__ASSUME_ACCEPT4_SOCKETCALL].
32978         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32979         (__ASSUME_SOCKETCALL): Define.
32980         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32981         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32982         (__ASSUME_SOCKETCALL): Define.
32983         (__ASSUME_ACCEPT4): Remove.
32984         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32985         Define.
32986         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32987         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32988         Likewise.
32989         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32990         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32992         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32993         macro.
32994         (HWCAP_ARM_LPAE): Likewise.
32995         (HWCAP_ARM_EVTSTRM): Likewise.
32996         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32997         Add vpfd32, lpae and evtstrm.
32998         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32999         Increase to 22.
33001 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33003         * math/auto-libm-test-in: Add tests of clog10.
33004         * math/auto-libm-test-out: Regenerated.
33005         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33006         * sysdeps/i386/fpu/libm-test-ulps: Update.
33007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33009 2014-02-18  Andreas Schwab  <schwab@suse.de>
33011         [BZ #16574]
33012         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33013         Store non-zero if the second buffer was newly allocated.
33014         (send_dg): Likewise.
33015         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33016         to send_vc and send_dg.
33017         (res_nsend): Pass NULL for ansp2_malloced.
33018         * resolv/res_query.c (__libc_res_nquery): Add parameter
33019         answerp2_malloced and pass it down to __libc_res_nsend.
33020         (res_nquery): Pass additional NULL to __libc_res_nquery.
33021         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33022         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33023         second answer buffer if answerp2_malloced was set.
33024         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33025         (__libc_res_nquerydomain): Add parameter
33026         answerp2_malloced and pass it down to __libc_res_nquery.
33027         (res_nquerydomain): Pass additional NULL to
33028         __libc_res_nquerydomain.
33029         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33030         additional NULL to __libc_res_nsend and __libc_res_nquery.
33031         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33032         additional NULL to __libc_res_nsearch.
33033         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33034         parameter of __libc_res_nsearch to check for separately allocated
33035         second buffer.
33036         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33037         __libc_res_nquery.
33038         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33039         additional NULL to __libc_res_nquery.
33040         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33041         __libc_res_nsearch.
33042         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33043         * include/resolv.h: Update prototypes of __libc_res_nquery,
33044         __libc_res_nsearch, __libc_res_nsend.
33046 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33048         * math/auto-libm-test-in: Add tests of fma.
33049         * math/auto-libm-test-out: Regenerated.
33050         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33051         (fma_towardzero_test_data): Likewise.
33052         (fma_downward_test_data): Likewise.
33053         (fma_upward_test_data): Likewise.
33054         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33055         mpc_mode.
33056         (rounding_modes): Add values for new field.
33057         (func_calc_method): Add value mpfr_fff_f.
33058         (func_calc_desc): Add mpfr_fff_f union field.
33059         (test_function): Add field exact_args.
33060         (FUNC): Add macro argument EXACT_ARGS.
33061         (FUNC_mpfr_f_f): Update call to FUNC.
33062         (FUNC_mpfr_f_f): Likewise.
33063         (FUNC_mpfr_ff_f): Likewise.
33064         (FUNC_mpfr_if_f): Likewise.
33065         (FUNC_mpc_c_f): Likewise.
33066         (FUNC_mpc_c_c): Likewise.
33067         (test_functions): Add fma.  Update calls to FUNC.
33068         (handle_input_arg): Add argument exact_args.
33069         (add_test): Update call to handle_input_arg.
33070         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33071         (output_for_one_input_case): Update call to calc_generic_results.
33072         Recalculate exact zero results in each rounding mode.
33074         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33075         non-negative before setting low bit.
33076         * math/auto-libm-test-in: Mark one asin test possibly having
33077         spurious underflow.
33078         * math/auto-libm-test-out: Regenerated.
33079         * sysdeps/i386/fpu/libm-test-ulps: Update.
33080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33082 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33084         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33085         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33086         ports/sysdeps/unix/sysv/linux/microblaze.
33087         * README: Add missing listing for microblaze*-*-linux-gnu.
33089 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33091         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33092         duplicate code
33094 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33096         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33097         * sysdeps/unix/sysv/linux/ia64: Move directory from
33098         ports/sysdeps/unix/sysv/linux/ia64.
33099         * README: Update listing for ia64-*-linux-gnu.
33101 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33102             Joseph Myers  <joseph@codesourcery.com>
33104         * Makeconfig (test-name): New variable.
33105         (evaluate-test): Likewise.
33106         * Makerules (do-test-clean): Remove .test-result files.
33107         (common-mostlyclean): Likewise.
33108         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33109         * scripts/evaluate-test.sh: New file.
33111 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33113         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33114         separate $(objpfx)tst-fopenloc-cmp.out and
33115         $(objpfx)tst-fopenloc-mem.out targets.
33116         (tests): Update dependencies.
33117         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33118         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33119         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33120         (tst-rxspencer-no-utf8-ARGS): New variable.
33121         (tst-rxspencer-no-utf8-ENV): Likewise.
33122         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33123         instead of $(objpfx)tst-rxspencer-mem.
33124         ($(objpfx)tst-rxspencer-mem): Change target to
33125         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33126         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33127         * posix/tst-rxspencer-no-utf8.c: New file.
33129         * elf/Makefile ($(objpfx)order.out): Remove rule.
33130         [$(run-built-tests) = yes] (tests): Depend on
33131         $(objpfx)order-cmp.out.
33132         ($(objpfx)order-cmp.out): New rule.
33133         [$(run-built-tests) = yes] (tests): Depend on
33134         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33135         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33136         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33137         $(objpfx)tst-array5-static-cmp.out.
33138         ($(objpfx)tst-array1.out): Remove rule.
33139         ($(objpfx)tst-array1-cmp.out): New rule.
33140         ($(objpfx)tst-array1-static.out): Remove rule.
33141         ($(objpfx)tst-array1-static-cmp.out): New rule.
33142         ($(objpfx)tst-array2.out): Remove rule.
33143         ($(objpfx)tst-array2-cmp.out): New rule.
33144         ($(objpfx)tst-array3.out): Remove rule.
33145         ($(objpfx)tst-array3-cmp.out): New rule.
33146         ($(objpfx)tst-array4.out): Remove rule.
33147         ($(objpfx)tst-array4-cmp.out): New rule.
33148         ($(objpfx)tst-array5.out): Remove rule.
33149         ($(objpfx)tst-array5-cmp.out): New rule.
33150         ($(objpfx)tst-array5-static.out): Remove rule.
33151         ($(objpfx)tst-array5-static-cmp.out): New rule.
33152         [$(run-built-tests) = yes] (tests): Depend on
33153         $(objpfx)order2-cmp.out.
33154         ($(objpfx)order2.out): Remove rule.
33155         ($(objpfx)order2-cmp.out): New rule.
33156         ($(objpfx)tst-initorder.out): Remove rule.
33157         [$(run-built-tests) = yes] (tests): Depend on
33158         $(objpfx)tst-initorder-cmp.out.
33159         ($(objpfx)tst-initorder-cmp.out): New rule.
33160         ($(objpfx)tst-initorder2.out): Remove rule.
33161         [$(run-built-tests) = yes] (tests): Depend on
33162         $(objpfx)tst-initorder2-cmp.out.
33163         ($(objpfx)tst-initorder2-cmp.out): New rule.
33164         [$(run-built-tests) = yes] (tests): Depend on
33165         $(objpfx)tst-unused-dep-cmp.out.
33166         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33167         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33168         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33169         on $(objpfx)tst-setvbuf1-cmp.out.
33170         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33171         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33172         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33173         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33174         ($(objpfx)tst-svc.out): Remove rule.
33175         ($(objpfx)tst-svc-cmp.out): New rule.
33177 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33179         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33180         * ctype/ctype.h [__USE_MISC]: Likewise.
33181         * dirent/dirent.h [__USE_MISC]: Likewise.
33182         * grp/grp.h [__USE_MISC]: Likewise.
33183         * io/fcntl.h [__USE_MISC]: Likewise.
33184         * io/sys/stat.h [__USE_MISC]: Likewise.
33185         * libio/stdio.h [__USE_MISC]: Likewise.
33186         * posix/unistd.h [__USE_MISC]: Likewise.
33187         * pwd/pwd.h [__USE_MISC]: Likewise.
33188         * stdlib.h [__USE_MISC]: Likewise.
33189         * string/bits/string2.h [__USE_MISC]: Likewise.
33190         * string/string.h [__USE_MISC]: Likewise.
33191         * time/time.h [__USE_MISC]: Likewise.
33193 2014-02-13  Andreas Schwab  <schwab@suse.de>
33195         [BZ #16574]
33196         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33197         second answer buffer if it was separately allocated.
33199 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33201         * sysdeps/mips/math-tests.h: Include <features.h>.
33202         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33203         (ROUNDING_TESTS_long_double): Do not define.
33204         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33205         (EXCEPTION_TESTS_long_double): Likewise.
33206         * sysdeps/mips/mips64/libm-test-ulps: Update.
33208         * include/features.h (__USE_BSD): Remove macro definitions.
33209         (__USE_SVID): Likewise.
33210         (_BSD_SOURCE): Likewise.
33211         (_SVID_SOURCE): Likewise.
33212         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33213         from definition of _DEFAULT_SOURCE.
33214         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33215         [_DEFAULT_SOURCE].
33216         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33217         * bits/mman.h [__USE_BSD]: Likewise.
33218         * bits/termios.h [__USE_BSD]: Likewise.
33219         * bits/waitstatus.h [__USE_BSD]: Likewise.
33220         * ctype/ctype.h [__USE_SVID]: Likewise.
33221         * dirent/dirent.h [__USE_BSD]: Likewise.
33222         * grp/grp.h [__USE_SVID]: Likewise.
33223         [__USE_BSD]: Likewise.
33224         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33225         * io/fcntl.h [__USE_BSD]: Likewise.
33226         * io/ftw.h [__USE_BSD]: Likewise.
33227         * io/sys/stat.h [__USE_BSD]: Likewise.
33228         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33229         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33230         * libio/stdio.h [__USE_SVID]: Likewise.
33231         [__USE_BSD]: Likewise.
33232         * math/math.h [__USE_SVID]: Likewise.
33233         [__USE_BSD]: Likewise.
33234         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33235         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33236         * misc/search.h [__USE_SVID]: Likewise.
33237         * misc/sys/mman.h [__USE_BSD]: Likewise.
33238         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33239         * misc/sys/uio.h [__USE_BSD]: Likewise.
33240         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33241         * posix/glob.h [__USE_BSD]: Likewise.
33242         * posix/regex.h [__USE_BSD]: Likewise.
33243         * posix/sys/types.h [__USE_BSD]: Likewise.
33244         [__USE_SVID]: Likewise.
33245         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33246         * posix/sys/wait.h [__USE_BSD]: Likewise.
33247         [__USE_SVID]: Likewise.
33248         * posix/unistd.h [__USE_BSD]: Likewise.
33249         [__USE_SVID]: Likewise.
33250         * pwd/pwd.h [__USE_SVID]: Likewise.
33251         * resolv/netdb.h [__USE_BSD]: Likewise.
33252         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33253         * signal/signal.h [__USE_BSD]: Likewise.
33254         [__USE_SVID]: Likewise.
33255         * socket/sys/socket.h [__USE_BSD]: Likewise.
33256         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33257         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33258         [__USE_SVID]: Likewise.
33259         * string/bits/string2.h [__USE_BSD]: Likewise.
33260         [__USE_SVID]: Likewise.
33261         * string/bits/string3.h [__USE_BSD]: Likewise.
33262         * string/endian.h [__USE_BSD]: Likewise.
33263         * string/string.h [__USE_SVID]: Likewise.
33264         [__USE_BSD]: Likewise.
33265         * string/strings.h [__USE_BSD]: Likewise.
33266         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33267         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33268         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33269         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33270         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33271         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33272         Likewise.
33273         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33274         Likewise.
33275         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33276         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33277         Likewise.
33278         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33279         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33280         Likewise.
33281         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33282         Likewise.
33283         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33284         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33285         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33286         Likewise.
33287         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33288         Likewise.
33289         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33290         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33291         * termios/termios.h [__USE_BSD]: Likewise.
33292         * time/sys/time.h [__USE_BSD]: Likewise.
33293         * time/time.h [__USE_BSD]: Likewise.
33294         [__USE_SVID]: Likewise.
33296         * Makefile (subdir_targets): Remove subdir_lint.out.
33298         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33299         (do-tst-printf): Likewise.
33300         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33301         $(objpfx)tst-printf.out.
33303         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33305         * Makerules (check-abi-%): Change target to
33306         $(objpfx)check-abi-%.out.
33307         (check-abi target): Update dependencies.
33308         (check-abi-pattern variable): Redirect output of diff to $@.
33309         (check-abi variable): Likewise.
33310         * elf/Makefile (check-abi): Update dependencies.
33312         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33313         unused.
33314         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33315         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33316         subnormal range.
33317         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33318         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33319         value has largest subnormal exponent.
33320         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33321         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33322         * sysdeps/aarch64/soft-fp/sfp-machine.h
33323         (_FP_TININESS_AFTER_ROUNDING): New macro.
33324         * sysdeps/alpha/soft-fp/sfp-machine.h
33325         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33326         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33327         Likewise.
33328         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33329         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33330         * sysdeps/mips/soft-fp/sfp-machine.h
33331         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33332         * sysdeps/powerpc/soft-fp/sfp-machine.h
33333         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33334         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33335         Likewise.
33336         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33337         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33338         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33339         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33340         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33341         Likewise.
33343 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33345         [BZ #16545]
33346         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33347         model 1.
33349 2014-02-12  Richard Henderson  <rth@redhat.com>
33351         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33352         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33353         * sysdeps/unix/sysv/linux/alpha: Move directory from
33354         ports/sysdeps/unix/sysv/linux/alpha.
33355         * README: Update listing for alpha-*-linux-gnu.
33357 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33359         * include/features.h: Update comment documenting feature test
33360         macros.
33361         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33362         _DEFAULT_SOURCE.
33363         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33364         (_SVID_SOURCE): Likewise.
33365         (_DEFAULT_SOURCE): Update description of default features.
33366         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33367         with _GNU_SOURCE.
33368         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33369         (S_ISVTX): Likewise.
33370         * manual/math.texi (Mathematical Constants): Likewise.
33371         * manual/signal.texi (Interrupted Primitives): Likewise.
33372         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33373         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33374         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33375         Don't refer to _SVID_SOURCE in warning text.
33377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33379         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33380         already defined.
33381         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33382         * sysdeps/mips/dl-lookup.c: Remove.
33383         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33385 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33387         [BZ #16447]
33388         * math/auto-libm-test-in: Add testcase for expl.
33389         * math/auto-libm-test-out: Regenerate.
33390         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33391         calculation of unsafe.
33392         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33394 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33396         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33397         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33398         ports/sysdeps/unix/sysv/linux/aarch64.
33399         * README: Update listing for aarch64*-*-linux-gnu.
33401 2014-02-11  Will Newton  <will.newton@linaro.org>
33403         * manual/probes.texi (Mathematical Function Probes): Use
33404         "triggered" instead of "hit".
33406         * manual/probes.texi (Internal Probes): Add documentation
33407         of setjmp, longjmp and longjmp_target probes.
33409         * include/stap-probe.h: Add comment about probe argument
33410         format.
33412         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33413         definition.  (tr_where, tr_freehook, tr_mallochook,
33414         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33416 2014-02-11  David S. Miller  <davem@davemloft.net>
33418         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33419         processing int_tests.
33421 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33423         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33424         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33425         * sysdeps/unix/sysv/linux/mips: Move directory from
33426         ports/sysdeps/unix/sysv/linux/mips.
33427         * README: Update listing for mips-*-linux-gnu and
33428         mips64-*-linux-gnu.
33430 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33432         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33433         * sysdeps/unix/sysv/linux/m68k: Move directory from
33434         ports/sysdeps/unix/sysv/linux/m68k.
33435         * README: Update listing for m68k-*-linux-gnu.
33437 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33439         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33440         * sysdeps/unix/sysv/linux/generic: Move directory from
33441         ports/sysdeps/unix/sysv/linux/generic.
33442         * sysdeps/unix/sysv/linux/tile: Move directory from
33443         ports/sysdeps/unix/sysv/linux/tile.
33444         * README: Update listing for tile*-*-linux-gnu.
33446 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33448         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33449         __builtin_expect.
33450         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33451         * catgets/open_catalog.c (__open_catalog): Likewise.
33452         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33453         * debug/confstr_chk.c: Likewise.
33454         * debug/fread_chk.c (__fread_chk): Likewise.
33455         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33456         * debug/getgroups_chk.c: Likewise.
33457         * debug/mbsnrtowcs_chk.c: Likewise.
33458         * debug/mbsrtowcs_chk.c: Likewise.
33459         * debug/mbstowcs_chk.c: Likewise.
33460         * debug/memcpy_chk.c: Likewise.
33461         * debug/memmove_chk.c: Likewise.
33462         * debug/mempcpy_chk.c: Likewise.
33463         * debug/memset_chk.c: Likewise.
33464         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33465         * debug/strcat_chk.c (__strcat_chk): Likewise.
33466         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33467         * debug/strncat_chk.c (__strncat_chk): Likewise.
33468         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33469         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33470         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33471         * debug/wcpncpy_chk.c: Likewise.
33472         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33473         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33474         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33475         * debug/wcsncpy_chk.c: Likewise.
33476         * debug/wcsnrtombs_chk.c: Likewise.
33477         * debug/wcsrtombs_chk.c: Likewise.
33478         * debug/wcstombs_chk.c: Likewise.
33479         * debug/wmemcpy_chk.c: Likewise.
33480         * debug/wmemmove_chk.c: Likewise.
33481         * debug/wmempcpy_chk.c: Likewise.
33482         * debug/wmemset_chk.c: Likewise.
33483         * dirent/scandirat.c (SCANDIRAT): Likewise.
33484         * dlfcn/dladdr1.c (dladdr1): Likewise.
33485         * dlfcn/dladdr.c (dladdr): Likewise.
33486         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33487         * dlfcn/dlerror.c (__dlerror): Likewise.
33488         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33489         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33490         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33491         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33492         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33493         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33494         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33495         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33496         Likewise.
33497         * elf/dl-conflict.c: Likewise.
33498         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33499         * elf/dl-dst.h: Likewise.
33500         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33501         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33502         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33503         * elf/dl-init.c (call_init, _dl_init): Likewise.
33504         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33505         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33506         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33507         Likewise.
33508         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33509         Likewise.
33510         * elf/dl-minimal.c (__libc_memalign): Likewise.
33511         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33512         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33513         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33514         * elf/dl-sym.c (do_sym): Likewise.
33515         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33516         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33517         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33518         * elf/dl-writev.h (_dl_writev): Likewise.
33519         * elf/ldconfig.c (search_dir): Likewise.
33520         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33521         (dl_main): Likewise.
33522         * elf/setup-vdso.h (setup_vdso): Likewise.
33523         * grp/compat-initgroups.c (compat_call): Likewise.
33524         * grp/fgetgrent.c (fgetgrent): Likewise.
33525         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33526         * grp/putgrent.c (putgrent): Likewise.
33527         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33528         Likewise.
33529         * hurd/hurdinit.c: Likewise.
33530         * iconvdata/8bit-gap.c (struct): Likewise.
33531         * iconvdata/ansi_x3.110.c : Likewise.
33532         * iconvdata/big5.c : Likewise.
33533         * iconvdata/big5hkscs.c : Likewise.
33534         * iconvdata/cp1255.c: Likewise.
33535         * iconvdata/cp1258.c : Likewise.
33536         * iconvdata/cp932.c : Likewise.
33537         * iconvdata/euc-cn.c: Likewise.
33538         * iconvdata/euc-jisx0213.c : Likewise.
33539         * iconvdata/euc-jp.c: Likewise.
33540         * iconvdata/euc-jp-ms.c : Likewise.
33541         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33542         * iconvdata/gb18030.c : Likewise.
33543         * iconvdata/gbbig5.c (const): Likewise.
33544         * iconvdata/gbgbk.c: Likewise.
33545         * iconvdata/gbk.c : Likewise.
33546         * iconvdata/ibm1364.c : Likewise.
33547         * iconvdata/ibm930.c : Likewise.
33548         * iconvdata/ibm932.c: Likewise.
33549         * iconvdata/ibm933.c : Likewise.
33550         * iconvdata/ibm935.c : Likewise.
33551         * iconvdata/ibm937.c : Likewise.
33552         * iconvdata/ibm939.c : Likewise.
33553         * iconvdata/ibm943.c: Likewise.
33554         * iconvdata/iso_11548-1.c: Likewise.
33555         * iconvdata/iso-2022-cn.c : Likewise.
33556         * iconvdata/iso-2022-cn-ext.c : Likewise.
33557         * iconvdata/iso-2022-jp-3.c: Likewise.
33558         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33559         * iconvdata/iso-2022-kr.c : Likewise.
33560         * iconvdata/iso646.c (gconv_end): Likewise.
33561         * iconvdata/iso_6937-2.c : Likewise.
33562         * iconvdata/iso_6937.c : Likewise.
33563         * iconvdata/iso8859-1.c: Likewise.
33564         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33565         * iconvdata/shift_jisx0213.c : Likewise.
33566         * iconvdata/sjis.c : Likewise.
33567         * iconvdata/t.61.c : Likewise.
33568         * iconvdata/tcvn5712-1.c : Likewise.
33569         * iconvdata/tscii.c: Likewise.
33570         * iconvdata/uhc.c : Likewise.
33571         * iconvdata/unicode.c (gconv_end): Likewise.
33572         * iconvdata/utf-16.c (gconv_end): Likewise.
33573         * iconvdata/utf-32.c (gconv_end): Likewise.
33574         * iconvdata/utf-7.c (base64): Likewise.
33575         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33576         * iconv/gconv_close.c (__gconv_close): Likewise.
33577         * iconv/gconv_open.c (__gconv_open): Likewise.
33578         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33579         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33580         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33581         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33582         (ucs4le_internal_loop_single): Likewise.
33583         * iconv/iconv.c (iconv): Likewise.
33584         * iconv/iconv_close.c: Likewise.
33585         * iconv/loop.c (SINGLE): Likewise.
33586         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33587         * include/atomic.h: Likewise.
33588         * inet/inet6_option.c (option_alloc): Likewise.
33589         * intl/bindtextdom.c (set_binding_values): Likewise.
33590         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33591         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33592         * intl/localealias.c (read_alias_file): Likewise.
33593         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33594         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33595         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33596         * libio/fmemopen.c (fmemopen): Likewise.
33597         * libio/iofgets.c (_IO_fgets): Likewise.
33598         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33599         * libio/iofgetws.c (fgetws): Likewise.
33600         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33601         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33602         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33603         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33604         * locale/findlocale.c (_nl_find_locale): Likewise.
33605         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33606         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33607         Likewise.
33608         * locale/setlocale.c (setlocale): Likewise.
33609         * login/programs/pt_chown.c (main): Likewise.
33610         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33611         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33612         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33613         (mmap, mmap64, mremap, munmap): Likewise.
33614         * math/e_exp2l.c: Likewise.
33615         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33616         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33617         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33618         * math/s_catan.c (__catan): Likewise.
33619         * math/s_catanf.c (__catanf): Likewise.
33620         * math/s_catanh.c (__catanh): Likewise.
33621         * math/s_catanhf.c (__catanhf): Likewise.
33622         * math/s_catanhl.c (__catanhl): Likewise.
33623         * math/s_catanl.c (__catanl): Likewise.
33624         * math/s_ccosh.c (__ccosh): Likewise.
33625         * math/s_ccoshf.c (__ccoshf): Likewise.
33626         * math/s_ccoshl.c (__ccoshl): Likewise.
33627         * math/s_cexp.c (__cexp): Likewise.
33628         * math/s_cexpf.c (__cexpf): Likewise.
33629         * math/s_cexpl.c (__cexpl): Likewise.
33630         * math/s_clog10.c (__clog10): Likewise.
33631         * math/s_clog10f.c (__clog10f): Likewise.
33632         * math/s_clog10l.c (__clog10l): Likewise.
33633         * math/s_clog.c (__clog): Likewise.
33634         * math/s_clogf.c (__clogf): Likewise.
33635         * math/s_clogl.c (__clogl): Likewise.
33636         * math/s_csin.c (__csin): Likewise.
33637         * math/s_csinf.c (__csinf): Likewise.
33638         * math/s_csinh.c (__csinh): Likewise.
33639         * math/s_csinhf.c (__csinhf): Likewise.
33640         * math/s_csinhl.c (__csinhl): Likewise.
33641         * math/s_csinl.c (__csinl): Likewise.
33642         * math/s_csqrt.c (__csqrt): Likewise.
33643         * math/s_csqrtf.c (__csqrtf): Likewise.
33644         * math/s_csqrtl.c (__csqrtl): Likewise.
33645         * math/s_ctan.c (__ctan): Likewise.
33646         * math/s_ctanf.c (__ctanf): Likewise.
33647         * math/s_ctanh.c (__ctanh): Likewise.
33648         * math/s_ctanhf.c (__ctanhf): Likewise.
33649         * math/s_ctanhl.c (__ctanhl): Likewise.
33650         * math/s_ctanl.c (__ctanl): Likewise.
33651         * math/w_pow.c: Likewise.
33652         * math/w_powf.c: Likewise.
33653         * math/w_powl.c: Likewise.
33654         * math/w_scalb.c (sysv_scalb): Likewise.
33655         * math/w_scalbf.c (sysv_scalbf): Likewise.
33656         * math/w_scalbl.c (sysv_scalbl): Likewise.
33657         * misc/error.c (error_tail): Likewise.
33658         * misc/pselect.c (__pselect): Likewise.
33659         * nis/nis_callback.c (__nis_create_callback): Likewise.
33660         * nis/nis_call.c (__nisfind_server): Likewise.
33661         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33662         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33663         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33664         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33665         * nis/nis_lookup.c (nis_lookup): Likewise.
33666         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33667         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33668         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33669         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33670         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33671         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33672         * nis/nss_compat/compat-initgroups.c (add_group)
33673         (internal_getgrent_r): Likewise.
33674         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33675         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33676         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33677         (internal_getspnam_r): Likewise.
33678         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33679         (_nss_nis_getaliasbyname_r): Likewise.
33680         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33681         (_nss_nis_getntohost_r): Likewise.
33682         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33683         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33684         (_nss_nis_getgrgid_r): Likewise.
33685         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33686         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33687         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33688         (_nss_nis_gethostbyname4_r): Likewise.
33689         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33690         (initgroups_netid): Likewise.
33691         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33692         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33693         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33694         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33695         (_nss_nis_getprotobynumber_r): Likewise.
33696         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33697         (_nss_nis_getsecretkey): Likewise.
33698         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33699         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33700         (_nss_nis_getpwuid_r): Likewise.
33701         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33702         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33703         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33704         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33705         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33706         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33707         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33708         Likewise.
33709         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33710         (_nss_nisplus_getntohost_r): Likewise.
33711         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33712         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33713         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33714         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33715         Likewise.
33716         * nis/nss_nisplus/nisplus-initgroups.c
33717         (_nss_nisplus_initgroups_dyn): Likewise.
33718         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33719         (_nss_nisplus_getnetbyaddr_r): Likewise.
33720         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33721         (_nss_nisplus_getprotobynumber_r): Likewise.
33722         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33723         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33724         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33725         Likewise.
33726         * nis/nss_nisplus/nisplus-service.c
33727         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33728         (_nss_nisplus_getservbyport_r): Likewise.
33729         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33730         (_nss_nisplus_getspnam_r): Likewise.
33731         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33732         Likewise.
33733         * nscd/aicache.c (addhstaiX): Likewise.
33734         * nscd/cache.c (cache_search, prune_cache): Likewise.
33735         * nscd/connections.c (register_traced_file, send_ro_fd)
33736         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33737         (main_loop_epoll): Likewise.
33738         * nscd/grpcache.c (addgrbyX): Likewise.
33739         * nscd/hstcache.c (addhstbyX): Likewise.
33740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33741         * nscd/mem.c (gc, mempool_alloc): Likewise.
33742         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33743         (addinnetgrX): Likewise.
33744         * nscd/nscd-client.h (__nscd_acquire_maplock)
33745         (__nscd_drop_map_ref): Likewise.
33746         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33747         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33748         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33749         Likewise.
33750         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33751         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33752         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33753         (__nscd_get_map_ref): Likewise.
33754         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33755         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33756         Likewise.
33757         * nscd/pwdcache.c (addpwbyX): Likewise.
33758         * nscd/selinux.c (preserve_capabilities): Likewise.
33759         * nscd/servicescache.c (addservbyX): Likewise.
33760         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33761         * posix/fnmatch.c (fnmatch): Likewise.
33762         * posix/getopt.c (_getopt_internal_r): Likewise.
33763         * posix/glob.c (glob, glob_in_dir): Likewise.
33764         * posix/wordexp.c (exec_comm_child): Likewise.
33765         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33766         (getanswer_r, gaih_getanswer_slice): Likewise.
33767         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33768         * resolv/res_init.c: Likewise.
33769         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33770         * resolv/res_query.c (__libc_res_nquery): Likewise.
33771         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33772         Likewise.
33773         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33774         * stdio-common/perror.c (perror): Likewise.
33775         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33776         * stdio-common/tmpnam.c (tmpnam): Likewise.
33777         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33778         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33779         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33780         Likewise.
33781         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33782         * stdlib/putenv.c (putenv): Likewise.
33783         * stdlib/setenv.c (__add_to_environ): Likewise.
33784         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33785         * stdlib/strtol_l.c (INTERNAL): Likewise.
33786         * string/memmem.c (memmem): Likewise.
33787         * string/strerror.c (strerror): Likewise.
33788         * string/strnlen.c (__strnlen): Likewise.
33789         * string/test-memmem.c (simple_memmem): Likewise.
33790         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33791         * sunrpc/pm_getport.c (__get_socket): Likewise.
33792         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33793         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33794         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33795         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33796         Likewise.
33797         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33798         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33799         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33800         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33801         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33802         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33803         Likewise.
33804         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33805         Likewise.
33806         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33807         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33808         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33809         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33810         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33813         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33814         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33815         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33816         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33817         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33818         Likewise.
33819         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33820         Likewise.
33821         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33822         Likewise.
33823         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33825         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33826         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33827         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33828         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33829         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33832         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33833         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33835         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33838         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33839         Likewise.
33840         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33841         Likewise.
33842         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33843         Likewise.
33844         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33845         Likewise.
33846         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33847         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33848         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33849         Likewise.
33850         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33851         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33852         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33853         * sysdeps/posix/sleep.c: Likewise.
33854         * sysdeps/posix/tempname.c: Likewise.
33855         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33856         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33857         Likewise.
33858         * sysdeps/powerpc/powerpc32/dl-machine.h
33859         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33860         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33862         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33863         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33864         Likewise.
33865         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33866         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33867         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33868         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33869         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33870         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33871         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33872         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33873         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33874         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33876         (elf_machine_lazy_rel): Likewise.
33877         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33879         (elf_machine_lazy_rel): Likewise.
33880         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33881         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33882         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33883         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33884         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33885         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33886         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33887         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33888         Likewise.
33889         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33890         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33891         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33892         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33893         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33894         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33895         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33896         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33897         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33898         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33899         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33900         Likewise.
33901         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33902         (__posix_fallocate64_l64): Likewise.
33903         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33904         (posix_fallocate): Likewise.
33905         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33906         Likewise.
33907         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33908         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33909         (getifaddrs_internal): Likewise.
33910         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33911         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33912         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33913         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33914         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33915         (__posix_fallocate64_l64): Likewise.
33916         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33917         Likewise.
33918         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33919         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33920         (__get_clockfreq): Likewise.
33921         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33922         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33923         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33926         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33927         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33928         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33929         Likewise.
33930         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33931         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33932         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33933         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33934         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33935         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33936         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33937         Likewise.
33938         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33939         (posix_fallocate): Likewise.
33940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33941         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33942         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33943         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33944         (elf_machine_rela, elf_machine_rela_relative)
33945         (elf_machine_lazy_rel): Likewise.
33946         * time/asctime.c (asctime_internal): Likewise.
33947         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33948         * time/tzset.c (__tzset_parse_tz): Likewise.
33949         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33950         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33951         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33952         * wcsmbs/wcsmbsload.h: Likewise.
33954         [BZ #15894]
33955         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33957         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33958         (arena_get2): Remove THREAD_STATS conditionals.
33959         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33960         (__malloc_stats, int): Likewise.
33962 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33964         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33965         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33967         * manual/setjmp.texi: Fix typos/grammar errors.
33969         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33970         Only return early when n is <= 0.  Delete unused return statement.
33972         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33973         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33974         * debug/tst-longjmp_chk3.c: New file.
33976         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33977         (test_main): Replace code with set_fortify_handler call.
33978         * debug/test-strcpy_chk.c: Likewise.
33979         * debug/tst-chk1.c: Likewise.
33980         * debug/tst-longjmp_chk.c: Likewise.
33981         * test-skeleton.c: Include fcntl.h & paths.h
33982         (set_fortify_handler): Define.
33984         * debug/tst-longjmp_chk.c: Add header comment and include
33985         ../test-skeleton.c.
33986         (do_test): Mark static.
33987         (TEST_FUNCTION): Define.
33989         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33990         (IP_PMTUDISC_INTERFACE): Likewise.
33991         (IP_MULTICAST_IF): Likewise.
33992         (IP_MULTICAST_TTL): Likewise.
33993         (IP_MULTICAST_LOOP): Likewise.
33994         (IP_ADD_MEMBERSHIP): Likewise.
33995         (IP_DROP_MEMBERSHIP): Likewise.
33996         (IP_UNBLOCK_SOURCE): Likewise.
33997         (IP_BLOCK_SOURCE): Likewise.
33998         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33999         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34000         (IP_MSFILTER): Likewise.
34001         (MCAST_JOIN_GROUP): Likewise.
34002         (MCAST_BLOCK_SOURCE): Likewise.
34003         (MCAST_UNBLOCK_SOURCE): Likewise.
34004         (MCAST_LEAVE_GROUP): Likewise.
34005         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34006         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34007         (MCAST_MSFILTER): Likewise.
34008         (IP_MULTICAST_ALL): Likewise.
34009         (IP_UNICAST_IF): Likewise.
34011         * timezone/Makefile: Delete $(have-ksh) check.
34012         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34013         * timezone/tzselect.ksh: Add +x mode bits.
34015         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34016         (ANON_INODE_FS_MAGIC): Likewise.
34017         (BDEVFS_MAGIC): Likewise.
34018         (BINFMTFS_MAGIC): Likewise.
34019         (BTRFS_TEST_MAGIC): Likewise.
34020         (CRAMFS_MAGIC_WEND): Likewise.
34021         (DEBUGFS_MAGIC): Likewise.
34022         (ECRYPTFS_SUPER_MAGIC): Likewise.
34023         (EXT3_SUPER_MAGIC): Likewise.
34024         (EXT4_SUPER_MAGIC): Likewise.
34025         (FUTEXFS_SUPER_MAGIC): Likewise.
34026         (HOSTFS_SUPER_MAGIC): Likewise.
34027         (HUGETLBFS_MAGIC): Likewise.
34028         (MINIX3_SUPER_MAGIC): Likewise.
34029         (MTD_INODE_FS_MAGIC): Likewise.
34030         (NILFS_SUPER_MAGIC): Likewise.
34031         (OPENPROM_SUPER_MAGIC): Likewise.
34032         (PIPEFS_MAGIC): Likewise.
34033         (PSTOREFS_MAGIC): Likewise.
34034         (QNX6_SUPER_MAGIC): Likewise.
34035         (RAMFS_MAGIC): Likewise.
34036         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34037         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34038         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34039         (SECURITYFS_MAGIC): Likewise.
34040         (SELINUX_MAGIC): Likewise.
34041         (SMACK_MAGIC): Likewise.
34042         (SOCKFS_MAGIC): Likewise.
34043         (SQUASHFS_MAGIC): Likewise.
34044         (STACK_END_MAGIC): Likewise.
34045         (TMPFS_MAGIC): Likewise.
34046         (USBDEVICE_SUPER_MAGIC): Likewise.
34047         (V9FS_MAGIC): Likewise.
34048         (XENFS_SUPER_MAGIC): Likewise.
34049         (CRAMFS_MAGIC): Fix typo in comment.
34050         (EXT2_SUPER_MAGIC): Update comment.
34051         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34053 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34055         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34056         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34057         * sysdeps/unix/sysv/linux/arm: Move directory from
34058         ports/sysdeps/unix/sysv/linux/arm.
34059         * README: Update listing for arm-*-linux-gnueabi.
34061         * README: Remove mention of am33.
34063 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34065         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34066         than the comma operator, to avoid "rhs of comma has no effect"
34067         compiler warnings.
34068         (__sigfillset, __sigandset, __sigorset): Likewise.
34069         * include/signal.h (__sigemptyset): Likewise.
34070         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34072 2014-02-07  Allan McRae  <allan@archlinux.org>
34074         * version.h (RELEASE): Set to "development".
34075         (VERSION): Set to "2.19.90"
34076         * NEWS: Add 2.20 section.
34078 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34080         [BZ #16529]
34081         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34083 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34085         * manual/contrib.texi: Update entry for Carlos O'Donell,
34086         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34088 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34090         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34092         * sysdeps/unix/sysv/linux/kernel-features.h
34093         [__LINUX_KERNEL_VERSION >= 0x020621]
34094         (__ASSUME_PROC_PID_TASK_COMM): Define.
34096 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34098         [BZ #16398]
34099         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34100         conversion when destination buffer does not have enough space.
34101         * libio/tst-ftell-partial-wide.c: New test case.
34102         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34104         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34105         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34106         Leonard and Allan McRae.
34108 2014-02-04  David S. Miller  <davem@davemloft.net>
34110         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34111         32-bit.
34113 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34116         New file
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34118         New file
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34120         New file.
34121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34122         New file.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34124         New file.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34126         New file.
34127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34128         New file.
34129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34130         New file.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34132         New file.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34134         New file.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34136         New file.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34138         New file.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34140         New file.
34142 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34144         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34145         * shlib-versions: Likewise.
34147 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34148             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34150         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34151         (abilist-pattern): New variable, set to %-le.abilist.
34153         * Makerules (abilist-pattern): New variable.
34154         (vpath): Use $(abilist-pattern) in place of %.abilist.
34155         (check-abi-% pattern rule): Likewise.
34156         (check-abi, update-abi): Likewise.
34158 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34162 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34164         * manual/startup.texi: Add next, previous, and top entries for
34165         the `Program Arguments' and `Environment Variables' nodes.
34167 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34169         * manual/macros.texi: Add comments before MTASC-safety macros.
34171         * manual/users.texi: Document MTASC-safety properties.
34173         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34174         (pthread_getspecific, pthread_setspecific): Format with
34175         @deftypefun, and add @safety note.
34176         * manual/signal.texi: Move comments that analyze the above
34177         functions to their home place.
34179 2014-02-03  Allan McRae  <allan@archlinux.org>
34181         * po/sl.po: Update Slovenian translation from translation project.
34183 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34185         * manual/time.texi (timegm): Add missing blank after @c.
34186         Reported by Joseph Myers <joseph@codesourcery.com>.
34188 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34190         * manual/check-safety.sh: New.
34191         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34193         * manual/terminal.texi: Document MTASC-safety properties.
34195         * manual/filesys.texi: Document MTASC-safety properties.
34197         * manual/errno.texi: Document MTASC-safety properties.
34199         * manual/intro.texi: Document safety identifiers and
34200         conditionals.
34202         * manual/string.texi (wcstok): Fix prototype.
34203         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34205         * manual/time.texi: Document MTASC-safety properties.
34207         * manual/string.texi: Document MTASC-safety properties.
34209         * manual/threads.texi: Document MTASC-safety properties.
34211         * manual/stdio.texi: Document MTASC-safety properties.
34213         * manual/syslog.texi: Document MTASC-safety properties.
34215         * manual/sysinfo.texi: Document MTASC-safety properties.
34217         * manual/startup.texi: Document MTASC-safety properties.
34219         * manual/socket.texi: Document MTASC-safety properties.
34221         * manual/signal.texi: Document MTASC-safety properties.
34223 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34225         * manual/setjmp.texi: Document MTASC-safety properties.
34227         * manual/search.texi: Document MTASC-safety properties.
34229         * manual/resource.texi: Document MTASC-safety properties.
34231         * manual/process.texi: Document MTASC-safety properties.
34233         * manual/platform.texi: Document MTASC-safety properties.
34235         * manual/pipe.texi: Document MTASC-safety properties.
34237         * manual/pattern.texi: Document MTASC-safety properties.
34239         * manual/message.texi: Document MTASC-safety properties.
34241         [BZ #12751]
34242         * manual/memory.texi: Document MTASC-safety properties.
34244         * manual/math.texi: Document MTASC-safety properties.
34246         * manual/locale.texi: Document MTASC-safety properties.
34248         * manual/llio.texi: Document MTASC-safety properties.
34250         * manual/libdl.texi: New.
34252         * manual/lang.texi: Document MTASC-safety properties.
34254         * manual/job.texi: Document MTASC-safety properties.
34256         * manual/getopt.texi: Document MTASC-safety properties.
34258         * manual/ctype.texi: Document MTASC-safety properties.
34260 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34262         [BZ #16046]
34263         * csu/libc-tls.c (static_map): Remove variable.
34264         (__libc_setup_tls): Use main executable's link map for TLS data.
34265         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34266         casing for LM_ID_BASE and GL(dl_nns).
34267         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34268         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34269         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34270         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34271         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34272         member.
34273         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34274         l_phnum members.
34276 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34278         * manual/debug.texi: Document MTASC-safety properties.
34280 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34282         [BZ #16510]
34283         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34284         of __x86_64__ when disabling x87 inline functions.
34286 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34288         * manual/charset.texi: Document MTASC-safety properties.
34290         * manual/crypt.texi: Document MTASC-safety properties.
34292         * manual/conf.texi: Document MTASC-safety properties.
34294         * manual/arith.texi: Document MTASC-safety properties.
34296         * manual/argp.texi: Document MTASC-safety properties.
34298         * manual/macros.texi: Introduce macros to document multi
34299         thread, asynchronous signal and asynchronous cancellation
34300         safety properties.
34301         * manual/intro.texi: Introduce the properties themselves.
34303 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34305         * sysdeps/sh/sh4/Makefile: New file.
34307 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34309         * math/gen-libm-test.pl ($srcdir): New variable.
34310         ($auto_input): Use it.
34312 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34314         [BZ #16506]
34315         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34316         access beyond array bounds when parsing netgroups file.
34318         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34319         the old buffer before realloc.
34321 2014-01-27  Allan McRae  <allan@archlinux.org>
34323         * po/fr.po: Update French translation from translation project.
34325 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34327         * sysdeps/sh/libm-test-ulps: Regenerate.
34329 2014-01-24  David S. Miller  <davem@davemloft.net>
34331         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34333 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34335         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34336         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34338 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34340         [BZ #16474]
34341         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34342         string pointers after reallocation.
34344 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34346         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34347         __SH4A__ instead of __SH_FPU_ANY__.
34349 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34351         * sysdeps/sh/fpu_control.h: New file.
34352         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34353         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34354         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34355         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34356         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34357         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34358         * sysdeps/sh/sys/ucontext.h: Remove.
34359         * sysdeps/sh/sys: Remove directory.
34361 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34363         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34364         s390/sys/ucontext.h.
34365         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34366         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34368 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34370         [BZ #15605]
34371         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34373 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34375         [BZ#16431]
34376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34377         Adjust the vDSO correctly for internal calls.
34378         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34380 2014-01-20  Allan McRae  <allan@archlinux.org>
34382         * po/ca.po: Update Catalan translation from translation project.
34384 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34386         * sysdeps/s390/sotruss-lib.c: New file.
34388 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34390         [BZ#16430]
34391         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34392         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34393         local calls issues by not having a PLT stub required for IFUNC calls.
34394         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34396 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34398         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34399         * math/test-fpucw-static.c: Likewise.
34401 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34403         [BZ #16453]
34404         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34406 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34408         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34409         implementation for powerpc.
34411 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34413         [BZ #14782]
34414         * sysdeps/posix/system.c (__libc_system): Do not enable
34415         asynchronous cancellation.
34417 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34419         [BZ #16427]
34420         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34421         handling only for numbers special also in the IEEE case.
34423 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34425         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34427 2014-01-11  Allan McRae  <allan@archlinux.org>
34429         * po/bg.po: Update Bulgarian translation from translation project.
34431         * po/de.po: Update German translation from translation project.
34433 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34435         * sysdeps/generic/gcc-compat.h: New file.
34437 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34439         * benchtests/asin-inputs: Correct slow inputs.
34440         * benchtests/acos-inputs: Likewise.
34442 2014-01-10  Allan McRae  <allan@archlinux.org>
34444         * po:sv.po: Update Swedish translation from translation project.
34446         * po/vi.po: Update Vietnamese translation from translation project.
34448         * po/eo.po: Update Esperanto translation from translation project.
34450         * po/cs.po: Update Czech translation from translation project.
34452         * po/nl.po: Update Dutch translation from translation project.
34454         * po/pl.po: Update Polish translation from translation project.
34456         * po/ru.po: Update Russian translation from translation project.
34458         * po/uk.po: Update Ukrainian translation from translation project.
34460 2014-01-08  Brooks Moses  <bmoses@google.com>
34462         * elf/dl-load.c: Fix comment typo.
34464 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34466         * po/header.pot: Rename to...
34467         * po/pot.header: ... this.
34468         * po/Makefile: Use pot.header.
34470 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34471             Maxim Kuvyrkov  <maxim@kugelworks.com>
34473         [BZ #16394]
34474         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34475         SRC and DEST against LEN.
34477 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34479         [BZ #16414]
34480         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34481         implementation.
34482         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34484 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34488 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34490         [BZ #16408]
34491         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34492         for large positive arguments.
34494 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34496         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34498         * math/auto-libm-test-in: Mark various tests with
34499         xfail-rounding:ldbl-128ibm.
34500         * math/auto-libm-test-out: Regenerated.
34502         [BZ #16407]
34503         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34504         Increase overflow threshold.
34506 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34508         [BZ #14286]
34509         * stdio-common/vfprintf.c: Check for integer overflow.
34511 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34513         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34514         the first argument and return value of __tls_get_addr_internal.
34516 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34518         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34519         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34521 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34523         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34524         * sysdeps/s390/rtld-global-offsets.sym: New file.
34525         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34526         GLIBC_2.19 symbol.
34527         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34529         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34530         ... this.
34531         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34532         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34533         ... this.
34534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34535         Regenerate.
34536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34537         Regenerate.
34538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34539         halfs of GPRs for high_gprs contexts.
34540         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34541         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34542         field.
34543         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34544         uc_flags field.
34545         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34546         64 bit versions:
34547         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34548         for high GPRs (uc_high_gprs) and for future extensions
34549         (__reserved).
34550         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34551         for future extensions (__reserved).
34552         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34553         64 bit versions:
34554         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34555         SC_HIGHGPRS offset definition.
34556         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34557         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34559         * Versions.def: Add GLIBC_2.19 for libpthread.
34560         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34561         siglongjmp for libpthread with GLIBC_2.19 symver.
34562         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34563         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34564         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34565         * sysdeps/s390/__longjmp.c: New file.
34566         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34567         * sysdeps/s390/longjmp.c: New file.
34568         * sysdeps/s390/setjmp.S: New file.
34569         * sysdeps/s390/sigjmp.S: New file.
34570         * sysdeps/s390/v1-longjmp.c: New file.
34571         * sysdeps/s390/v1-setjmp.h: New file.
34572         * sysdeps/s390/v1-sigjmp.c: New file.
34573         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34574         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34575         GLIBC_2.19 version.
34576         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34577         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34578         versioned symbols for ____longjmp_chk.
34579         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34580         Likewise.
34581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34582         Regenerate.
34583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34584         Regenerate.
34585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34586         Regenerate.
34587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34588         Regenerate.
34589         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34590         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34591         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34592         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34593         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34594         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34595         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34596         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34597         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34598         * sysdeps/s390/rtld-__longjmp.c: New file.
34599         * sysdeps/s390/rtld-setjmp.S: New file.
34601 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34603         [BZ #16400]
34604         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34605         Return -__logl (x) for small positive arguments without evaluating
34606         a polynomial.
34608 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34610         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34611         Rename to ...
34612         (__ptrace_peeksiginfo_args): ... this.
34613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34615         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34617 2014-01-06  Allan McRae  <allan@archlinux.org>
34619         * inet/netinet/in.h: Fix typo in comment.
34621 2014-01-05  Andreas Jaeger  <aj@suse.de>
34623         * sysdeps/i386/fpu/libm-test-ulps: Update.
34625 2014-01-05  Allan McRae  <allan@archlinux.org>
34627         * po/libc.pot: Regenerated.
34629         * malloc/memusagestat.c: Fix gettext call formatting.
34631 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34633         * nscd/nscd.c: Improve usage() output.
34635 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34637         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34638         * sysdeps/unix/sysv/linux/configure: Regenerated.
34639         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34640         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34642 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34644         [BZ #16390]
34645         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34646         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34648 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34650         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34651         extra tokens at end of #undef directive.
34652         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34653         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34654         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34656 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34658         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34660         * math/auto-libm-test-in: Mark various tests with
34661         xfail-rounding:ldbl-128ibm.
34662         * math/auto-libm-test-out: Regenerated.
34664 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #16386]
34667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34668         numbers with subnormal high part when calculating exponent.
34670         [BZ #16385]
34671         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34672         fabs.
34674         [BZ #16384]
34675         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34676         M_LN2l.
34677         (__ieee754_acoshl): Use __log1pl not __log1p.
34679 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34681         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34682         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34683         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34684         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34685         (reused_arena, arena_get2): Convert to GNU style.
34686         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34687         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34688         (memalign_check, __malloc_set_state): Likewise.
34689         * malloc/mallocbug.c (main): Likewise.
34690         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34691         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34692         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34693         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34694         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34695         (__posix_memalign, malloc_info): Likewise.
34696         * malloc/malloc.h: Likewise.
34697         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34698         (mallochook, memalignhook, reallochook, mabort): Likewise.
34699         * malloc/mcheck.h: Likewise.
34700         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34701         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34702         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34703         * malloc/morecore.c (__default_morecore): Likewise.
34704         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34705         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34706         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34707         (print_and_abort): Likewise.
34708         * malloc/obstack.h: Likewise.
34709         * malloc/set-freeres.c (__libc_freeres): Likewise.
34710         * malloc/tst-mallocstate.c (main): Likewise.
34711         * malloc/tst-mtrace.c (main): Likewise.
34712         * malloc/tst-realloc.c (do_test): Likewise.
34714 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34716         [BZ #16366]
34717         * nscd/netgroupcache.c (do_notfound): New function.
34718         (addgetnetgrentX): Use it.
34720         [BZ # 16365]
34721         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34722         NSS_STATUS_NOTFOUND.
34724 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34726         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729 2014-01-01  Allan McRae  <allan@archlinux.org>
34731         * scripts/update-copyrights: Update configure input file suffix.
34733         * NEWS: Update copyright year.
34734         * catgets/gencat.c: Likewise.
34735         * csu/version.c: Likewise.
34736         * debug/catchsegv.sh: Likewise.
34737         * debug/pcprofiledump.c: Likewise.
34738         * debug/xtrace.sh: Likewise.
34739         * elf/ldconfig.c: Likewise.
34740         * elf/ldd.bash.in: Likewise.
34741         * elf/pldd.c: Likewise.
34742         * elf/sotruss.ksh: Likewise.
34743         * elf/sprof.c: Likewise.
34744         * iconv/iconv_prog.c: Likewise.
34745         * iconv/iconvconfig.c: Likewise.
34746         * locale/programs/locale.c: Likewise.
34747         * locale/programs/localedef.c: Likewise.
34748         * login/programs/pt_chown.c: Likewise.
34749         * malloc/memusage.sh: Likewise.
34750         * malloc/memusagestat.c: Likewise.
34751         * malloc/mtrace.pl: Likewise.
34752         * manual/libc.texinfo: Likewise.
34753         * nscd/nscd.c: Likewise.
34754         * nss/getent.c: Likewise.
34755         * nss/makedb.c: Likewise.
34756         * posix/getconf.c: Likewise.
34757         * scripts/test-installation.pl: Likewise.
34759         * All files with FSF copyright notices: Update copyright dates
34760         using scripts/update-copyrights.
34761         * intl/plural.c: Regenerated.
34762         * locale/programs/charmap-kw.h: Likewise.
34763         * locale/programs/locfile-kw.h: Likewise.
34765 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34767         * sysdeps/unix/sysv/linux/configure: Regenerated.
34768         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34769         the linux/fanotify.h header.
34770         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34771         HAVE_LINUX_FANOTIFY_H is defined.
34773 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34775         * benchtests/cos-inputs: New inputs.
34776         * benchtests/sin-inputs: Likewise.
34778         * benchtests/atan-inputs: New inputs. Fix name of multiple
34779         precision fallback inputs.
34781         * benchtests/atanh-inputs: New inputs.
34782         * benchtests/tanh-inputs: Likewise.
34784         * benchtests/acosh-inputs: New inputs.
34785         * benchtests/asinh-inputs: Likewise.
34787         * benchtests/cosh-inputs: New inputs.
34788         * benchtests/sinh-inputs: Likewise.
34790         * benchtests/acos-inputs: Add more inputs.
34791         * benchtests/asin-inputs: Likewise.
34793 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34795         [BZ #16375]
34796         * manual/arith.texi: Fix spelling.
34797         * manual/charset.texi: Likewise.
34798         * manual/errno.texi: Likewise.
34799         * manual/filesys.texi: Likewise.
34800         * manual/lang.texi: Likewise.
34801         * manual/llio.texi: Likewise.
34802         * manual/locale.texi: Likewise.
34803         * manual/message.texi: Likewise.
34804         * manual/resource.texi: Likewise.
34805         * manual/search.texi: Likewise.
34806         * manual/setjmp.texi: Likewise.
34807         * manual/stdio.texi: Likewise.
34808         * manual/string.texi: Likewise.
34809         * manual/sysinfo.texi: Likewise.
34810         * manual/time.texi: Likewise.
34812 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34814         * po/sl.po: New file.
34816 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34818         * .gitignore: Add core/.gdbinit/.gdb_history.
34820 2013-12-27  Allan McRae  <allan@archlinux.org>
34822         [BZ #16369]
34823         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34824         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34826 2013-12-24  Brooks Moses  <bmoses@google.com>
34828         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34829         all compilers that claim C++98 compliance, not just GCC.
34830         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34831         Likewise.
34833 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34835         * NEWS: Restore accidentally deleted bug-fix entries.
34837 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34838             Ondřej Bílka  <neleai@seznam.cz>
34840         [BZ #15073]
34841         * malloc/malloc.c (_int_free): Perform sanity check only if we
34842         have_lock.
34844 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34846         [BZ #12986]
34847         * manual/stdio.texi (String Input Conversions): Clarify that character
34848         classes are not supported.
34850 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34854 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34856         [BZ #16337]
34857         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34858         Calculate results for small negative arguments directly rather
34859         than using reflection formula with special underflow handling.
34861         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34862         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34863         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34864         (fchflags): Likewise.
34865         (revoke): Likewise.
34866         (setlogin): Likewise.
34867         (sigaltstack): Likewise.
34868         (wait4): Likewise.
34869         (sigblock): Remove.
34870         (sigsetmask): Likewise.
34871         (wait3): Likewise.
34872         (waitpid): Likewise.
34873         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34874         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34875         file.
34876         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34877         * sysdeps/unix/bsd/Makefile: ... here.
34878         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34879         * sysdeps/unix/bsd/Versions: ... here.
34880         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34881         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34882         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34883         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34884         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34885         * sysdeps/unix/bsd/sigblock.c: ... here.
34886         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34887         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34888         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34889         * sysdeps/unix/bsd/sigvec.c: ... here.
34890         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34891         * sysdeps/unix/bsd/tcdrain.c: ... here.
34892         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34893         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34894         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34895         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34896         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34897         * sysdeps/unix/bsd/wait.c: ... here.
34898         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34899         * sysdeps/unix/bsd/wait3.c: ... here.
34900         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34901         * sysdeps/unix/bsd/waitpid.c: ... here.
34903 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34905         [BZ #16356]
34906         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34907         round-to-nearest for [!USE_AS_EXPM1L].
34908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34909         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34910         more tests of exp and exp10.  Expect some exp10 tests to miss
34911         exceptions or fail in directed rounding modes.
34912         * math/auto-libm-test-out: Regenerated.
34913         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34914         (exp10_test_tonearest): New function.
34915         (exp10_towardzero_test_data): New array.
34916         (exp10_test_towardzero): New function.
34917         (exp10_downward_test_data): New array.
34918         (exp10_test_downward): New function.
34919         (exp10_upward_test_data): New array.
34920         (exp10_test_upward): New function.
34921         (main): Call the new functions.
34922         * sysdeps/i386/fpu/libm-test-ulps: Update.
34923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34925 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34927         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34928         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34929         * math/auto-libm-test-out: Regenerated.
34930         * math/libm-test.inc (acosh_test_data): Add more tests.
34931         (atanh_test_data): Likewise.
34932         (ceil_test_data): Likewise.
34933         (copysign_test_data): Likewise.
34934         * sysdeps/i386/fpu/libm-test-ulps: Update.
34935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34937         * timezone/checktab.awk: Update from tzcode 2013i.
34938         * timezone/private.h: Likewise.
34939         * timezone/scheck.c: Likewise.
34940         * timezone/tzfile.h: Likewise.
34941         * timezone/tzselect.ksh: Likewise.
34942         * timezone/zdump.c: Likewise.
34943         * timezone/zic.c: Likewise.
34945         * math/auto-libm-test-in: Add tests of cpow.
34946         * math/auto-libm-test-out: Regenerated.
34947         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34948         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34949         mpc_cc_c.
34950         (func_calc_desc): Add mpc_cc_c union field.
34951         (test_functions): Add cpow.
34952         (special_fill_2pi): New function.
34953         (special_real_inputs): Add 2pi.
34954         (calc_generic_results): Handle mpc_cc_c.
34955         * sysdeps/i386/fpu/libm-test-ulps: Update.
34956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34958         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34959         csqrt, ctan and ctanh.
34960         * math/auto-libm-test-out: Regenerated.
34961         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34962         (TEST_COND_x86): Likewise.
34963         (ccos_test_data): Use AUTO_TESTS_c_c.
34964         (ccosh_test_data): Likewise.
34965         (cexp_test_data): Likewise.
34966         (clog_test_data): Likewise.
34967         (csqrt_test_data): Likewise.
34968         (ctan_test_data): Likewise.
34969         (ctan_tonearest_test_data): Likewise.
34970         (ctan_towardzero_test_data): Likewise.
34971         (ctan_downward_test_data): Likewise.
34972         (ctan_upward_test_data): Likewise.
34973         (ctanh_test_data): Likewise.
34974         (ctanh_tonearest_test_data): Likewise.
34975         (ctanh_towardzero_test_data): Likewise.
34976         (ctanh_downward_test_data): Likewise.
34977         (ctanh_upward_test_data): Likewise.
34978         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34979         mpc_c_c.
34980         (func_calc_desc): Add mpc_c_c union field.
34981         (FUNC_mpc_c_c): New macro.
34982         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34983         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34984         ctanh.
34985         (special_fill_min_subnorm_p120): New function.
34986         (special_real_inputs): Add min_subnorm_p120.
34987         (calc_generic_results): Handle mpc_c_c.
34988         * sysdeps/i386/fpu/libm-test-ulps: Update.
34989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34991 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34993         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34994         (do_sin_slow): New functions.
34995         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34996         (cslow2, csloww1, csloww2): Use the new functions.
34998         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34999         Use M to change sign of result instead of X.  Assume X is
35000         positive.
35001         (csloww1): Likewise.
35002         (__sin): Adjust.
35003         (__cos): Adjust.
35005         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35006         arguments A and DA.
35007         (__sin): Adjust.
35008         (__cos): Likewise.
35010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35011         (__cos): Likewise.
35012         (sloww1): Don't adjust sign of DX.
35013         (csloww1): Likewise.
35014         (sloww2): Use X directly and don't adjust sign of DX.
35015         (csloww2): Likewise.
35017 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35019         * math/auto-libm-test-in: Add tests of cabs and carg.
35020         * math/auto-libm-test-out: Regenerated.
35021         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35022         (carg_test_data): Likewise.
35023         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35024         mpc_c_f.
35025         (func_calc_desc): Add mpc_c_f union field.
35026         (test_functions): Add cabs and carg.
35027         (calc_generic_results): Handle mpc_c_f.
35029         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35030         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35031         as a macro and a compat symbol.
35032         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35033         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35034         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35035         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35036         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35037         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35038         not use .hidden.
35039         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35040         Likewise.
35041         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35042         Likewise.
35043         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35044         Likewise.
35045         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35046         Likewise.
35047         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35048         Likewise.
35049         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35050         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35051         from GLIBC_2.3.2.
35053 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35057 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35059         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35060         trailing whitespace removed.
35061         * scripts/config.guess: Update to version 2013-11-29.
35062         * scripts/config.sub: Update to version 2013-10-01.
35064         * math/auto-libm-test-in: Add tests of sincos.
35065         * math/auto-libm-test-out: Regenerated.
35066         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35067         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35068         mpfr_f_11.
35069         (func_calc_desc): Add mpfr_f_11 union field.
35070         (test_functions): Add sincos.
35071         (calc_generic_results): Handle mpfr_f_11.
35072         * sysdeps/i386/fpu/libm-test-ulps: Update.
35073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35075 2013-12-19  Andreas Schwab  <schwab@suse.de>
35077         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35078         CALL_MCOUNT.
35079         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35080         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35081         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35083 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35085         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35086         * sysdeps/i386/fpu/libm-test-ulps: Update.
35087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35089         [BZ #16293]
35090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35091         round-to-nearest mode when using frndint.
35092         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35093         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35094         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35095         Likewise.
35096         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35097         sinh test to fail.
35098         * math/auto-libm-test-out: Regenerated.
35099         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35100         (TEST_COND_x86): Likewise.
35101         (expm1_tonearest_test_data): New array.
35102         (expm1_test_tonearest): New function.
35103         (expm1_towardzero_test_data): New array.
35104         (expm1_test_towardzero): New function.
35105         (expm1_downward_test_data): New array.
35106         (expm1_test_downward): New function.
35107         (expm1_upward_test_data): New array.
35108         (expm1_test_upward): New function.
35109         (main): Run the new test functions.
35110         * sysdeps/i386/fpu/libm-test-ulps: Update.
35111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35113         * include/features.h: Update comment documenting feature test
35114         macros.  Mention _DEFAULT_SOURCE in comment.
35115         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35116         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35117         _BSD_SOURCE and _SVID_SOURCE.
35118         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35119         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35120         !_SVID_SOURCE]: Likewise.
35121         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35122         (__USE_POSIX_IMPLICITLY): Define.
35123         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35124         (_POSIX_SOURCE): Undefine and redefine.
35125         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35126         (_POSIX_C_SOURCE): Likewise.
35127         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35128         (Feature Test Macros): Update documentation of default features.
35130 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35132         * benchtests/Makefile: Add bench-strtok.
35133         * benchtests/bench-strtok.c: New file: strtok benchtest.
35135 2013-12-19  Allan McRae  <allan@archlinux.org>
35137         * manual/install.texi: Suppress menu for plain text output.
35138         * INSTALL: Regenerated.
35140 2013-12-18  Brooks Moses  <bmoses@google.com>
35142         [BZ #15846]
35143         * misc/getauxval.c: Include errno.h.
35144         (__getauxval): Set errno to ENOENT if the requested type is not
35145         found.
35146         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35147         don't declare with __attribute_const__.
35148         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35149         * manual/startup.texi: Document that getauxval sets errno.
35151 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35153         * math/auto-libm-test-in: Add tests of jn and yn.
35154         * math/auto-libm-test-out: Regenerated.
35155         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35156         (yn_test_data): Likewise.
35157         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35158         mpfr_if_f.
35159         (func_calc_desc): Add mpfr_if_f union field.
35160         (FUNC_mpfr_if_f): New macro.
35161         (test_functions): Add jn and yn.
35162         (calc_generic_results): Assert type of second input for
35163         mpfr_ff_f.  Handle mpfr_if_f.
35164         (output_for_one_input_case): Disable all checking for arguments
35165         fitting floating-point types in case of an integer argument.
35166         * sysdeps/i386/fpu/libm-test-ulps: Update.
35167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35170         Don't expect fegetround reference in libm.so.
35172 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35174         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35175         $(config-cflags-nofma).
35177 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35179         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35180         * math/auto-libm-test-out: Regenerated.
35182         [BZ #16338]
35183         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35184         to determine exponent and adjust argument to have exponent of -1.
35185         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35186         log2.
35187         * math/auto-libm-test-out: Regenerated.
35188         * sysdeps/i386/fpu/libm-test-ulps: Update.
35189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35191 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35193         * manual/probes.texi: Remove cases when per-thread arenas are
35194         disabled.
35196 2013-12-18  Andreas Schwab  <schwab@suse.de>
35198         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35199         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35200         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35201         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35202         * sysdeps/i386/i686/multiarch/Makefile: Update.
35203         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35205 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35207         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35208         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35210 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35212         [BZ #15968]
35213         Support TZ transition times < 00:00:00.
35214         This is needed for version-3 tz-format files; it supports time
35215         stamps past 2037 for America/Godthab (the only entry in the tz
35216         database for which this change is relevant).
35217         * manual/time.texi (TZ Variable): Document transition times
35218         from -167:59:59 through -00:00:01.
35219         * time/tzset.c (tz_rule): Time of day is now signed.
35220         (__tzset_parse_tz): Parse negative time of day.
35222         Document TZ transition times >= 25:00:00.
35223         * manual/time.texi (TZ Variable): Document transition times from
35224         25:00:00 through 167:59:59.  These are already supported, and this
35225         support will help with version-3 tz-format files.
35227         * manual/time.texi (TZ Variable): Modernize North America example
35228         to reflect current (i.e., 2007-and-later) daylight saving rules.
35230         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35232 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35234         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35235         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35238         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35239         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35240         * sysdeps/unix/bsd/clock.c: Likewise.
35241         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35242         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35243         * sysdeps/unix/bsd/init-posix.c: Likewise.
35244         * sysdeps/unix/bsd/poll.c: Likewise.
35245         * sysdeps/unix/bsd/ptsname.c: Likewise.
35246         * sysdeps/unix/bsd/seekdir.c: Likewise.
35247         * sysdeps/unix/bsd/setegid.c: Likewise.
35248         * sysdeps/unix/bsd/seteuid.c: Likewise.
35249         * sysdeps/unix/bsd/setgid.c: Likewise.
35250         * sysdeps/unix/bsd/setrgid.c: Likewise.
35251         * sysdeps/unix/bsd/setruid.c: Likewise.
35252         * sysdeps/unix/bsd/setsid.c: Likewise.
35253         * sysdeps/unix/bsd/setuid.c: Likewise.
35254         * sysdeps/unix/bsd/sigaction.c: Likewise.
35255         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35256         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35257         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35258         * sysdeps/unix/bsd/telldir.c: Likewise.
35259         * sysdeps/unix/bsd/times.c: Likewise.
35260         * sysdeps/unix/bsd/usleep.c: Likewise.
35262         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35263         ($(objpfx)libbsd-compat.a): Remove rule.
35265         * include/features.h (__FAVOR_BSD): Do not define.
35266         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35267         features conflicting with POSIX.
35268         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35269         (_BSD_SOURCE): Remove description of not being a subset of other
35270         feature test macros.
35271         * manual/job.texi (getpgrp): Do not document BSD version.
35272         (getpgid): Do not document by reference to BSD getpgrp.
35273         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35274         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35275         * signal/signal.h [__FAVOR_BSD]: Likewise.
35276         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35277         instead of making contents conditional on [__FAVOR_BSD].
35278         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35280 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35284 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35286         [BZ #16314]
35287         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35288         values below 2**-450, not 2**-500.
35289         * math/auto-libm-test-in: Don't allow spurious underflow from
35290         hypot.
35291         * math/auto-libm-test-out: Regenerated.
35293         [BZ #16316]
35294         [BZ #16330]
35295         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35296         values of ha and hb and sort them after adjusting subnormal
35297         arguments.
35298         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35299         Likewise.
35300         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35301         values of ea and eb and sort them after adjusting subnormal
35302         arguments.
35303         * math/auto-libm-test-in: Do not expect some hypot tests of
35304         subnormals to fail.  Add more hypot tests.
35305         * math/auto-libm-test-out: Regenerated.
35307 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35309         [BZ #13304]
35310         * sysdeps/sh/s_fma.c: New file.
35311         * sysdeps/sh/s_fmaf.c: New file.
35312         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35313         version.
35314         * sysdeps/sh/Implies: Add sh/soft-fp.
35316 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35318         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35319         level of indirection to members `objname', `errstring', `malloced'.
35320         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35321         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35322         it as the __longjmp argument (just pass 1 instead).
35323         (_dl_catch_error): Initialize C with argument pointers and address of
35324         volatile local ERRCODE rather than copying values out of C at return.
35326 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35328         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35329         * math/auto-libm-test-out: Regenerated.
35330         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35331         (hypot_test_data): Likewise.
35332         (pow_test_data): Likewise.
35333         (pow_tonearest_test_data): Likewise.
35334         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35335         mpfr_ff_f.
35336         (func_calc_desc): Add mpfr_ff_f union field.
35337         (FUNC_mpfr_ff_f): New macro.
35338         (test_functions): Add atan2, hypot and pow.
35339         (special_fill_min): New function.
35340         (special_fill_minus_min): Likewise.
35341         (special_fill_min_subnorm): Likewise.
35342         (special_fill_minus_min_subnorm): Likewise.
35343         (special_real_inputs): Add min, -min, min_subnorm and
35344         -min_subnorm.
35345         (calc_generic_results): Handle mpfr_ff_f.
35346         * sysdeps/i386/fpu/libm-test-ulps: Update.
35347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35349 2013-12-16  Will Newton  <will.newton@linaro.org>
35351         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35352         (Aligned Memory Blocks): Add documentation for aligned_alloc
35353         and suggest it as an alternative to posix_memalign.
35354         (Hooks for Malloc): Document __memalign_hook is also called
35355         for aligned_alloc.  (Summary of Malloc): Add summary for
35356         aligned alloc.  Document __memalign_hook is also called
35357         for aligned_alloc.
35359 2013-12-16  Will Newton  <will.newton@linaro.org>
35361         * manual/memory.texi (Malloc Examples): Clarify default
35362         alignment documentation.  Suggest posix_memalign rather
35363         than memalign or valloc.
35364         (Aligned Memory Blocks): Remove suggestion to use memalign
35365         or valloc.  Remove obsolete comment about BSD.
35366         Document memalign errno values and mark the function obsolete.
35367         Document posix_memalign returned error codes.  Mark valloc
35368         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35369         called for posix_memalign and valloc.
35370         (Summary of Malloc): Add posix_memalign to function summary.
35371         __memalign_hook is also called for posix_memalign and valloc.
35373 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35375         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35376         TAYLOR_SIN.
35377         (__sin): Adjust.
35378         (__cos): Likewise.
35379         (sloww): Use mynumber union.  Expand ternary operator into
35380         if-else statements.
35381         (cslow): use mynumber union.
35383 2013-12-16  Allan McRae  <allan@archlinux.org>
35385         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35386         * configure: Regenerated.
35388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35390         [BZ #14120]
35391         * configure.ac: Added --enable-maintainer-mode. Check for
35392         autoconf when enabled.
35393         * configure: Regenerated.
35395         * nscd/nscd.service: New file.
35396         * nscd/nscd.tmpfiles: New file.
35398 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35400         [BZ #12100]
35401         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35402         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35403         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35404         (strstr): Add __strstr_sse2_unaligned ifunc.
35405         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35406         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35407         (strcasestr): Remove __strcasestr_sse42 ifunc.
35408         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35412 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35414         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35415         * sysdeps/sh/bits/fenv.h: ... here.
35416         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35418 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35420         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35423         hypotf multiarch implementations.
35424         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35425         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35426         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35427         multiarch hypot for PPC64.
35428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35429         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35430         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35431         multiarch hypotf for PPC64.
35433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35434         modff multiarch implementations.
35435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35438         multiarch modf for PPC64.
35439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35442         multiarch modff for PPC64.
35444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35445         and logl multiarch implementations.
35446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35449         multiarch logb for PPC64.
35450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35453         multiarch logb for PPC64.
35454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35457         multiarch logb for PPC64.
35459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35460         isinff multiarch implementation.
35461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35462         file.
35463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35465         multiarch isinf for PPC64.
35466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35467         file.
35468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35469         multiarch isinff for PPC64.
35471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35472         finitef multiarch implementation.
35473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35474         file.
35475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35477         multiarch finite for PPC64.
35478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35479         file.
35480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35481         multiarch finitef for PPC64.
35483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35484         lrint multiarch implementation.
35485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35486         file.
35487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35489         multiarch llrint for PPC64.
35490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35491         multiarch lrint for PPC64.
35493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35494         copysignf multiarch implementation.
35495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35496         file.
35497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35498         file.
35499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35500         multiarch copysign for PPC64.
35501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35502         multiarch copysignf for PPC64.
35504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35505         multiarch implementation.
35506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35507         file.
35508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35509         file.
35510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35511         file.
35512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35513         file.
35514         multiarch llround for PPC64.
35515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35516         multiarch trunc for PPC64.
35517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35518         multiarch truncf for PPC64.
35520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35521         multiarch implementation.
35522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35523         file.
35524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35525         file.
35526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35527         file.
35528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35529         file.
35530         multiarch llround for PPC64.
35531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35532         multiarch round for PPC64.
35533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35534         multiarch roundf for PPC64.
35536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35537         multiarch implementation.
35538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35539         file.
35540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35541         file.
35542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35543         file.
35544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35545         file.
35546         multiarch llround for PPC64.
35547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35548         multiarch floor for PPC64.
35549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35550         multiarch floorf for PPC64.
35552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35553         multiarch implementation.
35554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35555         file.
35556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35557         file.
35558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35559         file.
35560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35561         file.
35562         multiarch llround for PPC64.
35563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35564         multiarch ceil for PPC64.
35565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35566         multiarch ceilf for PPC64.
35568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35569         multiarch implementation.
35570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35571         file.
35572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35573         file.
35574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35575         file.
35576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35577         multiarch llround for PPC64.
35578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35579         multiarch lround for PPC64.
35581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35582         multiarch implementation.
35583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35586         file.
35587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35590         multiarch isnan for PPC64.
35591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35592         multiarch isnanf for PPC64.
35594         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35595         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35596         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35597         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35598         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35601         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35602         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35603         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35607         multiarch implementations.
35608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35609         (__libc_ifunc_impl_list): Likewise.
35610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35612         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35613         multiarch stpcpy for PPC64.
35615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35616         multiarch implementations.
35617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35618         (__libc_ifunc_impl_list): Likewise.
35619         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35620         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35621         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35622         multiarch strcpy for PPC64.
35624         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35625         redefine function name.
35626         (_wordcopy_fwd_dest_aligned): Likewise.
35627         (_wordcopy_bwd_aligned): Likewise.
35628         (_wordcopy_bwd_dest_aligned): Likewise.
35629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35630         multiarch implementations.
35631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35632         (__libc_ifunc_impl_list): Likewise.
35633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35635         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35637         multiarch wcscpy for PPC64.
35639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35640         multiarch implementations.
35641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35642         (__libc_ifunc_impl_list): Likewise.
35643         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35644         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35645         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35646         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35647         multiarch wcscpy for PPC64.
35649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35650         multiarch implementations.
35651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35652         (__libc_ifunc_impl_list): Likewise.
35653         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35654         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35655         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35656         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35657         multiarch wcsrchr for PPC64.
35659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35660         multiarch implementations.
35661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35662         (__libc_ifunc_impl_list): Likewise.
35663         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35664         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35665         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35666         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35667         multiarch wcschr for PPC64.
35669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35670         multiarch implementations.
35671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35672         (__libc_ifunc_impl_list): Likewise.
35673         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35674         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35675         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35676         multiarch strchrnul for PPC64.
35678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35679         implementations.
35680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35681         (__libc_ifunc_impl_list): Likewise.
35682         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35683         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35684         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35685         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35686         strchr for PPC64.
35688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35689         implementations.
35690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35691         (__libc_ifunc_impl_list): Likewise.
35692         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35693         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35694         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35695         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35696         strncmp for PPC64.
35698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35699         multiarch implementations.
35700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35701         (__libc_ifunc_impl_list): Likewise.
35702         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35703         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35704         strncasecmp for PPC64.
35705         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35706         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35707         multiarch strncasecmp_l for PPC64.
35709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35710         multiarch implementations.
35711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35712         (__libc_ifunc_impl_list): Likewise.
35713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35715         multiarch strcasecmp for PPC64.
35716         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35717         file.
35718         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35719         multiarch strcasecmp_l for PPC64.
35721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35722         implementations.
35723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35724         (__libc_ifunc_impl_list): Likewise.
35725         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35726         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35727         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35728         strnlen for PPC64.
35730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35731         implementations.
35732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35733         (__libc_ifunc_impl_list): Likewise.
35734         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35735         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35736         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35737         strlen for PPC64.
35739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35740         implementations.
35741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35742         (__libc_ifunc_impl_list): Likewise.
35743         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35744         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35745         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35746         rawmemrchr for PPC64.
35748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35749         implementation.
35750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35751         (__libc_ifunc_impl_list): Likewise.
35752         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35753         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35754         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35755         memrchr for PPC64.
35757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35758         implementation.
35759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35760         (__libc_ifunc_impl_list): Likewise.
35761         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35762         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35763         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35764         memchr for PPC64.
35766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35767         implementation.
35768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35769         (__libc_ifunc_impl_list): Likewise.
35770         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35771         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35772         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35773         mempcpy for PPC64.
35775         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35776         avoid cretion of __bzero symbol.
35777         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35778         Likewise.
35779         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35780         Likewise.
35781         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35782         Likewise.
35783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35784         multiarch implementations.
35785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35786         (__libc_ifunc_impl_list): Likewise.
35787         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35788         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35789         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35790         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35791         bzero for PPC32.
35792         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35793         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35794         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35795         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35796         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35797         memset for PPC64.
35798         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35800         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35802         implementations.
35803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35804         (__libc_ifunc_impl_list): Likewise.
35805         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35806         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35807         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35808         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35809         memcmp for PPC64.
35811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35812         multiarch for POWER/PPC64.
35813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35814         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35815         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35816         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35817         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35818         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35819         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35820         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35821         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35822         memcpy for PPC64.
35824         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35825         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35826         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35827         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35828         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35829         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35830         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35831         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35832         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35833         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35834         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35835         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35836         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35837         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35838         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35847 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35849         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35851 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35853         * benchtests/Makefile (bench): Add exp2 and log2.
35854         (LDLIBS-bench-exp2): Add -lm.
35855         (LDLIBS-bench-log2): Likewise.
35856         * benchtests/exp2-inputs: New inputs file.
35857         * benchtests/log2-inputs: New inputs file.
35858         * benchtests/log-inputs: Add new inputs.
35859         * benchtests/tan-inputs: Likewise.
35861 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35863         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35864         definition...
35865         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35866         (csloww2): ... from here.
35868         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35869         instead of structures.
35870         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35871         (POLYNOMIAL): Likewise.
35872         (TAYLOR_SLOW): Likewise.
35873         (__sin): Likewise.
35874         (__cos): Likewise.
35875         (slow1): Likewise.
35876         (slow2): Likewise.
35877         (sloww): Likewise.
35878         (sloww1); Likewise.
35879         (sloww2): Likewise.
35880         (bsloww1): Likewise.
35881         (bsloww2): Likewise.
35882         (cslow2): Likewise.
35883         (csloww): Likewise.
35884         (csloww1): Likewise.
35885         (csloww2): Likewise.
35887 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35889         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35890         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35891         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35892         * malloc/hooks.c (realloc_check): Likewise.
35894         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35895         * malloc/arena.c: Remove PER_THREAD conditional.
35896         [!PER_THREAD]: Remove code.
35897         (ptmalloc_unlock_all2): Likewise.
35898         (ptmalloc_init): Likewise.
35899         (_int_new_arena): Likewise.
35900         (arena_get2): Likewise.
35901         * malloc/hooks.c (__malloc_get_state): Likewise.
35902         (__malloc_set_state): Likewise.
35903         * malloc/malloc.c: Likewise.
35904         (struct malloc_state): Likewise.
35905         (struct malloc_par): Likewise.
35906         (__libc_realloc): Likewise.
35907         (__libc_mallopt): Likewise.
35909 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35911         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35913 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35915         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35916         macro to a function.  Check for zero perturb_byte.
35917         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35919         * malloc/malloc.c: (force_reg): Remove.
35920         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35921         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35922         force_reg by atomic_forced_read.
35923         * malloc/arena.c (ptmalloc_init): Likewise.
35924         * malloc/hooks.c (top_check): Likewise.
35926 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35930 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35934 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35936         * math/auto-libm-test-in: Add tests of lgamma.
35937         * math/auto-libm-test-out: Regenerated.
35938         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35939         (M_LOG_2_SQRT_PIl): Likewise.
35940         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35941         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35942         mpfr_f_f1.
35943         (func_calc_desc): Add mpfr_f_f1 union field.
35944         (ARGS1): New macro.
35945         (ARGS2): Likewise.
35946         (ARGS3): Likewise.
35947         (ARGS4): Likewise.
35948         (RET1): Likewise.
35949         (RET2): Likewise.
35950         (CALC): Likewise.
35951         (FUNC): Likewise.
35952         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35953         (test_functions): Add lgamma.
35954         (calc_generic_results): Handle mpfr_f_f1.
35955         * sysdeps/i386/fpu/libm-test-ulps: Update.
35956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35958 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35960         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35961         __mpn_add_n for PowerPC64/POWER7.
35962         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35963         __mpn_sub_n for PowerPC64/POWER7.
35965         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35966         __mpn_addmul_1 for PowerPC64.
35967         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35968         __mpn_submul_1 for PowerPC64.
35969         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35970         for PowerPC64.
35971         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35972         for PowerPC64.
35974 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35976         [BZ #15089]
35977         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35981         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35983         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35984         add multiarch folders.
35985         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35986         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35987         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35988         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35989         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35990         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35991         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35992         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35993         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35994         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35995         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36004         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36006         New file.
36007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36008         New file.
36009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36010         multiarch __ieee754_hypot for PowerPC32.
36011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36012         New file.
36013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36014         New file.
36015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36016         multiarch __ieee754_hypotf for PowerPC32.
36018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36019         long_double_symbol only if __logbl is defined.
36020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36021         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36023         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36025         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36027         path for implementation.
36028         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36031         logb, and logbl multiarch implementations for PowerPC32.
36032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36033         file.
36034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36035         file.
36036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36037         multiarch logb for PowerPC32.
36038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36039         file.
36040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36041         file.
36042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36043         multiarch logbf for PowerPC32.
36044         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36046         file.
36047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36048         multiarch logbl implementation for PowerPC32.
36050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36051         and modff multiarch implementations.
36052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36053         New file.
36054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36055         New file.
36056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36057         multiarch modf for PowerPC32.
36058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36059         New file.
36060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36061         New file.
36062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36063         multiarch modff for PowerPC32.
36065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36066         and lrintf multiarch implementations.
36067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36068         New file.
36069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36070         New file.
36071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36072         multiarch lrint for PowerPC32.
36073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36074         file: multiarch lrintf for PowerPC32.
36076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36077         and lroundf multiarch implementations.
36078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36079         New file.
36080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36081         New file.
36082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36083         New file.
36084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36085         multiarch lround for PowerPC32.
36086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36087         file: multiarch lroundf for PowerPC32.
36089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36090         copysign and copysignf multiarch implementations.
36091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36092         New file.
36093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36094         New file.
36095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36096         file: multiarch copysign for PowerPC32.
36097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36098         file: multiarch copysignf for PowerPC32.
36100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36101         and truncf multiarch implementations.
36102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36103         New file.
36104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36105         file.
36106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36107         multiarch trunc for PowerPC32.
36108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36109         New file.
36110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36111         New file.
36112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36113         multiarch truncf for PowerPC32.
36115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36116         and roundf multiarch implementations.
36117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36118         New file.
36119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36120         file.
36121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36122         multiarch round for PowerPC32.
36123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36124         New file.
36125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36126         New file.
36127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36128         multiarch roundf for PowerPC32.
36130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36131         and floorf multiarch implementations.
36132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36133         New file.
36134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36135         file.
36136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36137         multiarch floor for PowerPC32.
36138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36139         New file.
36140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36141         New file.
36142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36143         multiarch floorf for PowerPC32.
36145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36146         and ceilf multiarch implementations.
36147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36148         New file.
36149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36150         file.
36151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36152         multiarch ceil for PowerPC32.
36153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36154         New file.
36155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36156         file.
36157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36158         multiarch ceilf for PowerPC32.
36160         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36161         is defined.
36162         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36163         FINITEF is defined.
36164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36165         and finitef multiarch implementations.
36166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36167         New file.
36168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36169         file.
36170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36171         multiarch finite for PowerPC32.
36172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36173         New file.
36174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36175         file: multiarch finitef for PowerPC32.
36177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36178         and isinff multiarch implementations.
36179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36180         file.
36181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36182         file.
36183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36184         multiarch isinf for PowerPC32.
36185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36186         New file.
36187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36188         multiarch isinff for PowerPC32.
36190         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36191         alias when __isnan is defined.
36192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36193         and isnanf multiarch implementations.
36194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36195         file.
36196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36197         file.
36198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36199         file.
36200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36201         file.
36202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36203         multiarch isnan for PowerPC32.
36204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36205         New file.
36206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36207         New file.
36208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36209         multiarch isnanf for PowerPC32.
36211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36212         and sqrtf multiarch implementations.
36213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36214         file.
36215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36216         file.
36217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36218         multiarch sqrt for PowerPC32.
36219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36220         file.
36221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36222         file.
36223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36224         multiarch sqrtf for PowerPC32.
36226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36227         and llroundf multiarch implementations.
36228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36229         New file.
36230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36231         New file.
36232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36233         New file.
36234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36235         file: multiarch llround for PowerPC32.
36236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36237         file: multiarch llroundf for PowerPC32.
36239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36240         multiarch PowerPC32 fpu implementations.
36241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36242         New file.
36243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36244         New file.
36245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36246         multiarch llrint for PowerPC32.
36247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36248         New file.
36249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36250         New file.
36251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36252         file.
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36257         file.
36258         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36259         file.
36260         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36261         file.
36262         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36263         multiarch wordcopy for PPC32.
36264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36265         wordcopy objects.
36266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36267         (__libc_ifunc_impl_list): Likewise.
36268         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36269         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36270         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36271         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36272         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36273         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36275         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36277         file.
36278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36279         file.
36280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36281         file.
36282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36283         multiarch wcscpy for PPC32.
36284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36285         multiarch objects.
36286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36287         (__libc_ifunc_impl_list): Likewise.
36288         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36289         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36290         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36291         sysdeps/powerpc/power6/wcscpy.c.
36293         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36295         file.
36296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36297         file.
36298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36299         file.
36300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36301         multiarch wcsrchr for PPC32.
36302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36303         multiarch objects.
36304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36305         (__libc_ifunc_impl_list): Likewise.
36306         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36307         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36308         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36309         sysdeps/powerpc/power6/wcsrchr.c.
36311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36312         file.
36313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36314         file.
36315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36317         multiarch wcschr for PPc32.
36318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36319         multiarch objects.
36320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36321         (__libc_ifunc_impl_list): Likewise.
36322         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36323         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36324         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36325         sysdeps/powerpc/power6/wcschr.c.
36327         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36328         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36329         file.
36330         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36331         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36332         file: multiarch strchr for PPC32.
36333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36334         multiarch objects.
36335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36336         (__libc_ifunc_impl_list): Likewise.
36338         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36339         name.
36340         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36341         file.
36342         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36343         file.
36344         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36345         multiarch strchrnul for PPC32.
36346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36347         multiarch objects.
36348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36349         (__libc_ifunc_impl_list): Likewise.
36351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36352         file.
36353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36354         multiarch strncasecmp for PPC32.
36355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36356         file.
36357         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36358         multiarch strncasecmp_l for PPC32.
36359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36360         strncasecmp multiarch objects.
36361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36362         (__libc_ifunc_impl_list): Likewise.
36364         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36365         file.
36366         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36367         multiarch strncasecmp for PPC32.
36368         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36369         New file.
36370         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36371         multiarch strcasecmp_l for PPC32.
36372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36373         multiarch objects.
36374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36375         (__libc_ifunc_impl_list): Likewise.
36377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36378         file.
36379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36380         file.
36381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36382         multiarch strncmp for PPC32.
36383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36384         multiarch objects.
36385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36386         (__libc_ifunc_impl_list): Likewise.
36388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36389         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36390         file.
36391         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36394         multiarch objects.
36395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36396         (__libc_ifunc_impl_list): Likewise.
36398         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36399         file.
36400         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36401         file.
36402         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36404         multiarch objects.
36405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36406         (__libc_ifunc_impl_list): Likewise.
36408         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36409         file.
36410         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36411         file.
36412         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36413         multiarch rawmemchr for PPC32.
36414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36415         multiarch objects.
36416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36417         (__libc_ifunc_impl_list): Likewise.
36419         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36420         file.
36421         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36422         file.
36423         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36424         file: memrchr multiarch for PPC32.
36425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36426         multiarch objects.
36427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36428         (__libc_ifunc_impl_list): Likewise.
36430         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36432         file.
36433         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36434         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36435         multiarch memchr for PPC32.
36436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36437         multiarch objects.
36438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36439         (__libc_ifunc_impl_list): Likewise.
36441         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36442         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36443         file.
36444         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36445         file.
36446         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36447         file: multiarch mempcpy for PPC32.
36448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36449         multiarch objects.
36450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36451         (__libc_ifunc_impl_list): Likewise.
36453         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36454         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36455         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36457         multiarch bzero for PPC32.
36458         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36459         file.
36460         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36461         file.
36462         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36463         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36464         file: multiarch memset for PPC32.
36465         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36467         memset multiarch objects.
36468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36469         (__libc_ifunc_impl_list): Likewise.
36471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36472         file.
36473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36474         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36475         memcmp for PPC32.
36476         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36478         multiarch objects.
36479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36480         (__libc_ifunc_impl_list): Likewise.
36482         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36483         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36484         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36485         file.
36486         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36487         file.
36488         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36489         file.
36490         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36491         multiarch memcpy for PPC32.
36492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36493         multiarch objects.
36494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36495         (__libc_ifunc_impl_list): Likewise.
36497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36498         support multiarch for POWER/PPC32.
36499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36500         Likewise.
36501         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36503         Implies file to make multiarch folder appers before the fpu and
36504         default folder for power4 configuration.
36506 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36508         * scripts/bench.pl: Append volatile keyword to type.
36510 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36512         * sysdeps/sh/sotruss-lib.c: New file.
36513         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36515 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36519 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36521         [BZ #6810]
36522         * math/w_tgamma.c: Include <errno.h>.
36523         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36524         * math/w_tgammaf.c: Include <errno.h>.
36525         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36526         * math/w_tgammal.c: Include <errno.h>.
36527         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36528         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36529         underflow.  Add more tgamma tests.
36530         * math/auto-libm-test-out: Regenerated.
36531         * sysdeps/i386/fpu/libm-test-ulps: Update.
36532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36534         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36535         sin, sinh, tan, tanh, tgamma, y0 and y1.
36536         * math/auto-libm-test-out: Regenerated.
36537         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36538         (TEST_COND_x86): Likewise.
36539         (M_E2l): Remove macro.
36540         (M_E3l): Likewise.
36541         (M_2_SQRT_PIl): Likewise.
36542         (M_SQRT_PIl): Likewise.
36543         (M_1_DIV_El): Likewise.
36544         (log_test_data): Use AUTO_TESTS_f_f.
36545         (log10_test_data): Likewise.
36546         (log1p_test_data): Likewise.
36547         (log2_test_data): Likewise.
36548         (sin_test_data): Likewise.
36549         (sin_tonearest_test_data): Likewise.
36550         (sin_towardzero_test_data): Likewise.
36551         (sin_downward_test_data): Likewise.
36552         (sin_upward_test_data): Likewise.
36553         (sinh_test_data): Likewise.
36554         (sinh_tonearest_test_data): Likewise.
36555         (sinh_towardzero_test_data): Likewise.
36556         (sinh_downward_test_data): Likewise.
36557         (sinh_upward_test_data): Likewise.
36558         (tan_test_data): Likewise.
36559         (tan_tonearest_test_data): Likewise.
36560         (tan_towardzero_test_data): Likewise.
36561         (tan_downward_test_data): Likewise.
36562         (tan_upward_test_data): Likewise.
36563         (tanh_test_data): Likewise.
36564         (tgamma_test_data): Likewise.
36565         (y0_test_data): Likewise.
36566         (y1_test_data): Likewise.
36567         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36568         (special_real_inputs): Add pi/4.
36569         * sysdeps/i386/fpu/libm-test-ulps: Update.
36570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36572 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36574         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36575         "longjmp_target" static probes.
36576         (__longjmp): Rename to __longjmp_symbol.
36577         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36578         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36579         on which longjmp to generate.
36580         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36581         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36582         probe.
36583         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36584         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36585         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36586         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36587         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36588         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36590         __longjmp_symbol based on which __longjmp to generate.
36591         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36592         probe.
36593         (setjmp): Rename to setjmp_symbol.
36594         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36595         (_setjmp): Rename to _setjmp_symbol.
36596         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36597         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36598         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36599         which setjmp to generate.
36600         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36601         "longjmp_target" static probes.
36603 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36605         * benchtests/README: Add note about output arguments.
36606         * benchtests/bench-sincos.c: Remove file.
36607         * benchtests/sincos-inputs: New file.
36608         * scripts/bench.pl: Identify output arguments and define
36609         static variables for them.
36611         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36613         [BZ #15941]
36614         * Makefile (INSTALL): Add install-plain.texi as the primary
36615         dependency.
36616         * manual/install-plain.texi: New file.
36617         * manual/install.texi: Include node directive only for
36618         non-plaintext output.
36620 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36622         * stdlib/longlong.h: Update from GCC.
36624         [BZ #6807]
36625         [BZ #15901]
36626         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36627         * math/w_j0f.c (y0f): Likewise.
36628         * math/w_j0l.c (__y0l): Likewise.
36629         * math/w_j1.c (y1): Likewise.
36630         * math/w_j1f.c (y1f): Likewise.
36631         * math/w_j1l.c (__y1l): Likewise.
36632         * math/w_jn.c (yn): Likewise.
36633         * math/w_jnf.c (ynf): Likewise.
36634         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36635         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36636         value for Bessel function domain errors outside _SVID_ mode.
36637         Adjust sign of return value for yn (negative integer, 0).
36638         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36639         by zero in return for negative x and set sign appropriately for
36640         negative n.
36641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36642         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36643         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36644         expectations in error cases.
36645         (y1_test_data): Likewise.
36646         (yn_test_data): Likewise.
36647         * sysdeps/i386/fpu/libm-test-ulps: Update.
36648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36650 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36652         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36653         "64" to "64-v1".  Add "64-v2".
36654         (abi-64-options): Rename to ...
36655         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36656         (abi-64-condition): Rename to ...
36657         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36658         (abi-64-ld-soname): Rename to ...
36659         (abi-64-v1-ld-soname): ... this.
36660         (abi-64-v2-options): Define.
36661         (abi-64-v2-condition): Likewise.
36662         (abi-64-v2-ld-soname): Likewise.
36663         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36664         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36669 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36670             Alan Modra  <amodra@gmail.com>
36672         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36673         New versions for use with the ELFv2 ABI.
36674         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36675         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36676         declaration.
36677         (struct La_ppc64v2_retval): Likewise.
36678         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36679         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36680         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36681         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36682         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36683         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36684         Do not save or restore CR.
36685         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36686         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36687         return values for ELFv2 ABI.  Fix location of FPR return registers.
36688         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36689         updated values for _CALL_ELF == 2.
36690         (La_regs, La_retval, int_retval): Likewise.
36692 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36694         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36695         (FRAME_MIN_SIZE_PARM): Likewise.
36696         (FRAME_BACKCHAIN): Likewise.
36697         (FRAME_CR_SAVE): Likewise.
36698         (FRAME_LR_SAVE): Likewise.
36699         (FRAME_TOC_SAVE): Likewise.
36700         (FRAME_PARM_SAVE): Likewise.
36701         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36702         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36703         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36704         (call_mcount_parm_offset): New macro.
36705         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36706         (PROF): Use symbolic stack frame offsets.
36707         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36708         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36709         Redefine in terms of FRAME_MIN_SIZE.
36710         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36711         (_dl_profile_resolve): Likewise.  Update comment.
36712         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36713         symbols stack frame offsets.
36714         (__sigsetjmp): Likewise.
36715         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36716         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36717         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36718         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36721         (FRAME_BACKCHAIN): Remove.
36722         (FRAME_CR_SAVE): Likewise.
36723         (FRAME_LR_SAVE): Likewise.
36724         (FRAME_COMPILER_DW): Likewise.
36725         (FRAME_LINKER_DW): Likewise.
36726         (FRAME_TOC_SAVE): Likewise.
36727         (FRAME_PARM_SAVE): Likewise.
36728         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36729         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36730         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36732         (CHECK_SP): Use symbolic stack frame offsets.
36733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36734         zone" instead of caller's parameter save area for temp storage.
36735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36736         Likewise.  Also, use symbolic stack frame offsets.
36737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36738         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36739         our own stack frame instead of the caller's.
36740         (__socket): Use symbolic stack frame offsets.
36742 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36743             Alan Modra  <amodra@gmail.com>
36745         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36746         Define.
36747         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36748         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36749         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36750         New function.
36751         (elf_machine_fixup_plt): Call it.
36752         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36753         reloc arguments.
36754         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36755         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36756         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36757         r2 before calling target.
36759 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36760             Alan Modra  <amodra@gmail.com>
36762         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36763         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36764         versions of macros to support ELFv2 ABI.
36765         (LOCALENTRY): New macro.
36766         (ENTRY, EALIGN): Use it.
36767         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36768         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36769         fall through into ENTRY entry point.
36770         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36771         Only define if _CALL_ELF != 2.
36773         (elf_machine_matches_host): Verify ABI version matches.
36774         (RTLD_START): Use LOCALENTRY.
36775         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36776         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36777         (PLT_ENTRY_WORDS): New macro.
36778         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36779         (elf_machine_runtime_setup): Support ELFv2 ABI.
36780         (elf_machine_fixup_plt): Likewise.
36781         (elf_machine_plt_conflict): Likewise.
36782         (resolve_ifunc): Likewise.
36783         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36784         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36785         Likewise.
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36787         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36789         (makecontext): Support ELFv2 ABI.
36790         * elf/elf.h (EF_PPC64_ABI): Define.
36792 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36794         * sysdeps/powerpc/powerpc64/sysdep.h
36795         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36796         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36797         (ENTRY) [ASSEMBLER]: ... but instead here ...
36798         (EALIGN) [ASSEMBLER]: ... and here.
36799         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36800         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36801         (ENTRY_2) [!ASSEMBLER]: Use it.
36802         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36803         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36804         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36805         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36806         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36808         Use PPC64_LOAD_FUNCPTR.
36810         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36812 2013-12-04  Alan Modra  <amodra@gmail.com>
36814         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36815         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36816         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36817         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36819         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36820         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36821         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36822         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36823         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36824         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36826 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36829         (__makecontext): Fix incorrect CFI when backtracing out of
36830         context created via makecontext.
36831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36832         (__setcontext): Fix incorrect CFI during switch to new context.
36833         (__novec_setcontext): Likewise.
36835 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36837         [BZ #4772]
36838         * time/strptime_l.c (__strptime_internal): Allow modifiers
36839         in strptime.
36840         * time/tst-strptime.c (day_tests): Add testcase.
36842 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36844         * scripts/bench.pl: Skip over blank lines.
36846 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36848         [BZ #926]
36849         * manual/time.texi (Calendar Time): Clarify what timezone functions
36850         use.
36852 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36856 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36858         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36859         implementation.
36860         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36861         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36862         * debug/memset_chk.c (__memset_chk): Likewise.
36863         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36864         * debug/strncpy_chk.c: Likewise.
36866 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36868         [BZ #15268]
36869         [BZ #15425]
36870         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36871         (__ieee754_exp): For possibly underflowing results, check size of
36872         result and force underflow exception if required.
36873         * math/auto-libm-test-in: Add more tests of exp.
36874         * math/auto-libm-test-out: Regenerated.
36875         * sysdeps/i386/fpu/libm-test-ulps: Update.
36876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36878         [BZ #16283]
36879         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36880         * math/w_exp2f.c (__exp2f): Likewise.
36881         * math/w_exp2l.c (__exp2l): Likewise.
36882         * math/auto-libm-test-in: Do not allow missing errno on exp2
36883         underflow.
36884         * math/auto-libm-test-out: Regenerated.
36886 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36888         [BZ #16274]
36889         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36890         handle filename validation.
36891         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36892         (do_open): Delete.
36894 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36896         [BZ #6786]
36897         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36898         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36899         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36900         <float.h>.
36901         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36902         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36903         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36904         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36905         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36906         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36907         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36908         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36909         Add more erfc tests.
36910         * math/auto-libm-test-out: Regenerated.
36911         * sysdeps/i386/fpu/libm-test-ulps: Update.
36912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36914         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36915         exp2, expm1, j0 and j1.
36916         * math/auto-libm-test-out: Regenerated.
36917         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36918         (erfc_test_data): Likewise.
36919         (exp_test_data): Likewise.
36920         (exp_tonearest_test_data): Likewise.
36921         (exp_towardzero_test_data): Likewise.
36922         (exp_downward_test_data): Likewise.
36923         (exp_upward_test_data): Likewise.
36924         (exp10_test_data): Likewise.
36925         (exp2_test_data): Likewise.
36926         (expm1_test_data): Likewise.
36927         (j0_test_data): Likewise.
36928         (j1_test_data): Likewise.
36929         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36930         (input_flag_type): Add flag_xfail_rounding.
36931         (input_flags): Add xfail-rounding.
36932         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36933         (output_for_one_input_case): Handle flag_xfail_rounding.
36934         * sysdeps/i386/fpu/libm-test-ulps: Update.
36935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36937 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36939         [BZ #16289]
36940         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36941         division by 0.
36943 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36945         [BZ #16195]
36946         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36947         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36948         (STAP_PROBE0): New macro.
36949         (STAP_PROBE1): Likewise.
36950         (STAP_PROBE2): Likewise.
36951         (STAP_PROBE3): Likewise.
36952         (STAP_PROBE4): Likewise.
36954 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36956         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36958 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36960         * benchtests/Makefile (bench): Add sqrt.
36961         (LDLIBS-bench-sqrt): New.
36962         * benchtests/sqrt-input: New.
36964 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36966         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36967         (GAIH_EAI): Likewise.
36968         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36969         (gaih_inet): Likewise.
36970         (getaddrinfo): Don't use GAIH_EAI.
36972         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36973         (struct gaih): Remove definition.
36975 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36977         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36978         Use HERRNOP directly.
36980 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36984 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36986         * math/gen-auto-libm-tests.c (test_functions): Add more
36987         single-argument functions.
36988         (special_fill_pi_2): New function.
36989         (special_fill_minus_pi_2): Likewise.
36990         (special_fill_pi_6): Likewise.
36991         (special_fill_minus_pi_6): Likewise.
36992         (special_fill_pi_3): Likewise.
36993         (special_fill_2pi_3): Likewise.
36994         (special_fill_e): Likewise.
36995         (special_fill_1_e): Likewise.
36996         (special_fill_e_minus_1): Likewise.
36997         (special_real_inputs): Add more special inputs.
36998         (output_for_one_input_case): Do not require ERANGE on underflow to
36999         zero if round-to-nearest result does not underflow to zero, unless
37000         exact results required.
37001         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37002         atan, atanh, cbrt, cos and cosh.
37003         * math/auto-libm-test-out: Regenerated.
37004         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37005         (acos_tonearest_test_data): Likewise.
37006         (acos_towardzero_test_data): Likewise.
37007         (acos_downward_test_data): Likewise.
37008         (acos_upward_test_data): Likewise.
37009         (acosh_test_data): Likewise.
37010         (asin_test_data): Likewise.
37011         (asin_tonearest_test_data): Likewise.
37012         (asin_towardzero_test_data): Likewise.
37013         (asin_upward_test_data): Likewise.
37014         (asinh_test_data): Likewise.
37015         (atan_test_data): Likewise.
37016         (atanh_test_data): Likewise.
37017         (cbrt_test_data): Likewise.
37018         (cos_test_data): Likewise.
37019         (cos_tonearest_test_data): Likewise.
37020         (cos_towardzero_test_data): Likewise.
37021         (cos_downward_test_data): Likewise.
37022         (cos_upward_test_data): Likewise.
37023         (cosh_test_data): Likewise.
37024         (cosh_tonearest_test_data): Likewise.
37025         (cosh_towardzero_test_data): Likewise.
37026         (cosh_downward_test_data): Likewise.
37027         (cosh_upward_test_data): Likewise.
37028         * sysdeps/i386/fpu/libm-test-ulps: Update.
37029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37031 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37033         [BZ #6787]
37034         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37035         * math/w_exp10f.c (__exp10f): Likewise.
37036         * math/w_exp10l.c (__exp10l): Likewise.
37037         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37038         errno settings in existing tests.
37040         [BZ #14032]
37041         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37042         precision control set to double precision.
37043         * sysdeps/i386/fpu/w_sqrt.c: New file.
37044         * math/auto-libm-test-in: Add more tests.
37045         * math/auto-libm-test-out: Update.
37047         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37048         (sqrt_test_tonearest): New function.
37049         (sqrt_towardzero_test_data): New variable.
37050         (sqrt_test_towardzero): New function.
37051         (sqrt_downward_test_data): New variable.
37052         (sqrt_test_downward): New function.
37053         (sqrt_upward_test_data): New variable.
37054         (sqrt_test_upward): New function.
37055         (main): Call the new functions.
37057         * math/gen-auto-libm-tests.c: New file.
37058         * math/auto-libm-test-in: Likewise.
37059         * math/auto-libm-test-out: New generated file.
37060         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37061         variables.
37062         (%beautify): Add generated representations of zero.
37063         (top level): Set $auto_input and call parse_auto_input.
37064         (beautify): Remove trailing "f" from hex float constants.
37065         (parse_args): Handle XFAIL_TEST.
37066         (convert_condition): New function.
37067         (or_value): Likewise.
37068         (or_cond_value): Likewise.
37069         (generate_testfile): Handle AUTO_TESTS_* lines.
37070         (parse_auto_input): New function.
37071         * math/libm-test.inc (XFAIL_TEST): New macro.
37072         (ERRNO_UNCHANGED): Update value.
37073         (ERRNO_EDOM): Likewise.
37074         (ERRNO_ERANGE): Likewise.
37075         (IGNORE_RESULT): Likewise.
37076         (TEST_COND_flt_32): New macro.
37077         (TEST_COND_dbl_64): Likewise.
37078         (TEST_COND_ldbl_96_intel): Likewise.
37079         (TEST_COND_ldbl_96_m68k): Likewise.
37080         (TEST_COND_ldbl_128): Likewise.
37081         (TEST_COND_ldbl_128ibm): Likewise.
37082         (TEST_COND_long32): Likewise.
37083         (TEST_COND_long64): Likewise.
37084         (TEST_COND_before_rounding): Likewise.
37085         (TEST_COND_after_rounding): Likewise.
37086         (enable_test): Handle XFAIL_TEST flag.
37087         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37088         with finite results.
37089         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37090         auto-libm-test-out.
37092 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37093             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37095         [BZ #16214]
37096         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37097         __tls_get_addr_internal instead of __tls_get_offset in order to
37098         avoid GOT pointer dependency.  Make rtld export
37099         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37100         __tls_get_addr since we are a __tls_get_offset platform.
37101         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37102         GOT pointer being set up before.
37103         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37105 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37107         * manual/math.texi (Errors in Math Functions): Document accuracy
37108         goals.
37110         [BZ #15004]
37111         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37112         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37113         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37114         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37118         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37119         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37120         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37121         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37122         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37123         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37124         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37125         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37126         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37128         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37129         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37130         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37131         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37132         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37133         Likewise.
37134         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37135         Likewise.
37136         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37137         Likewise.
37138         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37139         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37140         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37141         atomic-feupdateenv and flt-rounds.
37142         * sysdeps/powerpc/nofpu/Versions (libc): Add
37143         __atomic_feholdexcept, __atomic_feclearexcept,
37144         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37146         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37147         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37148         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37149         here.
37150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37151         Update.
37153         * manual/arith.texi (FP Exceptions): Document that exceptions may
37154         not be raised when matherr is used.
37155         (Math Error Reporting): Document overflow in directed rounding
37156         modes.  Document that errno may not be set when finite values are
37157         returned on overflow.  Document intent to set errno on underflow
37158         only for underflow to zero.
37160         [BZ #16271]
37161         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37162         round-to-nearest then adjust result for other rounding modes.
37163         * include/fenv.h (fegetround): Use libm_hidden_proto.
37164         * math/fegetround.c (fegetround): Use libm_hidden_def.
37165         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37166         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37167         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37168         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37169         Likewise.
37170         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37171         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37172         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37173         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37175 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37177         [BZ #16077]
37178         * nss/Versions (libnss_files): Add
37179         _nss_files_gethostbyname3_r.
37180         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37181         New function.
37182         (HOST_DB_LOOKUP): Remove macro.
37183         (_nss_files_gethostbyname_r): Implement function without the
37184         HOST_DB_LOOKUP macro.
37185         (_nss_files_gethostbyname2_r): Likewise.
37187 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37189         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37191 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37193         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37194         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37195         warning.
37197 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37199         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37200         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37201         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37202         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37203         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37204         __fe_nomask_env_priv and attribute_hidden.
37205         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37206         (libc_feupdateenv_test_ppc): Likewise.
37207         (libc_feresetround_ppc): Likewise.
37208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37209         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37210         compat_symbol macro.
37211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37212         (__fe_nomask_env): Likewise.
37213         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37215 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37217         * string/Makefile: Remove ifunc tests.
37218         * string/test-string.h: Define TEST_IFUNC.
37219         * string/test-bcopy-ifunc.c: Remove.
37220         * string/test-bzero-ifunc.c: Likewise.
37221         * string/test-memccpy-ifunc.c: Likewise.
37222         * string/test-memchr-ifunc.c: Likewise.
37223         * string/test-memcmp-ifunc.c: Likewise.
37224         * string/test-memcpy-ifunc.c: Likewise.
37225         * string/test-memmem-ifunc.c: Likewise.
37226         * string/test-memmove-ifunc.c: Likewise.
37227         * string/test-mempcpy-ifunc.c: Likewise.
37228         * string/test-memrchr-ifunc.c: Likewise.
37229         * string/test-memset-ifunc.c: Likewise.
37230         * string/test-rawmemchr-ifunc.c: Likewise.
37231         * string/test-stpcpy-ifunc.c: Likewise.
37232         * string/test-stpncpy-ifunc.c: Likewise.
37233         * string/test-strcasecmp-ifunc.c: Likewise.
37234         * string/test-strcasestr-ifunc.c: Likewise.
37235         * string/test-strcat-ifunc.c: Likewise.
37236         * string/test-strchr-ifunc.c: Likewise.
37237         * string/test-strchrnul-ifunc.c: Likewise.
37238         * string/test-strcmp-ifunc.c: Likewise.
37239         * string/test-strcpy-ifunc.c: Likewise.
37240         * string/test-strcspn-ifunc.c: Likewise.
37241         * string/test-strlen-ifunc.c: Likewise.
37242         * string/test-strncasecmp-ifunc.c: Likewise.
37243         * string/test-strncat-ifunc.c: Likewise.
37244         * string/test-strncmp-ifunc.c: Likewise.
37245         * string/test-strncpy-ifunc.c: Likewise.
37246         * string/test-strnlen-ifunc.c: Likewise.
37247         * string/test-strpbrk-ifunc.c: Likewise.
37248         * string/test-strrchr-ifunc.c: Likewise.
37249         * string/test-strspn-ifunc.c: Likewise.
37250         * string/test-strstr-ifunc.c: Likewise.
37252 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37254         * benchtests/Makefile: Remove ifunc tests.
37255         * benchtests/bench-string.h: Define TEST_IFUNC.
37256         * benchtests/bench-bcopy-ifunc.c: Remove.
37257         * benchtests/bench-bzero-ifunc.c: Likewise.
37258         * benchtests/bench-memccpy-ifunc.c: Likewise.
37259         * benchtests/bench-memchr-ifunc.c: Likewise.
37260         * benchtests/bench-memcmp-ifunc.c: Likewise.
37261         * benchtests/bench-memcpy-ifunc.c: Likewise.
37262         * benchtests/bench-memmem-ifunc.c: Likewise.
37263         * benchtests/bench-memmove-ifunc.c: Likewise.
37264         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37265         * benchtests/bench-memrchr-ifunc.c: Likewise.
37266         * benchtests/bench-memset-ifunc.c: Likewise.
37267         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37268         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37269         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37270         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37271         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37272         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37273         * benchtests/bench-strcat-ifunc.c: Likewise.
37274         * benchtests/bench-strchr-ifunc.c: Likewise.
37275         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37276         * benchtests/bench-strcmp-ifunc.c: Likewise.
37277         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37278         * benchtests/bench-strcpy-ifunc.c: Likewise.
37279         * benchtests/bench-strcspn-ifunc.c: Likewise.
37280         * benchtests/bench-strlen-ifunc.c: Likewise.
37281         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37282         * benchtests/bench-strncat-ifunc.c: Likewise.
37283         * benchtests/bench-strncmp-ifunc.c: Likewise.
37284         * benchtests/bench-strncpy-ifunc.c: Likewise.
37285         * benchtests/bench-strnlen-ifunc.c: Likewise.
37286         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37287         * benchtests/bench-strrchr-ifunc.c: Likewise.
37288         * benchtests/bench-strsep-ifunc.c: Likewise.
37289         * benchtests/bench-strspn-ifunc.c: Likewise.
37290         * benchtests/bench-strstr-ifunc.c: Likewise.
37292 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37294         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37296 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37298         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37299         * rt/aio.h: Likewise.
37300         * sysdeps/gnu/bits/utmp.h: Likewise.
37301         * sysdeps/gnu/bits/utmpx.h: Likewise.
37302         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37303         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37304         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37305         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37306         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37307         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37308         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37309         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37310         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37311         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37312         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37313         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37314         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37316         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37317         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37318         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37319         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37320         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37321         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37322         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37323         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37324         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37325         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37326         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37328         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37329         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37330         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37331         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37332         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37333         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37334         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37335         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37336         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37337         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37338         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37339         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37340         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37341         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37342         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37343         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37345 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37347         [BZ #16245]
37348         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37349         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37351 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37353         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37354         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37355         Likewise.
37357 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37359         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37360         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37361         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37362         (__fesetround): Remove define.
37363         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37364         rounding and exceptions handling.
37365         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37366         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37367         (__fe_nomask_env): Likewise.
37368         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37369         __fegetround instead of fegetround.
37370         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37371         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37373 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37375         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37376         it's there.
37378         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37380 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37382         [BZ #11157]
37383         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37384         (encrypt_r): Likewise.
37385         * malloc/obstack.h (obstack_free): Likewise.
37386         * posix/unistd.h (encrypt): Likewise.
37388 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37390         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37391         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37392         DL_CALL_DT_FINI() that call the functions directly.
37393         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37394         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37395         * elf/dl-fini.c: Likewise.
37397 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37399         * malloc/hooks.c (memalign_check): Add alignment rounding.
37400         * malloc/malloc.c (_mid_memalign): New function.
37401         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37402         Implement by calling _mid_memalign.
37403         * manual/probes.texi (Memory Allocation Probes): Remove
37404         memory_valloc_retry and memory_pvalloc_retry.
37406 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37408         * locale/programs/locarchive.c (open_archive): Add const
37409         qualifier to ARCHIVEFNAME and copy default fname to
37410         DEFAULT_FNAME.
37412         [BZ #15601]
37413         * libio/tst-widetext.input: Rename Oriya to Odia.
37414         * locale/iso-639.def: Likewise.
37416         * manual/probes.texi (Mathematical Function Probes): Add
37417         documentation for sin, cos, asin and acos probes.
37418         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37419         (__sin32): Add slowasin probe.
37420         (__cos32): Add slowacos probe.
37421         (__mpsin): Add slowsin probe.
37422         (__mpcos): Add slowcos probe.
37424 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37426         [BZ #15483]
37427         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37428         thread-local __sim_exceptions_thread and global
37429         __sim_exceptions_global.
37430         (__sim_disabled_exceptions): Change to thread-local
37431         __sim_disabled_exceptions_thread and global
37432         __sim_disabled_exceptions_global.
37433         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37434         and global __sim_round_mode_global.
37435         (__simulate_exceptions): Use thread-local floating-point state and
37436         set global state from it as needed.
37437         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37438         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37439         __sim_round_mode_thread.
37440         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37441         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37442         and global __sim_exceptions_global.
37443         (__sim_disabled_exceptions): Change to thread-local
37444         __sim_disabled_exceptions_thread and global
37445         __sim_disabled_exceptions_global.
37446         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37447         and global __sim_round_mode_global.
37448         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37449         (SIM_SET_GLOBAL): Likewise.
37450         * sysdeps/powerpc/soft-fp/sfp-machine.h
37451         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37452         __sim_round_mode_thread.
37453         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37454         __sim_disabled_exceptions_thread.
37455         (__sim_exceptions): Change to __sim_exceptions_thread.
37456         (__sim_disabled_exceptions): Change to
37457         __sim_disabled_exceptions_thread.
37458         (__sim_round_mode): Change to __sim_round_mode_thread.
37459         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37460         thread-local floating-point state and set global state from it as
37461         needed.
37462         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37463         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37464         (__sim_disabled_exceptions): Remove extern declaration.
37465         (feenableexcept): Use thread-local floating-point state and set
37466         global state from it as needed.
37467         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37468         extern declaration.
37469         (__sim_disabled_exceptions): Likewise.
37470         (__sim_round_mode): Likewise.
37471         (__fegetenv): Use thread-local floating-point state.
37472         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37473         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37474         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37475         floating-point state and set global state from it as needed.
37476         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37477         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37478         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37479         Likewise.
37480         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37481         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37482         Likewise.
37483         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37484         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37485         Use __sim_round_mode_thread.
37486         * math/test-fenv-tls.c: New file.
37487         * math/Makefile (tests): Add test-fenv-tls.
37488         ($(objpfx)test-fenv-tls): Depend on
37489         $(common-objpfx)nptl/libpthread.so.
37491 2013-11-19  Andreas Schwab  <schwab@suse.de>
37493         * locale/programs/locale.c (show_info): Decode wordarray elements.
37494         * locale/categories.def (LC_MONETARY): Add element for
37495         _NL_MONETARY_CRNCYSTR.
37496         * locale/C-monetary.c (conversion_rate): New variable.
37497         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37498         element.
37500 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37502         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37503         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37505 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37507         * elf/Makefile (tst-auxv): New test.
37508         * elf/tst-auxv.c: New
37509         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37511 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37513         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37514         (hidden_proto): Caller changed.
37515         (hidden_tls_proto): New macro.
37516         (libc_hidden_tls_proto): Likewise.
37517         (rtld_hidden_tls_proto): Likewise.
37518         (libm_hidden_tls_proto): Likewise.
37519         (libresolv_hidden_tls_proto): Likewise.
37520         (librt_hidden_tls_proto): Likewise.
37521         (libdl_hidden_tls_proto): Likewise.
37522         (libnss_files_hidden_tls_proto): Likewise.
37523         (libnsl_hidden_tls_proto): Likewise.
37524         (libnss_nisplus_hidden_tls_proto): Likewise.
37525         (libutil_hidden_tls_proto): Likewise.
37527 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37529         [BZ #10253]
37530         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37531         (decompose_rpath): Defer expansion to fillin_rpath.
37532         (_dl_init_paths): Pass linkmap to fillin_rpath.
37534 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37536         * benchtests/Makefile: Add strsep.
37537         * benchtests/bench-strsep.c: New file: strsep benchtest.
37538         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37540 2013-11-18  Andreas Schwab  <schwab@suse.de>
37542         * locale/programs/locale.c (show_info) [case byte]: Check for
37543         '\377' instead of '\177'.
37544         * locale/C-monetary.c (not_available): Always use "\377".
37545         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37546         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37547         detect unavailable sign_posn locale elements.
37548         * locale/localeconv.c (__localeconv): For grouping and
37549         mon_grouping handle "\177" and "\377" like no grouping.
37550         (INT_ELEM): New macro.  Use it to set all numeric members.
37551         * locale/programs/ld-monetary.c (monetary_read)
37552         <tok_mon_grouping>: Normalize single -1 to the empty string.
37553         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37554         Likewise.
37556 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37558         [BZ #16055]
37559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37560         when we match (nil).
37561         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37563 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37565         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37566         (NO_TEST_INLINE): Update value.
37567         (ERRNO_UNCHANGED): Likewise.
37568         (ERRNO_EDOM): Likewise.
37569         (ERRNO_ERANGE): Likewise.
37570         (IGNORE_RESULT): Likewise.
37571         (check_float_internal): Check signs of NaN results if
37572         TEST_NAN_SIGN used.
37573         (check_complex): Pass TEST_NAN_SIGN flag through to second
37574         check_float_internal call.
37575         (copysign_test_data): Add tests with quiet NaNs as second
37576         argument.  Use TEST_NAN_SIGN.
37577         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37578         TEST_NAN_SIGN.
37579         (signbit_test_data): Add tests of quiet NaN argument.
37580         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37582         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37583         $ignore_result.
37584         (parse_args): Handle function results specified as IGNORE.
37585         * math/libm-test.inc (IGNORE_RESULT): New macro.
37586         (check_float_internal): Do not check numerical result if flag
37587         IGNORE_RESULT set.
37588         (check_complex): Pass through IGNORE_RESULT to second
37589         check_float_internal call.
37590         (check_int): Do not check numerical result if flag IGNORE_RESULT
37591         set.
37592         (check_long): Likewise.
37593         (check_bool): Likewise.
37594         (check_longlong): Likewise.
37595         (lrint_test_data): Add tests of infinite and NaN arguments.
37596         (lrint_tonearest_test_data): Likewise.
37597         (lrint_towardzero_test_data): Likewise.
37598         (lrint_downward_test_data): Likewise.
37599         (lrint_upward_test_data): Likewise.
37600         (llrint_test_data): Likewise.
37601         (llrint_tonearest_test_data): Likewise.
37602         (llrint_towardzero_test_data): Likewise.
37603         (llrint_downward_test_data): Likewise.
37604         (llrint_upward_test_data): Likewise.
37605         (lround_test_data): Likewise.
37606         (llround_test_data): Likewise.
37608         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37609         (ERRNO_UNCHANGED): Update value.
37610         (ERRNO_EDOM): Likewise.
37611         (ERRNO_ERANGE): Likewise.
37612         (NO_TEST_INLINE_FLOAT): New macro.
37613         (NO_TEST_INLINE_DOUBLE): Likewise.
37614         (enable_test): New function.
37615         (RUN_TEST_f_f): Check enable_test before running test.
37616         (RUN_TEST_2_f): Likewise.
37617         (RUN_TEST_fff_f): Likewise.
37618         (RUN_TEST_c_f): Likewise.
37619         (RUN_TEST_f_f1): Likewise.
37620         (RUN_TEST_fF_f1): Likewise.
37621         (RUN_TEST_fI_f1): Likewise.
37622         (RUN_TEST_ffI_f1): Likewise.
37623         (RUN_TEST_c_c): Likewise.
37624         (RUN_TEST_cc_c): Likewise.
37625         (RUN_TEST_f_i): Likewise.
37626         (RUN_TEST_f_i_tg): Likewise.
37627         (RUN_TEST_ff_i_tg): Likewise.
37628         (RUN_TEST_f_b): Likewise.
37629         (RUN_TEST_f_b_tg): Likewise.
37630         (RUN_TEST_f_l): Likewise.
37631         (RUN_TEST_f_L): Likewise.
37632         (RUN_TEST_fFF_11): Likewise.
37633         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37634         conditionals.
37635         (cosh_test_data): Likewise.
37636         (exp_test_data): Likewise.
37637         (expm1_test_data): Likewise.
37638         (hypot_test_data): Likewise.
37639         (pow_test_data): Likewise.
37640         (sinh_test_data): Likewise.
37641         (tanh_test_data): Likewise.
37642         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37643         flags argument.
37645         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37646         tests with quiet NaN input and output.
37647         (acosh_test_data): Likewise.
37648         (asin_test_data): Likewise.
37649         (asinh_test_data): Likewise.
37650         (atan_test_data): Likewise.
37651         (atanh_test_data): Likewise.
37652         (atan2_test_data): Likewise.
37653         (cbrt_test_data): Likewise.
37654         (cos_test_data): Likewise.
37655         (cosh_test_data): Likewise.
37656         (erf_test_data): Likewise.
37657         (erfc_test_data): Likewise.
37658         (exp_test_data): Likewise.
37659         (exp10_test_data): Likewise.
37660         (exp2_test_data): Likewise.
37661         (expm1_test_data): Likewise.
37662         (hypot_test_data): Likewise.
37663         (j0_test_data): Likewise.
37664         (j1_test_data): Likewise.
37665         (jn_test_data): Likewise.
37666         (lgamma_test_data): Likewise.
37667         (log_test_data): Likewise.
37668         (log10_test_data): Likewise.
37669         (log1p_test_data): Likewise.
37670         (log2_test_data): Likewise.
37671         (pow_test_data): Likewise.
37672         (scalb_test_data): Likewise.
37673         (sin_test_data): Likewise.
37674         (sincos_test_data): Likewise.
37675         (sinh_test_data): Likewise.
37676         (tan_test_data): Likewise.
37677         (tanh_test_data): Likewise.
37678         (tgamma_test_data): Likewise.
37679         (y0_test_data): Likewise.
37680         (y1_test_data): Likewise.
37681         (yn_test_data): Likewise.
37683         [BZ #16167]
37684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37685         argument being NaN and avoid computations with second argument in
37686         that case.
37687         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37688         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37689         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37691 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37693         * locale/iso-639.def: Add Chitwani Tharu (the).
37695 2013-11-14  Andreas Schwab  <schwab@suse.de>
37697         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37698         word instead of empty string.
37700 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37703         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37705         (__fe_nomask_env): Likewise.
37707 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37709         * benchtests/bench-timing.h: Include time.h.
37711 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37713         [BZ #15997]
37714         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37715         to 3.4.0 for x32.
37716         * sysdeps/unix/sysv/linux/configure: Regenerated.
37718 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37720         [BZ #16151]
37721         * stdlib/strtod_l.c (round_and_return): Do not consider
37722         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37723         exponent one less than half the least subnormal exponent.
37724         * stdlib/test-strtod-round-data: Add more tests.
37725         * stdlib/tst-strtod-round.c (tests): Regenerated.
37727 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37729         [BZ #14143]
37730         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37731         (__fe_mask_env): Likewise.
37732         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37733         libm_hidden_proto and add function prototype.
37734         (__fe_mask_env): Add function prototype.
37735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37736         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37738         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37740         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37742 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37744         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37745         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37747 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37749         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37750         of htab_find_slot().
37752 2013-11-11  David S. Miller  <davem@davemloft.net>
37754         [BZ #16150]
37755         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37756         symbol in the non-vis3 case in static builds.
37757         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37758         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37759         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37760         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37762 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37764         [BZ #387]
37765         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37766         it is empty.
37768 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37770         * benchtests/Makefile: Add bench-strtod.
37771         * benchtests/bench-strtod.c: New file: strtod benchtest
37773 2013-11-11  Andreas Schwab  <schwab@suse.de>
37775         [BZ #16153]
37776         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37777         terminating NUL in key length.
37779 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37781         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37782         Add artificial ODP entry for vDSO symbol for PPC64.
37783         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37784         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37786 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37788         [BZ #15374]
37789         * nss/getent.c (services_keys): Recognize services starting with digit.
37791 2013-11-06  David S. Miller  <davem@davemloft.net>
37793         [BZ #15985]
37794         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37795         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37797 2013-11-06  Will Newton  <will.newton@linaro.org>
37799         * manual/memory.texi (Malloc Examples): Remove register
37800         keyword from examples.
37802 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37804         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37806 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37808         [BZ #6981]
37809         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37810         depending on [__GCC_IEC_559 > 0].
37811         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37812         depending on [__GCC_IEC_559_COMPLEX > 0].
37814 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37816         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37817         to iso-639.def.
37819 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37821         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37823 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37825         [BZ #16112]
37826         * malloc/malloc (malloc_info): Do not handle first bin as
37827         special case.
37829 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37831         * locale/iso-639.def: Add Central Nahuatl (nhn).
37833 2013-11-01  Bruno Haible  <bruno@clisp.org>
37835         [BZ #7003]
37836         * manual/math.texi (BSD Random): Specify range upper bound as
37837         in POSIX.
37839 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37841         * locale/iso-639.def: Add Meadow Mari (mhr).
37843 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37845         [BZ #14752], [BZ #15763]
37846         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37847         Validate name.
37848         * rt/tst_shm.c: Add test for escaping directory.
37850 2013-10-31  Andreas Schwab  <schwab@suse.de>
37852         [BZ #15917]
37853         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37854         followed by 'x' as part of digit sequence.
37855         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37857 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37859         [BZ #16037]
37860         * configure.ac: allow GNU Make 4.0 and greater.
37861         * configure: Regenerated.
37863 2013-10-30  Will Newton  <will.newton@linaro.org>
37865         [BZ #16038]
37866         * malloc/hooks.c (memalign_check): Limit alignment to the
37867         maximum representable power of two.
37868         * malloc/malloc.c (__libc_memalign): Likewise.
37869         * malloc/tst-memalign.c (do_test): Add test for very
37870         large alignment values.
37871         * malloc/tst-posix_memalign.c (do_test): Likewise.
37873 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37875         [BZ #11087]
37876         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37877         (munmap_chunk): Likewise.
37878         (mremap_chunk): Likewise.
37880 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37882         [BZ #15799]
37883         * stdlib/div.c (div): Remove obsolete code.
37884         * stdlib/ldiv.c (ldiv): Likewise.
37885         * stdlib/lldiv.c (lldiv): Likewise.
37887 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37889         [BZ #16071]
37890         * nss/nss_files/files-XXX.c (get_contents_ret): New
37891         enumerator.
37892         (get_contents): New function.
37893         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37895 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37897         * configure.in: Moved to ...
37898         * configure.ac: ... here. Change reference to configure.in
37899         to configure.ac.
37900         * sysdeps/arm/preconfigure.ac: ... here.
37901         configure.in to configure.ac.
37902         * sysdeps/gnu/configure.in: Moved to ...
37903         * sysdeps/gnu/configure.ac: ... here.
37904         * sysdeps/i386/configure.in: Moved to ...
37905         * sysdeps/i386/configure.ac: ... here.
37906         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37907         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37908         * sysdeps/mach/configure.in: Moved to ...
37909         * sysdeps/mach/configure.ac: ... here.
37910         * sysdeps/mach/hurd/configure.in: Moved to ...
37911         * sysdeps/mach/hurd/configure.ac: ... here.
37912         * sysdeps/powerpc/configure.in: Moved to ...
37913         * sysdeps/powerpc/configure.ac: ... here.
37914         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37915         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37916         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37917         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37918         * sysdeps/s390/s390-32/configure.in: Moved to ...
37919         * sysdeps/s390/s390-32/configure.ac: ... here.
37920         * sysdeps/s390/s390-64/configure.in: Moved to ...
37921         * sysdeps/s390/s390-64/configure.ac: ... here.
37922         * sysdeps/sh/configure.in: Moved to ...
37923         * sysdeps/sh/configure.ac: ... here.
37924         * sysdeps/sparc/configure.in: Moved to ...
37925         * sysdeps/sparc/configure.ac: ... here.
37926         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37927         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37928         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37929         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37930         * sysdeps/x86_64/configure.in: Moved to ...
37931         * sysdeps/x86_64/configure.ac: ... here.
37932         * sysdeps/x86_64/preconfigure.in: Moved to ...
37933         * sysdeps/x86_64/preconfigure.ac: ... here.
37934         * aclocal.m4: Change reference to configure.in to configure.ac.
37935         * config.h.in: Likewise.
37936         * manual/install.texi: Likewise.
37937         * manual/maint.texi: Likewise.
37938         * Makefile: Likewise.
37939         * malloc/Makefile: Likewise.
37940         * nscd/Makefile: Likewise.
37941         * Makeconfig: Change reference to configure.in and
37942         preconfigure.in to configure.ac and preconfigure.ac
37943         respectively.
37944         * INSTALL: Regenerated.
37945         * configure: Likewise.
37946         * sysdeps/gnu/configure: Likewise.
37947         * sysdeps/i386/configure: Likewise.
37948         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37949         * sysdeps/mach/configure: Likewise.
37950         * sysdeps/mach/hurd/configure: Likewise.
37951         * sysdeps/powerpc/configure: Likewise.
37952         * sysdeps/powerpc/powerpc32/configure: Likewise.
37953         * sysdeps/powerpc/powerpc64/configure: Likewise.
37954         * sysdeps/s390/s390-32/configure: Likewise.
37955         * sysdeps/s390/s390-64/configure: Likewise.
37956         * sysdeps/sh/configure: Likewise.
37957         * sysdeps/sparc/configure: Likewise.
37958         * sysdeps/unix/sysv/linux/configure: Likewise.
37959         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37960         * sysdeps/x86_64/configure: Likewise.
37961         * sysdeps/x86_64/preconfigure: Likewise.
37963 2013-10-29  Andreas Schwab  <schwab@suse.de>
37965         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37967 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37969         * benchtests/pow-inputs: Add new inputs.
37971         * benchtests/exp-inputs: Add new inputs.
37973         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37974         conditional check for return value.
37975         (__cos32): Likewise.
37977 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37979         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37980         to provide a boost for large inputs with word alignment.
37981         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37982         implementation based on optimized PPC64 strcpy.
37983         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37984         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37985         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37986         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37988 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37990         [BZ #2801]
37991         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37993 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37995         [BZ #14876]
37996         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37997         * time/tst-strptime.c (day_tests): Add testcase.
37999 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38001         [BZ #14029]
38002         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38004 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38006         [BZ #16074]
38007         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38008         MAP_FAILED on error.
38010 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38012         [BZ #16072]
38013         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38014         heap for large requests.
38016 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38018         [BZ #9954]
38019         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38020         result if the result has no associated interface.
38021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38022         interface for all 127.X.Y.Z addresses.
38024 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38026         * locale/iso-639.def: Add Ligurian (lij)
38028 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38030         [BZ #15825]
38031         * sunrpc/rpc_main.c: Document rpcgen -5.
38033 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38035         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38037 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38039         [BZ #10278]
38040         * posix/glob.c: Match only directories when trailing slash is present.
38041         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38042         (main): Add testcase.
38044 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38046         [BZ #15670]
38047         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38049 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38051         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38052         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38053         AUTH_DES and cindex for FIPS 140-2.
38054         (DES Encryption): Add cindex FIPS 46-3.
38056         * locale/locarchive.h (struct locarhandle): Add fname.
38057         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38058         if an optional argument was specified to --list-archive,
38059         otherwise NULL.
38060         * locale/programs/locarchive.c (show_archive_content): Take new
38061         argument fname and pass it via ah.fname to open_archive.
38062         * locale/programs/localedef.h: Update decl.
38063         (open_archive): If AH->fname is non-null, open that file
38064         rather than the default file name, and don't ignore ENOENT.
38065         (create_archive): Set AH.fname to NULL.
38066         (delete_locales_from_archive): Likewise.
38067         (add_locales_to_archive): Likewise.
38068         * locale/programs/locfile.c (write_all_categories): Likewise.
38070 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38071             Aldy Hernandez  <aldyh@redhat.com>
38073         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38074         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38075         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38076         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38077         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38078         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38079         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38080         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38081         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38082         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38083         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38084         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38085         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38086         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38087         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38088         Likewise.
38089         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38090         Likewise.
38091         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38092         Likewise.
38093         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38094         Likewise.
38095         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38096         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38097         Likewise.
38098         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38099         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38100         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38101         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38102         Likewise.
38103         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38104         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38105         * sysdeps/powerpc/preconfigure: Likewise.
38106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38107         Likewise.
38108         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38109         Replace contents of file by #include of <fenv_libc.h>.
38110         * sysdeps/powerpc/soft-fp/sfp-machine.h
38111         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38112         and <sys/prctl.h>.
38113         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38116         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38122         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38123         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38124         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38126         Allow copysignl PLT reference to be missing.
38128 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38129             Joseph Myers  <joseph@codesourcery.com
38131         [BZ #15948]
38132         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38133         single character.
38134         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38136 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38138         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38139         * elf/tst-tls1.c: Likewise.
38140         * elf/tst-tls10.h: Likewise.
38141         * elf/tst-tls14.c: Likewise.
38142         * elf/tst-tls2.c: Likewise.
38143         * elf/tst-tls3.c: Likewise.
38144         * elf/tst-tls4.c: Likewise.
38145         * elf/tst-tls5.c: Likewise.
38146         * elf/tst-tls6.c: Likewise.
38147         * elf/tst-tls7.c: Likewise.
38148         * elf/tst-tls8.c: Likewise.
38149         * elf/tst-tls9.c: Likewise.
38150         * elf/tst-tlsmod1.c: Likewise.
38151         * elf/tst-tlsmod13.c: Likewise.
38152         * elf/tst-tlsmod13a.c: Likewise.
38153         * elf/tst-tlsmod14a.c: Likewise.
38154         * elf/tst-tlsmod16a.c: Likewise.
38155         * elf/tst-tlsmod16b.c: Likewise.
38156         * elf/tst-tlsmod2.c: Likewise.
38157         * elf/tst-tlsmod3.c: Likewise.
38158         * elf/tst-tlsmod4.c: Likewise.
38159         * elf/tst-tlsmod5.c: Likewise.
38160         * elf/tst-tlsmod6.c: Likewise.
38162 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38164         [BZ #12486]
38165         * malloc/malloc.c: remove checks for statistics.
38167 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38169         [BZ #15277]
38170         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38171         * inet/tst-network.c: Add testcase.
38173 2013-10-17  Andreas Schwab  <schwab@suse.de>
38175         [BZ #15218]
38176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38177         to determine canonical name.
38179 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38181         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38182         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38184         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38185         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38186         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38187         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38188         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38189         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38190         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38191         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38192         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38193         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38194         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38195         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38196         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38197         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38198         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38199         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38200         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38204         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38205         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38206         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38207         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38208         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38209         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38211         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38212         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38213         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38214         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38215         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38216         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38217         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38218         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38219         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38220         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38221         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38222         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38223         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38224         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38226         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38227         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38228         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38229         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38230         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38231         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38232         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38233         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38234         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38235         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38236         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38237         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38238         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38240 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38242         [BZ #16041]
38243         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38244         make result into a quiet NaN.
38246 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38248         * soft-fp/adddf3.c: Fix horizontal whitespace.
38249         * soft-fp/addsf3.c: Likewise.
38250         * soft-fp/addtf3.c: Likewise.
38251         * soft-fp/divdf3.c: Likewise.
38252         * soft-fp/divsf3.c: Likewise.
38253         * soft-fp/divtf3.c: Likewise.
38254         * soft-fp/double.h: Likewise.
38255         * soft-fp/eqdf2.c: Likewise.
38256         * soft-fp/eqsf2.c: Likewise.
38257         * soft-fp/eqtf2.c: Likewise.
38258         * soft-fp/extenddftf2.c: Likewise.
38259         * soft-fp/extended.h: Likewise.
38260         * soft-fp/extendsfdf2.c: Likewise.
38261         * soft-fp/extendsftf2.c: Likewise.
38262         * soft-fp/extendxftf2.c: Likewise.
38263         * soft-fp/fixdfdi.c: Likewise.
38264         * soft-fp/fixdfsi.c: Likewise.
38265         * soft-fp/fixdfti.c: Likewise.
38266         * soft-fp/fixsfdi.c: Likewise.
38267         * soft-fp/fixsfsi.c: Likewise.
38268         * soft-fp/fixsfti.c: Likewise.
38269         * soft-fp/fixtfdi.c: Likewise.
38270         * soft-fp/fixtfsi.c: Likewise.
38271         * soft-fp/fixtfti.c: Likewise.
38272         * soft-fp/fixunsdfdi.c: Likewise.
38273         * soft-fp/fixunsdfsi.c: Likewise.
38274         * soft-fp/fixunsdfti.c: Likewise.
38275         * soft-fp/fixunssfdi.c: Likewise.
38276         * soft-fp/fixunssfsi.c: Likewise.
38277         * soft-fp/fixunssfti.c: Likewise.
38278         * soft-fp/fixunstfdi.c: Likewise.
38279         * soft-fp/fixunstfsi.c: Likewise.
38280         * soft-fp/fixunstfti.c: Likewise.
38281         * soft-fp/floatdidf.c: Likewise.
38282         * soft-fp/floatdisf.c: Likewise.
38283         * soft-fp/floatditf.c: Likewise.
38284         * soft-fp/floatsidf.c: Likewise.
38285         * soft-fp/floatsisf.c: Likewise.
38286         * soft-fp/floatsitf.c: Likewise.
38287         * soft-fp/floattidf.c: Likewise.
38288         * soft-fp/floattisf.c: Likewise.
38289         * soft-fp/floattitf.c: Likewise.
38290         * soft-fp/floatundidf.c: Likewise.
38291         * soft-fp/floatundisf.c: Likewise.
38292         * soft-fp/floatunditf.c: Likewise.
38293         * soft-fp/floatunsidf.c: Likewise.
38294         * soft-fp/floatunsisf.c: Likewise.
38295         * soft-fp/floatunsitf.c: Likewise.
38296         * soft-fp/floatuntidf.c: Likewise.
38297         * soft-fp/floatuntisf.c: Likewise.
38298         * soft-fp/floatuntitf.c: Likewise.
38299         * soft-fp/fmadf4.c: Likewise.
38300         * soft-fp/fmasf4.c: Likewise.
38301         * soft-fp/fmatf4.c: Likewise.
38302         * soft-fp/gedf2.c: Likewise.
38303         * soft-fp/gesf2.c: Likewise.
38304         * soft-fp/getf2.c: Likewise.
38305         * soft-fp/ledf2.c: Likewise.
38306         * soft-fp/lesf2.c: Likewise.
38307         * soft-fp/letf2.c: Likewise.
38308         * soft-fp/muldf3.c: Likewise.
38309         * soft-fp/mulsf3.c: Likewise.
38310         * soft-fp/multf3.c: Likewise.
38311         * soft-fp/negdf2.c: Likewise.
38312         * soft-fp/negsf2.c: Likewise.
38313         * soft-fp/negtf2.c: Likewise.
38314         * soft-fp/op-1.h: Likewise.
38315         * soft-fp/op-2.h: Likewise.
38316         * soft-fp/op-4.h: Likewise.
38317         * soft-fp/op-8.h: Likewise.
38318         * soft-fp/op-common.h: Likewise.
38319         * soft-fp/quad.h: Likewise.
38320         * soft-fp/single.h: Likewise.
38321         * soft-fp/soft-fp.h: Likewise.
38322         * soft-fp/sqrtdf2.c: Likewise.
38323         * soft-fp/sqrtsf2.c: Likewise.
38324         * soft-fp/sqrttf2.c: Likewise.
38325         * soft-fp/subdf3.c: Likewise.
38326         * soft-fp/subsf3.c: Likewise.
38327         * soft-fp/subtf3.c: Likewise.
38328         * soft-fp/truncdfsf2.c: Likewise.
38329         * soft-fp/trunctfdf2.c: Likewise.
38330         * soft-fp/trunctfsf2.c: Likewise.
38331         * soft-fp/trunctfxf2.c: Likewise.
38332         * soft-fp/unorddf2.c: Likewise.
38333         * soft-fp/unordsf2.c: Likewise.
38334         * soft-fp/unordtf2.c: Likewise.
38336 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38338         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38339         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38341 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38343         * elf/dl-libc.c: Clear initfini list after freeing.
38345 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38347         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38348         * soft-fp/addsf3.c: Likewise.
38349         * soft-fp/addtf3.c: Likewise.
38350         * soft-fp/divdf3.c: Likewise.
38351         * soft-fp/divsf3.c: Likewise.
38352         * soft-fp/divtf3.c: Likewise.
38353         * soft-fp/double.h: Likewise.
38354         * soft-fp/eqdf2.c: Likewise.
38355         * soft-fp/eqsf2.c: Likewise.
38356         * soft-fp/eqtf2.c: Likewise.
38357         * soft-fp/extenddftf2.c: Likewise.
38358         * soft-fp/extended.h: Likewise.
38359         * soft-fp/extendsfdf2.c: Likewise.
38360         * soft-fp/extendsftf2.c: Likewise.
38361         * soft-fp/extendxftf2.c: Likewise.
38362         * soft-fp/fixdfdi.c: Likewise.
38363         * soft-fp/fixdfsi.c: Likewise.
38364         * soft-fp/fixdfti.c: Likewise.
38365         * soft-fp/fixsfdi.c: Likewise.
38366         * soft-fp/fixsfsi.c: Likewise.
38367         * soft-fp/fixsfti.c: Likewise.
38368         * soft-fp/fixtfdi.c: Likewise.
38369         * soft-fp/fixtfsi.c: Likewise.
38370         * soft-fp/fixtfti.c: Likewise.
38371         * soft-fp/fixunsdfdi.c: Likewise.
38372         * soft-fp/fixunsdfsi.c: Likewise.
38373         * soft-fp/fixunsdfti.c: Likewise.
38374         * soft-fp/fixunssfdi.c: Likewise.
38375         * soft-fp/fixunssfsi.c: Likewise.
38376         * soft-fp/fixunssfti.c: Likewise.
38377         * soft-fp/fixunstfdi.c: Likewise.
38378         * soft-fp/fixunstfsi.c: Likewise.
38379         * soft-fp/fixunstfti.c: Likewise.
38380         * soft-fp/floatdidf.c: Likewise.
38381         * soft-fp/floatdisf.c: Likewise.
38382         * soft-fp/floatditf.c: Likewise.
38383         * soft-fp/floatsidf.c: Likewise.
38384         * soft-fp/floatsisf.c: Likewise.
38385         * soft-fp/floatsitf.c: Likewise.
38386         * soft-fp/floattidf.c: Likewise.
38387         * soft-fp/floattisf.c: Likewise.
38388         * soft-fp/floattitf.c: Likewise.
38389         * soft-fp/floatundidf.c: Likewise.
38390         * soft-fp/floatundisf.c: Likewise.
38391         * soft-fp/floatunsidf.c: Likewise.
38392         * soft-fp/floatunsisf.c: Likewise.
38393         * soft-fp/floatuntidf.c: Likewise.
38394         * soft-fp/floatuntisf.c: Likewise.
38395         * soft-fp/floatuntitf.c: Likewise.
38396         * soft-fp/fmadf4.c: Likewise.
38397         * soft-fp/fmasf4.c: Likewise.
38398         * soft-fp/fmatf4.c: Likewise.
38399         * soft-fp/gedf2.c: Likewise.
38400         * soft-fp/gesf2.c: Likewise.
38401         * soft-fp/getf2.c: Likewise.
38402         * soft-fp/ledf2.c: Likewise.
38403         * soft-fp/lesf2.c: Likewise.
38404         * soft-fp/letf2.c: Likewise.
38405         * soft-fp/muldf3.c: Likewise.
38406         * soft-fp/mulsf3.c: Likewise.
38407         * soft-fp/multf3.c: Likewise.
38408         * soft-fp/negdf2.c: Likewise.
38409         * soft-fp/negsf2.c: Likewise.
38410         * soft-fp/negtf2.c: Likewise.
38411         * soft-fp/op-1.h: Likewise.
38412         * soft-fp/op-2.h: Likewise.
38413         * soft-fp/op-4.h: Likewise.
38414         * soft-fp/op-8.h: Likewise.
38415         * soft-fp/op-common.h: Likewise.
38416         * soft-fp/quad.h: Likewise.
38417         * soft-fp/single.h: Likewise.
38418         * soft-fp/soft-fp.h: Likewise.
38419         * soft-fp/sqrtdf2.c: Likewise.
38420         * soft-fp/sqrtsf2.c: Likewise.
38421         * soft-fp/sqrttf2.c: Likewise.
38422         * soft-fp/subdf3.c: Likewise.
38423         * soft-fp/subsf3.c: Likewise.
38424         * soft-fp/subtf3.c: Likewise.
38425         * soft-fp/truncdfsf2.c: Likewise.
38426         * soft-fp/trunctfdf2.c: Likewise.
38427         * soft-fp/trunctfsf2.c: Likewise.
38428         * soft-fp/trunctfxf2.c: Likewise.
38429         * soft-fp/unorddf2.c: Likewise.
38430         * soft-fp/unordsf2.c: Likewise.
38431         * soft-fp/unordtf2.c: Likewise.
38433 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38435         [BZ #15672]
38436         * misc/error.c (error_tail): Fix possible buffer overflow.
38438 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38440         [BZ #13028]
38441         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38442         address.
38444 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38446         [BZ #832]
38447         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38448         testing pipefail option.
38450 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38452         * soft-fp/double.h: Indent preprocessor directives inside #if.
38453         * soft-fp/extended.h: Likewise.
38454         * soft-fp/op-2.h: Likewise.
38455         * soft-fp/op-4.h: Likewise.
38456         * soft-fp/op-common.h: Likewise.
38457         * soft-fp/quad.h: Likewise.
38458         * soft-fp/single.h: Likewise.
38459         * soft-fp/soft-fp.h: Likewise.
38461 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38463         * iconv/iconv_prog.c: Fix typos.
38464         * stdio-common/psiginfo-data.h: Likewise.
38466 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38468         [BZ #15764]
38469         * locale/setlocale.c: Fix typo.
38471 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38473         [BZ #16036]
38474         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38475         signaling NaN arguments.
38476         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38477         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38479         [BZ #14910]
38480         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38481         unordered operands.
38482         * soft-fp/gesf2.c (__gesf2): Likewise.
38483         * soft-fp/getf2.c (__getf2): Likewise.
38484         * soft-fp/ledf2.c (__ledf2): Likewise.
38485         * soft-fp/lesf2.c (__lesf2): Likewise.
38486         * soft-fp/letf2.c (__letf2): Likewise.
38488         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38489         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38490         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38491         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38492         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38493         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38494         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38495         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38496         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38497         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38498         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38499         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38500         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38501         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38502         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38503         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38504         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38505         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38506         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38507         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38508         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38509         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38510         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38511         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38512         * soft-fp/floattidf.c (__floattidf): Likewise.
38513         * soft-fp/floattisf.c (__floattisf): Likewise.
38514         * soft-fp/floattitf.c (__floattitf): Likewise.
38515         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38516         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38517         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38518         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38519         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38520         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38521         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38522         * soft-fp/gesf2.c (__gesf2): Likewise.
38523         * soft-fp/getf2.c (__getf2): Likewise.
38524         * soft-fp/ledf2.c (__ledf2): Likewise.
38525         * soft-fp/lesf2.c (__lesf2): Likewise.
38526         * soft-fp/letf2.c (__letf2): Likewise.
38528         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38529         Undefine and redefine.
38530         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38531         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38532         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38533         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38534         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38535         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38536         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38537         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38538         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38539         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38540         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38541         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38542         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38543         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38544         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38546         [BZ #16032]
38547         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38548         without decrementing exponent if mantissa >= that for the
38549         denominator, not >.
38550         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38551         denominator, not >.  Decrement exponent in < case instead of
38552         incrementing in >= case.
38553         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38554         without decrementing exponent if mantissa >= that for the
38555         denominator, not >.
38557         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38558         computing saturated result for unsigned overflow.
38560 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38561             Jeff Law  <law@redhat.com>
38563         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38564         (atan2Mp): Add systemtap probe marker.
38565         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38566         (__ieee754_log): Add systemtap probe marker.
38567         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38568         (atanMp): Add systemtap probe marker.
38569         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38570         (tanMp): Add systemtap probe marker.
38571         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38572         (__slowexp): Add systemtap probe marker.
38573         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38574         (__slowpow): Add systemtap probe marker.
38575         * manual/probes.texi: Document probes.
38577 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38579         [BZ #15362]
38580         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38581         written.
38582         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38583         written.
38584         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38585         written to buffer but not flushed.
38586         * libio/iofwrite_u.c:  Likewise.
38587         * libio/iopadn.c:  Return bytes returned even if EOF was
38588         encountered.
38589         * libio/iowpadn.c:  Likewise.
38590         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38591         if _IO_padn does not write the whole buffer.
38592         [!COMPILE_WPRINTF] (PAD): Likewise.
38594 2013-10-10  David S. Miller  <davem@davemloft.net>
38596         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38597         directory block.
38599 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38601         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38602         instead of FSF address.
38603         * soft-fp/fixdfti.c: Likewise.
38604         * soft-fp/fixsfti.c: Likewise.
38605         * soft-fp/fixtfti.c: Likewise.
38606         * soft-fp/fixunsdfti.c: Likewise.
38607         * soft-fp/fixunssfti.c: Likewise.
38608         * soft-fp/fixunstfti.c: Likewise.
38609         * soft-fp/floattidf.c: Likewise.
38610         * soft-fp/floattisf.c: Likewise.
38611         * soft-fp/floattitf.c: Likewise.
38612         * soft-fp/floatuntidf.c: Likewise.
38613         * soft-fp/floatuntisf.c: Likewise.
38614         * soft-fp/floatuntitf.c: Likewise.
38615         * soft-fp/trunctfxf2.c: Likewise.
38617         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38618         * soft-fp/fixdfti.c: Likewise.
38619         * soft-fp/fixsfti.c: Likewise.
38620         * soft-fp/fixtfti.c: Likewise.
38621         * soft-fp/fixunsdfti.c: Likewise.
38622         * soft-fp/fixunssfti.c: Likewise.
38623         * soft-fp/fixunstfti.c: Likewise.
38624         * soft-fp/floattidf.c: Likewise.
38625         * soft-fp/floattisf.c: Likewise.
38626         * soft-fp/floattitf.c: Likewise.
38627         * soft-fp/floatuntidf.c: Likewise.
38628         * soft-fp/floatuntisf.c: Likewise.
38629         * soft-fp/floatuntitf.c: Likewise.
38630         * soft-fp/trunctfxf2.c: Likewise.
38632 2013-10-10  David S. Miller  <davem@davemloft.net>
38634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38636 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38638         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38639         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38640         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38641         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38642         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38643         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38644         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38647         for NaNs before doing comparisons on argument.
38648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38649         Likewise.
38651 2013-10-10  Will Newton  <will.newton@linaro.org>
38653         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38654         passed to _int_memalign does not overflow.
38656 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38658         * scripts/bench.pl: Add include-sources directive.
38659         * benchtests/README: Update documentation.
38661 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38663         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38664         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38665         instead of FP_INIT_ROUNDMODE.
38666         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38667         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38669         [BZ #16034]
38670         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38671         copy class of input value.
38672         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38673         not handle exceptions.
38674         * soft-fp/negsf2.c (__negsf2): Likewise.
38675         * soft-fp/negtf2.c (__negtf2): Likewise.
38676         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38678 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38680         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38681         semicolon.  From Linux kernel.
38683 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38685         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38687 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38689         [BZ #156]
38690         * manual/socket.texi: Added statement about buffer
38691         for gethostbyname2_r.
38693 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38695         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38696         Use .p2align directive instead, throughout.
38697         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38698         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38699         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38700         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38701         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38702         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38703         * sysdeps/x86_64/strchr.S: Likewise.
38704         * sysdeps/x86_64/strrchr.S: Likewise.
38706 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38708         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38710         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38712         * sysdeps/generic/math_private.h (__mpsin1): Remove
38713         declaration.
38714         (__mpcos1): Likewise.
38715         (__mpsin): New argument __range_reduce.
38716         (__mpcos): Likewise.
38717         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38718         (slow): Use __mpsin and __mpcos.
38719         (slow1): Likewise.
38720         (slow2): Likewise.
38721         (sloww): Likewise.
38722         (sloww1): Likewise.
38723         (sloww2): Likewise.
38724         (bsloww): Likewise.
38725         (bsloww1): Likewise.
38726         (bsloww2): Likewise.
38727         (cslow2): Likewise.
38728         (csloww): Likewise.
38729         (csloww1): Likewise.
38730         (csloww2): Likewise.
38731         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38732         range_reduce.  Merge in __mpsin1.
38733         (__mpcos): Likewise.
38734         (__mpsin1): Remove.
38735         (__mpcos1): Likewise.
38737 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38739         * locale/loadlocale.c (_nl_intern_locale_data): Use
38740         LOCFILE_ALIGNED_P.
38741         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38742         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38743         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38744         obstack data is appropriately aligned.
38745         (obstack_int32_grow_fast): Likewise.
38746         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38747         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38748         (add_locale_uint32_array): Likewise.
38750 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752         * benchtests/Makefile: Remove ARGLIST and RET variables.
38753         ($(objpfx)bench-%.c): Pass only function name to the script.
38754         * benchtests/README: Update documentation.
38755         * benchtests/acos-inputs: Add new directives.
38756         * benchtests/acosh-inputs: Likewise.
38757         * benchtests/asin-inputs: Likewise.
38758         * benchtests/asinh-inputs: Likewise.
38759         * benchtests/atan-inputs: Likewise.
38760         * benchtests/atanh-inputs: Likewise.
38761         * benchtests/cos-inputs: Likewise.
38762         * benchtests/cosh-inputs: Likewise.
38763         * benchtests/exp-inputs: Likewise.
38764         * benchtests/log-inputs: Likewise.
38765         * benchtests/pow-inputs: Likewise.
38766         * benchtests/rint-inputs: Likewise.
38767         * benchtests/sin-inputs: Likewise.
38768         * benchtests/sinh-inputs: Likewise.
38769         * benchtests/tan-inputs: Likewise.
38770         * benchtests/tanh-inputs: Likewise.
38771         * scripts/bench.pl: Add support for new directives.
38773 2013-10-07  Alan Modra  <amodra@gmail.com>
38775         * README: Fix careless merge.
38777 2013-10-05  Alan Modra  <amodra@gmail.com>
38779         * NEWS: Mention powerpc64le support and bugs fixed.
38780         * README: Both big-endian and little-endian powerpc64 supported.
38782 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38784         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38785         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38786         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38787         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38789 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38791         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38792         match prototype.
38794 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38796         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38797         Move -mhard-float appending from
38798         ports/sysdeps/powerpc/powerpc32/Makefile.
38799         [$(with-fp) = yes] (ASFLAGS): Likewise.
38800         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38801         * sysdeps/powerpc/nofpu: Move directory from
38802         ports/sysdeps/powerpc/nofpu.
38803         * sysdeps/powerpc/soft-fp: Move directory from
38804         ports/sysdeps/powerpc/soft-fp.
38805         * sysdeps/powerpc/powerpc32/405: Move directory from
38806         ports/sysdeps/powerpc/powerpc32/405.
38807         * sysdeps/powerpc/powerpc32/440: Move directory from
38808         ports/sysdeps/powerpc/powerpc32/440.
38809         * sysdeps/powerpc/powerpc32/464: Move directory from
38810         ports/sysdeps/powerpc/powerpc32/464.
38811         * sysdeps/powerpc/powerpc32/476: Move directory from
38812         ports/sysdeps/powerpc/powerpc32/476.
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38814         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38816         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38818         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38820         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38822         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38823         * README: Update for powerpc-*-linux-gnu software floating point
38824         support in libc.
38826         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38827         case to powerpc/powerpc32*.
38828         * sysdeps/unix/sysv/linux/configure: Regenerated.
38830         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38831         (_FPU_MASK_OM): Define as 0x04.
38832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38834         0x00c10080.
38835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38836         0x0000003c.
38837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38840         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38841         getcontext_e500.
38842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38843         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38844         setcontext_e500.
38845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38846         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38847         and setcontext_e500.
38849 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38851         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38853 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38855         * manual/threads.texi (Default Thread Attributes): Fix typo.
38857 2013-10-04  Will Newton  <will.newton@linaro.org>
38859         * malloc/Makefile: Add tst-memalign.
38860         * malloc/tst-memalign.c: New file.
38862         * malloc/tst-posix_memalign.c: Add comments.
38863         (do_test): Add comments and call free on all potentially
38864         allocated pointers. Add space after cast.
38866         * malloc/tst-pvalloc.c: Add comments.
38867         (do_test): Add comments and call free on all potentially
38868         allocated pointers. Remove duplicate check for NULL pointer.
38869         Add space after cast.
38871         * malloc/tst-valloc.c: Add comments.
38872         (do_test): Add comments and call free on all potentially
38873         allocated pointers. Remove duplicate check for NULL pointer.
38874         Add space after cast.
38876 2013-10-04  Alan Modra  <amodra@gmail.com>
38878         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38879         Use stdint types in rather than __attribute__((mode())).
38880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38882 2013-10-04  Alan Modra  <amodra@gmail.com>
38884         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38885         Correct handling of unaligned relocs for little-endian.
38886         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38888 2013-10-04  Alan Modra  <amodra@gmail.com>
38890         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38891         * configure: Regenerate.
38892         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38893         * shlib-versions: Likewise.
38895 2013-10-04  Alan Modra  <amodra@gmail.com>
38897         * string/tester.c (test_memrchr): Increment reported test cycle.
38899 2013-10-04  Alan Modra  <amodra@gmail.com>
38901         * string/test-memcpy.c (do_one_test): When reporting errors, print
38902         string address and don't overrun end of string.
38904 2013-10-04  Alan Modra  <amodra@gmail.com>
38906         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38907         insrdi.  Make better use of reg selection to speed exit slightly.
38908         Schedule entry path a little better.  Remove useless "are we done"
38909         checks on entry to main loop.  Handle wrapping around zero address.
38910         Correct main loop count.  Handle single left-over word from main
38911         loop inline rather than by using loop_small.  Remove extra word
38912         case in loop_small caused by wrong loop count.  Add little-endian
38913         support.
38914         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38915         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38916         cache hint.
38917         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38918         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38919         support.  Avoid rlwimi.
38920         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38922 2013-10-04  Alan Modra  <amodra@gmail.com>
38924         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38925         insrdi.  Formatting.
38926         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38927         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38928         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38929         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38930         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38931         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38933 2013-10-04  Alan Modra  <amodra@gmail.com>
38935         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38936         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38937         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38938         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38939         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38940         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38941         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38942         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38943         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38944         use of regs.  Use power7 mtocrf.  Tidy function tails.
38946 2013-10-04  Alan Modra  <amodra@gmail.com>
38948         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38949         Formatting.  Consistently use rXXX register defines or rN defines.
38950         Use early exit labels that avoid restoring unused non-volatile regs.
38951         Make cr field use more consistent with rWORDn compares.  Rename
38952         regs used as shift registers for unaligned loop, using rN defines
38953         for short lifetime/multiple use regs.
38954         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38955         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38956         addi 1,1,64 to pop stack frame.  Simplify return value code.
38957         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38959 2013-10-04  Alan Modra  <amodra@gmail.com>
38961         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38962         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38963         rather than rlwimi.
38964         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38965         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38966         little-endian support.  Correct typos.
38967         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38968         rather than rlwimi.
38969         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38970         in loop and entry code to keep "and." results.
38971         (strchr): Add little-endian support.  Comment.  Move cntlzd
38972         earlier in tail.
38973         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38975 2013-10-04  Alan Modra  <amodra@gmail.com>
38977         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38978         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38979         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38980         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38982 2013-10-04  Alan Modra  <amodra@gmail.com>
38984         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38985         (rTMP): Define as r11.
38986         (strcmp): Add little-endian support.  Optimise tail.
38987         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38988         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38989         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38990         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38991         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38995 2013-10-04  Alan Modra  <amodra@gmail.com>
38997         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38998         little-endian support.  Remove unnecessary "are we done" tests.
38999         Handle "s" wrapping around zero and extremely large "size".
39000         Correct main loop count.  Handle single left-over word from main
39001         loop inline rather than by using small_loop.  Correct comments.
39002         Delete "zero" tail, use "end_max" instead.
39003         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39005 2013-10-04  Alan Modra  <amodra@gmail.com>
39007         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39008         support.  Don't branch over align.
39009         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39010         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39011         support.  Rearrange tmp reg use to suit.  Comment.
39012         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39014 2013-10-04  Alan Modra  <amodra@gmail.com>
39016         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39018 2013-10-04  Alan Modra  <amodra@gmail.com>
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39021         conditional form of branch and link when obtaining pc.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39024 2013-10-04  Alan Modra  <amodra@gmail.com>
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39027         HIWORD/LOWORD.
39028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39031 2013-10-04  Alan Modra  <amodra@gmail.com>
39033         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39034         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39035         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39036         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39037         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39038         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39039         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39040         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39041         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39042         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39045             Alistair Popple <alistair@ozlabs.au.ibm.com>
39046             Alan Modra <amodra@gmail.com>
39048         [BZ #15723]
39049         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39050         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39051         _dl_hwcap access for little-endian.
39052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39053         destroy vmx regs when saving unaligned.
39054         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39055         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39056         destroy vmx regs when saving unaligned.
39058 2013-10-04  Alan Modra  <amodra@gmail.com>
39060         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39061         Don't use a union to pack hi/low value.
39063 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39065         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39066         for little-endian.
39067         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39068         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39069         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39070         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39071         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39073 2013-10-04  Alan Modra  <amodra@gmail.com>
39075         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39076         constants to usual value for .cst8 section, and remove redundant
39077         high address load.
39078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39079         constant for 0x1p52.  Load little-endian words of double from
39080         correct stack offsets.
39082 2013-10-04  Alan Modra  <amodra@gmail.com>
39084         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39085         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39086         words of double from correct stack offsets.
39087         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39088         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39089         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39090         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39091         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39092         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39093         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39094         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39095         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39096         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39097         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39098         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39099         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39100         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39101         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39102         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39103         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39105 2013-10-04  Alan Modra  <amodra@gmail.com>
39107         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39108         64-bit int/double union.
39109         (_FPU_SETCW): Likewise.
39110         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39111         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39113 2013-10-04  Alan Modra  <amodra@gmail.com>
39115         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39116         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39118 2013-10-04  Alan Modra  <amodra@gmail.com>
39120         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39121         use vector int constants.
39122         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39126         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39127         array with long long.
39128         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39129         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39130         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39131         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39132         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39133         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39134         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39135         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39136         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39137         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39138         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39139         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39140         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39142 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39144         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39145         (__signbit): Likewise.  Correct for little-endian.
39146         (__signbitl): Call __signbit.
39147         (lrint): Correct for little-endian.
39148         (lrintf): Call lrint.
39150 2013-10-04  Alan Modra  <amodra@gmail.com>
39152         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39153         union 32-bit int array member with 64-bit int array.
39154         (t515, tm256): Double rather than long double.
39155         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39157 2013-10-04  Alan Modra  <amodra@gmail.com>
39159         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39160         Delete.
39161         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39163         version of math_ldbl.h.
39165 2013-10-04  Alan Modra  <amodra@gmail.com>
39167         [BZ #15734], [BZ #15735]
39168         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39169         all uses of ieee875 long double macros and unions.  Simplify test
39170         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39171         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39172         normalize after ldbl_extract_mantissa, and don't add hidden bit
39173         already handled.  Don't treat low word of ieee854 mantissa like
39174         low word of IBM long double and mask off bit when testing for
39175         zero.
39176         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39177         all uses of ieee875 long double macros and unions.  Simplify tests
39178         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39179         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39180         two1022, instead use their values.  Recognise that tests for large
39181         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39182         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39183         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39184         test for 0.0L and nan.  Correct negation.
39185         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39186         ieee875 long double macros and unions.  Correct output for large
39187         magnitude x.  Correct absolute value calculation.
39188         (__erfcl): Likewise.
39189         * math/libm-test.inc: Add tests for errors discovered in IBM long
39190         double versions of fmodl, remainderl, erfl and erfcl.
39192 2013-10-04  Alan Modra  <amodra@gmail.com>
39194         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39195         all uses of ieee854 long double macros and unions.  Simplify tests
39196         for long doubles that are fully specified by the high double.
39197         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39198         Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39200         Remove dead code too.
39201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39202         (__ieee754_ynl): Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39204         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39206         Remove dead code too.
39207         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39208         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39210         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39211         Simplify.
39212         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39213         Simplify.
39214         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39215         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39217         Comment on variable precision.
39218         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39219         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39220         Likewise.
39221         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39225         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39227 2013-10-04  Alan Modra  <amodra@gmail.com>
39229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39231         all uses of ieee854 long double macros and unions.
39232         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39236         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39237         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39238         Likewise.
39239         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39240         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39241         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39242         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39243         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39244         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39245         Simplify sign and nan test too.
39246         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39247         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39248         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39249         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39250         Likewise.
39251         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39252         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39253         Likewise.
39254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39255         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39256         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39257         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39258         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39261 2013-10-04  Alan Modra  <amodra@gmail.com>
39263         * stdio-common/printf_size.c (__printf_size): Don't use
39264         union ieee854_long_double in fpnum union.
39265         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39266         signbit macro to retrieve sign from long double.
39267         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39268         retrieve sign from long double.
39269         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39270         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39271         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39272         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39273         * math/test-misc.c (main): Don't use union ieee854_long_double.
39275 2013-10-04  Alan Modra  <amodra@gmail.com>
39277         [BZ #15680]
39278         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39279         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39280         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39281         calculation.  Remove unnecessary test for denormal exponent.
39282         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39283         Correct handling of denormals.  Avoid undefined shift behaviour.
39284         Correct normalisation of low mantissa when low double is denormal.
39285         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39286         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39287         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39288         Correct normalisation of low mantissa.  Test for overflow of high
39289         mantissa and normalise.
39290         (ldbl_nearbyint): Use more readable constant for two52.
39291         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39292         (__mpn_construct_long_double): Fix test for overflow of high
39293         mantissa and correct normalisation.  Avoid undefined shift.
39295 2013-10-04  Alan Modra  <amodra@gmail.com>
39297         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39298         (union ibm_extended_long_double): Define as an array of ieee754_double.
39299         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39300         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39301         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39302         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39304         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39306         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39307         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39308         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39309         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39311 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39313         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39314         page size instead of calling getpagesize.
39316         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39317         (LOCFILE_ALIGN_MASK): Likewise.
39318         (LOCFILE_ALIGN_UP): Likewise.
39319         (LOCFILE_ALIGNED_P): Likewise.
39320         * locale/programs/ld-collate.c (collate_output): Use the new
39321         macros instead of __alignof__ (int32_t).
39322         * locale/weight.h (findidx): Likewise.
39324 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39326         [BZ #431]
39327         * manual/string.texi: Fix strncat and wcsncat.
39329 2013-10-03  Brooks Moses  <bmoses@google.com>
39331         [BZ #15915]
39332         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39333         * Makerules: ...here, and adjust associated comments.
39335 2013-10-02  Will Newton  <will.newton@linaro.org>
39337         * malloc/Makefile: Add tst-pvalloc.
39338         * malloc/tst-pvalloc.c: New file.
39340 2013-10-02  Will Newton  <will.newton@linaro.org>
39342         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39343         improve test coverage.
39345 2013-10-02  Will Newton  <will.newton@linaro.org>
39347         * malloc/Makefile: Add tst-posix_memalign.
39348         * malloc/tst-posix_memalign.c: New file.
39350 2013-10-01  Eric Blake  <eblake@redhat.com>
39352         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39353         Use __THROWNL rather than __THROW on static functions.
39355 2013-09-30  Petr Machata  <pmachata@redhat.com>
39357         * elf/elf.h (R_AARCH64_ABS16): New macro.
39358         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39359         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39360         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39361         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39362         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39363         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39364         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39365         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39366         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39367         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39368         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39369         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39370         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39371         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39372         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39373         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39374         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39375         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39376         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39377         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39378         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39379         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39380         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39381         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39382         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39383         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39384         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39385         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39386         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39387         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39388         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39389         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39390         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39391         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39392         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39393         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39394         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39395         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39396         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39397         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39398         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39399         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39400         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39401         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39402         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39403         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39404         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39405         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39406         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39407         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39408         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39409         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39410         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39411         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39412         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39413         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39414         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39415         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39416         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39417         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39418         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39419         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39420         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39421         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39422         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39423         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39424         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39425         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39426         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39427         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39428         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39429         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39430         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39431         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39432         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39433         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39434         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39435         (R_AARCH64_TLSDESC_LDR): Likewise.
39436         (R_AARCH64_TLSDESC_ADD): Likewise.
39437         (R_AARCH64_TLSDESC_CALL): Likewise.
39439 2013-09-30  Andreas Schwab  <schwab@suse.de>
39441         [BZ #15048]
39442         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39443         the nss database lookup.
39444         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39447 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39449         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39451 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39453         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39454         ${Bash-specific parameter/pattern/string} parameter expansion.
39455         * sysdeps/unix/make-syscalls.sh: Likewise.
39457 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39459         * sysdeps/sh/stackguard-macros.h: New file.
39461 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39465         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39466         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39467         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39468         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39470 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39472         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39473         Fix thread ID register.
39475 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39477         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39478         [POSIX || UNIX98]: Require rather than permitting all symbols from
39479         <time.h>.
39480         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39481         element of struct sched_param.
39482         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39483         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39484         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39485         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39486         constant.
39488 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39490         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39491         argument calculation.
39493 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39495         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39496         Expect macro.
39497         [POSIX] (pthread_attr_t): Do not require type.
39498         [POSIX] (pthread_cond_t): Likewise.
39499         [POSIX] (pthread_condattr_t): Likewise.
39500         [POSIX] (pthread_key_t): Likewise.
39501         [POSIX] (pthread_mutex_t): Likewise.
39502         [POSIX] (pthread_mutexattr_t): Likewise.
39503         [POSIX] (pthread_once_t): Likewise.
39504         [POSIX] (pthread_t): Likewise.
39505         [POSIX-based standards] (pthread_atfork): Expect function.
39507 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39508             Richard Sandiford  <richard@codesourcery.com>
39510         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39511         (swap_endianness_p): New extern variable.
39512         (set_big_endian): New inline function.
39513         (maybe_swap_uint32): Likewise.
39514         (maybe_swap_uint32_array): Likewise.
39515         (maybe_swap_uint32_obstack): Likewise.
39516         * locale/programs/locfile.c: Include <stdbool.h>.
39517         (swap_endianness_p): New variable.
39518         (add_locale_uint32): Call maybe_swap_uint32.
39519         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39520         (write_locale_data): Call maybe_swap_uint32_array.
39521         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39522         maybe_swap_uint32.
39523         (obstack_int32_grow_fast): Likewise.
39524         (output_weightwc): Call maybe_swap_uint32_obstack.
39525         (collate_output): Likewise.
39526         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39527         (OPT_LITTLE_ENDIAN): Likewise.
39528         (options): Add --little-endian and --big-endian options.
39529         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39530         * locale/programs/locarchive.c: Include "locfile.h".
39531         (GET): New macro.
39532         (SET): Likewise.
39533         (INC): Likewise.
39534         (create_archive): Use the new macros to access fields of
39535         structures directly mapped from or written to locale archives.
39536         (oldlocrecentcmp): Likewise.
39537         (enlarge_archive): Likewise.
39538         (insert_name): Likewise.
39539         (add_alias): Likewise.
39540         (add_locale): Likewise.
39541         (delete_locales_from_archive): Likewise.
39542         (show_archive_content): Likewise.
39543         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39544         locale data.
39546 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39548         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39549         http://www.gnu.org/doc/freemanuals.texi.
39550         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39552 2013-09-24  Will Newton  <will.newton@linaro.org>
39554         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39555         macro.
39557 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39559         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39560         unsigned char.
39562 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39564         * manual/threads.texi (POSIX Threads): Fix a typo.
39566 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39568         [BZ #14547]
39569         * string/tst-strcoll-overflow.c: New test case.
39570         * string/Makefile (xtests): Add tst-strcoll-overflow.
39571         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39572         cache if string sizes may cause integer overflow.
39574         [BZ #14547]
39575         * string/strcoll_l.c (coll_seq): New members rule, idx,
39576         save_idx and back_us.
39577         (get_next_seq_nocache): New function.
39578         (do_compare_nocache): New function.
39579         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39580         when malloc fails.
39582 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39584         [BZ #15754]
39585         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39586         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39587         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39589         [BZ #15754]
39590         * elf/Makefile (tests): Add tst-ptrguard1.
39591         (tests-static): Add tst-ptrguard1-static.
39592         (tst-ptrguard1-ARGS): Define.
39593         (tst-ptrguard1-static-ARGS): Define.
39594         * elf/tst-ptrguard1.c: New file.
39595         * elf/tst-ptrguard1-static.c: New file.
39596         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39597         * sysdeps/i386/stackguard-macros.h: Likewise.
39598         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39599         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39600         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39601         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39602         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39603         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39605 2013-09-23  Hector Marco  <hecmargi@upv.es>
39606             Ismael Ripoll  <iripoll@disca.upv.es>
39607             Carlos O'Donell  <carlos@redhat.com>
39609         [BZ #15754]
39610         * sysdeps/generic/stackguard-macros.h: Define
39611         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39612         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39613         Define __pointer_chk_guard_local.
39614         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39615         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39617 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39619         [BZ #15859]
39620         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39622 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39624         * include/string.h (__ffs): Declare as hidden.
39625         * string/ffs.c (__ffs): Define as hidden.
39626         * sysdeps/i386/ffs.c (__ffs): Likewise.
39627         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39628         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39629         * sysdeps/s390/ffs.c (__ffs): Likewise.
39630         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39632 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39634         * NEWS: Mention malloc probes.
39636         * malloc/arena.c (new_heap): New memory_heap_new probe.
39637         (grow_heap): New memory_heap_more probe.
39638         (shrink_heap): New memory_heap_less probe.
39639         (heap_trim): New memory_heap_free probe.
39640         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39641         (systrim): New memory_sbrk_less probe.
39642         * manual/probes.texi: Document them.
39644         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39645         * manual/probes.texi: Document it.
39647         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39648         (__libc_realloc): Add memory_realloc_retry probe.
39649         (__libc_memalign): Add memory_memalign_retry probe.
39650         (__libc_valloc): Add memory_valloc_retry probe.
39651         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39652         (__libc_calloc): Add memory_calloc_retry probe.
39653         * manual/probes.texi: Document them.
39655         * malloc/arena.c (get_free_list): Add probe
39656         memory_arena_reuse_free_list.
39657         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39658         and memory_arena_reuse.
39659         (arena_get2) [!PER_THREAD]: Likewise.
39660         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39661         memory_arena_reuse_realloc.
39662         * manual/probes.texi: Document them.
39664         * malloc/malloc.c (__libc_free): Add
39665         memory_mallopt_free_dyn_thresholds probe.
39666         (__libc_mallopt): Add multiple memory_mallopt probes.
39667         * manual/probes.texi: Document them.
39669         * malloc/malloc.c: Include stap-probe.h.
39670         (__libc_mallopt): Add memory_mallopt probe.
39671         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39672         * manual/probes.texi: New.
39673         * manual/Makefile (chapters): Add probes.
39674         * manual/threads.texi: Set next node.
39676 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39678         [BZ #15963, #13985]
39679         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39680         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39681         Add `Chinese' to `nan' entry name.
39683 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39685         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39686         (POLYNOMIAL): Likewise.
39687         (TAYLOR_SINCOS): Likewise.
39688         (TAYLOR_SLOW): Likewise.
39689         (__sin): Use TAYLOR_SINCOS.
39690         (__cos): Likewise.
39691         (slow): Use TAYLOR_SLOW.
39692         (sloww): Likewise.
39693         (bsloww): Likewise.
39694         (csloww): Likewise.
39696 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39698         * stdlib/strtod_l.c: Fix buffer overrun.
39700 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39702         * benchtests/Makefile (bench): Add sincos.
39703         * benchtests/bench-sincos.c: New file.
39705         * math/libm-test.inc (cos_test_data): New test inputs.
39706         (sin_test_data): Likewise.
39708         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39709         macro.
39710         (__sin): Use it.
39711         (__cos): Likewise.
39712         (slow1): Likewise.
39713         (slow2): Likewise.
39714         (sloww1): Likewise.
39715         (sloww2): Likewise.
39716         (bsloww1): Likewise.
39717         (bsloww2): Likewise.
39718         (cslow2): Likewise.
39719         (csloww1): Likewise.
39720         (csloww2): Likewise.
39722         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39723         function.
39724         (__sin): Use it.
39725         (__cos): Likewise.
39727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39728         gotos.
39729         (__cos): Likewise.
39731 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39733         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39734         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39735         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39736         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39737         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39738         * elf/cache.c (print_entry): Handle the new cache flags.
39740 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39741             Aldy Hernandez  <aldyh@redhat.com>
39743         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39744         Change condition to [_SOFT_FLOAT].
39745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39757         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39760         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39761         declaration.
39763 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39765         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39766         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39767         (__longjmp): Use LOAD_GP to load saved GPRs.
39768         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39769         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39770         (__sigsetjmp): Use SAVE_GP to save GPRs.
39772         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39773         Do not append -msoft-float.
39774         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39776 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39778         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39780 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39782         [BZ #15966]
39783         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39784         (_FPU_GETCW): Use initial "__" on variable and field names but not
39785         on macro parameter name.
39786         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39787         parentheses around reference to macro parameter.
39789 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39791         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39792         prototype.
39793         (ctype_startup): Use uint32_t in cast and sizeof for
39794         ctype->charnames.
39796 2013-09-11  Jia Liu  <proljc@gmail.com>
39798         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39799         __daddr_t_defined.
39800         [__FreeBSD__]: Likewise.
39802 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39805         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39806         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39807         (strchr): Remove __strchr_sse42 ifunc selection.
39808         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39809         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39811 2013-09-11  Will Newton  <will.newton@linaro.org>
39813         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39814         parameter to RES. Remove hardcoded 1000 value.
39815         * benchtests/bench-skeleton.c (main): Pass RES parameter
39816         to TIMING_INIT and multiply result by 1000.
39818 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39822 2013-09-11  Andreas Schwab  <schwab@suse.de>
39824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39825         if not defined.
39826         (O_TMPFILE) [__USE_GNU]: Define.
39827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39828         Define.
39830 2013-09-11  Will Newton  <will.newton@linaro.org>
39832         [BZ #15857]
39833         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39834         does not overflow.
39836 2013-09-11  Will Newton  <will.newton@linaro.org>
39838         [BZ #15856]
39839         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39840         does not overflow.
39842 2013-09-11  Will Newton  <will.newton@linaro.org>
39844         [BZ #15855]
39845         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39846         does not overflow.
39848 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39850         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39851         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39852         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39853         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39854         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39856 2013-09-10  Allan McRae  <allan@archlinux.org>
39858         [BZ #15748]
39859         * manual/arith.texi (Parsing of Floats): Clarify
39860         cross-reference.
39862         [BZ #15849]
39863         * manual/install.texi (Running make install): Mention
39864         --enable-pt-chown.
39865         * INSTALL: Regenerated.
39867 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39869         * csu/init-first.c (_init): Remove the !SHARED condition around
39870         FPU control word initialization.
39871         * elf/dl-support.c (_dl_fpu_control): New variable.
39872         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39873         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39874         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39875         * math/test-fpucw-static.c: New file.
39876         * math/test-fpucw-ieee.c: New file.
39877         * math/test-fpucw-ieee-static.c: New file.
39878         * math/Makefile (tests): Add `test-fpucw-ieee' and
39879         `$(tests-static)'.
39880         (tests-static): New variable.
39881         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39882         dependency to...
39883         [($(build-shared),yes)]
39884         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39885         ... this.
39886         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39887         New dependency.
39889 2013-09-09  Allan McRae  <allan@archlinux.org>
39891         [BZ #15939]
39892         * manual/string.texi (Collation Functions): Fix typo in
39893         strcoll example.
39894         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39896         [BZ #15893]
39897         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39899         [BZ #15892]
39900         * libio/memstream.c (open_memstream): Fix memory leak.
39901         * libio/wmemstream.c (open_wmemstream): Likewise.
39903         [BZ #15895]
39904         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39906 2013-09-09  Will Newton  <will.newton@linaro.org>
39908         * malloc/Makefile: Add tst-realloc to tests.
39909         * malloc/tst-realloc.c: New file.
39911 2013-09-09  Allan McRae  <allan@archlinux.org>
39913         [BZ #15844]
39914         * COPYING: Update from GNU website to fix FSF address.
39915         * COPYING.LIB: Likewise.
39917 2013-09-06  David S. Miller  <davem@davemloft.net>
39919         * po/zh_TW.po: Update Chinese (traditional) translation from
39920         translation project.
39922 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39923             Joseph Myers  <joseph@codesourcery.com>
39925         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39926         "localeinfo.h".
39927         (obstack_chunk_alloc): New macro.
39928         (obstack_chunk_free): Likewise.
39929         (record_offset): New function.
39930         (init_locale_data): Likewise.
39931         (align_locale_data): Likewise.
39932         (add_locale_empty): Likewise.
39933         (add_locale_raw_data): Likewise.
39934         (add_locale_raw_obstack): Likewise.
39935         (add_locale_string): Likewise.
39936         (add_locale_wstring): Likewise.
39937         (add_locale_uint32): Likewise.
39938         (add_locale_uint32_array): Likewise.
39939         (add_locale_char): Likewise.
39940         (start_locale_structure): Likewise.
39941         (end_locale_structure): Likewise.
39942         (start_locale_prelude): Likewise.
39943         (end_locale_prelude): Likewise.
39944         (write_locale_data): Take locale_file structure rather than an
39945         iovec.
39946         * locale/programs/locfile.h: Include "obstack.h".
39947         (struct locale_file): Change to store locale file contents instead
39948         of header.
39949         (init_locale_data): New prototype.
39950         (align_locale_data): Likewise.
39951         (add_locale_empty): Likewise.
39952         (add_locale_raw_data): Likewise.
39953         (add_locale_raw_obstack): Likewise.
39954         (add_locale_string): Likewise.
39955         (add_locale_wstring): Likewise.
39956         (add_locale_uint32): Likewise.
39957         (add_locale_uint32_array): Likewise.
39958         (add_locale_char): Likewise.
39959         (start_locale_structure): Likewise.
39960         (end_locale_structure): Likewise.
39961         (start_locale_prelude): Likewise.
39962         (end_locale_prelude): Likewise.
39963         (write_locale_data): Update prototype.
39964         * locale/programs/3level.h (struct TABLE): Remove result field.
39965         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39966         Use new locale_file interface.
39967         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39968         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39969         * locale/programs/ld-address.c (address_output): Use new
39970         locale_file interface.
39971         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39972         NO_ADD_LOCALE.
39973         (collate_finish): Don't call collseq_table_finalize.
39974         (collate_output): Use new locale_file interface.
39975         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39976         in file.
39977         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39978         (TABLE): Move defines earlier in file.
39979         (ELEMENT): Likewise.
39980         (DEFAULT): Likewise.
39981         (wctrans_table_add): Move macro and inline function earlier in
39982         file.
39983         (struct wctype_table): Move type earlier in file.
39984         (add_locale_wctype_table): New static prototype.
39985         (struct locale_ctype_t): Use logical types instead of struct iovec
39986         pointers for members.
39987         (ctype_output): Use new locale_file interface.
39988         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39989         new locale_file interface.
39990         (allocate_arrays): Update for use of new locale_file interface.
39991         * locale/programs/ld-identification.c (identification_output): Use
39992         new locale_file interface.
39993         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39994         * locale/programs/ld-messages.c (messages_output): Likewise.
39995         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39996         * locale/programs/ld-name.c (name_output): Likewise.
39997         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39998         * locale/programs/ld-paper.c (paper_output): Likewise.
39999         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40000         * locale/programs/ld-time.c (time_output): Likewise.
40002 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40004         * benchtests/Makefile: Add memrchr benchmark.
40005         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40006         benchmark as memrchr.
40007         * benchtests/bench-memrchr-ifunc.c: New file.
40008         * benchtests/bench-memrchr.c: New file.
40010 2013-09-06   Will Newton  <will.newton@linaro.org>
40012         * benchtests/Makefile (string-bench): Add memcpy.
40014 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40015             Cong Wang  <amwang@redhat.com>
40017         [BZ #15850]
40018         * sysdeps/unix/sysv/linux/bits/in.h
40019         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40020         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40021         before __USE_KERNEL_IPV6_DEFS uses.
40022         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40023         IPPROTO_BEETPH.
40024         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40025         sockaddr_in6, or ipv6_mreq.
40027 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40029         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40030         memory access for final bytes in some large inputs.
40031         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40033 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40035         * string/test-memrchr.c: New file.
40036         * string/test-memrchr-ifunc.c: New file.
40037         * string/Makefile: Add new memrchr testcase.
40039 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40041         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40042         fanotify_init returns EPERM.
40044 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40046         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40047         errors.
40048         (top level): Treat second token from macro or constant entries for
40049         allowed headers as allowed.
40050         * include/complex.h: Condition internal declarations on
40051         [!_ISOMAC].
40052         * include/fenv.h: Condition include of <stdbool.h> and internal
40053         declarations on [!_ISOMAC].
40055 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40057         [BZ #15923]
40058         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40060 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40062         * configure.in (--enable-versioning): Remove configure option.
40063         (libc_cv_asm_symver_directive): Remove configure test.
40064         (libc_cv_ld_version_script_option): Likewise.
40065         (VERSIONING): Remove variable and AC_SUBST.
40066         (DO_VERSIONING): Remove AC_DEFINE.
40067         * configure: Regenerated.
40068         * config.h.in (DO_VERSIONING): Remove macro.
40069         * Makerules [$(versioning) = yes]: Change conditionals to
40070         [$(build-shared) = yes].
40071         * config.make.in (versioning): Remove variable.
40072         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40073         [$(build-shared) = yes].
40074         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40075         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40076         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40077         [$(build-shared) = yes].
40078         * extra-lib.mk [$(versioning) = yes]: Likewise.
40079         * hurd/Makefile [$(versioning) = yes]: Likewise.
40080         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40081         [SHARED].
40082         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40083         [SHARED].
40084         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40085         [SHARED && !NO_HIDDEN].
40086         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40087         [SHARED].
40088         [SHARED && DO_VERSIONING]: Likewise..
40089         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40090         [$(build-shared) = yes].
40091         * manual/install.texi (--disable-versioning): Remove
40092         documentation.
40093         * INSTALL: Regenerated.
40094         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40095         to [SHARED].
40096         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40097         [$(build-shared) = yes].
40098         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40099         * sysdeps/i386/i686/multiarch/strstr-c.c
40100         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40101         [SHARED && !NO_HIDDEN].
40102         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40103         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40104         * sysdeps/powerpc/powerpc32/dl-machine.c
40105         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40106         * sysdeps/powerpc/powerpc32/sysdep.h
40107         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40108         to [SHARED && PIC && !NO_HIDDEN].
40109         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40110         conditional to [SHARED].
40112 2013-09-04   Will Newton  <will.newton@linaro.org>
40114         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40115         * benchtests/bench-string.h: Include bench-timing.h instead
40116         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40117         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40118         call to HP_TIMING_DIFF_INIT.
40119         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40120         instead of hp-timing.h macros.
40121         * benchtests/bench-memchr.c: Likewise.
40122         * benchtests/bench-memcmp.c: Likewise.
40123         * benchtests/bench-memcpy.c: Likewise.
40124         * benchtests/bench-memmem.c: Likewise.
40125         * benchtests/bench-memmove.c: Likewise.
40126         * benchtests/bench-memset.c: Likewise.
40127         * benchtests/bench-rawmemchr.c: Likewise.
40128         * benchtests/bench-strcasecmp.c: Likewise.
40129         * benchtests/bench-strcasestr.c: Likewise.
40130         * benchtests/bench-strcat.c: Likewise.
40131         * benchtests/bench-strchr.c: Likewise.
40132         * benchtests/bench-strcmp.c: Likewise.
40133         * benchtests/bench-strcpy.c: Likewise.
40134         * benchtests/bench-strcpy_chk.c: Likewise.
40135         * benchtests/bench-strlen.c: Likewise.
40136         * benchtests/bench-strncasecmp.c: Likewise.
40137         * benchtests/bench-strncat.c: Likewise.
40138         * benchtests/bench-strncmp.c: Likewise.
40139         * benchtests/bench-strncpy.c: Likewise.
40140         * benchtests/bench-strnlen.c: Likewise.
40141         * benchtests/bench-strpbrk.c: Likewise.
40142         * benchtests/bench-strrchr.c: Likewise.
40143         * benchtests/bench-strspn.c: Likewise.
40144         * benchtests/bench-strstr.c: Likewise.
40146 2013-09-04  Will Newton  <will.newton@linaro.org>
40148         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40150 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40152         [BZ #15427]
40153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40154         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40155         * math/libm-test.inc (lgamma_test_data): Add more tests.
40156         * sysdeps/i386/fpu/libm-test-ulps: Update.
40157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40159 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40161         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40163         Add ifunc.
40164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40165         Add strcmp-sse2-unaligned
40166         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40168 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40170         * Versions.def (libc): Add GLIBC_2.19.
40172 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40174         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40175         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40177 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40179         [BZ #14155]
40180         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40181         intermediate calculations in recurrence.
40182         (__ieee754_ynf): Likewise.
40183         * math/libm-test.inc (jn_test_data): Do not allow spurious
40184         underflow exception.  Add more tests.
40185         (yn_test_data): Add more tests.
40186         * sysdeps/i386/fpu/libm-test-ulps: Update.
40187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40189 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40193 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40195         * csu/init-first.c: Fix then/than typos.
40196         * locale/programs/ld-collate.c: Likewise.
40197         * locale/programs/linereader.h: Likewise.
40198         * manual/charset.texi: Likewise.
40199         * manual/filesys.texi: Likewise.
40200         * manual/stdio.texi: Likewise.
40201         * manual/string.texi: Likewise.
40202         * stdlib/fmtmsg.c: Likewise.
40203         * sysdeps/i386/stpncpy.S: Likewise.
40204         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40205         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40206         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40207         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40209 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40211         * elf/dl-open.c: Fix typos.
40212         * iconvdata/gbbig5.c: Likewise.
40213         * iconvdata/iso-2022-jp.c: Likewise.
40214         * iconv/gconv_int.h: Likewise.
40215         * iconv/loop.c: Likewise.
40216         * nis/rpcsvc/nis.h: Likewise.
40217         * resolv/ns_name.c: Likewise.
40218         * stdio-common/vfscanf.c: Likewise.
40219         * streams/stropts.h: Likewise.
40220         * sunrpc/rpc_thread.c: Likewise.
40221         * sysdeps/i386/strpbrk.S: Likewise.
40222         * sysdeps/ieee754/k_standard.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40225         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40226         * sysdeps/mach/hurd/profil.c: Likewise.
40227         * sysdeps/s390/dl-procinfo.h: Likewise.
40228         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40229         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40230         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40231         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40232         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40234 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40236         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40239 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40241         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40242         aix specific files.
40243         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40244         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40245         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40247         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40248         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40249         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40250         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40252 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40253             Roland McGrath  <roland@hack.frob.com>
40255         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40256         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40258 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40260         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40261         __executable_start symbol instead of _start.
40263 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40265         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40266         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40267         Move macros to...
40268         * sysdeps/gnu/ldsodefs.h: ... this new file.
40270         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40271         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40272         instead of ELFOSABI_LINUX.
40274         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40275         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40276         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40277         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40278         Likewise.
40279         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40280         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40282         Likewise.
40283         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40284         (ibm_extended_long_double): Add ieee_nan member.
40285         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40286         (do_test): New function.
40288         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40289         TEST_TRUNC.
40290         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40291         functions, renamed from truncdfsf_test, trunctfsf_test,
40292         trunctfdf_test.
40293         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40294         functions.
40295         (do_test): Run all these.
40297 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40299         * argp/argp-help.c: Fix typos.
40300         * argp/argp-parse.c: Likewise.
40301         * debug/backtracesyms.c: Likewise.
40302         * elf/elf.h: Likewise.
40303         * malloc/malloc.c: Likewise.
40304         * nis/nis_print.c: Likewise.
40305         * resolv/res_comp.c: Likewise.
40306         * stdlib/stdlib.h: Likewise.
40307         * sunrpc/clnt_tcp.c: Likewise.
40308         * sunrpc/clnt_udp.c: Likewise.
40309         * sunrpc/clnt_unix.c: Likewise.
40310         * sysdeps/unix/bsd/ptsname.c: Likewise.
40311         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40312         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40314         Likewise.
40315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40316         Likewise.
40317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40318         Likewise.
40319         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40321 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40323         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40326 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40328         [BZ #15897]
40329         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40330         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40331         ($(objpfx)bug-dl-leaf): New rule.
40332         ($(objpfx)bug-dl-leaf.so): Likewise.
40333         ($(objpfx)bug-dl-leaf.out): Likewise.
40334         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40335         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40336         * dlfcn/bug-dl-leaf.c: New test.
40337         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40338         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40339         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40340         (dlclose): Likewise.
40341         (dlmopen): Likewise.
40343 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40345         * include/netdb.h [!_ISOMAC]:
40346         Don't include <tls.h>.
40347         (h_errno, __libc_h_errno): Move declaration and macros out of
40348         [_LIBC_REENTRANT].
40350         * include/resolv.h [_RESOLV_H_]:
40351         Don't include <tls.h>.
40352         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40353         * resolv/res_libc.c: Don't include <tls.h>.
40354         (_res): Use __attribute__ ((nocommon)) in place of
40355         __attribute__ ((section (".bss"))).
40357         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40358         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40360         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40362         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40363         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40365         * resolv/res_mkquery.c: Include <sys/time.h>.
40367         * inet/ifreq.c: Moved to ...
40368         * sysdeps/unix/ifreq.c: ... here.
40369         * inet/ifreq.c: New file, true stub version.
40371         * socket/sa_len.c: New file.
40372         * socket/Makefile (aux): Add it.
40373         * sysdeps/unix/sysv/linux/Makefile
40374         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40375         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40376         and #include <socket/sa_len.c>.
40377         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40378         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40380         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40381         * bits/socket.h: ... here.
40383         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40384         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40385         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40387 2013-08-27  Andreas Schwab  <schwab@suse.de>
40389         [BZ #15736]
40390         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40391         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40392         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40393         * string/test-strcasecmp.c (test_main): Run tests in several
40394         locales.
40395         * string/test-strncasecmp.c (test_main): Likewise.
40397         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40398         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40399         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40401         (__strncasecmp_ssse3) [PIC]: Likewise.
40403 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40405         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40407         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40408         instead of explicitly declaring xdecrypt.
40409         * nis/nss_nis/nis-publickey.c: Likewise.
40411 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40413         [BZ #15890]
40414         * nscd/aicache.c: Include res_hconf.h.
40415         (addhstaiX): Initialize res_hconf.
40417 2013-08-26  Andreas Schwab  <schwab@suse.de>
40419         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40420         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40422 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40424         * nscd/aicache.c (addhstaiX): Fix indentation.
40426 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40428         * configure.ac: Quote $build_pt_chown test.
40429         * configure: Regenerated.
40431 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40433         [BZ #15532]
40434         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40435         * math/s_cexpf.c (__cexpf): Likewise.
40436         * math/s_cexpl.c (__cexpl): Likewise.
40437         * math/libm-test.inc (cexp_test_data): Correct expected return
40438         value for NaN + i0.  Add another test.
40440 2013-08-22  David S. Miller  <davem@davemloft.net>
40442         * po/ca.po: Update Catalan translation from translation project.
40443         * po/uk.po: Add Ukrainian translations from translation project.
40445 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40447         [BZ #15797]
40448         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40449         is infinite, not alongside NaN test.
40450         * math/s_fdimf.c (__fdimf): Likewise.
40451         * math/s_fdiml.c (__fdiml): Likewise.
40452         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40453         errno is unchanged.
40455 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40457         * argp/argp-help.c: Fix typos.
40458         * crypt/speeds.c: Likewise.
40459         * csu/check_fds.c: Likewise.
40460         * elf/dl-load.c: Likewise.
40461         * elf/dl-open.c: Likewise.
40462         * elf/reldep3.c: Likewise.
40463         * elf/reldep.c: Likewise.
40464         * elf/sprof.c: Likewise.
40465         * iconv/iconv_charmap.c: Likewise.
40466         * iconv/skeleton.c: Likewise.
40467         * iconv/strtab.c: Likewise.
40468         * io/lockf64.c: Likewise.
40469         * libio/libioP.h: Likewise.
40470         * resolv/gai_notify.c: Likewise.
40471         * resolv/ns_name.c: Likewise.
40472         * resolv/ns_samedomain.c: Likewise.
40473         * resolv/res_send.c: Likewise.
40474         * stdlib/random.c: Likewise.
40475         * sunrpc/rpc/xdr.h: Likewise.
40476         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40477         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40478         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40479         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40480         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40481         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40482         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40483         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40484         * sysdeps/mach/hurd/check_fds.c: Likewise.
40485         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40486         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40488         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40489         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40490         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40491         * sysdeps/pthread/aio_notify.c: Likewise.
40492         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40493         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40494         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40495         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40496         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40498 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40500         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40501         version if bit_Slow_SSE4_2 is set.
40502         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40503         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40505 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40507         [BZ #15867]
40508         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40509         trampoline stack frame information.
40510         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40511         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40512         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40513         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40514         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40515         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40516         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40517         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40518         sa_flags value.
40519         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40520         interrupting a syscall and set with option SA_SIGINFO.
40522 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40524         [BZ #15531]
40525         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40526         argument is infinite.
40527         * math/s_cprojf.c (__cprojf): Likewise.
40528         * math/s_cprojl.c (__cprojl): Likewise.
40529         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40530         * math/libm-test.inc (cproj_test_data): Add more tests.
40532         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40534         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40535         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40536         size.  Use __ffs to determine corresponding shift.
40538 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40539             Roland McGrath  <roland@hack.frob.com>
40541         * Makefile (INSTALL): Remove trailing blank lines from output of
40542         makeinfo.
40544 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40546         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40547         Align 32 bit compat elf_greg to 8 bytes.
40549 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40551         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40553 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40555         * string/strcoll_l.c (coll_seq): New structure.
40556         (get_next_seq_cached): New function.
40557         (get_next_seq): New function.
40558         (do_compare): New function.
40559         (STRCOLL): Use GNU style definition.  Simplify implementation
40560         by using get_next_seq, get_next_seq_cached and do_compare.
40562 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40564         [BZ #14699]
40565         CVE-2013-4237
40566         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40567         member.
40568         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40569         member.
40570         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40571         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40572         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40573         conditional.
40574         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40575         GETDENTS_64BIT_ALIGNED.
40576         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40577         * manual/filesys.texi (Reading/Closing Directory): Document
40578         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40579         strongly.
40580         * manual/conf.texi (Limits for Files): Add portability note to
40581         NAME_MAX, PATH_MAX.
40582         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40584 2013-08-13  Andreas Schwab  <schwab@suse.de>
40586         [BZ #15749]
40587         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40588         of fabs.
40589         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40590         LDBL_MAX_EXP >= 16384]: Add tests for it.
40592 2013-08-12  David S. Miller  <davem@davemloft.net>
40594         * version.h (RELEASE): Set to "development".
40595         (VERSION): Set to "2.18.90".
40596         * NEWS: Add 2.19 section.
40598 2013-08-03  David S. Miller  <davem@davemloft.net>
40600         * po/ko.po: Update Korean translation from translation project.
40602 2013-08-01  David S. Miller  <davem@davemloft.net>
40604         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40605         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40606         Bilka.
40608 2013-07-30  David S. Miller  <davem@davemloft.net>
40610         * po/fr.po: Update French translation from translation project.
40612 2013-07-28  David S. Miller  <davem@davemloft.net>
40614         * po/cs.po: Update Czech translation from translation project.
40616         * po/sv.po: Update Swedish translation from translation project.
40618 2013-07-27  David S. Miller  <davem@davemloft.net>
40620         * po/eo.po: Update Esperanto translation from translation project.
40622         * po/vi.po: Update Vietnamese translation from translation project.
40624         * po/de.po: Update German translation from translation project.
40626 2013-07-26  David S. Miller  <davem@davemloft.net>
40628         * po/bg.po: Update Bulgarian translation from translation project.
40630         * po/nl.po: Update Dutch translation from translation project.
40631         * po/pl.po: Update Polish translation from translation project.
40632         * po/ru.po: Update Russian translation from translation project.
40634 2013-07-24  David S. Miller  <davem@davemloft.net>
40636         * po/libc.pot: Update.
40638 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40640         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40641         variable page size.
40642         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40643         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40644         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40646 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40648         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40650 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40651             Andreas Schwab  <schwab@suse.de>
40652             Roland McGrath  <roland@hack.frob.com>
40653             Joseph Myers  <joseph@codesourcery.com>
40654             Carlos O'Donell  <carlos@redhat.com>
40656         [BZ #15755]
40657         * config.h.in: Define HAVE_PT_CHOWN.
40658         * config.make.in (build-pt-chown): New variable.
40659         * configure.in (--enable-pt_chown): New configure option.
40660         * configure: Regenerate.
40661         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40662         build-pt-chown is enabled.
40663         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40664         pt_chown to fix pty ownership.
40665         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40666         CLOSE_ALL_FDS.
40667         * manual/install.texi (Configuring and compiling): Mention
40668         --enable-pt_chown. Add @findex for grantpt.
40669         * INSTALL: Regenerate.
40671 2013-07-20  David S. Miller  <davem@davemloft.net>
40673         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40674         difference between 32-bit and 64-bit.
40676 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40678         [BZ #15711]
40679         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40680         Avoid system header dependency with -ffreestanding.
40681         ($(objpfx)bits/syscall%d): Likewise.
40683 2013-07-13  David S. Miller  <davem@davemloft.net>
40685         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40686         underflows from atanl/atan2l due to bug 15319.
40687         (casinh_test_data): Likewise.
40689 2013-07-07  David S. Miller  <davem@davemloft.net>
40691         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40693 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40695         * sysdeps/i386/fpu/libm-test-ulps: Update.
40696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40698 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40700         * configure.in (--enable-lock-elision): Fix message text.
40701         * INSTALL: Regenerate.
40702         * configure: Regenerate.
40704 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40708 2013-07-03  Andreas Jaeger  <aj@suse.de>
40710         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40711         define.
40712         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40713         (ptrace_peeksiginfo_args): Add.
40714         (__ptrace_peeksiginfo_flags): Add.
40715         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40716         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40717         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40719 2013-07-03  Allan McRae  <allan@archlinux.org>
40721         * sysdeps/i386/fpu/libm-test-ulps: Update.
40723 2013-07-02  David S. Miller  <davem@davemloft.net>
40725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40727 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40731 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40733         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40736 2013-07-02  Andi Kleen <ak@linux.intel.com>
40738         * config.h.in (ENABLE_LOCK_ELISION): Add.
40739         * configure.in (--enable-lock-elision): Add option.
40740         * manual/install.texi: Document --enable lock elision.
40741         * configure: Regenerate
40742         * INSTALL: Regenerate.
40744 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40746         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40747         SSE4.2 strcasecmp for libc.a.
40748         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40750 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40752         [BZ #13304]
40753         * soft-fp/op-common.h (_FP_FMA): New macro.
40754         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40755         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40756         (_FP_MUL_MEAT_1_imm): ... here.
40757         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40758         (_FP_MUL_MEAT_1_wide): ... here.
40759         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40760         (_FP_MUL_MEAT_1_hard): ... here.
40761         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40762         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40763         (_FP_MUL_MEAT_2_wide): ... here.
40764         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40765         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40766         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40767         (_FP_MUL_MEAT_2_gmp): ... here.
40768         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40769         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40770         (_FP_MUL_MEAT_4_wide): ... here.
40771         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40772         (_FP_MUL_MEAT_4_gmp): ... here.
40773         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40774         (_FP_WFRACBITS_DW_S): Likewise.
40775         (_FP_WFRACXBITS_DW_S): Likewise.
40776         (_FP_HIGHBIT_DW_S): Likewise.
40777         (FP_FMA_S): Likewise.
40778         (_FP_FRAC_HIGH_DW_S): Likewise.
40779         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40780         (_FP_WFRACBITS_DW_D): Likewise.
40781         (_FP_WFRACXBITS_DW_D): Likewise.
40782         (_FP_HIGHBIT_DW_D): Likewise.
40783         (FP_FMA_D): Likewise.
40784         (_FP_FRAC_HIGH_DW_D): Likewise.
40785         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40786         (_FP_WFRACBITS_DW_E): Likewise.
40787         (_FP_WFRACXBITS_DW_E): Likewise.
40788         (_FP_HIGHBIT_DW_E): Likewise.
40789         (FP_FMA_E): Likewise.
40790         (_FP_FRAC_HIGH_DW_E): Likewise.
40791         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40792         (_FP_WFRACBITS_DW_Q): Likewise.
40793         (_FP_WFRACXBITS_DW_Q): Likewise.
40794         (_FP_HIGHBIT_DW_Q): Likewise.
40795         (FP_FMA_Q): Likewise.
40796         (_FP_FRAC_HIGH_DW_Q): Likewise.
40797         * soft-fp/fmasf4.c: New file.
40798         * soft-fp/fmadf4.c: Likewise.
40799         * soft-fp/fmatf4.c: Likewise.
40801 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40804         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40805         Silvermont.
40806         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40807         macro.
40808         (index_Slow_SSE4_2): Likewise.
40809         (index_Prefer_PMINUB_for_stringop): Likewise.
40810         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40811         bit_Slow_SSE4_2 is set.
40812         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40813         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40815 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40817         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40818         rtld_global._dl_hwcap2.
40819         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40820         POWER8.
40821         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40822         POWER8 feature descriptions defined in _dl_hwcap2.
40823         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40824         string handling for POWER8 feature bits.
40825         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40826         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40827         _dl_powerpc_cap_flags.
40828         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40829         * sysdeps/powerpc/rtld-global-offsets.sym
40830         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40831         _dl_hwcap2 in the rtld_global_ro structure.
40833 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40835         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40836         hardware capabilities in support of AT_HWCAP2.
40837         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40838         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40839         GLRO(dl_hwcap2).
40840         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40841         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40842         explicitly the unknown a_type display mechanism is used.
40843         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40844         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40845         struct member.
40846         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40847         to macro prototype for AT_HWCAP2 support.
40848         * sysdeps/i386/dl-procinfo.h: Likewise.
40849         * sysdeps/s390/dl-procinfo.h: Likewise.
40850         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40851         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40852         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40853         return -1 for unknown a_type display fallback.
40854         * sysdeps/sparc/dl-procinfo.h: Likewise.
40855         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40856         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40858 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40860         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40861         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40863 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40865         [BZ #12492]
40866         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40867         mprotect making __stack_prot writable.
40869 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40870             Joseph Myers  <joseph@codesourcery.com>
40872         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40873         as being properly aligned.
40875 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40877         * dlfcn/modstatic5.c: New file.
40878         * dlfcn/tststatic5.c: New file.
40879         * dlfcn/Makefile (tests): Add tststatic5.
40880         (tests-static): Likewise.
40881         (modules-names): Add modstatic5.
40882         (tststatic5-ENV): New variable.
40883         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40885         [BZ #15022]
40886         * elf/dl-support.c (_dl_main_map): New variable.
40887         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40888         (_dl_nns, _dl_load_adds): Set to 1.
40889         (_dl_initial_searchlist): Refer to _dl_main_map.
40890         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40891         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40892         call to _dl_get_origin.
40893         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40894         around call_map.
40895         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40896         * dlfcn/modstatic3.c: New file.
40897         * dlfcn/tststatic3.c: New file.
40898         * dlfcn/tststatic4.c: New file.
40899         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40900         (tests-static): Likewise.
40901         (modules-names): Add modstatic3.
40902         (tststatic3-ENV, tststatic4-ENV): New variables.
40903         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40904         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40906 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40908         * configure.in (CC): Require GCC version 4.4 or later.
40909         * configure: Regenerated.
40910         * manual/install.texi (Tools for Compilation): Update GCC version
40911         requirement.
40912         * INSTALL: Regenerated.
40914 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40916         [BZ #15674]
40917         * string/test-memcmp.c (check2): New.
40918         (main): Call check2.
40920         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40922 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40924         [BZ #15022]
40925         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40926         over to...
40927         (dl_open_worker) [!SHARED]: ... here.
40929 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40931         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40933 2013-06-25  Richard Henderson  <rth@redhat.com>
40935         * locale/programs/locarchive.c: Include <libc-internal.h>
40937 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40939         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40940         trailing whitespace removed.
40942 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40944         [BZ #10283]
40945         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40946         * locale/programs/locarchive.c: Include libc-mmap.h.
40947         (prepare_address_space): Take two new outputs (the mmap base and len).
40948         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40949         values.
40950         (create_archive): Declare new mmap base and len values for
40951         prepare_address_space, and store the result in ah.
40952         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40953         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40954         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40955         Declare new mmap base and len values for
40956         prepare_address_space, and store the result in new_ah.
40957         (open_archive): Declare new mmap base and len values for
40958         prepare_address_space, and store the result in ah.
40959         (close_archive): If ah->mmap_base is not NULL, use that and
40960         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40961         * sysdeps/generic/libc-mmap.h: New file.
40963 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40965         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40966         (ALIGN_UP): Likewise.
40967         (PTR_ALIGN_DOWN): Likewise.
40968         (PTR_ALIGN_UP): Likewise.
40970 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40972         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40973         entry mapped to PPC_PLATFORM_POWER8.
40974         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40975         POWER8.
40976         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40977         (_dl_string_platform): Add case for exporting platform position for
40978         POWER8.
40979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40980         search path to sysdeps/powerpc/powerpc32/power8 directory.
40981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40982         search path to sysdeps/powerpc/powerpc64/power8 directory.
40983         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40984         power7 directories.
40985         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40986         power7 directories.
40988 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40990         * INSTALL: Regenerate.
40992         * nscd/connections.c (nscd_init): Fix comment.
40994 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40996         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40998         [BZ #15667]
40999         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41000         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41002 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41004         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41005         DL_DST_REQ_STATIC.
41006         (DL_DST_REQ_STATIC): Remove macro.
41008 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41010         [BZ #7006]
41011         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41012         with a shift of 0 bits.
41014 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41016         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41017         $(tststatic-ENV).
41019 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41021         [BZ #15655]
41022         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41024 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41026         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41027         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41028         accepts -fno-tree-loop-distribute-patterns.
41029         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41030         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41031         recursive call.
41032         * string/memset.c (memset): Likewise.
41033         * string/test-memmove.c (simple_memmove): Disable loop transformation
41034         to library calls.
41035         * string/test-memset.c (simple_memset): Likewise.
41036         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41037         * benchtests/bench-memset.c (simple_memset): Likewise.
41038         * configure: Regenerated.
41040 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41042         * math/test-misc.c (main): Ignore fesetround failure when failures
41043         of subsequent rounding tests would be ignored.
41045         [BZ #15654]
41046         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41047         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41048         * math/fegetenv.c (__fegetenv): Return 0.
41049         * math/fegetexcept.c (fegetexcept): Return 0.
41050         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41051         FE_TONEAREST.
41052         * math/feholdexcpt.c (feholdexcept): Return 0.
41053         * math/fesetenv.c (__fesetenv): Return 0.
41054         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41055         argument FE_TONEAREST.
41056         * math/feupdateenv.c (__feupdateenv): Return 0.
41057         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41059 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41061         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41062         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41063         ($(objpfx)rtld-%.os rules): Use them.
41065 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41067         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41068         fields.
41070 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41072         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41073         length of target pattern, then descending length of dependency pattern.
41074         * configure.in (AWK): Require gawk 3.1.2 or newer.
41075         * manual/install.texi (Tools for Compilation): Say that we do.
41076         * configure: Regenerated.
41078         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41079         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41080         * scripts/sysd-rules.awk: ... this new script.
41081         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41082         than a glob-style pattern.
41084 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41086         * math/test-misc.c (main): Do not treat incorrectly rounded
41087         conversions as failure unless ROUNDING_TESTS passes.
41089 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41091         [BZ #15631]
41092         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41093         restore exception state around main square root computation, then
41094         check for inexactness explicitly.
41096         * math/libm-test.inc (fma_test_data): Add another test.
41098 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41100         * manual/threads.texi (Non-POSIX Extensions): New document
41101         node.  Document pthread_getattr_default_np and
41102         pthread_setattr_default_np.
41104         * Versions.def (libpthread): Add GLIBC_2.18.
41105         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41107         Likewise.
41108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41109         Likewise.
41110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41111         Likewise.
41112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41113         Likewise.
41114         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41115         Likewise.
41116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41117         Likewise.
41118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41119         Likewise.
41120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41121         Likewise.
41122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41123         Likewise.
41125 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41128         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41130 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41131             H.J. Lu  <hjl.tools@gmail.com>
41133         [BZ #15627]
41134         * sysdeps/x86_64/rtld-memset.c: Remove file.
41135         * sysdeps/x86_64/rtld-memset.S: New file.
41137 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41139         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41140         (test_in_one_mode): Take arguments for whether the rounding mode
41141         is supported for each floating-point type.
41142         (do_test): Pass new arguments to test_in_one_mode using
41143         ROUNDING_TESTS.
41145 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41147         * posix/tst-waitid.c (do_test): Distinguish different instances of
41148         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41149         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41150         before entering the kernel for waitpid.
41152 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41154         * NEWS: Fix note on clock function precision.  Text by Roland
41155         McGrath.
41157 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41159         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41160         it into place only when and if the sanity check passes.
41162 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41164         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41165         output for whether conversion result is exact.  Take argument
41166         indicating whether type is IBM long double.
41167         (round_for_all): Change need_exact field to ibm_ld.
41168         * stdlib/tst-strtod-round.c (struct exactness): New type.
41169         (struct test): Change bool ld_ok field to struct exactness exact.
41170         (TEST): Update all definitions for change to field.
41171         (tests): Regenerate array contents.
41172         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41173         field value.  Check for IBM long double here.
41174         (do_test): Update calls to test_in_one_mode.
41176 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41178         [BZ #12515]
41179         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41180         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41182 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41184         [BZ #15605]
41185         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41186         generated by the compiler on loop optimizations.
41187         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41188         general definitions.
41190 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41192         * math/bug-nextafter.c: Include <math-tests.h>.
41193         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41194         the relevant type.
41195         * math/bug-nexttoward.c: Include <math-tests.h>.
41196         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41197         the relevant type.
41198         * math/test-misc.c: Include <math-tests.h>.
41199         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41200         the relevant type.
41202 2013-06-12  Andreas Jaeger  <aj@suse.de>
41204         * po/ia.po: Update Interlingua translation from translation
41205         project.
41207 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41209         * include/fenv.h: Include stdbool.h.
41210         (struct rm_ctx): New structure.
41211         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41212         Define macro.
41213         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41214         (SET_RESTORE_ROUNDF): Likewise.
41215         (SET_RESTORE_ROUNDL): Likewise.
41216         (SET_RESTORE_ROUND_NOEX): Likewise.
41217         (SET_RESTORE_ROUND_NOEXF): Likewise.
41218         (SET_RESTORE_ROUND_NOEXL): Likewise.
41219         (SET_RESTORE_ROUND_53BIT): Likewise.
41220         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41221         (libc_feresetround_noexf_ctx): Likewise.
41222         (libc_feresetround_noexl_ctx): Likewise.
41223         (libc_feholdsetround_53bit_ctx): Likewise.
41224         (libc_feresetround_53bit_ctx): Likewise.
41225         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41226         (libc_feholdexcept_setround_sse_ctx): New function.
41227         (libc_fesetenv_sse_ctx): Likewise.
41228         (libc_feupdateenv_sse_ctx): Likewise.
41229         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41230         (libc_feholdexcept_setround_387_ctx): Likewise.
41231         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41232         (libc_feholdsetround_387_prec_ctx): Likewise.
41233         (libc_feholdsetround_387_ctx): Likewise.
41234         (libc_feholdsetround_387_53bit_ctx): Likewise.
41235         (libc_feholdsetround_sse_ctx): Likewise.
41236         (libc_feresetround_sse_ctx): Likewise.
41237         (libc_feresetround_387_ctx): Likewise.
41238         (libc_feupdateenv_387_ctx): Likewise.
41239         (libc_feholdexcept_setroundf_ctx): Define macro.
41240         (libc_fesetenvf_ctx): Likewise.
41241         (libc_feupdateenvf_ctx): Likewise.
41242         (libc_feholdsetroundf_ctx): Likewise.
41243         (libc_feresetroundf_ctx): Likewise.
41244         (libc_feholdexcept_setround_ctx): Likewise.
41245         (libc_fesetenv_ctx): Likewise.
41246         (libc_feupdateenv_ctx): Likewise.
41247         (libc_feholdsetround_ctx): Likewise.
41248         (libc_feresetround_ctx): Likewise.
41249         (libc_feholdexcept_setroundl_ctx): Likewise.
41250         (libc_feupdateenvl_ctx): Likewise.
41251         (libc_feholdsetroundl_ctx): Likewise.
41252         (libc_feresetroundl_ctx): Likewise.
41253         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41254         (libc_feresetround_53bit_ctx): Likewise.
41256 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41258         * locale/iso-639.def: Convert to UTF-8.
41260 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41262         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41263         (EXCEPTION_TESTS_double): Likewise.
41264         (EXCEPTION_TESTS_long_double): Likewise.
41265         (EXCEPTION_TESTS): Likewise.
41266         * math/libm-test.inc (test_exceptions): Only test exceptions if
41267         EXCEPTION_TESTS (FLOAT).
41269 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41271         * benchtests/Makefile (string-bench): Add strcpy_chk and
41272         stpcpy_chk.
41273         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41274         * benchtests/bench-stpcpy_chk.c: New file.
41275         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41276         * benchtests/bench-strcpy_chk.c: New file.
41277         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41278         code.
41279         (do_test): Likewise.
41281 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41283         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41284         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41285         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41286         with tabs where appropriate.
41287         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41288         dl-procinfo.h.
41289         [PPC_PLATFORM_PPC440]: Likewise.
41290         [PPC_PLATFORM_PPC464]: Likewise.
41291         [PPC_PLATFORM_PPC476]: Likewise.
41292         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41293         ppc464, and ppc476 platform strings merging from ports/
41294         dl-procinfo.h.
41296 2013-06-11  Andreas Schwab  <schwab@suse.de>
41298         [BZ #14991]
41299         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41300         (from_ucs4_idx): Regenerate.
41301         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41302         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41303         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41304         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41305         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41306         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41307         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41308         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41309         from FROM_LOOP and TO_LOOP specific macros.
41310         (BODY): Handle combining characters.
41311         * iconvdata/BIG5HKSCS.irreversible: Update.
41312         * iconvdata/BIG5HKSCS.precomposed: New file.
41313         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41314         characters.
41315         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41317 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41319         * include/sys/time.h: Fix indentation and add copyright header.
41321         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41322         (do_test): Likewise.
41323         * string/test-memchr.c (do_one_test): Likewise.
41324         (do_test): Likewise.
41325         * string/test-memcmp.c (do_one_test): Likewise.
41326         (do_test): Likewise.
41327         * string/test-memcpy.c (do_one_test): Likewise.
41328         (do_test): Likewise.
41329         * string/test-memmem.c (do_one_test): Likewise.
41330         (do_test): Likewise.
41331         (do_random_tests): Likewise.
41332         * string/test-memmove.c (do_one_test): Likewise.
41333         (do_test): Likewise.
41334         * string/test-memset.c (do_one_test): Likewise.
41335         (do_test): Likewise.
41336         * string/test-rawmemchr.c (do_one_test): Likewise.
41337         (do_test): Likewise.
41338         * string/test-strcasecmp.c (do_one_test): Likewise.
41339         (do_test): Likewise.
41340         * string/test-strcasestr.c (do_one_test): Likewise.
41341         (do_test): Likewise.
41342         * string/test-strcat.c (do_one_test): Likewise.
41343         (do_test): Likewise.
41344         * string/test-strchr.c (do_one_test): Likewise.
41345         (do_test): Likewise.
41346         * string/test-strcmp.c (do_one_test): Likewise.
41347         (do_test): Likewise.
41348         * string/test-strcpy.c (do_one_test): Likewise.
41349         (do_test): Likewise.
41350         * string/test-string.h: Likewise.
41351         (test_init): Likewise.
41352         * string/test-strlen.c (do_one_test): Likewise.
41353         (do_test): Likewise.
41354         * string/test-strncasecmp.c (do_one_test): Likewise.
41355         (do_test): Likewise.
41356         * string/test-strncat.c (do_one_test): Likewise.
41357         (do_test): Likewise.
41358         * string/test-strncmp.c (do_one_test): Likewise.
41359         (do_test_limit): Likewise.
41360         (do_test): Likewise.
41361         * string/test-strncpy.c (do_one_test): Likewise.
41362         (do_test): Likewise.
41363         * string/test-strnlen.c (do_one_test): Likewise.
41364         (do_test): Likewise.
41365         * string/test-strpbrk.c (do_one_test): Likewise.
41366         (do_test): Likewise.
41367         * string/test-strrchr.c (do_one_test): Likewise.
41368         (do_test): Likewise.
41369         * string/test-strspn.c (do_one_test): Likewise.
41370         (do_test): Likewise.
41371         * string/test-strstr.c (do_one_test): Likewise.
41372         (do_test): Likewise.
41374         * benchtests/Makefile (string-bench): Add string benchmarks.
41375         * benchtests/bench-bcopy-ifunc.c: New file.
41376         * benchtests/bench-bcopy.c: New file.
41377         * benchtests/bench-bzero-ifunc.c: New file.
41378         * benchtests/bench-bzero.c: New file.
41379         * benchtests/bench-memccpy-ifunc.c: New file.
41380         * benchtests/bench-memccpy.c: New file.
41381         * benchtests/bench-memchr-ifunc.c: New file.
41382         * benchtests/bench-memchr.c: New file.
41383         * benchtests/bench-memcmp-ifunc.c: New file.
41384         * benchtests/bench-memcmp.c: New file.
41385         * benchtests/bench-memmem-ifunc.c: New file.
41386         * benchtests/bench-memmem.c: New file.
41387         * benchtests/bench-memmove-ifunc.c: New file.
41388         * benchtests/bench-memmove.c: New file.
41389         * benchtests/bench-mempcpy-ifunc.c: New file.
41390         * benchtests/bench-mempcpy.c: New file.
41391         * benchtests/bench-memset-ifunc.c: New file.
41392         * benchtests/bench-memset.c: New file.
41393         * benchtests/bench-rawmemchr-ifunc.c: New file.
41394         * benchtests/bench-rawmemchr.c: New file.
41395         * benchtests/bench-stpcpy-ifunc.c: New file.
41396         * benchtests/bench-stpcpy.c: New file.
41397         * benchtests/bench-stpncpy-ifunc.c: New file.
41398         * benchtests/bench-stpncpy.c: New file.
41399         * benchtests/bench-strcasecmp-ifunc.c: New file.
41400         * benchtests/bench-strcasecmp.c: New file.
41401         * benchtests/bench-strcasestr-ifunc.c: New file.
41402         * benchtests/bench-strcasestr.c: New file.
41403         * benchtests/bench-strcat-ifunc.c: New file.
41404         * benchtests/bench-strcat.c: New file.
41405         * benchtests/bench-strchr-ifunc.c: New file.
41406         * benchtests/bench-strchr.c: New file.
41407         * benchtests/bench-strchrnul-ifunc.c: New file.
41408         * benchtests/bench-strchrnul.c: New file.
41409         * benchtests/bench-strcmp-ifunc.c: New file.
41410         * benchtests/bench-strcmp.c: New file.
41411         * benchtests/bench-strcpy-ifunc.c: New file.
41412         * benchtests/bench-strcpy.c: New file.
41413         * benchtests/bench-strcspn-ifunc.c: New file.
41414         * benchtests/bench-strcspn.c: New file.
41415         * benchtests/bench-strlen-ifunc.c: New file.
41416         * benchtests/bench-strlen.c: New file.
41417         * benchtests/bench-strncasecmp-ifunc.c: New file.
41418         * benchtests/bench-strncasecmp.c: New file.
41419         * benchtests/bench-strncat-ifunc.c: New file.
41420         * benchtests/bench-strncat.c: New file.
41421         * benchtests/bench-strncmp-ifunc.c: New file.
41422         * benchtests/bench-strncmp.c: New file.
41423         * benchtests/bench-strncpy-ifunc.c: New file.
41424         * benchtests/bench-strncpy.c: New file.
41425         * benchtests/bench-strnlen-ifunc.c: New file.
41426         * benchtests/bench-strnlen.c: New file.
41427         * benchtests/bench-strpbrk-ifunc.c: New file.
41428         * benchtests/bench-strpbrk.c: New file.
41429         * benchtests/bench-strrchr-ifunc.c: New file.
41430         * benchtests/bench-strrchr.c: New file.
41431         * benchtests/bench-strspn-ifunc.c: New file.
41432         * benchtests/bench-strspn.c: New file.
41433         * benchtests/bench-strstr-ifunc.c: New file.
41434         * benchtests/bench-strstr.c: New file.
41436         * benchtests/Makefile: Disable parallel execution of targets.
41437         (string-bench): Add memcpy.
41438         (benchset): New variable to store a list of benchmark sets.
41439         (bench-func): Renamed from bench.
41440         (bench-set): New target.
41441         (bench): Depend on bench-func and bench-set.
41442         * benchtests/README: Add section on benchmark sets.
41443         * benchtests/bench-memcpy-ifunc.c: New file.
41444         * benchtests/bench-memcpy.c: New file.
41445         * benchtests/bench-string.h: New file.
41447 2013-06-11  Andreas Schwab  <schwab@suse.de>
41449         [BZ #15577]
41450         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41451         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41452         values in the triple.
41453         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41454         terminator in the group key.
41456 2013-06-11  Andreas Jaeger  <aj@suse.de>
41458         * po/zh_TW.po: Update Chinese (traditional) translation from
41459         translation project.
41461 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41463         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41464         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41465         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41466         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41467         (clock_getcpuclockid): Likewise.
41468         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41469         Add weak_alias and libc_hidden_def.
41470         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41471         * rt/clock_gettime.c (clock_gettime): Rename to
41472         __clock_gettime.  Add weak_alias and libc_hidden_def.
41473         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41474         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41475         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41476         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41477         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41478         Likewise.
41479         * rt/clock_settime.c (clock_settime): Rename to
41480         __clock_settime.  Add weak_alias and libc_hidden_def.
41481         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41483 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41485         * mach/err_boot.sub: Remove trailing whitespace.
41486         * mach/err_ipc.sub: Likewise.
41487         * mach/err_mach.sub: Likewise.
41489         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41490         (ROUNDING_TESTS_double): Likewise.
41491         (ROUNDING_TESTS_long_double): Likewise.
41492         (ROUNDING_TESTS): Likewise.
41493         * math/libm-test.inc: Include <math-tests.h>.
41494         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41495         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41496         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41497         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41499 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41501         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41502         of assigning.
41504 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41506         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41507         otherwise empty TRANS lines.
41508         * sysdeps/gnu/errlist.c: Regenerated.
41510         * catgets/gencat.c (error_print): Use (void) in function
41511         definition.
41512         * crypt/crypt_util.c (__init_des): Likewise.
41513         * crypt/speeds.c (Stop): Likewise.
41514         (main): Likewise.
41515         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41516         * inet/ruserpass.c (token): Likewise.
41517         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41518         * intl/localealias.c (extend_alias_table): Likewise.
41519         * intl/plural-exp.c (init_germanic_plural): Likewise.
41520         * libio/fcloseall.c (__fcloseall): Likewise.
41521         * libio/genops.c (_IO_flush_all): Likewise.
41522         (_IO_flush_all_linebuffered): Likewise.
41523         (_IO_cleanup): Likewise.
41524         (_IO_iter_begin): Likewise.
41525         (_IO_iter_end): Likewise.
41526         (_IO_list_lock): Likewise.
41527         (_IO_list_unlock): Likewise.
41528         (_IO_list_resetlock): Likewise.
41529         * libio/getchar.c (getchar): Likewise.
41530         * libio/getchar_u.c (getchar_unlocked): Likewise.
41531         * libio/getwchar.c (getwchar): Likewise.
41532         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41533         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41534         * login/getpt.c (__getpt): Likewise.
41535         * login/tst-utmp.c (main): Likewise.
41536         * malloc/hooks.c (__malloc_check_init): Likewise.
41537         * malloc/malloc.c (__malloc_stats): Likewise.
41538         * malloc/mtrace.c (tr_break): Likewise.
41539         (mtrace): Likewise.
41540         (muntrace): Likewise.
41541         * misc/fstab.c (endfsent): Likewise.
41542         * misc/getclktck.c (__getclktck): Likewise.
41543         * misc/getdtsz.c (__getdtablesize): Likewise.
41544         * misc/gethostid.c (gethostid): Likewise.
41545         * misc/getpagesize.c (__getpagesize): Likewise.
41546         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41547         (__get_nprocs): Likewise.
41548         (__get_phys_pages): Likewise.
41549         (__get_avphys_pages): Likewise.
41550         * misc/getttyent.c (getttyent): Likewise.
41551         (setttyent): Likewise.
41552         (endttyent): Likewise.
41553         * misc/getusershell.c (getusershell): Likewise.
41554         (endusershell): Likewise.
41555         (setusershell): Likewise.
41556         (initshells): Likewise.
41557         * misc/hsearch.c (__hdestroy): Likewise.
41558         * misc/sync.c (sync): Likewise.
41559         * misc/syslog.c (closelog_internal): Likewise.
41560         (closelog): Likewise.
41561         * misc/ttyslot.c (ttyslot): Likewise.
41562         * misc/vhangup.c (vhangup): Likewise.
41563         * posix/fork.c (__fork): Likewise.
41564         * posix/getegid.c (__getegid): Likewise.
41565         * posix/geteuid.c (__geteuid): Likewise.
41566         * posix/getgid.c (__getgid): Likewise.
41567         * posix/getpid.c (__getpid): Likewise.
41568         * posix/getppid.c (__getppid): Likewise.
41569         * posix/getuid.c (__getuid): Likewise.
41570         * posix/pause.c (pause): Likewise.
41571         * posix/setpgrp.c (setpgrp): Likewise.
41572         * posix/setsid.c (__setsid): Likewise.
41573         * posix/test-vfork.c (noop): Likewise.
41574         * resolv/gethnamaddr.c (_endhtent): Likewise.
41575         (_gethtent): Likewise.
41576         (ht_endhostent): Likewise.
41577         (gethostent): Likewise.
41578         (dns_service): Likewise.
41579         * stdlib/drand48.c (drand48): Likewise.
41580         * stdlib/lrand48.c (lrand48): Likewise.
41581         * stdlib/mrand48.c (mrand48): Likewise.
41582         * stdlib/rand.c (rand): Likewise.
41583         * stdlib/random.c (__random): Likewise.
41584         * stdlib/setenv.c (clearenv): Likewise.
41585         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41586         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41587         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41588         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41589         (__get_nprocs): Likewise.
41590         (__get_phys_pages): Likewise.
41591         (__get_avphys_pages): Likewise.
41592         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41593         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41594         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41595         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41596         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41597         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41598         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41599         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41600         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41601         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41602         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41603         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41604         * sysdeps/posix/clock.c (clock): Likewise.
41605         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41606         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41607         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41608         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41609         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41610         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41611         (__get_nprocs_conf): Likewise.
41612         (__get_phys_pages): Likewise.
41613         (__get_avphys_pages): Likewise.
41614         * time/clock.c (clock): Likewise.
41615         * time/tzset.c (__tzname_max): Likewise.
41617 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41619         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41620         (__bswap_32): Do not use "register".
41621         * crypt/crypt.c (_ufc_doit_r): Likewise.
41622         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41623         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41624         * gmon/gmon.c (__monstartup): Likewise.
41625         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41626         * hurd/hurdmalloc.c (more_memory): Likewise.
41627         (malloc): Likewise.
41628         (free): Likewise.
41629         (realloc): Likewise.
41630         (malloc_fork_prepare): Likewise.
41631         (malloc_fork_parent): Likewise.
41632         (malloc_fork_child): Likewise.
41633         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41634         (_svcauth_des): Likewise.
41635         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41636         * inet/inet_net.c (inet_network): Likewise.
41637         * inet/inet_netof.c (inet_netof): Likewise.
41638         * inet/rcmd.c (__validuser2_sa): Likewise.
41639         * io/fts.c (fts_open): Likewise.
41640         (fts_load): Likewise.
41641         (fts_close): Likewise.
41642         (fts_read): Likewise.
41643         (fts_children): Likewise.
41644         (fts_build): Likewise.
41645         (fts_stat): Likewise.
41646         (fts_sort): Likewise.
41647         (fts_alloc): Likewise.
41648         (fts_lfree): Likewise.
41649         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41650         (_IO_file_xsgetn): Likewise.
41651         (_IO_file_xsgetn_mmap): Likewise.
41652         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41653         (_IO_cookie_write): Likewise.
41654         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41655         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41656         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41657         * malloc/obstack.c (_obstack_begin): Likewise.
41658         (_obstack_begin_1): Likewise.
41659         (_obstack_newchunk): Likewise.
41660         (_obstack_allocated_p): Likewise.
41661         (obstack_free): Likewise.
41662         (_obstack_memory_used): Likewise.
41663         * misc/getttyent.c (getttynam): Likewise.
41664         (getttyent): Likewise.
41665         (skip): Likewise.
41666         (value): Likewise.
41667         * misc/getusershell.c (initshells): Likewise.
41668         * misc/syslog.c (__vsyslog_chk): Likewise.
41669         * misc/ttyslot.c (ttyslot): Likewise.
41670         * nis/nis_hash.c (__nis_hash): Likewise.
41671         * posix/fnmatch_loop.c (FCT): Likewise.
41672         * posix/getconf.c (print_all): Likewise.
41673         (main): Likewise.
41674         * posix/getopt.c (exchange): Likewise.
41675         * posix/glob.c (globfree): Likewise.
41676         (prefix_array): Likewise.
41677         (__glob_pattern_type): Likewise.
41678         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41679         (NS_GET32): Likewise.
41680         (NS_PUT16): Likewise.
41681         (NS_PUT32): Likewise.
41682         * resolv/gethnamaddr.c (getanswer): Likewise.
41683         (gethostbyname2): Likewise.
41684         (gethostbyaddr): Likewise.
41685         (_gethtent): Likewise.
41686         (_gethtbyname2): Likewise.
41687         (_gethtbyaddr): Likewise.
41688         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41689         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41690         * resolv/res_init.c (__res_vinit): Likewise.
41691         (net_mask): Likewise.
41692         * resolv/res_mkquery.c (outchar): Likewise.
41693         (PRINT): Likewise.
41694         * stdio-common/printf_fp.c (outchar): Likewise.
41695         (PRINT): Likewise.
41696         * stdio-common/printf_fphex.c (outchar): Likewise.
41697         (PRINT): Likewise.
41698         * stdio-common/printf_size.c (outchar): Likewise.
41699         (PRINT): Likewise.
41700         * stdio-common/test_rdwr.c (main): Likewise.
41701         * stdio-common/tfformat.c (matches): Likewise.
41702         * stdio-common/vfprintf.c (outchar): Likewise.
41703         (printf_unknown): Likewise.
41704         (buffered_vfprintf): Likewise.
41705         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41706         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41707         (ReadFile): Likewise.
41708         * stdlib/qsort.c (SWAP): Likewise.
41709         (_quicksort): Likewise.
41710         * stdlib/setenv.c (__add_to_environ): Likewise.
41711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41712         * stdlib/strtol_l.c (__strtol_l): Likewise.
41713         * stdlib/tst-strtod.c (main): Likewise.
41714         * stdlib/tst-strtol.c (main): Likewise.
41715         * stdlib/tst-strtoll.c (main): Likewise.
41716         * string/bits/string2.h (__strcmp_cc): Likewise.
41717         (__strcmp_cg): Likewise.
41718         (__strcspn_c1): Likewise.
41719         (__strcspn_c2): Likewise.
41720         (__strcspn_c3): Likewise.
41721         (__strspn_c1): Likewise.
41722         (__strspn_c2): Likewise.
41723         (__strspn_c3): Likewise.
41724         (__strsep_1c): Likewise.
41725         (__strsep_2c): Likewise.
41726         (__strsep_3c): Likewise.
41727         * string/memccpy.c (__memccpy): Likewise.
41728         * string/stpcpy.c (__stpcpy): Likewise.
41729         * string/strcmp.c (strcmp): Likewise.
41730         * string/strrchr.c (strrchr): Likewise.
41731         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41732         Likewise.
41733         * sysdeps/mach/hurd/getcwd.c
41734         (_hurd_canonicalize_directory_name_internal): Likewise.
41735         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41736         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41737         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41738         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41739         Likewise, in both definitions.
41740         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41741         definitions.
41742         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41743         64] (__bswap_64): Likewise.
41744         * time/test_time.c (main): Likewise.
41745         * time/tzfile.c (__tzfile_read): Likewise.
41746         (__tzfile_compute): Likewise.
41747         * time/tzset.c (__tzset_parse_tz): Likewise.
41748         (tzset_internal): Likewise.
41749         (compute_change): Likewise.
41750         * wcsmbs/wcscat.c (__wcscat): Likewise.
41751         * wcsmbs/wcschr.c (wcschr): Likewise.
41752         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41753         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41754         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41755         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41756         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41757         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41758         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41759         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41760         * wcsmbs/wmemset.c (wmemset): Likewise.
41762 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41764         * scripts/config.guess: Update to version 2013-05-16.
41765         * scripts/config.sub: Update to version 2013-04-24.
41766         * scripts/install-sh: Update to version 2011-11-20.07.
41767         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41768         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41770 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41772         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41773         * elf/sln.c: Likewise.
41774         * hurd/hurd/ioctl.h: Likewise.
41775         * hurd/hurdmalloc.c: Likewise.
41776         * hurd/xattr.c: Likewise.
41777         * include/shlib-compat.h: Likewise.
41778         * inet/ruserpass.c: Likewise.
41779         * libio/iofgets_u.c: Likewise.
41780         * libio/iofgetws_u.c: Likewise.
41781         * locale/programs/ld-identification.c: Likewise.
41782         * locale/programs/ld-time.c: Likewise.
41783         * mach/msg-destroy.c: Likewise.
41784         * nss/nss_files/files-netgrp.c: Likewise.
41785         * resolv/res_data.c: Likewise.
41786         * soft-fp/op-1.h: Likewise.
41787         * soft-fp/op-2.h: Likewise.
41788         * soft-fp/op-4.h: Likewise.
41789         * soft-fp/op-common.h: Likewise.
41790         * stdio-common/printf_fphex.c: Likewise.
41791         * stdlib/strtod_l.c: Likewise.
41792         * sunrpc/rpc/clnt.h: Likewise.
41793         * sysdeps/generic/framestate.c: Likewise.
41794         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41795         * sysdeps/i386/bsd-setjmp.S: Likewise.
41796         * sysdeps/i386/__longjmp.S: Likewise.
41797         * sysdeps/i386/setjmp.S: Likewise.
41798         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41799         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41801         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41802         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41803         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41804         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41805         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41806         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41807         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41808         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41809         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41810         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41811         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41812         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41813         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41814         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41815         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41816         * sysdeps/ieee754/support.c: Likewise.
41817         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41818         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41819         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41820         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41821         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41822         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41823         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41824         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41825         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41826         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41827         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41828         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41829         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41830         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41831         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41832         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41833         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41836 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41838         * posix/transbug.c: Remove executable mode.
41840 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41842         * crypt/speeds.c: Remove trailing whitespace.
41843         * dlfcn/default.c: Likewise.
41844         * elf/ifuncdep2.c: Likewise.
41845         * elf/ifuncmain1.c: Likewise.
41846         * elf/ifuncmain1vis.c: Likewise.
41847         * elf/testobj.h: Likewise.
41848         * elf/tst-stackguard1.c: Likewise.
41849         * gmon/sys/gmon.h: Likewise.
41850         * hurd/hurdmsg.c: Likewise.
41851         * hurd/new-fd.c: Likewise.
41852         * hurd/ports-get.c: Likewise.
41853         * iconvdata/ibm1008_420.c: Likewise.
41854         * inet/tst-getni1.c: Likewise.
41855         * inet/tst-getni2.c: Likewise.
41856         * libio/ioungetc.c: Likewise.
41857         * libio/wfiledoalloc.c: Likewise.
41858         * manual/libm-err-tab.pl: Likewise.
41859         * math/w_dremf.c: Likewise.
41860         * misc/ftruncate.c: Likewise.
41861         * posix/bug-glob2.c: Likewise.
41862         * posix/tst-pcre.c: Likewise.
41863         * posix/wait4.c: Likewise.
41864         * resolv/README: Likewise.
41865         * resolv/res_debug.h: Likewise.
41866         * resolv/tst-inet_ntop.c: Likewise.
41867         * setjmp/bug269-setjmp.c: Likewise.
41868         * soft-fp/extended.h: Likewise.
41869         * soft-fp/op-1.h: Likewise.
41870         * soft-fp/op-2.h: Likewise.
41871         * soft-fp/op-4.h: Likewise.
41872         * soft-fp/op-8.h: Likewise.
41873         * soft-fp/testit.c: Likewise.
41874         * stdio-common/bug16.c: Likewise.
41875         * stdlib/random.c: Likewise.
41876         * sunrpc/rpcsvc/rquota.x: Likewise.
41877         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41878         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41880         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41881         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41882         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41883         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41884         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41885         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41886         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41887         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41904         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41905         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41906         * sysdeps/ieee754/s_lib_version.c: Likewise.
41907         * sysdeps/mach/hurd/check_fds.c: Likewise.
41908         * sysdeps/mach/hurd/getsockname.c: Likewise.
41909         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41910         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41911         * sysdeps/powerpc/bits/link.h: Likewise.
41912         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41913         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41914         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41915         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41916         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41917         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41918         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41919         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41920         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41921         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41922         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41923         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41924         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41925         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41926         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41927         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41928         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41929         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41930         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41931         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41932         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41933         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41935         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41936         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41937         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41938         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41939         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41940         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41941         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41942         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41943         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41944         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41945         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41946         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41947         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41948         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41949         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41950         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41951         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41952         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41953         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41954         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41955         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41956         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41957         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41958         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41959         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41960         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41961         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41964         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41965         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41966         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41967         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41968         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41969         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41970         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41971         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41972         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41973         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41974         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41975         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41976         * sysdeps/powerpc/sysdep.h: Likewise.
41977         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41978         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41979         * sysdeps/sh/dl-trampoline.S: Likewise.
41980         * sysdeps/sh/memset.S: Likewise.
41981         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41982         * sysdeps/sh/strlen.S: Likewise.
41983         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41984         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41985         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41986         * sysdeps/sparc/sparc32/rem.S: Likewise.
41987         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41988         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41989         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41990         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41991         * sysdeps/sparc/sparc32/urem.S: Likewise.
41992         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41993         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41994         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41995         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41997         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41998         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41999         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42000         * sysdeps/unix/bsd/times.c: Likewise.
42001         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42002         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42006         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42007         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42008         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42009         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42010         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42011         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42012         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42013         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42014         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42015         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42016         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42017         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42018         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42019         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42020         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42021         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42022         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42023         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42024         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42025         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42026         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42027         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42028         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42029         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42030         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42031         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42032         * sysdeps/x86_64/strcspn.S: Likewise.
42034 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42036         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42037         generated file.  Regenerate properly from gen-translit.pl.
42038         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42039         locale/C-translit.h.
42041 2013-06-05  Andreas Schwab  <schwab@suse.de>
42043         [BZ #15100]
42044         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42045         week as 6 instead of -1.
42046         * time/tst-strptime.c (day_tests): Add test case.
42048 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42050         * sysdeps/generic/math_private.h
42051         (libc_feholdexcept_setround_53bit): Replace with
42052         libc_feholdsetround_53bit.
42053         (libc_feupdateenv_53bit): Replace with
42054         libc_feresetround_53bit.
42055         (SET_RESTORE_ROUND_53BIT): Adjust.
42057 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42059         * string/test-strchrnul.c: Add copyright header.
42061         * posix/tst-getaddrinfo4.c: Increase test timeout.
42063 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42065         [BZ #15536]
42066         * math/libm-test.inc (MAX_EXP): Remove
42067         (MIN_EXP): Define.
42068         (ulp): Use MIN_EXP - MANT_DIG.
42069         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42071 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42073         * po/be.po: Revert last change.
42074         * po/zh_CN.po: Likewise.
42075         * po/header.pot: Likewise.
42077 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42079         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42080         link-libc-deps to empty as target-specific variable.
42081         * Makerules (link-libc-args): New variable.
42082         (libc-for-link): Likewise.
42083         (link-libc-deps): Likewise.
42084         (lib%.so): Depend on $(link-libc-deps).  Link with
42085         $(link-libc-args).
42086         (build-module): Link with $(link-libc-args).
42087         (build-module-asneeded): Likewise.
42088         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42089         list of objects.
42090         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42091         target-specific variable.
42092         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42093         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42094         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42095         libc.
42096         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42097         libc and ld.so.
42098         ($(objpfx)libpcprofile.so): Likewise.
42099         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42100         libc_nonshared.a.
42101         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42102         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42103         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42104         $(link-libc-deps).
42105         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42106         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42107         * login/Makefile ($(objpfx)libutil.so): Likewise.
42108         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42109         * math/Makefile ($(objpfx)libm.so): Likewise.
42110         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42111         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42112         variable instead of depending directly on libc.
42113         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42114         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42115         $(link-libc-deps).
42116         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42117         libc.
42118         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42119         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42120         ($(objpfx)libanl.so): Likewise.
42121         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42122         ld.so.
42123         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42124         $(link-libc-deps).
42125         * sysdeps/i386/fpu/Makefile: Remove file.
42126         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42127         ($(objpfx)libm.so): Remove dependency on ld.so.
42129 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42131         [BZ # 15553]
42132         * nis/yp_xdr.c (XDRMAXNAME): Define.
42133         (XDRMAXRECORD): Define.
42134         (xdr_domainname): Use XDRMAXNAME.
42135         (xdr_mapname): Likewise.
42136         (xdr_peername): Likewise.
42137         (xdr_keydat): Use XDRMAXRECORD.
42138         (xdr_valdat): Likewise.
42140 2013-05-30  Jeff Law  <law@redhat.com>
42142         [BZ #14256]
42143         * manual/errno.texi (ESTALE): Update to account for more than
42144         just NFS file systems.
42145         * sysdeps/gnu/errlist.c: Regenerated.
42147 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42149         [BZ #15465]
42150         * elf/Makefile (tests): Add tst-null-argv.
42151         (modules-names):  Add tst-null-argv-lib.
42152         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42153         (tst-null-argv-ENV): Set environment for tst-null-argv.
42154         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42155         (RTLD_PROGNAME): New macro.
42156         * elf/tst-null-argv.c: New test case.
42157         * elf/tst-null-argv-lib.c: Library for test case.
42158         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42159         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42160         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42161         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42162         * elf/dl-init.c (call_init): Likewise.
42163         (_dl_init): Likewise.
42164         * elf/dl-load.c (print_search_path): Likewise.
42165         (_dl_map_object): Likewise.
42166         * elf/dl-lookup.c (do_lookup_x): Likewise.
42167         (add_dependency): Likewise.
42168         (_dl_lookup_symbol_x): Likewise.
42169         (_dl_debug_bindings): Likewise.
42170         * elf/dl-open.c (_dl_show_scope): Likewise.
42171         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42172         * elf/dl-version.c (match_symbol): Likewise.
42173         (_dl_check_map_versions): Likewise.
42174         * elf/rtld.c (dl_main): Likewise.
42175         (print_unresolved): Use RTLD_PROGNAME.
42176         (print_missing_version): Likewise.
42177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42178         (elf_machine_rela): Likewise.
42179         * sysdeps/powerpc/powerpc32/dl-machine.c
42180         (__process_machine_rela): Likewise.
42181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42182         Likewise.
42183         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42184         Likewise.
42185         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42186         Likewise.
42187         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42189         Likewise.
42190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42191         Likewise.
42192         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42194 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42196         * po/be.po: Add descriptive title.
42197         * po/zh_CN.po: Likewise.
42198         * po/header.pot: Likewise.
42200 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42202         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42203         error message.
42204         (enlarge_archive): Likewise.
42206 2013-05-28  Ben North  <ben@redfrontdoor.org>
42208         * manual/arith.texi (frexp): It is the magnitude of the return
42209         value which lies in [0.5, 1), not the return value itself.
42211 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42215 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42217         * stdio-common/bug26.c (main): Correct fscanf template.
42219         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42220         declare _dl_skip_args.
42222         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42223         Don't declare.
42225         * manual/platform.texi: Add missing @end deftypefun.
42227 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42229         [BZ #15529]
42230         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42231         bit of mantissa of 2^16382.
42232         * math/libm-test.inc (hypot_test_data): Add more tests.
42234         * math/libm-test.inc: Add drem and pow10 to list of tested
42235         functions.
42236         (pow10_test): New function.
42237         (drem_test): Likewise.
42238         (drem_test_tonearest): Likewise.
42239         (drem_test_towardzero): Likewise.
42240         (drem_test_downward): Likewise.
42241         (drem_test_upward): Likewise.
42242         (main): Call the new functions.
42244         * math/libm-test.inc (finite_test_data): Remove.
42245         (finite_test): Run tests from isfinite_test_data.
42246         (gamma_test_data): Remove.
42247         (gamma_test): Run tests from lgamma_test_data.
42248         * sysdeps/i386/fpu/libm-test-ulps: Update.
42249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42251 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42253         * manual/platform.texi: Add PowerPC PPR function set documentation.
42254         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42255         implementation.
42257 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42259         * math/libm-test.inc (MAX_EXP): Define.
42260         (ULPDIFF): Define.
42261         (ulp): New function.
42262         (check_float_internal): Use ULPDIFF.
42263         (cpow_test): Disable failing test.
42264         (check_ulp): Test ulp() implemetnation.
42265         (main): Call check_ulp before starting tests.
42267 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42269         * math/gen-libm-test.pl (generate_testfile): Do not handle
42270         START_DATA and END_DATA.
42271         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42272         END_DATA.
42273         (acos_tonearest_test_data): Likewise.
42274         (acos_towardzero_test_data): Likewise.
42275         (acos_downward_test_data): Likewise.
42276         (acos_upward_test_data): Likewise.
42277         (acosh_test_data): Likewise.
42278         (asin_test_data): Likewise.
42279         (asin_tonearest_test_data): Likewise.
42280         (asin_towardzero_test_data): Likewise.
42281         (asin_downward_test_data): Likewise.
42282         (asin_upward_test_data): Likewise.
42283         (asinh_test_data): Likewise.
42284         (atan_test_data): Likewise.
42285         (atanh_test_data): Likewise.
42286         (atan2_test_data): Likewise.
42287         (cabs_test_data): Likewise.
42288         (cacos_test_data): Likewise.
42289         (cacosh_test_data): Likewise.
42290         (carg_test_data): Likewise.
42291         (casin_test_data): Likewise.
42292         (casinh_test_data): Likewise.
42293         (catan_test_data): Likewise.
42294         (catanh_test_data): Likewise.
42295         (cbrt_test_data): Likewise.
42296         (ccos_test_data): Likewise.
42297         (ccosh_test_data): Likewise.
42298         (ceil_test_data): Likewise.
42299         (cexp_test_data): Likewise.
42300         (cimag_test_data): Likewise.
42301         (clog_test_data): Likewise.
42302         (clog10_test_data): Likewise.
42303         (conj_test_data): Likewise.
42304         (copysign_test_data): Likewise.
42305         (cos_test_data): Likewise.
42306         (cos_tonearest_test_data): Likewise.
42307         (cos_towardzero_test_data): Likewise.
42308         (cos_downward_test_data): Likewise.
42309         (cos_upward_test_data): Likewise.
42310         (cosh_test_data): Likewise.
42311         (cosh_tonearest_test_data): Likewise.
42312         (cosh_towardzero_test_data): Likewise.
42313         (cosh_downward_test_data): Likewise.
42314         (cosh_upward_test_data): Likewise.
42315         (cpow_test_data): Likewise.
42316         (cproj_test_data): Likewise.
42317         (creal_test_data): Likewise.
42318         (csin_test_data): Likewise.
42319         (csinh_test_data): Likewise.
42320         (csqrt_test_data): Likewise.
42321         (ctan_test_data): Likewise.
42322         (ctan_tonearest_test_data): Likewise.
42323         (ctan_towardzero_test_data): Likewise.
42324         (ctan_downward_test_data): Likewise.
42325         (ctan_upward_test_data): Likewise.
42326         (ctanh_test_data): Likewise.
42327         (ctanh_tonearest_test_data): Likewise.
42328         (ctanh_towardzero_test_data): Likewise.
42329         (ctanh_downward_test_data): Likewise.
42330         (ctanh_upward_test_data): Likewise.
42331         (erf_test_data): Likewise.
42332         (erfc_test_data): Likewise.
42333         (exp_test_data): Likewise.
42334         (exp_tonearest_test_data): Likewise.
42335         (exp_towardzero_test_data): Likewise.
42336         (exp_downward_test_data): Likewise.
42337         (exp_upward_test_data): Likewise.
42338         (exp10_test_data): Likewise.
42339         (exp2_test_data): Likewise.
42340         (expm1_test_data): Likewise.
42341         (fabs_test_data): Likewise.
42342         (fdim_test_data): Likewise.
42343         (finite_test_data): Likewise.
42344         (floor_test_data): Likewise.
42345         (fma_test_data): Likewise.
42346         (fma_towardzero_test_data): Likewise.
42347         (fma_downward_test_data): Likewise.
42348         (fma_upward_test_data): Likewise.
42349         (fmax_test_data): Likewise.
42350         (fmin_test_data): Likewise.
42351         (fmod_test_data): Likewise.
42352         (fpclassify_test_data): Likewise.
42353         (frexp_test_data): Likewise.
42354         (gamma_test_data): Likewise.
42355         (hypot_test_data): Likewise.
42356         (ilogb_test_data): Likewise.
42357         (isfinite_test_data): Likewise.
42358         (isgreater_test_data): Likewise.
42359         (isgreaterequal_test_data): Likewise.
42360         (isinf_test_data): Likewise.
42361         (isless_test_data): Likewise.
42362         (islessequal_test_data): Likewise.
42363         (islessgreater_test_data): Likewise.
42364         (isnan_test_data): Likewise.
42365         (isnormal_test_data): Likewise.
42366         (issignaling_test_data): Likewise.
42367         (isunordered_test_data): Likewise.
42368         (j0_test_data): Likewise.
42369         (j1_test_data): Likewise.
42370         (jn_test_data): Likewise.
42371         (ldexp_test_data): Likewise.
42372         (lgamma_test_data): Likewise.
42373         (lrint_test_data): Likewise.
42374         (lrint_tonearest_test_data): Likewise.
42375         (lrint_towardzero_test_data): Likewise.
42376         (lrint_downward_test_data): Likewise.
42377         (lrint_upward_test_data): Likewise.
42378         (llrint_test_data): Likewise.
42379         (llrint_tonearest_test_data): Likewise.
42380         (llrint_towardzero_test_data): Likewise.
42381         (llrint_downward_test_data): Likewise.
42382         (llrint_upward_test_data): Likewise.
42383         (log_test_data): Likewise.
42384         (log10_test_data): Likewise.
42385         (log1p_test_data): Likewise.
42386         (log2_test_data): Likewise.
42387         (logb_test_data): Likewise.
42388         (logb_downward_test_data): Likewise.
42389         (lround_test_data): Likewise.
42390         (llround_test_data): Likewise.
42391         (modf_test_data): Likewise.
42392         (nearbyint_test_data): Likewise.
42393         (nextafter_test_data): Likewise.
42394         (nexttoward_test_data): Likewise.
42395         (pow_test_data): Likewise.
42396         (pow_tonearest_test_data): Likewise.
42397         (pow_towardzero_test_data): Likewise.
42398         (pow_downward_test_data): Likewise.
42399         (pow_upward_test_data): Likewise.
42400         (remainder_test_data): Likewise.
42401         (remainder_tonearest_test_data): Likewise.
42402         (remainder_towardzero_test_data): Likewise.
42403         (remainder_downward_test_data): Likewise.
42404         (remainder_upward_test_data): Likewise.
42405         (remquo_test_data): Likewise.
42406         (rint_test_data): Likewise.
42407         (rint_tonearest_test_data): Likewise.
42408         (rint_towardzero_test_data): Likewise.
42409         (rint_downward_test_data): Likewise.
42410         (rint_upward_test_data): Likewise.
42411         (round_test_data): Likewise.
42412         (scalb_test_data): Likewise.
42413         (scalbn_test_data): Likewise.
42414         (scalbln_test_data): Likewise.
42415         (signbit_test_data): Likewise.
42416         (sin_test_data): Likewise.
42417         (sin_tonearest_test_data): Likewise.
42418         (sin_towardzero_test_data): Likewise.
42419         (sin_downward_test_data): Likewise.
42420         (sin_upward_test_data): Likewise.
42421         (sincos_test_data): Likewise.
42422         (sinh_test_data): Likewise.
42423         (sinh_tonearest_test_data): Likewise.
42424         (sinh_towardzero_test_data): Likewise.
42425         (sinh_downward_test_data): Likewise.
42426         (sinh_upward_test_data): Likewise.
42427         (sqrt_test_data): Likewise.
42428         (tan_test_data): Likewise.
42429         (tan_tonearest_test_data): Likewise.
42430         (tan_towardzero_test_data): Likewise.
42431         (tan_downward_test_data): Likewise.
42432         (tan_upward_test_data): Likewise.
42433         (tanh_test_data): Likewise.
42434         (tgamma_test_data): Likewise.
42435         (trunc_test_data): Likewise.
42436         (y0_test_data): Likewise.
42437         (y1_test_data): Likewise.
42438         (yn_test_data): Likewise.
42439         (significand_test_data): Likewise.
42441         * math/gen-libm-test.pl (@functions): Remove variable.
42442         (generate_testfile): Don't handle START and END lines.
42443         * math/libm-test.inc (START): New macro.
42444         (END): Likewise.
42445         (END_COMPLEX): Likewise.
42446         (acos_test): Use END macro without arguments.
42447         (acos_test_tonearest): Likewise.
42448         (acos_test_towardzero): Likewise.
42449         (acos_test_downward): Likewise.
42450         (acos_test_upward): Likewise.
42451         (acosh_test): Likewise.
42452         (asin_test): Likewise.
42453         (asin_test_tonearest): Likewise.
42454         (asin_test_towardzero): Likewise.
42455         (asin_test_downward): Likewise.
42456         (asin_test_upward): Likewise.
42457         (asinh_test): Likewise.
42458         (atan_test): Likewise.
42459         (atanh_test): Likewise.
42460         (atan2_test): Likewise.
42461         (cabs_test): Likewise.
42462         (cacos_test): Use END_COMPLEX macro without arguments.
42463         (cacosh_test): Likewise.
42464         (carg_test): Use END macro without arguments.
42465         (casin_test): Use END_COMPLEX macro without arguments.
42466         (casinh_test): Likewise.
42467         (catan_test): Likewise.
42468         (catanh_test): Likewise.
42469         (cbrt_test): Use END macro without arguments.
42470         (ccos_test): Use END_COMPLEX macro without arguments.
42471         (ccosh_test): Likewise.
42472         (ceil_test): Use END macro without arguments.
42473         (cexp_test): Use END_COMPLEX macro without arguments.
42474         (cimag_test): Use END macro without arguments.
42475         (clog_test): Use END_COMPLEX macro without arguments.
42476         (clog10_test): Likewise.
42477         (conj_test): Likewise.
42478         (copysign_test): Use END macro without arguments.
42479         (cos_test): Likewise.
42480         (cos_test_tonearest): Likewise.
42481         (cos_test_towardzero): Likewise.
42482         (cos_test_downward): Likewise.
42483         (cos_test_upward): Likewise.
42484         (cosh_test): Likewise.
42485         (cosh_test_tonearest): Likewise.
42486         (cosh_test_towardzero): Likewise.
42487         (cosh_test_downward): Likewise.
42488         (cosh_test_upward): Likewise.
42489         (cpow_test): Use END_COMPLEX macro without arguments.
42490         (cproj_test): Likewise.
42491         (creal_test): Use END macro without arguments.
42492         (csin_test): Use END_COMPLEX macro without arguments.
42493         (csinh_test): Likewise.
42494         (csqrt_test): Likewise.
42495         (ctan_test): Likewise.
42496         (ctan_test_tonearest): Likewise.
42497         (ctan_test_towardzero): Likewise.
42498         (ctan_test_downward): Likewise.
42499         (ctan_test_upward): Likewise.
42500         (ctanh_test): Likewise.
42501         (ctanh_test_tonearest): Likewise.
42502         (ctanh_test_towardzero): Likewise.
42503         (ctanh_test_downward): Likewise.
42504         (ctanh_test_upward): Likewise.
42505         (erf_test): Use END macro without arguments.
42506         (erfc_test): Likewise.
42507         (exp_test): Likewise.
42508         (exp_test_tonearest): Likewise.
42509         (exp_test_towardzero): Likewise.
42510         (exp_test_downward): Likewise.
42511         (exp_test_upward): Likewise.
42512         (exp10_test): Likewise.
42513         (exp2_test): Likewise.
42514         (expm1_test): Likewise.
42515         (fabs_test): Likewise.
42516         (fdim_test): Likewise.
42517         (finite_test): Likewise.
42518         (floor_test): Likewise.
42519         (fma_test): Likewise.
42520         (fma_test_towardzero): Likewise.
42521         (fma_test_downward): Likewise.
42522         (fma_test_upward): Likewise.
42523         (fmax_test): Likewise.
42524         (fmin_test): Likewise.
42525         (fmod_test): Likewise.
42526         (fpclassify_test): Likewise.
42527         (frexp_test): Likewise.
42528         (gamma_test): Likewise.
42529         (hypot_test): Likewise.
42530         (ilogb_test): Likewise.
42531         (isfinite_test): Likewise.
42532         (isgreater_test): Likewise.
42533         (isgreaterequal_test): Likewise.
42534         (isinf_test): Likewise.
42535         (isless_test): Likewise.
42536         (islessequal_test): Likewise.
42537         (islessgreater_test): Likewise.
42538         (isnan_test): Likewise.
42539         (isnormal_test): Likewise.
42540         (issignaling_test): Likewise.
42541         (isunordered_test): Likewise.
42542         (j0_test): Likewise.
42543         (j1_test): Likewise.
42544         (jn_test): Likewise.
42545         (ldexp_test): Likewise.
42546         (lgamma_test): Likewise.
42547         (lrint_test): Likewise.
42548         (lrint_test_tonearest): Likewise.
42549         (lrint_test_towardzero): Likewise.
42550         (lrint_test_downward): Likewise.
42551         (lrint_test_upward): Likewise.
42552         (llrint_test): Likewise.
42553         (llrint_test_tonearest): Likewise.
42554         (llrint_test_towardzero): Likewise.
42555         (llrint_test_downward): Likewise.
42556         (llrint_test_upward): Likewise.
42557         (log_test): Likewise.
42558         (log10_test): Likewise.
42559         (log1p_test): Likewise.
42560         (log2_test): Likewise.
42561         (logb_test): Likewise.
42562         (logb_test_downward): Likewise.
42563         (lround_test): Likewise.
42564         (llround_test): Likewise.
42565         (modf_test): Likewise.
42566         (nearbyint_test): Likewise.
42567         (nextafter_test): Likewise.
42568         (nexttoward_test): Likewise.
42569         (pow_test): Likewise.
42570         (pow_test_tonearest): Likewise.
42571         (pow_test_towardzero): Likewise.
42572         (pow_test_downward): Likewise.
42573         (pow_test_upward): Likewise.
42574         (remainder_test): Likewise.
42575         (remainder_test_tonearest): Likewise.
42576         (remainder_test_towardzero): Likewise.
42577         (remainder_test_downward): Likewise.
42578         (remainder_test_upward): Likewise.
42579         (remquo_test): Likewise.
42580         (rint_test): Likewise.
42581         (rint_test_tonearest): Likewise.
42582         (rint_test_towardzero): Likewise.
42583         (rint_test_downward): Likewise.
42584         (rint_test_upward): Likewise.
42585         (round_test): Likewise.
42586         (scalb_test): Likewise.
42587         (scalbn_test): Likewise.
42588         (scalbln_test): Likewise.
42589         (signbit_test): Likewise.
42590         (sin_test): Likewise.
42591         (sin_test_tonearest): Likewise.
42592         (sin_test_towardzero): Likewise.
42593         (sin_test_downward): Likewise.
42594         (sin_test_upward): Likewise.
42595         (sincos_test): Likewise.
42596         (sinh_test): Likewise.
42597         (sinh_test_tonearest): Likewise.
42598         (sinh_test_towardzero): Likewise.
42599         (sinh_test_downward): Likewise.
42600         (sinh_test_upward): Likewise.
42601         (sqrt_test): Likewise.
42602         (tan_test): Likewise.
42603         (tan_test_tonearest): Likewise.
42604         (tan_test_towardzero): Likewise.
42605         (tan_test_downward): Likewise.
42606         (tan_test_upward): Likewise.
42607         (tanh_test): Likewise.
42608         (tgamma_test): Likewise.
42609         (trunc_test): Likewise.
42610         (y0_test): Likewise.
42611         (y1_test): Likewise.
42612         (yn_test): Likewise.
42613         (significand_test): Likewise.
42615 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42617         [BZ #15381]
42618         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42620 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42622         [BZ #14894]
42623         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42624         __ppc_mdoio and __ppc_mdoom.
42625         * manual/platform.texi: Document new functions __ppc_yield,
42626         __ppc_mdoio and __ppc_mdoom.
42628 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42630         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42631         (main): Mention "tls" pseudo-hwcap is legacy.
42632         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42634 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42636         * math/gen-libm-test.pl (parse_args): Output only string of
42637         arguments as text for test name, not full call or descriptions of
42638         tests for extra outputs.
42639         (generate_testfile): Do not pass function name to parse_args.
42640         Generate this_func variable from START.
42641         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42642         field to arg_str.
42643         (struct test_ff_f_data): Likewise.
42644         (test_ff_f_data_nexttoward): Likewise.
42645         (struct test_fi_f_data): Likewise.
42646         (struct test_fl_f_data): Likewise.
42647         (struct test_if_f_data): Likewise.
42648         (struct test_fff_f_data): Likewise.
42649         (struct test_c_f_data): Likewise.
42650         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42651         (struct test_fF_f1_data): Likewise.
42652         (struct test_ffI_f1_data): Likewise.
42653         (struct test_c_c_data): Rename test_name field to arg_str.
42654         (struct test_cc_c_data): Likewise.
42655         (struct test_f_i_data): Likewise.
42656         (struct test_ff_i_data): Likewise.
42657         (struct test_f_l_data): Likewise.
42658         (struct test_f_L_data): Likewise.
42659         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42660         and extra2_name.
42661         (COMMON_TEST_SETUP): New macro.
42662         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42663         (COMMON_TEST_CLEANUP): Likewise.
42664         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42665         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42666         macros.
42667         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42668         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42669         macros.
42670         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42671         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42672         cleanup macros.
42673         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42674         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42675         macros.
42676         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42677         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42678         macros.
42679         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42680         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42681         cleanup macros.
42682         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42683         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42684         cleanup macros.
42685         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42686         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42687         cleanup macros.
42688         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42689         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42690         macros.
42691         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42692         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42693         macros.
42694         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42695         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42696         macros.
42697         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42698         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42699         cleanup macros.
42700         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42701         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42702         cleanup macros.
42703         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42704         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42705         macros.
42706         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42707         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42708         cleanup macros.
42709         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42710         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42711         macros.
42712         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42713         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42714         macros.
42715         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42716         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42717         cleanup macros.
42718         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42720 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42722         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42723         to _sifields.sigfault.
42724         (si_addr_lsb): Define new macro.
42725         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42726         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42727         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42729 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42731         [BZ #15441]
42732         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42733         returns -1.
42734         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42735         null return -1.
42736         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42737         loading the domain.
42739 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42741         * math/gen-libm-test.pl (parse_args): Do not include expected
42742         result in test name.
42743         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42744         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42745         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42746         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42747         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42750 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42752         * benchtests/Makefile: Sort function entries.
42754         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42755         tanh, asinh, acosh, atanh.
42756         * benchtests/acos-inputs: New file.
42757         * benchtests/acosh-inputs: New file.
42758         * benchtests/asin-inputs: New file.
42759         * benchtests/asinh-inputs: New file.
42760         * benchtests/atanh-inputs: New file.
42761         * benchtests/cosh-inputs: New file.
42762         * benchtests/log-inputs: New file.
42763         * benchtests/sinh-inputs: New file.
42764         * benchtests/tanh-inputs: New file.
42766 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42768         [BZ #15339]
42769         * posix/tst-getaddrinfo4.c: New test.
42770         * posix/Makefile (tests): Add it.
42772 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42774         [BZ #15339]
42775         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42776         when no services were used.
42777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42778         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42780 2013-05-21  Andreas Schwab  <schwab@suse.de>
42782         [BZ #15014]
42783         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42784         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42785         successful.
42786         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42787         redundant variable declarations and reallocation of buffer when
42788         parsing as IPv6 address.  Always set NSS status when called from
42789         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42790         buffer too small.  Correct computation of needed size.
42791         * nss/Makefile (tests): Add test-digits-dots.
42792         * nss/test-digits-dots.c: New test.
42794 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42796         * benchtests/Makefile: Remove instructions for adding
42797         benchmark tests.
42798         * benchtests/README: New file to explain how to execute and
42799         enhance the benchmark tests.
42801 2013-05-21  Andreas Schwab  <schwab@suse.de>
42803         [BZ #15493]
42804         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42805         * setjmp/tst-sigsetjmp.c: New test.
42807 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42809         * sysdeps/x86_64/memset.S (memset): New implementation.
42810         (__bzero): Likewise.
42811         (__memset_tail): New function.
42813 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42815         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42816         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42817         __memcpy_sse2_unaligned ifunc selection.
42818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42819         Add memcpy-sse2-unaligned.S.
42820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42821         Add: __memcpy_sse2_unaligned.
42823 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42825         [BZ #15490]
42826         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42827         math_force_eval before restoring floating-point envrionment.
42828         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42830         Likewise.
42831         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42832         <math_private.h>.
42833         (__nearbyintl): Use math_force_eval before restoring
42834         floating-point environment.
42835         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42837         * math/gen-libm-test.pl (special_functions): Remove.
42838         (parse_args): Don't handle TEST_extra.  Handle functions with no
42839         return value.
42840         * math/libm-test.inc (struct test_sincos_data): Replace with
42841         struct test_fFF_11_data.
42842         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42843         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42844         (sincos_test_data): Change element type to struct
42845         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42846         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42847         RUN_TEST_LOOP_sincos.
42848         * math/README.libm-test: Don't mention special handling of
42849         individual functions.
42850         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42851         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42852         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42853         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42854         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42857         * math/gen-libm-test.pl (get_variable): Remove function.
42858         (parse_args): Don't show pointer parameters to call in test
42859         names.  Use "extra output N" in test names for extra outputs
42860         rather than naming variables.
42862 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42864         [BZ #15488]
42865         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42866         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42867         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42868         double tests.
42869         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42870         disable.
42871         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42872         check_long_double.
42874         * math/gen-libm-test.pl (@tests): Remove variable.
42875         ($count): Likewise.
42876         (new_test): Remove function.
42877         (show_exceptions): New function.
42878         (special_functions): Use show_exceptions instead of new_test.
42879         (parse_args): Likewise.
42880         (generate_testfile): Pass only function name in generated call to
42881         print_max_error or print_complex_max_error.
42882         (get_ulps): Do not handle complex tests specially.
42883         (output_test): Rename to ...
42884         (get_all_ulps_for_test): ... this.  Return a string rather than
42885         printing to a file.  Require ulps to be present.
42886         (output_ulps): Generate arrays rather than #defines.
42887         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42888         (struct ulp_data): New type.
42889         (BUILD_COMPLEX_ULP): Remove macro.
42890         (compare_ulp_data): New function.
42891         (find_ulps): Likewise.
42892         (find_test_ulps): Likewise.
42893         (find_function_ulps): Likewise.
42894         (find_complex_function_ulps): Likewise.
42895         (print_max_error): Determine allowed ulps using
42896         find_function_ulps.
42897         (print_complex_max_error): Determine allowed ulps using
42898         find_complex_function_ulps.
42899         (check_float_internal): Determine max ulps using find_test_ulps.
42900         (check_float): Do not take max_ulp parameter.  Update call to
42901         check_float_internal.
42902         (check_complex): Likewise.
42903         (check_int): Do not take max_ulp parameter.
42904         (check_long): Likewise.
42905         (check_bool): Likewise.
42906         (check_longlong): Likewise.
42907         (struct test_f_f_data): Remove max_ulp field.
42908         (struct test_ff_f_data): Likewise.
42909         (struct test_ff_f_data_nexttoward): Likewise.
42910         (struct test_fi_f_data): Likewise.
42911         (struct test_fl_f_data): Likewise.
42912         (struct test_if_f_data): Likewise.
42913         (struct test_fff_f_data): Likewise.
42914         (struct test_c_f_data): Likewise.
42915         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42916         (struct test_fF_f1_data): Likewise.
42917         (struct test_ffI_f1_data): Likewise.
42918         (struct test_c_c_data): Remove max_ulp field.
42919         (struct test_cc_c_data): Likewise.
42920         (struct test_f_i_data): Likewise.
42921         (struct test_ff_i_data): Likewise.
42922         (struct test_f_l_data): Likewise.
42923         (struct test_f_L_data): Likewise.
42924         (struct test_sincos_data): Likewise.
42925         (RUN_TEST_f_f): Do not handle ulps.
42926         (RUN_TEST_LOOP_f_f): Likewise.
42927         (RUN_TEST_2_f): Likewise.
42928         (RUN_TEST_LOOP_2_f): Likewise.
42929         (RUN_TEST_fff_f): Likewise.
42930         (RUN_TEST_LOOP_fff_f): Likewise.
42931         (RUN_TEST_c_f): Likewise.
42932         (RUN_TEST_LOOP_c_f): Likewise.
42933         (RUN_TEST_f_f1): Likewise.
42934         (RUN_TEST_LOOP_f_f1): Likewise.
42935         (RUN_TEST_fF_f1): Likewise.
42936         (RUN_TEST_LOOP_fF_f1): Likewise.
42937         (RUN_TEST_fI_f1): Likewise.
42938         (RUN_TEST_LOOP_fI_f1): Likewise.
42939         (RUN_TEST_ffI_f1): Likewise.
42940         (RUN_TEST_LOOP_ffI_f1): Likewise.
42941         (RUN_TEST_c_c): Likewise.
42942         (RUN_TEST_LOOP_c_c): Likewise.
42943         (RUN_TEST_cc_c): Likewise.
42944         (RUN_TEST_LOOP_cc_c): Likewise.
42945         (RUN_TEST_f_i): Likewise.
42946         (RUN_TEST_LOOP_f_i): Likewise.
42947         (RUN_TEST_f_i_tg): Likewise.
42948         (RUN_TEST_LOOP_f_i_tg): Likewise.
42949         (RUN_TEST_ff_i_tg): Likewise.
42950         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42951         (RUN_TEST_f_b): Likewise.
42952         (RUN_TEST_LOOP_f_b): Likewise.
42953         (RUN_TEST_f_b_tg): Likewise.
42954         (RUN_TEST_LOOP_f_b_tg): Likewise.
42955         (RUN_TEST_f_l): Likewise.
42956         (RUN_TEST_LOOP_f_l): Likewise.
42957         (RUN_TEST_f_L): Likewise.
42958         (RUN_TEST_LOOP_f_L): Likewise.
42959         (RUN_TEST_sincos): Likewise.
42960         (RUN_TEST_LOOP_sincos): Likewise.
42962 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42964         [BZ #15480]
42965         [BZ #15485]
42966         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42967         main case of finite arguments, set rounding mode to FE_TONEAREST
42968         and discard exceptions.
42969         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42970         exceptions.
42971         (remainder_tonearest_test_data): New variable.
42972         (remainder_test_tonearest): New function.
42973         (remainder_towardzero_test_data): New variable.
42974         (remainder_test_towardzero): New function.
42975         (remainder_downward_test_data): New variable.
42976         (remainder_test_downward): New function.
42977         (remainder_upward_test_data): New variable.
42978         (remainder_test_upward): New function.
42979         (main): Call the new test functions.
42981         * math/libm-test.inc (struct test_f_f1_data): Remove field
42982         extra_init.
42983         (struct test_fF_f1_data): Likewise.
42984         (struct test_ffI_f1_data): Likewise.
42985         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42986         based on value of EXTRA_EXPECTED.
42987         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42988         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42989         EXTRA_VAR based on value of EXTRA_EXPECTED.
42990         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42991         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42992         EXTRA_VAR based on value of EXTRA_EXPECTED.
42993         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42994         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42995         EXTRA_VAR based on value of EXTRA_EXPECTED.
42996         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42997         * math/gen-libm-test.pl (parse_args): Don't output initializers
42998         for extra output values.
43000         * math/libm-test.inc (check_int): Expect result to be exactly
43001         equal to expected value and do not handle ulps.
43002         (check_long): Likewise.
43003         (check_longlong): Likewise.
43005         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43006         exceptions.
43007         (cimag_test_data): Likewise.
43008         (conj_test_data): Likewise.
43009         (copysign_test_data): Likewise.
43010         (cproj_test_data): Likewise.
43011         (creal_test_data): Likewise.
43012         (fabs_test_data): Likewise.
43013         (fdim_test_data): Likewise.
43014         (finite_test_data): Likewise.
43015         (floor_test_data): Likewise.
43016         (fmax_test_data): Likewise.
43017         (fmin_test_data): Likewise.
43018         (fmod_test_data): Likewise.
43019         (fpclassify_test_data): Likewise.
43020         (frexp_test_data): Likewise.
43021         (ilogb_test_data): Likewise.
43022         (isfinite_test_data): Likewise.
43023         (isgreater_test_data): Likewise.
43024         (isgreaterequal_test_data): Likewise.
43025         (isinf_test_data): Likewise.
43026         (isless_test_data): Likewise.
43027         (islessequal_test_data): Likewise.
43028         (islessgreater_test_data): Likewise.
43029         (isnan_test_data): Likewise.
43030         (isnormal_test_data): Likewise.
43031         (issignaling_test_data): Likewise.
43032         (isunordered_test_data): Likewise.
43033         (ldexp_test_data): Likewise.
43034         (lrint_test_data): Likewise.
43035         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43036         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43037         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43038         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43039         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43040         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43041         test input.
43042         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43043         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43044         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43045         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43046         that test input.
43047         (lrint_downward_test_data): Test for "inexact" exceptions.
43048         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43049         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43050         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43051         test input.
43052         (lrint_upward_test_data): Test for "inexact" exceptions.
43053         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43054         test input.
43055         (llrint_test_data): Test for "inexact" exceptions.
43056         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43057         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43058         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43059         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43060         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43061         (llrint_downward_test_data): Test for "inexact" exceptions.
43062         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43063         (llrint_upward_test_data): Test for "inexact" exceptions.
43064         (logb_test_data): Likewise.
43065         (logb_downward_test_data): Likewise.
43066         (nextafter_test_data): Likewise.
43067         (nexttoward_test_data): Likewise.
43068         (remainder_test_data): Likewise.
43069         (remquo_test_data): Likewise.
43070         (scalbn_test_data): Likewise.
43071         (scalbln_test_data): Likewise.
43072         (signbit_test_data): Likewise.
43073         (sqrt_test_data): Likewise.
43074         (significand_test_data): Likewise.
43076 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43078         [BZ #15424]
43079         * benchtests/bench-modf.c (struct args): Mark arg0 as
43080         volatile.
43081         * scripts/bench.pl: Mark members of struct args as volatile.
43083 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43085         [BZ # 15497]
43086         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43087         negative infinity on POWER6 or lower.
43088         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43090 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43092         [BZ #15442]
43093         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43094         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43095         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43096         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43097         (_FP_SETQNAN): New macro.
43098         (_FP_SETQNAN_SEMIRAW): Likewise.
43099         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43100         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43101         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43102         (FP_EXTEND): Use _FP_FRAC_SNANP.
43103         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43104         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43105         into account.
43106         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43107         New macro.
43108         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43109         Likewise.
43111 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43113         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43114         with DIVIDE_BY_ZERO_EXCEPTION.
43115         (gamma_test_data): Likewise.
43116         (lgamma_test_data): Likewise.
43117         (log_test_data): Likewise.
43118         (log10_test_data): Likewise.
43119         (log2_test_data): Likewise.
43120         (tgamma_test_data): Likewise.
43122         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43123         (acos_test_tonearest): Likewise.
43124         (acos_test_towardzero): Likewise.
43125         (acos_test_downward): Likewise.
43126         (acos_test_upward): Likewise.
43127         (acosh_test): Likewise.
43128         (asin_test): Likewise.
43129         (asin_test_tonearest): Likewise.
43130         (asin_test_towardzero): Likewise.
43131         (asin_test_downward): Likewise.
43132         (asin_test_upward): Likewise.
43133         (asinh_test): Likewise.
43134         (atan_test): Likewise.
43135         (atanh_test): Likewise.
43136         (atan2_test): Likewise.
43137         (cabs_test): Likewise.
43138         (cacos_test): Likewise.
43139         (cacosh_test): Likewise.
43140         (casin_test): Likewise.
43141         (casinh_test): Likewise.
43142         (catan_test): Likewise.
43143         (catanh_test): Likewise.
43144         (cbrt_test): Likewise.
43145         (ccos_test): Likewise.
43146         (ccosh_test): Likewise.
43147         (cexp_test): Likewise.
43148         (clog_test): Likewise.
43149         (clog10_test): Likewise.
43150         (cos_test): Likewise.
43151         (cos_test_tonearest): Likewise.
43152         (cos_test_towardzero): Likewise.
43153         (cos_test_downward): Likewise.
43154         (cos_test_upward): Likewise.
43155         (cosh_test): Likewise.
43156         (cosh_test_tonearest): Likewise.
43157         (cosh_test_towardzero): Likewise.
43158         (cosh_test_downward): Likewise.
43159         (cosh_test_upward): Likewise.
43160         (cpow_test): Likewise.
43161         (csin_test): Likewise.
43162         (csinh_test): Likewise.
43163         (csqrt_test): Likewise.
43164         (ctan_test): Likewise.
43165         (ctan_test_tonearest): Likewise.
43166         (ctan_test_towardzero): Likewise.
43167         (ctan_test_downward): Likewise.
43168         (ctan_test_upward): Likewise.
43169         (ctanh_test): Likewise.
43170         (ctanh_test_tonearest): Likewise.
43171         (ctanh_test_towardzero): Likewise.
43172         (ctanh_test_downward): Likewise.
43173         (ctanh_test_upward): Likewise.
43174         (erf_test): Likewise.
43175         (erfc_test): Likewise.
43176         (exp_test): Likewise.
43177         (exp_test_tonearest): Likewise.
43178         (exp_test_towardzero): Likewise.
43179         (exp_test_downward): Likewise.
43180         (exp_test_upward): Likewise.
43181         (exp10_test): Likewise.
43182         (exp2_test): Likewise.
43183         (expm1_test): Likewise.
43184         (fmod_test): Likewise.
43185         (gamma_test): Likewise.
43186         (hypot_test): Likewise.
43187         (j0_test): Likewise.
43188         (j1_test): Likewise.
43189         (jn_test): Likewise.
43190         (lgamma_test): Likewise.
43191         (log_test): Likewise.
43192         (log10_test): Likewise.
43193         (log1p_test): Likewise.
43194         (log2_test): Likewise.
43195         (logb_test_downward): Likewise.
43196         (pow_test): Likewise.
43197         (pow_test_tonearest): Likewise.
43198         (pow_test_towardzero): Likewise.
43199         (pow_test_downward): Likewise.
43200         (pow_test_upward): Likewise.
43201         (remainder_test): Likewise.
43202         (remquo_test): Likewise.
43203         (sin_test): Likewise.
43204         (sin_test_tonearest): Likewise.
43205         (sin_test_towardzero): Likewise.
43206         (sin_test_downward): Likewise.
43207         (sin_test_upward): Likewise.
43208         (sincos_test): Likewise.
43209         (sinh_test): Likewise.
43210         (sinh_test_tonearest): Likewise.
43211         (sinh_test_towardzero): Likewise.
43212         (sinh_test_downward): Likewise.
43213         (sinh_test_upward): Likewise.
43214         (sqrt_test): Likewise.
43215         (tan_test): Likewise.
43216         (tan_test_tonearest): Likewise.
43217         (tan_test_towardzero): Likewise.
43218         (tan_test_downward): Likewise.
43219         (tan_test_upward): Likewise.
43220         (tanh_test): Likewise.
43221         (tgamma_test): Likewise.
43222         (y0_test): Likewise.
43223         (y1_test): Likewise.
43224         (yn_test): Likewise.
43226         * math/gen-libm-test.pl (adjust_arg): Remove function.
43227         (special_function): Remove argument $in_func.  Only handle
43228         generating output for tables of tests, not inside functions.
43229         (parse_args): Likewise.
43230         (generate_testfile): Remove variable $in_func.  Update call to
43231         parse_args.
43232         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43233         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43234         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43235         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43236         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43237         (MAX_VALUE_INIT): Rename macro to max_value.
43238         (MIN_VALUE_INIT): Rename macro to min_value.
43239         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43240         (plus_zero): Remove variable.
43241         (minus_zero): Likewise.
43242         (plus_infty): Likewise.
43243         (minus_infty): Likewise.
43244         (qnan_value): Likewise.
43245         (max_value): Likewise.
43246         (min_value): Likewise.
43247         (min_subnorm_value): Likewise.
43249 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43251         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43252         uint64_t or uint32_t usage.
43253         * crypt/sha256-block.c: Likewise.
43254         * crypt/sha256-crypt.c: Likewise.
43255         * crypt/sha256.c: Likewise.
43256         * crypt/sha512-block.c: Likewise.
43257         * crypt/sha512-crypt.c: Likewise.
43258         * crypt/sha512.c: Likewise.
43259         * debug/backtrace-tst.c: Likewise.
43260         * debug/pcprofiledump.c: Likewise.
43261         * elf/cache.c: Likewise.
43262         * elf/dl-cache.c: Likewise.
43263         * elf/dl-misc.c: Likewise.
43264         * elf/dl-profile.c: Likewise.
43265         * elf/dl-support.c: Likewise.
43266         * elf/ldconfig.c: Likewise.
43267         * elf/sprof.c: Likewise.
43268         * iconv/dummy-repertoire.c: Likewise.
43269         * iconv/iconv_charmap.c: Likewise.
43270         * iconv/skeleton.c: Likewise.
43271         * iconvdata/8bit-generic.c: Likewise.
43272         * iconvdata/cp737.h: Likewise.
43273         * iconvdata/cp775.h: Likewise.
43274         * iconvdata/ibm1008.h: Likewise.
43275         * iconvdata/ibm1025.h: Likewise.
43276         * iconvdata/ibm1046.h: Likewise.
43277         * iconvdata/ibm1097.h: Likewise.
43278         * iconvdata/ibm1112.h: Likewise.
43279         * iconvdata/ibm1122.h: Likewise.
43280         * iconvdata/ibm1123.h: Likewise.
43281         * iconvdata/ibm1124.h: Likewise.
43282         * iconvdata/ibm1129.h: Likewise.
43283         * iconvdata/ibm1130.h: Likewise.
43284         * iconvdata/ibm1132.h: Likewise.
43285         * iconvdata/ibm1133.h: Likewise.
43286         * iconvdata/ibm1137.h: Likewise.
43287         * iconvdata/ibm1140.h: Likewise.
43288         * iconvdata/ibm1141.h: Likewise.
43289         * iconvdata/ibm1142.h: Likewise.
43290         * iconvdata/ibm1143.h: Likewise.
43291         * iconvdata/ibm1144.h: Likewise.
43292         * iconvdata/ibm1145.h: Likewise.
43293         * iconvdata/ibm1146.h: Likewise.
43294         * iconvdata/ibm1147.h: Likewise.
43295         * iconvdata/ibm1148.h: Likewise.
43296         * iconvdata/ibm1149.h: Likewise.
43297         * iconvdata/ibm1153.h: Likewise.
43298         * iconvdata/ibm1154.h: Likewise.
43299         * iconvdata/ibm1155.h: Likewise.
43300         * iconvdata/ibm1156.h: Likewise.
43301         * iconvdata/ibm1157.h: Likewise.
43302         * iconvdata/ibm1158.h: Likewise.
43303         * iconvdata/ibm1160.h: Likewise.
43304         * iconvdata/ibm1161.h: Likewise.
43305         * iconvdata/ibm1162.h: Likewise.
43306         * iconvdata/ibm1163.h: Likewise.
43307         * iconvdata/ibm1164.h: Likewise.
43308         * iconvdata/ibm1166.h: Likewise.
43309         * iconvdata/ibm1167.h: Likewise.
43310         * iconvdata/ibm12712.h: Likewise.
43311         * iconvdata/ibm1390.h: Likewise.
43312         * iconvdata/ibm1399.h: Likewise.
43313         * iconvdata/ibm16804.h: Likewise.
43314         * iconvdata/ibm4517.h: Likewise.
43315         * iconvdata/ibm4899.h: Likewise.
43316         * iconvdata/ibm4909.h: Likewise.
43317         * iconvdata/ibm4971.h: Likewise.
43318         * iconvdata/ibm5347.h: Likewise.
43319         * iconvdata/ibm803.h: Likewise.
43320         * iconvdata/ibm856.h: Likewise.
43321         * iconvdata/ibm901.h: Likewise.
43322         * iconvdata/ibm902.h: Likewise.
43323         * iconvdata/ibm9030.h: Likewise.
43324         * iconvdata/ibm9066.h: Likewise.
43325         * iconvdata/ibm921.h: Likewise.
43326         * iconvdata/ibm922.h: Likewise.
43327         * iconvdata/ibm9448.h: Likewise.
43328         * iconvdata/isiri-3342.h: Likewise.
43329         * iconvdata/jis0201.h: Likewise.
43330         * include/link.h: Likewise.
43331         * include/netdb.h: Likewise.
43332         * inet/check_native.c: Likewise.
43333         * inet/check_pf.c: Likewise.
43334         * inet/getipv4sourcefilter.c: Likewise.
43335         * inet/getnameinfo.c: Likewise.
43336         * inet/getsourcefilter.c: Likewise.
43337         * inet/htonl.c: Likewise.
43338         * inet/setipv4sourcefilter.c: Likewise.
43339         * inet/setsourcefilter.c: Likewise.
43340         * inet/test-inet6_opt.c: Likewise.
43341         * inet/tst-network.c: Likewise.
43342         * locale/C-collate.c: Likewise.
43343         * locale/C-ctype.c: Likewise.
43344         * locale/C-time.c: Likewise.
43345         * locale/C-translit.h: Likewise.
43346         * locale/loadarchive.c: Likewise.
43347         * locale/programs/3level.h: Likewise.
43348         * locale/programs/charmap.c: Likewise.
43349         * locale/programs/charmap.h: Likewise.
43350         * locale/programs/ld-address.c: Likewise.
43351         * locale/programs/ld-collate.c: Likewise.
43352         * locale/programs/ld-ctype.c: Likewise.
43353         * locale/programs/ld-identification.c: Likewise.
43354         * locale/programs/ld-measurement.c: Likewise.
43355         * locale/programs/ld-messages.c: Likewise.
43356         * locale/programs/ld-monetary.c: Likewise.
43357         * locale/programs/ld-name.c: Likewise.
43358         * locale/programs/ld-numeric.c: Likewise.
43359         * locale/programs/ld-paper.c: Likewise.
43360         * locale/programs/ld-telephone.c: Likewise.
43361         * locale/programs/ld-time.c: Likewise.
43362         * locale/programs/linereader.c: Likewise.
43363         * locale/programs/locale.c: Likewise.
43364         * locale/programs/locarchive.c: Likewise.
43365         * locale/programs/locfile.h: Likewise.
43366         * locale/programs/repertoire.c: Likewise.
43367         * locale/programs/simple-hash.c: Likewise.
43368         * locale/programs/simple-hash.h: Likewise.
43369         * malloc/memusage.c: Likewise.
43370         * malloc/memusagestat.c: Likewise.
43371         * nis/nis_defaults.c: Likewise.
43372         * nis/nis_hash.c: Likewise.
43373         * nis/nis_print.c: Likewise.
43374         * nis/nis_xdr.c: Likewise.
43375         * nscd/connections.c: Likewise.
43376         * nscd/hstcache.c: Likewise.
43377         * nscd/nscd_gethst_r.c: Likewise.
43378         * nscd/nscd_getserv_r.c: Likewise.
43379         * nscd/nscd_helper.c: Likewise.
43380         * nscd/servicescache.c: Likewise.
43381         * nss/makedb.c: Likewise.
43382         * nss/nss_db/db-XXX.c: Likewise.
43383         * nss/nss_db/db-initgroups.c: Likewise.
43384         * nss/nss_db/db-netgrp.c: Likewise.
43385         * nss/nss_files/files-network.c: Likewise.
43386         * nss/nss_files/files-parse.c: Likewise.
43387         * posix/bug-regex5.c: Likewise.
43388         * posix/fnmatch_loop.c: Likewise.
43389         * posix/regcomp.c: Likewise.
43390         * posix/regexec.c: Likewise.
43391         * posix/tst-rfc3484-2.c: Likewise.
43392         * posix/tst-rfc3484-3.c: Likewise.
43393         * posix/tst-rfc3484.c: Likewise.
43394         * resolv/nss_dns/dns-canon.c: Likewise.
43395         * resolv/nss_dns/dns-network.c: Likewise.
43396         * resolv/res_init.c: Likewise.
43397         * resolv/res_mkquery.c: Likewise.
43398         * resolv/tst-aton.c: Likewise.
43399         * stdlib/cxa_atexit.c: Likewise.
43400         * stdlib/cxa_finalize.c: Likewise.
43401         * stdlib/gen-fpioconst.c: Likewise.
43402         * stdlib/strtol_l.c: Likewise.
43403         * string/tst-endian.c: Likewise.
43404         * sunrpc/auth_des.c: Likewise.
43405         * sunrpc/clnt_udp.c: Likewise.
43406         * sunrpc/rtime.c: Likewise.
43407         * sunrpc/svcauth_des.c: Likewise.
43408         * sunrpc/xdr.c: Likewise.
43409         * sunrpc/xdr_intXX_t.c: Likewise.
43410         * sunrpc/xdr_rec.c: Likewise.
43411         * sysdeps/generic/ldconfig.h: Likewise.
43412         * sysdeps/generic/ldsodefs.h: Likewise.
43413         * sysdeps/generic/memusage.h: Likewise.
43414         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43415         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43417         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43418         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43419         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43420         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43421         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43422         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43424         * sysdeps/posix/getaddrinfo.c: Likewise.
43425         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43426         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43427         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43428         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43429         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43430         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43431         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43432         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43433         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43434         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43435         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43436         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43437         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43438         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43439         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43440         * sysdeps/x86_64/dl-tls.h: Likewise.
43441         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43442         * time/alt_digit.c: Likewise.
43443         * time/era.c: Likewise.
43444         * wcsmbs/tst-c16c32-1.c: Likewise.
43446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43448         * math/libm-test.inc (struct test_sincos_data): New type.
43449         (RUN_TEST_LOOP_sincos): New macro.
43450         (sincos_test_data): New variable.
43451         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43453 2013-05-16  Richard Henderson  <rth@redhat.com>
43455         * math/atest-exp2.c (LIMB64): New macro.
43456         (CONSTSZ): New macro.
43457         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43458         (hexdig): Move ...
43459         (print_mpn_fp): ... to function scope.
43460         (read_mpn_hex): Remove.
43461         (get_log2): Remove.
43462         (exp2_mpn): Use mp_log2.
43463         (main): Use mp_exp1.
43465 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43467         * math/libm-test.inc: Remove comment about not testing "inexact"
43468         exceptions.
43469         (INEXACT_EXCEPTION): New macro.
43470         (NO_INEXACT_EXCEPTION): Likewise.
43471         (INVALID_EXCEPTION_OK): Update value.
43472         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43473         (OVERFLOW_EXCEPTION_OK): Likewise.
43474         (UNDERFLOW_EXCEPTION_OK): Likewise.
43475         (IGNORE_ZERO_INF_SIGN): Likewise.
43476         (ERRNO_UNCHANGED): Likewise.
43477         (ERRNO_EDOM): Likewise.
43478         (ERRNO_ERANGE): Likewise.
43479         (test_exceptions): Handle testing "inexact" exceptions.
43480         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43481         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43482         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43483         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43484         INEXACT_EXCEPTION.
43485         (rint_towardzero_test_data): Likewise.
43486         (rint_downward_test_data): Likewise.
43487         (rint_upward_test_data): Likewise.
43489         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43490         with OVERFLOW_EXCEPTION.
43491         (exp10_test_data): Likewise.
43492         (exp2_test_data): Likewise.
43493         (expm1_test_data): Likewise.
43494         (lgamma_test_data): Likewise.
43495         (pow_test_data): Likewise.
43496         (tgamma_test_data): Likewise.
43497         (yn_test_data): Remove duplicate test of overflow.
43499         * math/libm-test.inc (struct test_cc_c_data): New type.
43500         (RUN_TEST_LOOP_cc_c): New macro.
43501         (cpow_test_data): New variable.
43502         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43504         * math/libm-test.inc (struct test_f_L_data): New type.
43505         (RUN_TEST_LOOP_f_L): New macro.
43506         (llrint_test_data): New variable.
43507         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43508         (llrint_tonearest_test_data): New variable.
43509         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43510         (llrint_towardzero_test_data): New variable.
43511         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43512         (llrint_downward_test_data): New variable.
43513         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43514         (llrint_upward_test_data): New variable.
43515         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43516         (llround_test_data): New variable.
43517         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43519 2013-05-13  Peter Collingbourne  <pcc@google.com>
43521         * math/atest-exp2.c (get_log2): Remove const attribute.
43523 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43525         * math/libm-test.inc (struct test_f_l_data): New type.
43526         (RUN_TEST_LOOP_f_l): New macro.
43527         (lrint_test_data): New variable.
43528         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43529         (lrint_tonearest_test_data): New variable.
43530         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43531         (lrint_towardzero_test_data): New variable.
43532         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43533         (lrint_downward_test_data): New variable.
43534         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43535         (lrint_upward_test_data): New variable.
43536         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43537         (lround_test_data): New variable.
43538         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43540 2013-05-15  Peter Collingbourne  <pcc@google.com>
43542         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43543         (EXTRACT_WORDS64) Use where appropriate.
43544         (INSERT_WORDS64) Likewise.
43546         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43547         constraints with x constraints.
43548         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43550         * malloc/obstack.c (_obstack_compat): Add initializer.
43552 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43554         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43555         si_trapno and add si_addr_lsb to _sifields.sigfault.
43556         (si_trapno): Remove macro.
43557         (si_addr_lsb): Define new macro.
43558         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43560 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43562         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43563         instead of TEST_f_l.
43564         (llrint_test_tonearest): Likewise.
43565         (llrint_test_towardzero): Likewise.
43566         (llrint_test_downward): Likewise.
43567         (llrint_test_upward): Likewise.
43568         (llround_test): Likewise.
43570         * math/libm-test.inc (struct test_f_i_data): Add comment.
43571         (RUN_TEST_LOOP_f_b): New macro.
43572         (RUN_TEST_LOOP_f_b_tg): Likewise.
43573         (finite_test_data): New variable.
43574         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43575         (isfinite_test_data): New variable.
43576         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43577         (isinf_test_data): New variable.
43578         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43579         (isnan_test_data): New variable.
43580         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43581         (isnormal_test_data): New variable.
43582         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43583         (issignaling_test_data): New variable.
43584         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43585         (signbit_test_data): New variable.
43586         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43588         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43589         with INVALID_EXCEPTION.
43590         (acosh_test_data): Likewise.
43591         (asin_test_data): Likewise.
43592         (atanh_test_data): Likewise.
43593         (fmod_test_data): Likewise.
43594         (log_test_data): Likewise.
43595         (log10_test_data): Likewise.
43596         (log2_test_data): Likewise.
43597         (pow_test_data): Likewise.
43598         (sqrt_test_data): Likewise.
43599         (y0_test_data): Likewise.
43600         (y1_test_data): Likewise.
43601         (yn_test_data): Likewise.
43603         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43604         function contents.
43606         * math/libm-test.inc (struct test_ff_i_data): New type.
43607         (RUN_TEST_LOOP_ff_i_tg): New macro.
43608         (isgreater_test_data): New variable.
43609         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43610         (isgreaterequal_test_data): New variable.
43611         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43612         (isless_test_data): New variable.
43613         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43614         (islessequal_test_data): New variable.
43615         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43616         (islessgreater_test_data): New variable.
43617         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43618         (isunordered_test_data): New variable.
43619         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43621 2013-05-14  David S. Miller  <davem@davemloft.net>
43623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43625 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43627         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43629         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43630         extra_test to int.
43631         (struct test_f_i_data): Change type of max_ulp to int.
43633         * math/libm-test.inc (test_ffI_f1_data): New type.
43634         (RUN_TEST_LOOP_ffI_f1): New macro.
43635         (remquo_test_data): New variable.
43636         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43638         * setjmp/tst-setjmp-fp.c: New file.
43639         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43640         (link-libm): New variable.
43641         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43643         * math/libm-test.inc (struct test_f_i_data): New type.
43644         (RUN_TEST_LOOP_f_i): New macro.
43645         (RUN_TEST_LOOP_f_i_tg): Likewise.
43646         (fpclassify_test_data): New variable.
43647         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43648         (ilogb_test_data): New variable.
43649         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43651         * math/libm-test.inc (scalbln_test): Correct function name in END
43652         call.
43654         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43655         (RUN_TEST_LOOP_fI_f1): New macro.
43656         (frexp_test_data): New variable.
43657         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43659         * math/libm-test.inc (struct test_fF_f1_data): New type.
43660         (RUN_TEST_LOOP_fF_f1): New macro.
43661         (modf_test_data): New variable.
43662         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43664         * math/libm-test.inc (struct test_f_f1_data): New type.
43665         (RUN_TEST_LOOP_f_f1): New macro.
43666         (gamma_test_data): New variable.
43667         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43668         (lgamma_test_data): New variable.
43669         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43671 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43673         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43674         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43675         (main): Comment "tls" pseudo-hwcap.
43677 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43679         * math/libm-test.inc (struct test_fl_f_data): New type.
43680         (RUN_TEST_LOOP_fl_f): New variable.
43681         (scalbln_test_data): New variable.
43682         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43684         * math/libm-test.inc (struct test_fi_f_data): New type.
43685         (RUN_TEST_LOOP_fi_f): New macro.
43686         (ldexp_test_data): New variable.
43687         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43688         (scalbn_test_data): New variable.
43689         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43691         * math/libm-test.inc (struct test_c_f_data): New type.
43692         (RUN_TEST_LOOP_c_f): New macro.
43693         (cabs_test_data): New variable.
43694         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43695         (carg_test_data): New variable.
43696         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43697         (cimag_test_data): New variable.
43698         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43699         (creal_test_data): New variable.
43700         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43702         * math/libm-test.inc (struct test_if_f_data): New type.
43703         (RUN_TEST_LOOP_if_f): New macro.
43704         (jn_test_data): New variable.
43705         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43706         (yn_test_data): New variable.
43707         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43709         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43711 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43713         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43714         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43716 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43718         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43719         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43720         (bench-deps): Add bench-timing.h.
43721         * benchtests-bench-skeleton.c: Include bench-timing.h.
43722         (main): Use TIMING_* macros instead of clock_gettime.
43723         * benchtests/bench-timing.h: New file.
43725         [BZ #14582]
43726         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43727         Renamed from _LIB_VERSION.
43728         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43730 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43732         * math/libm-test.inc (struct test_fff_f_data): New type.
43733         (RUN_TEST_LOOP_fff_f): New macro.
43734         (fma_test_data): New variable.
43735         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43736         (fma_towardzero_test_data): New variable.
43737         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43738         (fma_downward_test_data): New variable.
43739         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43740         (fma_upward_test_data): New variable.
43741         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43743         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43744         (struct test_c_c_data): New type.
43745         (RUN_TEST_LOOP_c_c): New macro.
43746         (cacos_test_data): New variable.
43747         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43748         (cacosh_test_data): New variable.
43749         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43750         (casin_test_data): New variable.
43751         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43752         (casinh_test_data): New variable.
43753         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43754         (catan_test_data): New variable.
43755         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43756         (catanh_test_data): New variable.
43757         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43758         (ccos_test_data): New variable.
43759         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43760         (ccosh_test_data): New variable.
43761         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43762         (cexp_test_data): New variable.
43763         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43764         (clog_test_data): New variable.
43765         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43766         (clog10_test_data): New variable.
43767         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43768         (conj_test_data): New variable.
43769         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43770         (cproj_test_data): New variable.
43771         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43772         (csin_test_data): New variable.
43773         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43774         (csinh_test_data): New variable.
43775         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43776         (csqrt_test_data): New variable.
43777         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43778         (ctan_test_data): New variable.
43779         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43780         (ctan_tonearest_test_data): New variable.
43781         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43782         (ctan_towardzero_test_data): New variable.
43783         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43784         (ctan_downward_test_data): New variable.
43785         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43786         (ctan_upward_test_data): New variable.
43787         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43788         (ctanh_test_data): New variable.
43789         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43790         (ctanh_tonearest_test_data): New variable.
43791         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43792         (ctanh_towardzero_test_data): New variable.
43793         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43794         (ctanh_downward_test_data): New variable.
43795         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43796         (ctanh_upward_test_data): New variable.
43797         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43798         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43799         of BUILD_COMPLEX.
43801         * math/libm-test.inc (struct test_ff_f_data): New type.
43802         (struct test_ff_f_data_nexttoward): Likewise.
43803         (RUN_TEST_LOOP_2_f): New macro.
43804         (RUN_TEST_LOOP_ff_f): Likewise.
43805         (atan2_test_data): New variable.
43806         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43807         (copysign_test_data): New variable.
43808         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43809         (fdim_test_data): New variable.
43810         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43811         (fmax_test_data): New variable.
43812         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43813         (fmin_test_data): New variable.
43814         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43815         (fmod_test_data): New variable.
43816         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43817         (hypot_test_data): New variable.
43818         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43819         (nextafter_test_data): New variable.
43820         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43821         (nexttoward_test_data): New variable.
43822         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43823         (pow_test_data): New variable.
43824         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43825         (pow_tonearest_test_data): New variable.
43826         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43827         (pow_towardzero_test_data): New variable.
43828         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43829         (pow_downward_test_data): New variable.
43830         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43831         (pow_upward_test_data): New variable.
43832         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43833         (remainder_test_data): New variable.
43834         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43835         (scalb_test_data): New variable.
43836         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43837         * sysdeps/i386/fpu/libm-test-ulps: Update.
43839 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43841         * math/libm-test.inc (fma_test): Use max_value instead of local
43842         variable fltmax.
43843         (nextafter_test): Likewise.
43845         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43846         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43847         (acos_downward_test_data): New variable.
43848         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43849         (acos_upward_test_data): New variable.
43850         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43851         (acosh_test_data): New variable.
43852         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43853         (asin_test_data): New variable.
43854         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43855         (asin_tonearest_test_data): New variable.
43856         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43857         (asin_towardzero_test_data): New variable.
43858         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43859         (asin_downward_test_data): New variable.
43860         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43861         (asin_upward_test_data): New variable.
43862         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43863         (asinh_test_data): New variable.
43864         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43865         (atan_test_data): New variable.
43866         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43867         (atanh_test_data): New variable.
43868         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43869         (cbrt_test_data): New variable.
43870         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43871         (ceil_test_data): New variable.
43872         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43873         (cos_test_data): New variable.
43874         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43875         (cos_tonearest_test_data): New variable.
43876         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43877         (cos_towardzero_test_data): New variable.
43878         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43879         (cos_downward_test_data): New variable.
43880         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43881         (cos_upward_test_data): New variable.
43882         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43883         (cosh_test_data): New variable.
43884         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43885         (cosh_tonearest_test_data): New variable.
43886         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43887         (cosh_towardzero_test_data): New variable.
43888         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43889         (cosh_downward_test_data): New variable.
43890         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43891         (cosh_upward_test_data): New variable.
43892         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43893         (erf_test_data): New variable.
43894         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43895         (erfc_test_data): New variable.
43896         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43897         (exp_test_data): New variable.
43898         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43899         (exp_tonearest_test_data): New variable.
43900         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43901         (exp_towardzero_test_data): New variable.
43902         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43903         (exp_downward_test_data): New variable.
43904         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43905         (exp_upward_test_data): New variable.
43906         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43907         (exp10_test_data): New variable.
43908         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43909         (exp2_test_data): New variable.
43910         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43911         (expm1_test_data): New variable.
43912         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43913         (fabs_test_data): New variable.
43914         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43915         (floor_test_data): New variable.
43916         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43917         (j0_test_data): New variable.
43918         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43919         (j1_test_data): New variable.
43920         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43921         (log_test_data): New variable.
43922         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43923         (log10_test_data): New variable.
43924         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43925         (log1p_test_data): New variable.
43926         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43927         (log2_test_data): New variable.
43928         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43929         (logb_test_data): New variable.
43930         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43931         (logb_downward_test_data): New variable.
43932         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43933         (nearbyint_test_data): New variable.
43934         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43935         (rint_test_data): New variable.
43936         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43937         (rint_tonearest_test_data): New variable.
43938         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43939         (rint_towardzero_test_data): New variable.
43940         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43941         (rint_downward_test_data): New variable.
43942         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43943         (rint_upward_test_data): New variable.
43944         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43945         (round_test_data): New variable.
43946         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43947         (sin_test_data): New variable.
43948         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43949         (sin_tonearest_test_data): New variable.
43950         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43951         (sin_towardzero_test_data): New variable.
43952         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43953         (sin_downward_test_data): New variable.
43954         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43955         (sin_upward_test_data): New variable.
43956         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43957         (sinh_test_data): New variable.
43958         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43959         (sinh_tonearest_test_data): New variable.
43960         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43961         (sinh_towardzero_test_data): New variable.
43962         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43963         (sinh_downward_test_data): New variable.
43964         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43965         (sinh_upward_test_data): New variable.
43966         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43967         (sqrt_test_data): New variable.
43968         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43969         (tan_test_data): New variable.
43970         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43971         (tan_tonearest_test_data): New variable.
43972         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43973         (tan_towardzero_test_data): New variable.
43974         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43975         (tan_downward_test_data): New variable.
43976         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43977         (tan_upward_test_data): New variable.
43978         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43979         (tanh_test_data): New variable.
43980         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43981         (tgamma_test_data): New variable.
43982         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43983         (trunc_test_data): New variable.
43984         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43985         (y0_test_data): New variable.
43986         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43987         (y1_test_data): New variable.
43988         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43989         (significand_test_data): New variable.
43990         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43992 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43994         [BZ #12387]
43995         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43997 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43999         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44001 2013-05-10  Andreas Jaeger  <aj@suse.de>
44003         [BZ #15448]
44004         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44005         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44007 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44009         * math/gen-libm-test.pl (adjust_arg): New function.
44010         (special_functions): Handle generating output in both functions
44011         and arrays.
44012         (parse_args): Likewise.
44013         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44014         $in_func argument to parse_args.
44015         * math/libm-test.inc (struct test_f_f_data): New type.
44016         (IF_ROUND_INIT_): New macro.
44017         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44018         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44019         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44020         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44021         (ROUND_RESTORE_): Likewise.
44022         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44023         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44024         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44025         (ROUND_RESTORE_FE_UPWARD): Likewise.
44026         (RUN_TEST_LOOP_f_f): New macro.
44027         (acos_test_data): New variable.
44028         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44029         (acos_tonearest_test_data): New variable.
44030         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44032 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44034         * benchtests/bench-skeleton.c (startup): Fix coding style.
44036 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44038         [BZ #6809]
44039         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44040         negative infinity argument.
44041         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44042         negative infinity argument.
44043         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44044         negative infinity argument.
44045         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44046         domain errors.
44048 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44050         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44051         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44052         * iconv/iconv_prog.c (main): Likewise.
44053         * locale/programs/charmap-dir.c (charmap_readdir)
44054         (fopen_uncompressed): Likewise.
44055         * locale/programs/locfile.c (siblings_uncached)
44056         (write_locale_data): Use lstat64 instead of lstat.
44057         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44058         stat.
44060 2013-05-10  Andreas Jaeger  <aj@suse.de>
44062         [BZ #15395]
44063         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44064         localization.
44065         Include <locale.h>.
44067 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44069         * elf/dl-close.c (_dl_close_worker): Add comments.
44071 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44073         [BZ #15359]
44074         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44075         high part of pi/2.
44076         (__ieee754_rem_pio2l): Update comments.
44078         [BZ #15429]
44079         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44080         high part of pi/2.
44081         (__ieee754_rem_pio2l): Update comments.
44083         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44084         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44086         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44087         M_PI_4l.
44089         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44090         (M_PI_34_LOG10El): Likewise.
44091         (M_PI2_LOG10El): Likewise.
44092         (M_PI4_LOG10El): Likewise.
44093         (M_PI_LOG10El): Likewise.
44095 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44099 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44101         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44102         (MINUS_ZERO_INIT): Likewise.
44103         (PLUS_INFTY_INIT): Likewise.
44104         (MINUS_INFTY_INIT): Likewise.
44105         (QNAN_VALUE_INIT): Likewise.
44106         (MAX_VALUE_INIT): Likewise.
44107         (MIN_VALUE_INIT): Likewise.
44108         (MIN_SUBNORM_VALUE_INIT): Likewise.
44109         (plus_zero): Initialize with PLUS_ZERO_INIT.
44110         (minus_zero): Initialize with MINUS_ZERO_INIT.
44111         (plus_infty): Initialize with PLUS_INFTY_INIT.
44112         (minus_infty): Initialize with MINUS_INFTY_INIT.
44113         (qnan_value): Initialize with QNAN_VALUE_INIT.
44114         (max_value): Initialize with MAX_VALUE_INIT.
44115         (min_value): Initialize with MIN_VALUE_INIT.
44116         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44118         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44119         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44120         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44121         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44123         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44124         (RUN_TEST_2_f): Likewise.
44125         (RUN_TEST_ff_f): Likewise.
44126         (RUN_TEST_fi_f): Likewise.
44127         (RUN_TEST_fl_f): Likewise.
44128         (RUN_TEST_fff_f): Likewise.
44129         (RUN_TEST_c_f): Likewise.
44130         (RUN_TEST_f_f1): Likewise.
44131         (RUN_TEST_fF_f1): Likewise.
44132         (RUN_TEST_fI_f1): Likewise.
44133         (RUN_TEST_ffI_f1): Likewise.
44134         (RUN_TEST_c_c): Likewise.
44135         (RUN_TEST_cc_c): Likewise.
44136         (RUN_TEST_f_i): Likewise.
44137         (RUN_TEST_f_i_tg): Likewise.
44138         (RUN_TEST_ff_i_tg): Likewise.
44139         (RUN_TEST_f_b): Likewise.
44140         (RUN_TEST_f_b_tg): Likewise.
44141         (RUN_TEST_f_l): Likewise.
44142         (RUN_TEST_f_L): Likewise.
44143         (RUN_TEST_sincos): Likewise.
44144         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44145         whether to show exceptions.  Do not include ");\n" in return
44146         value.
44147         (special_functions): Output call to RUN_TEST_sincos instead of
44148         check_float calls.  Update calls to new_test.
44149         (parse_args): Output call to single RUN_TEST_* macro instead of
44150         check_* calls and other assignments.  Update calls to new_test.
44152         [BZ #2546]
44153         [BZ #2560]
44154         [BZ #5159]
44155         [BZ #15426]
44156         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44157         input to result for tgamma overflow.
44158         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44159         (gamma_coeff): New variable.
44160         (NCOEFF): New macro.
44161         (gamma_positive): New function.
44162         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44163         underflow here.  Use gamma_positive instead of exp (lgamma) for
44164         other arguments.
44165         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44166         (gamma_coeff): New variable.
44167         (NCOEFF): New macro.
44168         (gammaf_positive): New function.
44169         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44170         underflow here.  Use gamma_positive instead of exp (lgamma) for
44171         other arguments.
44172         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44173         (gamma_coeff): New variable.
44174         (NCOEFF): New macro.
44175         (gammal_positive): New function.
44176         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44177         underflow here.  Use gamma_positive instead of exp (lgamma) for
44178         other arguments.
44179         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44180         (gamma_coeff): New variable.
44181         (NCOEFF): New macro.
44182         (gammal_positive): New function.
44183         (__ieee754_gammal_r): Handle positive infinity, overflow and
44184         underflow here.  Handle NaN the same as positive infinity.  Remove
44185         check x < 0xffffffff for negative integers.  Use gamma_positive
44186         instead of exp (lgamma) for other arguments.
44187         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44188         (gamma_coeff): New variable.
44189         (NCOEFF): New macro.
44190         (gammal_positive): New function.
44191         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44192         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44193         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44194         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44195         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44196         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44197         * sysdeps/generic/math_private.h (__gamma_productf): New
44198         prototype.
44199         (__gamma_product): Likewise.
44200         (__gamma_productl): Likewise.
44201         * math/Makefile (libm-calls): Add gamma_product.
44202         * math/libm-test.inc (tgamma_test): Add more tests.
44203         * sysdeps/i386/fpu/libm-test-ulps: Update.
44204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44206 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44208         * benchtests/bench-skeleton.c (main): Preheat CPU.
44210 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44212         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44214 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44216         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44217         and _dl_skip_args_internal.
44219 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44221         * manual/message.texi (Message Translation): Talk about users.
44222         Message to key mapping impacts design.
44224 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44226         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44228         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44230         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44231         * sysdeps/wordsize-64/glob64.c: ... here.
44233         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44234         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44235         New macros.
44237         * debug/getlogin_r_chk.c: Moved to ...
44238         * login/getlogin_r_chk.c: ... here.
44239         * debug/Makefile (routines): Move getlogin_r_chk to ...
44240         * login/Makefile (routines): ... here.
44241         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44242         * login/Versions (libc: GLIBC_2.4): ... here.
44244         * io/poll.c (__poll): Renamed from poll.
44245         Add libc_hidden_def.
44246         (poll): Define as weak alias.
44248         * debug/ptsname_r_chk.c: Moved to ...
44249         * login/ptsname_r_chk.c: ... here.
44250         * debug/Makefile (routines): Move ptsname_r_chk to ...
44251         * login/Makefile (routines): ... here.
44252         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44253         * login/Versions (libc: GLIBC_2.4): ... here.
44255         * posix/getlogin.c: Moved to ...
44256         * login/getlogin.c: ... here.
44257         * posix/getlogin_r.c: Moved to ...
44258         * login/getlogin_r.c: ... here.
44259         * posix/getlogin_r.c: Moved to ...
44260         * login/getlogin_r.c: ... here.
44261         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44262         * login/Makefile (routines): ... here.
44263         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44264         * login/Versions (libc: GLIBC_2.0): ... here.
44266         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44267         (setrlimit): Define as weak alias.
44269         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44270         Call __ names for open, ftruncate, and close.
44271         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44272         (truncate): Define as weak alias.
44274 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44276         * math/gen-libm-test.pl (parse_args): Initialize x before each
44277         test of frexp, modf and remquo.
44279         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44280         test signgam value.
44282 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44284         [BZ #15418]
44285         [BZ #15419]
44286         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44287         internal tests.
44288         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44290 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44292         * elf/dl-writev.h: New file.
44293         * elf/dl-misc.c: Include it.
44294         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44295         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44297 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44299         * math/libm-test.inc (noXFails): Remove variable.
44300         (noXPasses): Likewise.
44301         (BUILD_COMPLEX_INT): Remove macro.
44302         (print_screen): Remove xfail argument.
44303         (print_screen_max_error): Likewise.
44304         (update_stats): Likewise.
44305         (print_max_error): Likewise.  Update calls to other affected
44306         functions.
44307         (print_complex_max_error): Likewise.
44308         (test_single_exception): Update calls to print_screen.
44309         (test_single_errno): Likewise.
44310         (check_float_internal): Remove xfail argument.  Update calls to
44311         other affected functions.
44312         (check_float): Likewise.
44313         (check_complex): Likewise.
44314         (check_int): Likewise.
44315         (check_long): Likewise.
44316         (check_bool): Likewise.
44317         (check_longlong): Likewise.
44318         (main): Don't print noXFails and noXPasses.
44319         * math/gen-libm-test.pl (top level): Don't mention expected
44320         failure handling in comment.
44321         (new_test): Don't handle expected failures.
44322         (parse_args): Don't mention expected failure handling in comment.
44323         (generate_testfile): Don't handle expected failures.
44324         (parse_ulps): Likewise.
44325         (print_ulps_file): Likewise.
44326         (get_failure): Remove function.
44327         (output_test): Don't handle expected failures.
44328         * make/README.libm-test: Don't mention expected failure handling.
44330         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44331         (minus_zero): Likewise.
44332         (plus_infty): Likewise.
44333         (minus_infty): Likewise.
44334         (qnan_value): Likewise.
44335         (max_value): Likewise.
44336         (min_value): Likewise.
44337         (min_subnorm_value): Likewise.
44338         (initialize): Do not initialize those variables dynamically.
44340 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44342         * io/open.c (__open_2): Moved to ...
44343         * io/open_2.c: ... this new file.
44344         * io/open64.c (__open64_2): Moved to ...
44345         * io/open64_2.c: ... this new file.
44346         * io/openat.c (__openat_2): Moved to ...
44347         * io/openat_2.c: ... this new file.
44348         * io/openat64.c (__openat64_2): Moved to ...
44349         * io/openat64_2.c: ... this new file.
44350         * io/Makefile (routines): Add them.
44351         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44352         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44353         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44354         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44355         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44356         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44357         (__openat64): Add hidden_ver.
44358         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44359         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44361         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44362         Separately conditionalize setting of GLRO(dl_sysinfo) so
44363         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44364         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44366 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44368         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44369         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44370         definition.
44371         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44372         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44373         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44374         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44375         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44377 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44379         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44380         test signgam value.
44382         * math/libm-test.inc (hypot_test): Do not use
44383         IGNORE_ZERO_INF_SIGN.
44385 2013-05-03  Andreas Jaeger  <aj@suse.de>
44387         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44388         Linux 3.9.
44389         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44390         (PF_MAX): Adjust for VSOCK change.
44392 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44396 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44398         [BZ #15264]
44399         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44400         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44401         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44403 2013-05-02  David S. Miller  <davem@davemloft.net>
44405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44407 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44409         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44411 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44413         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44415 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44417         [BZ #14952]
44418         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44419         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44420         Use __attribute__ ((__gnu_inline__)).
44421         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44422         Don't use __attribute__ ((__gnu_inline__)).
44424 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44426         [BZ #15423]
44427         * math/s_catan.c (__catan): Handle small real or imaginary part of
44428         input specially to avoid spurious underflow.
44429         * math/s_catanf.c (__catanf): Likewise.
44430         * math/s_catanh.c (__catanh): Likewise.
44431         * math/s_catanhf.c (__catanhf): Likewise.
44432         * math/s_catanhl.c (__catanhl): Likewise.
44433         * math/s_catanl.c (__catanl): Likewise.
44434         * math/libm-test.inc (catan_test): Add more tests.
44435         (catanh_test): Likewise.
44436         * sysdeps/i386/fpu/libm-test-ulps: Update.
44437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44439 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44443 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #15416]
44446         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44447         accurately for denominator in atan2.
44448         * math/s_catanf.c (__catanf): Likewise.
44449         * math/s_catanh.c (__catanh): Likewise.
44450         * math/s_catanhf.c (__catanhf): Likewise.
44451         * math/s_catanhl.c (__catanhl): Likewise.
44452         * math/s_catanl.c (__catanl): Likewise.
44453         * math/libm-test.inc (catan_test): Add more tests.
44454         (catanh_test): Likewise.
44455         * sysdeps/i386/fpu/libm-test-ulps: Update.
44456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44458 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44460         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44462         * benchtests/Makefile (bench): Remove slow benchmarks.
44463         * benchtests/atan-inputs: Add slow benchmark inputs.
44464         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44465         (BENCH_FUNC): Accept variant offset.
44466         (VARIANT): Define.
44467         * benchtests/bench-skeleton.c (main): Run benchmark for each
44468         variant.
44469         * benchtests/cos-inputs: Add slow benchmark inputs.
44470         * benchtests/exp-inputs: Likewise.
44471         * benchtests/pow-inputs: Likewise.
44472         * benchtests/sin-inputs: Likewise.
44473         * benchtests/slowatan-inputs: Remove.
44474         * benchtests/slowatan.c: Remove.
44475         * benchtests/slowcos-inputs: Remove.
44476         * benchtests/slowcos.c: Remove.
44477         * benchtests/slowexp-inputs: Remove.
44478         * benchtests/slowexp.c: Remove.
44479         * benchtests/slowpow-inputs: Remove.
44480         * benchtests/slowpow.c: Remove.
44481         * benchtests/slowsin-inputs: Remove.
44482         * benchtests/slowsin.c: Remove.
44483         * benchtests/slowtan-inputs: Remove.
44484         * benchtests/slowtan.c: Remove.
44485         * benchtests/tan-inputs: Add slow benchmark inputs.
44486         * scripts/bench.pl: Parse comments and directives.
44488         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44489         in CPPFLAGS.
44490         ($(objpfx)bench-%.c): Remove *-ITER.
44491         * benchtests/bench-modf.c: Remove definition of ITER.
44492         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44493         (main): Loop for DURATION seconds instead of fixed number of
44494         iterations.
44495         * scripts/bench.pl: Don't expect iterations in parameters.
44497 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44499         * io/fchdir.c (__fchdir): Renamed from fchdir.
44500         (fchdir): Define as weak alias.
44502 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44504         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44505         (ERRNO_EDOM): Likewise.
44506         (ERRNO_ERANGE): Likewise.
44507         (noErrnoTests): New variable.
44508         (init_max_error): Set errno to 0.
44509         (test_single_errno): New function.
44510         (test_errno): Likewise.
44511         (check_float_internal): Call test_errno.  Set errno to 0.
44512         (check_complex): Refer to errno tests in comment.
44513         (check_int): Call test_errno.  Set errno to 0.
44514         (check_long): Likewise.
44515         (check_bool): Likewise.
44516         (check_longlong): Likewise.
44517         (cos_test): Use ERRNO_* flags for errno tests instead of
44518         check_int.
44519         (expm1_test): Likewise.
44520         (fmod_test): Likewise.
44521         (ilogb_test): Likewise.
44522         (lgamma_test): Likewise.
44523         (pow_test): Likewise.
44524         (remainder_test): Likewise.
44525         (sin_test): Likewise.
44526         (tan_test): Likewise.
44527         (yn_test): Likewise.
44528         (initialize): Set errno to 0.
44529         (main): Print number of errno tests.
44530         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44532 2013-04-29  Andreas Jaeger  <aj@suse.de>
44534         [BZ #15084]
44535         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44536         and RES_USEVC.
44538         [BZ #15085]
44539         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44540         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44541         unimplemented.
44543         [BZ #15380]
44544         * stdlib/random.c (__initstate): Return NULL if
44545         __initstate fails.
44547         [BZ #15086]
44548         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44549         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44550         RES_SNGLKUPREOP.
44552 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44556 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44558         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44559         of individual tests.
44560         (casin_test): Likewise.
44561         (casinh_test): Likewise.
44563 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44565         [BZ #15409]
44566         * math/s_catan.c (__catan): Handle arguments with large real or
44567         imaginary part separately without squaring.
44568         * math/s_catanf.c (__catanf): Likewise.
44569         * math/s_catanh.c (__catanh): Likewise.
44570         * math/s_catanhf.c (__catanhf): Likewise.
44571         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44572         and redefine.
44573         (__catanhl): Handle arguments with large real or imaginary part
44574         separately without squaring.
44575         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44576         and redefine.
44577         (__catanl): Handle arguments with large real or imaginary part
44578         separately without squaring.
44579         * math/libm-test.inc (catan_test): Add more tests.
44580         (catanh_test): Likewise.
44581         * sysdeps/i386/fpu/libm-test-ulps: Update.
44582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44584 2013-04-27  Andreas Jaeger  <aj@suse.de>
44586         [BZ #15007]
44587         * stdlib/stdlib.h: Update guards for qecvt.
44588         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44589         <stdlib.h>.
44591 2013-04-27  Allan McRae  <allan@archlinux.org>
44593         * sysdeps/i386/fpu/libm-test-ulps: Update.
44595 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44597         [BZ #15406]
44598         * math/s_catan.c: Include <float.h>.
44599         (__catan): Ensure underflow exception occurs for underflowed
44600         result.
44601         * math/s_catanf.c: Include <float.h>.
44602         (__catanf): Ensure underflow exception occurs for underflowed
44603         result.
44604         * math/s_catanh.c: Include <float.h>.
44605         (__catanh): Ensure underflow exception occurs for underflowed
44606         result.
44607         * math/s_catanhf.c: Include <float.h>.
44608         (__catanhf): Ensure underflow exception occurs for underflowed
44609         result.
44610         * math/s_catanhl.c: Include <float.h>.
44611         (__catanhl): Ensure underflow exception occurs for underflowed
44612         result.
44613         * math/s_catanl.c: Include <float.h>.
44614         (__catanl): Ensure underflow exception occurs for underflowed
44615         result.
44616         * math/libm-test.inc (catan_test): Add more tests.
44617         (catanh_test): Likewise.
44619         [BZ #15405]
44620         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44621         underflowed result.
44622         * math/s_ccoshf.c (__ccoshf): Likewise.
44623         * math/s_ccoshl.c (__ccoshl): Likewise.
44624         * math/s_csin.c (__csin): Likewise.
44625         * math/s_csinf.c (__csinf): Likewise.
44626         * math/s_csinh.c (__csinh): Likewise.
44627         * math/s_csinhf.c (__csinhf): Likewise.
44628         * math/s_csinhl.c (__csinhl): Likewise.
44629         * math/s_csinl.c (__csinl): Likewise.
44630         * math/libm-test.inc (ccos_test): Add more tests.
44631         (ccosh_test): Likewise.
44632         (csin_test): Likewise.
44633         (csinh_test): Likewise.
44635 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44637         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44638         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44639         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44640         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44641         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44642         powerpc/power5+/fpu folders.
44643         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44646 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44650 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44652         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44653         additions to variable.
44654         [$(config-machine) = x86_64] (modules-names): Likewise.
44655         ($(objpfx)tst-audit3): Remove dependency.
44656         ($(objpfx)tst-audit3.out): Likewise.
44657         ($(objpfx)tst-audit4): Likewise.
44658         ($(objpfx)tst-audit4.out): Likewise.
44659         ($(objpfx)tst-audit5): Likewise.
44660         ($(objpfx)tst-audit5.out): Likewise.
44661         ($(objpfx)tst-audit6): Likewise.
44662         ($(objpfx)tst-audit6.out): Likewise.
44663         ($(objpfx)tst-audit7): Likewise.
44664         ($(objpfx)tst-audit7.out): Likewise.
44665         (tst-audit3-ENV): Remove variable.
44666         (tst-audit4-ENV): Likewise.
44667         (tst-audit5-ENV): Likewise.
44668         (tst-audit6-ENV): Likewise.
44669         (tst-audit7-ENV): Likewise.
44670         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44671         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44672         addition to variable.
44673         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44674         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44675         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44676         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44677         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44678         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44679         tst-audit3, tst-audit4 and tst-audit5.
44680         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44681         tst-audit6 and tst-audit7.
44682         [$(subdir) = elf] (modules-names): Add audit modules for those
44683         tests.
44684         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44685         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44686         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44687         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44688         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44689         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44690         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44691         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44692         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44693         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44694         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44695         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44696         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44697         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44698         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44699         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44700         Likewise.
44701         [$(subdir) = elf && $(config-cflags-avx) = yes]
44702         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44703         [$(subdir) = elf && $(config-cflags-avx) = yes]
44704         (CFLAGS-tst-auditmod4a.c): Likewise.
44705         [$(subdir) = elf && $(config-cflags-avx) = yes]
44706         (CFLAGS-tst-auditmod4b.c): Likewise.
44707         [$(subdir) = elf && $(config-cflags-avx) = yes]
44708         (CFLAGS-tst-auditmod6b.c): Likewise.
44709         [$(subdir) = elf && $(config-cflags-avx) = yes]
44710         (CFLAGS-tst-auditmod6c.c): Likewise.
44711         [$(subdir) = elf && $(config-cflags-avx) = yes]
44712         (CFLAGS-tst-auditmod7b.c): Likewise.
44713         * elf/tst-audit3.c: Move to ...
44714         * sysdeps/x86_64/tst-audit3.c: ... here.
44715         * elf/tst-audit4.c: Move to ...
44716         * sysdeps/x86_64/tst-audit4.c: ... here.
44717         * elf/tst-audit5.c: Move to ...
44718         * sysdeps/x86_64/tst-audit5.c: ... here.
44719         * elf/tst-audit6.c: Move to ...
44720         * sysdeps/x86_64/tst-audit6.c: ... here.
44721         * elf/tst-audit7.c: Move to ...
44722         * sysdeps/x86_64/tst-audit7.c: ... here.
44723         * elf/tst-auditmod3a.c: Move to ...
44724         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44725         * elf/tst-auditmod3b.c: Move to ...
44726         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44727         * elf/tst-auditmod4a.c: Move to ...
44728         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44729         * elf/tst-auditmod4b.c: Move to ...
44730         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44731         * elf/tst-auditmod5a.c: Move to ...
44732         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44733         * elf/tst-auditmod5b.c: Move to ...
44734         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44735         * elf/tst-auditmod6a.c: Move to ...
44736         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44737         * elf/tst-auditmod6b.c: Move to ...
44738         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44739         * elf/tst-auditmod6c.c: Move to ...
44740         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44741         * elf/tst-auditmod7a.c: Move to ...
44742         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44743         * elf/tst-auditmod7b.c: Move to ...
44744         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44746 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44748         [BZ #15366]
44749         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44750         define unconditionally.
44751         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44752         define unconditionally.
44753         (INT8_C, INT16_C, etc.): Likewise.
44755 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44757         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44758         __ehdr_start with hidden visibility.
44760         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44762 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44764         * math/libm-test.inc (cos_test): Use accurate hex constants.
44765         (sincost_test): Likewise.
44767 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44769         * math/libm-test.inc (catan_test): Add more tests.
44770         (catanh_test): Likewise.
44772         * math/s_catanf.c (__catanf): Use suffixed floating-point
44773         constants.
44774         * math/s_catanhf.c (__catanhf): Likewise.
44775         * math/s_catanhl.c (__catanhl): Likewise.
44776         * math/s_catanl.c (__catanl): Likewise.
44778         [BZ #15394]
44779         * math/s_catan.c (__catan): Calculate imaginary part of result
44780         with log1p not log unless computing log of number close to 0.
44781         * math/s_catanf.c (__catanf): Likewise.
44782         * math/s_catanl.c (__catanl): Likewise.
44783         * math/s_catanh.c (__catanh): Calculate real part of result with
44784         log1p not log unless computing log of number close to 0.
44785         * math/s_catanhf.c (__catanhf): Likewise.
44786         * math/s_catanhl.c (__catanhl): Likewise.
44787         * math/libm-test.inc (catan_test): Add more tests.
44788         (catanh_test): Likewise.
44789         * sysdeps/i386/fpu/libm-test-ulps: Update.
44790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44792 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44794         * benchtests/Makefile: Mention files in which fast and slow
44795         paths of math functions are implemented.
44797 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44799         * sysdeps/posix/timespec_get.c: New file.
44801 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44803         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44804         POWER.
44805         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44806         for POWER.
44807         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44808         powerpc/power5/fpu folders.
44809         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44810         * benchtests/Makefile: Add modf testcase.
44811         * benchtests/bench-modf.c: New file: Benchmark test for mo
44813 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44815         [BZ #14888]
44816         * time/Makefile (tests): Add tst-strptime-whitespace.
44817         * time/strptime_l.c (get_number): Use ISSPACE.
44818         (__strptime_internal): Likewise.
44819         * time/tst-strptime-whitespace.c: New test case.
44821 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44823         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44824         member.
44825         (_nss_files_init): Set it here.
44827 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44829         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44830         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44831         unsigned.
44833 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44835         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44837 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44840         size just once.
44842 2013-04-21  David S. Miller  <davem@davemloft.net>
44844         * po/ru.po: Update Russion translation from translation project.
44846 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44848         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44849         and setfsgid.
44851 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44853         * configure.in: Remove i386 configure warning. Remove i386 case.
44854         * configure: Regenerate.
44855         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44856         Add example to error message.
44857         * sysdeps/i386/configure: Regenerate.
44859 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44861         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44862         slowtan.
44863         * benchtests/cos-inputs: New file.
44864         * benchtests/slowcos-inputs: New file.
44865         * benchtests/slowcos.c: New file.
44866         * benchtests/slowtan-inputs: New file.
44867         * benchtests/slowtan.c: New file.
44868         * benchtests/tan-inputs: New file.
44870 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44872         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44873         considered kosher.
44875 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44877         * benchtests/Makefile: Include cppflags-iterator.mk to add
44878         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44880         * Makefile.in (bench-clean): New target.
44881         * benchtests/Makefile (bench-clean): Likewise.
44883 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44885         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44887 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44889         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44891 2013-04-15  Andreas Schwab  <schwab@suse.de>
44893         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44894         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44895         * nscd/pwdcache.c (cache_addpw): Likewise.
44896         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44897         more than recsize.
44899 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44901         * benchtests/Makefile (bench): Write all output to
44902         bench-out.tmp together.
44904 2013-04-15  Andreas Schwab  <schwab@suse.de>
44906         * nscd/nscd.c (main): Don't fork again after closing files.
44908 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44910         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44912         * benchtests/Rules (bench-deps): Collect dependencies into a
44913         single variable.  Add Makefile to dependencies.
44914         ($(objpfx)bench-%.c): Depend on bench-deps.
44916 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44917             Xavier Roche  <roche+kml2@exalead.com>
44919         [BZ #15361]
44920         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44921         just that it's a file descriptor.
44922         * manual/llio.texi (Synchronizing AIO Operations): Update description
44923         for EBADF error from aio_fsync.
44925 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44927         * Rules (bench): Move target definition...
44928         * benchtests/Makefile: ... here.
44930 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44932         * math/libm-test.inc (cos_test): Fix PI/2 test.
44933         (sincos_test): Likewise.
44934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44935         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44937 2013-04-11  Andreas Schwab  <schwab@suse.de>
44939         [BZ #13988]
44940         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44941         accept exponent character only when digits were seen.
44942         * stdio-common/Makefile (tests): Add bug26.
44943         * stdio-common/bug26.c: New file.
44945         [BZ #14293]
44946         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44947         non-freeable.
44949 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44951         * Makeconfig (rtld-prefix): Define built linker prefix.
44952         * Rules (run-bench): Use it.
44953         * math/Makefile (run-regen-ulps): Likewise.
44955         * Rules (bench): Remove eval.
44957 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44958             Roland McGrath  <roland@hack.frob.com>
44959             Ondrej Bilka  <neleai@seznam.cz>
44961         [BZ #15346]
44962         * time/getdate.c: Include ctype.h and alloca.h.
44963         (__getdate_r): Trim leading and trailing spaces of input.
44964         * time/tst-getdate.c (tests): Add tests with leading and
44965         trailing spaces.
44967 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44969         [BZ #14280]
44970         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44971         when computing value.
44973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44975         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44976         Use testrun.sh to run libm tests.
44978         [BZ #15309]
44979         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44981 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44983         [BZ #15264]
44984         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44986 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44988         * Makefile.in (regen-ulps): New target.
44989         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44990         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44991         [ifneq (no,$(PERL)] (regen-ulps): New target.
44992         [ifeq (no,$(PERL)] (regen-ulps): New target.
44993         * math/libm-test.inc (ulps_file_name): Define.
44994         (output_dir): New variable.
44995         (options): Add "output-dir" option.
44996         (parse_opt): Handle 'o' case.
44997         (main): If output_dir is non-NULL use it as a prefix
44998         otherwise use "".
44999         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45001 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45003         [BZ #10060, #10062]
45004         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45005         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45006         fail configure if __sync_val_compare_and_swap is not inlined.
45007         * sysdeps/i386/configure: Regenerate.
45008         * configure.in: Build for i686 when configured for i386.
45009         * configure: Regenerate.
45010         * README: Remove i386 reference.
45012 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45014         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45015         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45017 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45019         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45020         (lmsnanval): New variables.
45021         (F): Add conversion tests.
45022         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45023         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45025         * stdio-common/tstdiomisc.c (F): Properly collect individual
45026         tests' results.
45028         [BZ #14686, #15336]
45029         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45030         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45031         Instead, use input NaN values or generate a qNaN by arithmetic
45032         operation.  Also fix bugs to comply with the standard.
45033         * math/libm-test.inc (remainder_test): Add more tests.
45035         [BZ #15335, #15342]
45036         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45037         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45038         input NaN values or generate a qNaN by arithmetic operation.
45040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45041         unreachable code.
45043         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45044         definitions.
45046 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45048         [BZ #14478]
45049         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45050         underflowed result.
45051         * math/s_cexpf.c (__cexpf): Likewise.
45052         * math/s_cexpl.c (__cexpl): Likewise.
45053         * math/libm-test.inc (cexp_test): Add more tests.
45055 2013-04-03  Andreas Schwab  <schwab@suse.de>
45057         [BZ #15330]
45058         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45059         order arrays from heap if bigger than alloca cutoff.
45061 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45063         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45064         (SNAN_TESTS_double): Refer to GCC PR56831.
45065         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45066         GCC PR56828.
45068 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45070         * Rules (bench): Move bench.out after the run is complete.
45072         * Rules (bench): Echo currently running benchmark.
45074         * benchtests/Makefile (bench): Add atan and slowatan.
45075         * benchtests/atan-inputs: New file.
45076         * benchtests/slowatan-inputs: New file.
45077         * benchtests/slowatan.c: New file.
45079         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45080         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45081         its value.
45083         [BZ #15305]
45084         * sysdeps/unix/sysv/linux/kernel-features.h
45085         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45086         __ASSUME_XFS_RESTRICTED_CHOWN.
45087         * sysdeps/unix/sysv/linux/pathconf.c
45088         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45089         Save and restore errno.
45091 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45093         [BZ #15327]
45094         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45095         arguments using __kernel_casinh.
45096         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45097         arguments using __kernel_casinhf.
45098         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45099         arguments using __kernel_casinhl.
45100         * math/libm-test.inc (cacosh_test): Add more tests.
45101         * sysdeps/i386/fpu/libm-test-ulps: Update.
45102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45104 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45106         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45109         * bench/Makefile (bench): Add sin and slowsin.
45110         * benchtests/sin-inputs: New file.
45111         * benchtests/slowsin-inputs: New file.
45112         * benchtests/slowsin.c: New file.
45114         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45115         (bench): Add slowexp and slowpow.
45116         (exp-ITER): Increase iterations.
45117         (pow-ITER): Likewise.
45118         * benchtests/exp-inputs: Change input.
45119         * benchtests/pow-inputs: Likewise.
45120         * benchtests/slowexp-inputs: New file.
45121         * benchtests/slowexp.c: New file.
45122         * benchtests/slowpow-inputs: New file.
45123         * benchtests/slowpow.c: New file.
45125 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45127         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45128         instructions.
45129         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45130         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45131         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45132         * benchtests/Makefile: Add rint benchtest.
45133         * benchtests/rint-inputs: Input for rint benchtest.
45135 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45137         * Versions.def (libm): Add GLIBC_2.18.
45138         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45139         hidden libm prototypes.
45140         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45141         * math/Makefile (libm-calls): Add s_issignaling.
45142         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45143         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45144         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45145         declaration.
45146         * math/math.h [__USE_GNU] (issignaling): New macro.
45147         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45148         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45149         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45150         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45153         * manual/arith.texi (issignaling): New section.
45154         * manual/libm-err-tab.pl (@all_functions): Update comment.
45155         * math/gen-libm-test.pl (parse_args): Apply special handling for
45156         issignaling.
45157         * math/libm-test.inc (print_float, issignaling_test): New
45158         functions.
45159         (check_float_internal): Add issignaling checks.
45160         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45161         default definition.
45162         * sysdeps/powerpc/math-tests.h: New file.
45163         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45164         tests.
45165         * math/test-snan.c (TEST_FUNC): Likewise.
45167 2013-03-30  David S. Miller  <davem@davemloft.net>
45169         * po/de.po: Update from translation team.
45171 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45173         [BZ #10357]
45174         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45175         imaginary part less than 1.0 and real part less than 0.5
45176         specially.
45177         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45178         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45179         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45180         (cacos_test): Add more tests.
45181         (casin_test): Likewise.
45182         (casinh_test): Likewise.
45183         * sysdeps/i386/fpu/libm-test-ulps: Update.
45184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45186 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45188         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45189         ONE with its value.
45191         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45192         (__pow_mp): Replace ONE and MONE with their values.
45193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45194         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45195         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45196         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45197         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45200         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45202         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45203         (__pow_mp): Replace ZERO and MZERO with their values.
45204         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45205         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45206         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45208         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45209         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45210         (__sqr): Likewise.
45212         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45214         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45216 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45218         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45219         Declare with __attribute__ ((weak)).
45220         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45221         Call __call_tls_dtors only if it's not NULL.
45223 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45225         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45226         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45227         magic __ehdr_start linker symbol if it's defined.
45228         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45229         them up here if it was already done.
45231         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45232         (_dl_aux_init): Use const in cast when setting it.
45233         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45234         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45235         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45237         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45238         Declare them here.
45239         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45240         * csu/libc-tls.c: Nor here.
45241         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45243         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45244         (__libc_message): Never call vsyslog.
45246 2013-03-28  Alan Modra  <amodra@gmail.com>
45248         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45249         Define as empty.
45250         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45251         Likewise.
45253 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45255         [BZ #15214]
45256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45257         underflow.
45258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45260 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45262         [BZ #15304]
45263         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45264         Don't add gid passed as argument.
45266         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45268 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45270         [BZ #15307]
45271         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45272         imaginary part between 1.0 and 1.5 and real part less than 0.5
45273         specially.
45274         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45275         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45276         * math/libm-test.inc (cacos_test): Add more tests.
45277         (casin_test): Likewise.
45278         (casinh_test): Likewise.
45279         * sysdeps/i386/fpu/libm-test-ulps: Update.
45280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45282 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45284         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45285         constants.
45286         (norm): Likewise.
45287         (denorm): Likewise.
45288         (__dbl_mp): Likewise.
45289         (add_magnitudes): Likewise.
45290         (sub_magnitudes): Likewise.
45291         (__add): Likewise.
45292         (__sub): Likewise.
45293         (__mul): Likewise.
45294         (__sqr): Likewise.
45295         (__inv): Likewise.
45296         (__dvd): Likewise.
45298         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45299         commented code.
45300         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45301         (__dubcos): Likewise.
45302         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45303         (__ieee754_acos): Likewise.
45304         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45305         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45306         (__exp1): Likewise.
45307         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45309         (log1): Likewise.
45310         (my_log2): Likewise.
45311         (checkint): Likewise.
45312         * sysdeps/ieee754/dbl-64/e_remainder.c
45313         (__ieee754_remainder): Likewise.
45314         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45315         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45316         (bsloww): Likewise.
45317         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45319         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45320         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45321         MANTISSA_STORE_T to store computations on mantissa.  Use
45322         macros for rounding and division.
45323         (denorm): Likewise.
45324         (__dbl_mp): Likewise.
45325         (add_magnitudes): Likewise.
45326         (sub_magnitudes): Likewise.
45327         (__mul): Likewise.
45328         (__sqr): Likewise.
45329         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45330         powers of two in terms of TWOPOW macro.
45331         (mp_no): Make type of mantissa as MANTISSA_T.
45332         [!RADIXI]: Define RADIXI.
45333         [!TWO52]: Define TWO52.
45334         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45336 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45338         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45339         llroundl symbol when building for PPC32.
45341 2013-03-24  Mark H Weaver  <mhw@netris.org>
45343         * manual/arith.texi (Normalization Functions): Fix prototypes for
45344         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45346 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45348         [BZ #13889]
45349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45350         high value to check if expl overflow.
45351         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45352         to check for underflow and overflow.
45353         * math/libm-test.inc: Add exp test.
45355 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45357         [BZ #11120]
45358         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45359         with NOT_IN_libc.
45361 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45363         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45364         symbol.
45366 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45368         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45369         wrap blocks consisting of several statements.
45371         * sysdeps/generic/math-tests.h: New file.
45372         * sysdeps/i386/fpu/math-tests.h: Likewise.
45373         * math/test-snan.c: Include it.
45374         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45376 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45378         [BZ #15285]
45379         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45380         (__ieee754_j0l): Do not improve calculations using cos of twice
45381         input for inputs above LDBL_MAX / 2.0L.
45382         (__ieee754_y0l): Likewise.
45383         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45384         (__ieee754_j1l): Do not improve calculations using cos of twice
45385         input for inputs above LDBL_MAX / 2.0L.
45386         (__ieee754_y1l): Likewise.
45387         * math/libm-test.inc (j0_test): Add another test.
45388         (j1_test): Likewise.
45389         (y0_test): Likewise.
45390         (y1_test): Likewise.
45391         * sysdeps/i386/fpu/libm-test-ulps: Update.
45393 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45395         * Rules ($(objpfx)bench-%.c): Include code from a C source
45396         file.
45398 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45400         [BZ #15287]
45401         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45402         imaginary part 1.0 and real part less than 0.5 specially.
45403         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45404         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45405         * math/libm-test.inc (cacos_test): Add more tests.
45406         (casin_test): Likewise.
45407         (casinh_test): Likewise.
45408         * sysdeps/i386/fpu/libm-test-ulps: Update.
45409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45411 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45413         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45414         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45416 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45418         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45419         * config.make.in (config-cflags-sse4): Remove variable.
45420         (config-cflags-avx): Likewise.
45421         (config-cflags-sse2avx): Likewise.
45422         (config-cflags-novzeroupper): Likewise.
45423         (config-asflags-i686): Likewise.
45424         (have-mfma4): Likewise.
45425         (have-as-vis3): Likewise.
45426         (MIG): Likewise.
45427         * configure.in (MIG): Do not AC_SUBST.
45428         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45429         (libc_cv_cc_sse4): Do not AC_SUBST.
45430         (libc_cv_cc_avx): Likewise.
45431         (libc_cv_cc_sse2avx): Likewise.
45432         (libc_cv_cc_novzeroupper): Likewise.
45433         (libc_cv_cc_fma4): Likewise.
45434         (libc_cv_as_i686): Likewise.
45435         (libc_cv_sparc_as_vis3): Likewise.
45436         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45437         LIBC_CONFIG_VAR.
45438         (config-asflags-i686): Likewise.
45439         (config-cflags-avx): Likewise.
45440         (config-cflags-sse2avx): Likewise.
45441         (have-mfma4): Likewise.
45442         (config-cflags-novzeroupper): Likewise.
45443         * sysdeps/mach/configure.in (MIG): Likewise.
45444         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45445         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45446         LIBC_CONFIG_VAR.
45447         (config-cflags-avx): Likewise.
45448         (config-cflags-sse2avx): Likewise.
45449         (have-mfma4): Likewise.
45450         (config-cflags-novzeroupper): Likewise.
45451         * configure: Regenerated.
45452         * sysdeps/i386/configure: Likewise.
45453         * sysdeps/mach/configure: Likewise.
45454         * sysdeps/sparc/configure: Likewise.
45455         * sysdeps/x86_64/configure: Likewise.
45457 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45459         [BZ #14812]
45460         * locale/programs/localedef.c (options): Put N_ translation marker
45461         on argument names, not just descriptions.
45463 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45465         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45467 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45469         [BZ #14176]
45470         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45472 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45474         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45475         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45476         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45477         [!BEFORE_ABORT] (before_abort): New function.
45478         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45479         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45480         (writev_for_fatal): New function.
45481         (WRITEV_FOR_FATAL): New macro; call that.
45482         (backtrace_and_maps): New function.
45483         (BEFORE_ABORT): New macro; call that.
45484         (struct str_list): Type removed.
45485         (__libc_message, __libc_fatal): Functions removed.
45486         Include <sysdeps/posix/libc_fatal.c> instead.
45488 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45490         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45491         constants.
45492         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45493         double constants.
45495 2013-03-19  Andreas Schwab  <schwab@suse.de>
45497         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45498         * sysdeps/gnu/configure: Regenerate.
45500         * configure.in: Substitute libc_cv_rtlddir.
45501         * configure: Regenerate.
45502         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45503         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45504         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45505         * elf/Makefile (install-others, CFLAGS-interp.c)
45506         (ldso_install, common-ldd-rewrite): Likewise.
45507         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45508         $(inst_slibdir)/$(rtld-installed-name).
45509         * scripts/rellns-sh: Add -p option.
45510         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45511         for source.
45513 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45515         * manual/nptl.texi: Renamed to ...
45516         * manual/threads.texi: ... this.
45517         * manual/Makefile (chapters): Update.
45519 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45521         [BZ #14812]
45522         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45523         on argument names, not just descriptions.
45524         * malloc/memusagestat.c (options): Likewise.
45525         * nss/getent.c (options): Likewise.
45527 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45529         [BZ #14812]
45530         * iconv/iconv_prog.c (options): Put N_ translation marker
45531         on argument names, not just descriptions.
45532         * iconv/iconvconfig.c (options): Likewise.
45534 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45536         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45537         implementation which is faster on all x86_64 architectures.
45538         Tested on AMD, Intel Nehalem, SNB, IVB.
45539         * sysdeps/x86_64/strnlen.S: Likewise.
45541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45542         Remove all multiarch strlen and strnlen versions.
45543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45544         Remove strlen and strnlen related parts.
45546         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45547         Inline strlen part.
45548         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45550         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45551         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45552         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45553         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45554         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45555         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45557 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45559         * manual/memory.texi (Malloc Tunable Parameters):
45560         Sort parameters alphabetically. Add comments for missing entries.
45562 2013-03-17  David S. Miller  <davem@davemloft.net>
45564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45566 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45568         [BZ #15283]
45569         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45570         for arguments at most half maximum finite value.
45571         * math/libm-test.inc (j0_test): Add more tests.
45572         (j1_test): Likewise.
45573         (y0_test): Likewise.
45574         (y1_test): Likewise.
45575         * sysdeps/i386/fpu/libm-test-ulps: Update.
45576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45578         [BZ #14155]
45579         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45580         1 / x and functions P and Q for arguments above 0x1p256L.
45581         (__ieee754_y0l): Likewise.
45582         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45583         (__ieee754_y1l): Likewise.
45584         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45585         (j1_test): Likewise.
45586         (y0_test): Likewise.
45587         (y1_test): Likewise.
45589 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45591         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45592         variable.
45594 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45596         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45597         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45598         zero since it's initialized to EXEC_PAGESIZE.
45600         * sysdeps/unix/sysv/linux/ldsodefs.h
45601         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45602         * sysdeps/generic/ldsodefs.h: ... here.
45604 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45606         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45608         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45609         math/test-snan.c.
45610         * math/test-snan.c: Renamed from
45611         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45612         * math/Makefile (tests): Add test-snan.
45613         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45614         test-powerpc-snan.
45616         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45617         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45618         functions.
45619         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45620         __builtin_nan family of functions.
45621         * math/libm-test.inc (initialize): Initialize qnan_value with
45622         __builtin_nan family of functions.
45623         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45624         Remove variables.
45625         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45626         Remove functions.
45627         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45628         storage class.  Initialize qNaN_var and sNaN_var with
45629         __builtin_nan and __builtin_nans families of functions,
45630         respectively.
45632         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45633         (sqrt_test): Remove duplicate test with qNaN input.
45634         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45635         (round_test, signbit_test, significand_test): Note missing +/-Inf
45636         as well as qNaN tests.
45638         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45639         qNaN_var.  Fix a few strings, too.
45640         * math/libm-test.inc (nan_value): Rename to qnan_value.
45641         * math/gen-libm-test.pl (%beautify): Adjust to that.
45642         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45643         * math/test-misc.c (main): Likewise.
45644         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45645         to __qnan_bytes, and __qnan_union, respectively.
45646         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45647         Likewise.
45648         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45649         and lqnanval, respectively.
45650         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45651         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45652         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45653         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45655         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45656         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45657         doubles.
45659         * math/test-misc.c (main): Fix copy'n'pastos.
45660         * misc/tst-efgcvt.c (special): Likewise.
45662         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45663         Remove declarations.
45665 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45667         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45668         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45669         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45670         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45672 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45674         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45675         macro to return vdso values correctly in IFUNC implementations.
45676         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45677         Optimization by using IFUNC.
45679 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45680             Richard Henderson  <rth@redhat.com>
45681             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45683         * Makefile.in (bench): New target.
45684         * NEWS: Mention the benchmark framework.
45685         * Rules (bench): Likewise.
45686         (binaries-bench): Generate binaries for functions to
45687         benchmark.
45688         * benchtests/Makefile: New makefile for benchmark tests.
45689         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45690         programs.
45691         * benchtests/exp-inputs: New input file for EXP function.
45692         * benchtests/pow-inputs: New input file for POW function.
45693         * scripts/bench.pl: New script to generate source files for
45694         benchmark programs.
45696 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45698         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45699         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45700         computations on mantissa.  Use macros for rounding and
45701         division.
45702         (denorm): Likewise.
45703         (__dbl_mp): Likewise.
45704         (add_magnitudes): Likewise.
45705         (sub_magnitudes): Likewise.
45706         (__mul): Likewise.
45707         (__sqr): Likewise.
45708         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45709         powers of two in terms of TWOPOW macro.
45710         (mp_no): Make type of mantissa as MANTISSA_T.
45711         [!RADIXI]: Define RADIXI.
45712         [!TWO52]: Define TWO52.
45713         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45715         * manual/nptl.texi (cindex): Modify threads to pthreads.
45717 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45719         * sysdeps/x86_64/preconfigure: Regenerated.
45721 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45723         [BZ #14155]
45724         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45725         0x1p28 and above.
45726         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45727         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45728         0x1p28 and above.
45729         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45730         * math/libm-test.inc (j0_test): Do not allow one spurious
45731         underflow exception.
45732         (y1_test): Likewise.
45734 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45736         * manual/Makefile (chapters): Add nptl.
45737         * manual/debug.texi (Debugging Support): Add link to Threads
45738         chapter.
45739         * manual/nptl.texi: New file.
45741         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45743 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45745         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45746         for non-NULL pointer before the memory validity test. Pointed
45747         out by Holger Brunck <holger.brunck@keymile.com>.
45749 2013-03-13  Andreas Schwab  <schwab@suse.de>
45751         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45752         instead of .os.
45754 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45756         * timezone/zic.c: Update from tzcode 2013b.
45758 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45760         * manual/install.texi (Configuring and compiling):
45761         Mention i686 and i586.
45762         * INSTALL: Regenerate.
45764 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45766         * sysdeps/init_array/elf-init.c: New file.
45767         * csu/elf-init.c
45768         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45769         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45771         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45772         __gmon_start__ as global, but as static with a .preinit_array pointer.
45773         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45774         * sysdeps/init_array/crti.S: New file, empty except for comments.
45775         * sysdeps/init_array/crtn.S: Likewise.
45777 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45779         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45780         definining bcopy.
45781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45782         Remove Prefer_SSE_for_memop.
45783         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45784         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45785         HAS_PREFER_SSE_FOR_MEMOP.
45786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45787         memset-x86-64.
45788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45789         Remove bzero, memset ifunc support.
45790         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45791         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45792         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45793         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45795 2013-03-11  Andreas Schwab  <schwab@suse.de>
45797         [BZ #15234]
45798         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45799         by SHLIB_COMPAT.
45800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45801         (GLIBC_2.16): Remove pthread_atfork.
45803 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45805         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45806         (ptestcases.h): Likewise.
45808 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45810         * Makeconfig ($(common-objpfx)config.status): Depend on
45811         sysdeps/*/preconfigure{,.in} too.
45813 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45815         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45816         (__free_hook): Use void * instead of __malloc_ptr_t.
45817         (__malloc_hook): Likewise.
45818         (__realloc_hook): Likewise.
45819         (__memalign_hook): Likewise.
45820         (__after_morecore_hook): Likewise.
45821         * malloc/arena.c (save_malloc_hook): Likewise.
45822         (save_free_hook): Likewise.
45823         * malloc/hooks.c (malloc_hook_ini): Likewise.
45824         (realloc_hook_ini): Likewise.
45825         (memalign_hook_ini): Likewise.
45826         * malloc/malloc.c (malloc_hook_ini): Likewise.
45827         (realloc_hook_ini): Likewise.
45828         (memalign_hook_ini): Likewise.
45829         (__free_hook): Likewise.
45830         (__malloc_hook): Likewise.
45831         (__realloc_hook): Likewise.
45832         (__memalign_hook): Likewise.
45833         (__libc_malloc): Likewise.
45834         (__libc_free): Likewise.
45835         (__libc_realloc): Likewise.
45836         (__libc_memalign): Likewise.
45837         (__libc_valloc): Likewise.
45838         (__libc_pvalloc): Likewise.
45839         (__libc_calloc): Likewise.
45840         (__posix_memalign): Likewise.
45841         * malloc/morecore.c (__sbrk): Likewise.
45842         (__default_morecore): Likewise.
45844         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45846         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45847         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45848         __malloc_ptrdiff_t.
45850         * malloc/malloc.h (__malloc_size_t): Remove macro.
45851         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45852         __malloc_size_t.
45853         (old_memalign_hook): Likewise.
45854         (old_realloc_hook): Likewise.
45855         (struct hdr): Likewise.
45856         (flood): Likewise.
45857         (mallochook): Likewise.
45858         (memalignhook): Likewise.
45859         (reallochook): Likewise.
45860         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45861         (tr_old_realloc_hook): Likewise.
45862         (tr_old_memalign_hook): Likewise.
45863         (tr_mallochook): Likewise.
45864         (tr_reallochook): Likewise.
45865         (tr_memalignhook): Likewise.
45867 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45870         default_ldbl_pack and using as default implementation.
45871         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45872         implementation.
45873         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45874         redundant definition.
45875         (ldbl_insert_mantissa): Likewise.
45876         (ldbl_canonicalize): Likewise.
45877         (ldbl_nearbyint): Likewise.
45878         (ldbl_pack): Rename to ldbl_pack_ppc.
45879         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45880         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45881         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45883 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45886         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45887         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45888         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45890         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45891         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45892         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45894 2013-03-07  Andreas Jaeger  <aj@suse.de>
45896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45897         bits/mman-linux.h.
45899 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45901         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45902         Include mpa.h and declare __MPEXP.
45903         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45904         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45905         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45906         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45907         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45908         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45909         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45911         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45912         (__slowpow): Use long double EXPL and LOGL functions to
45913         compute POW.
45914         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45915         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45916         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45917         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45918         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45919         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45922         intermediate variable to calculate exponent.
45923         (__sqr): Likewise.
45924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45925         Likewise.
45926         (__sqr): Likewise.
45928         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45929         [!NO__SQR]: Define __sqr.
45930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45931         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45932         sysdeps/ieee754/dbl-64/mpa.c.
45933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45935         [BZ #12723]
45936         * posix/Makefile (tests): Add tst-pathconf.
45937         * posix/tst-pathconf.c: New test case.
45938         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45939         _PC_PIPE_BUF.
45940         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45942 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45944         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45946 2013-03-06  Andreas Jaeger  <aj@suse.de>
45948         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45949         definition via __MAP_ANONYMOUS.
45951         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45952         it's not part of Linux headers.
45954         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45955         (MAP_HUGE_MASK): Define.
45957         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45958         Define.
45959         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45960         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45961         Define.
45962         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45963         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45964         Define.
45965         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45966         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45967         Define.
45968         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45970         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45971         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45972         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45973         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45974         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45975         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45978         Handle f2fs.
45980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45981         Handle f2fs and efivarfs.
45983         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45984         f2fs.
45986         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45987         (EFIVARFS_MAGIC): Add.
45988         (F2FS_LINK_MAX): Add.
45990 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45992         * stdio-common/vfprintf.c: Replace __builtin_expect with
45993         __glibc_unlikely.
45995 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45997         [BZ #13550]
45998         * sysdeps/generic/bp-sym.h: Remove file.
45999         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46001         <bp-sym.h> and <bp-asm.h>.
46002         (__longjmp): Don't use BP_SYM.
46003         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46004         and <bp-asm.h>.
46005         (memcpy): Don't use BP_SYM.
46006         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46007         <bp-sym.h> and <bp-asm.h>.
46008         (memcpy): Don't use BP_SYM.
46009         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46010         <bp-asm.h>.
46011         (memcpy): Don't use BP_SYM.
46012         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46013         <bp-asm.h>.
46014         (memset): Don't use BP_SYM.
46015         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46016         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46017         (__bzero): Don't use BP_SYM.
46018         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46019         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46020         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46021         <bp-sym.h> and <bp-asm.h>.
46022         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46023         pointers.
46024         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46025         <bp-sym.h> and <bp-asm.h>.
46026         (memcpy): Don't use BP_SYM.
46027         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46028         <bp-sym.h> and <bp-asm.h>.
46029         (memset): Don't use BP_SYM.
46030         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46031         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46032         (__bzero): Don't use BP_SYM.
46033         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46034         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46035         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46036         <bp-sym.h> and <bp-asm.h>.
46037         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46038         pointers.
46039         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46040         <bp-sym.h> and <bp-asm.h>.
46041         (memcpy): Don't use BP_SYM.
46042         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46043         <bp-sym.h> and <bp-asm.h>.
46044         (memset): Don't use BP_SYM.
46045         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46046         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46047         (__bzero): Don't use BP_SYM.
46048         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46049         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46050         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46051         <bp-sym.h> and <bp-asm.h>.
46052         (__memchr): Don't use BP_SYM.
46053         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46054         <bp-sym.h> and <bp-asm.h>.
46055         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46056         pointers.
46057         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46058         <bp-sym.h> and <bp-asm.h>.
46059         (memcpy): Don't use BP_SYM.
46060         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46061         <bp-sym.h> and <bp-asm.h>.
46062         (__mempcpy): Don't use BP_SYM.
46063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46064         <bp-sym.h> and <bp-asm.h>.
46065         (__memrchr): Don't use BP_SYM.
46066         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46067         <bp-sym.h> and <bp-asm.h>.
46068         (memset): Don't use BP_SYM.
46069         (__bzero): Likewise.
46070         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46071         <bp-sym.h> and <bp-asm.h>.
46072         (__rawmemchr): Don't use BP_SYM.
46073         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46074         <bp-sym.h> and <bp-asm.h>.
46075         (__STRCMP): Don't use BP_SYM.
46076         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46077         <bp-sym.h> and <bp-asm.h>.
46078         (strchr): Don't use BP_SYM.
46079         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46080         <bp-sym.h> and <bp-asm.h>.
46081         (__strchrnul): Don't use BP_SYM.
46082         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46083         <bp-sym.h> and <bp-asm.h>.
46084         (strlen): Don't use BP_SYM.
46085         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46086         <bp-sym.h> and <bp-asm.h>.
46087         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46088         pointers.
46089         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46090         <bp-sym.h> and <bp-asm.h>.
46091         (__strnlen): Don't use BP_SYM.
46092         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46093         <bp-sym.h> and <bp-asm.h>.
46094         (__GI__setjmp): Don't use BP_SYM.
46095         (_setjmp): Likewise.
46096         (__sigsetjmp): Likewise.
46097         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46098         (L(start_addresses)): Don't use BP_SYM.
46099         (_start): Likewise.
46100         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46101         <bp-asm.h>.
46102         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46103         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46104         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46105         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46106         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46107         <bp-asm.h>.
46108         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46109         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46110         about bounded pointers.
46111         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46112         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46113         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46114         <bp-asm.h>.
46115         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46116         about bounded pointers.  Remove GKM FIXME comments.
46117         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46118         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46119         <bp-asm.h>.
46120         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46121         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46122         Remove GKM FIXME comments.
46123         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46124         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46125         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46126         <bp-asm.h>.
46127         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46128         about bounded pointers.  Remove GKM FIXME comment.
46129         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46130         and <bp-asm.h>.
46131         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46132         pointers.
46133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46134         <bp-sym.h> and <bp-asm.h>.
46135         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46137         <bp-sym.h> and <bp-asm.h>.
46138         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46139         comment.
46141 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46143         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46144         call free(NULL).
46146 2013-03-05  David S. Miller  <davem@davemloft.net>
46148         * po/es.po: Update from translation team.
46150 2013-03-05  Andreas Jaeger  <aj@suse.de>
46152         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46153         <bits/mman-linux.h>.
46154         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46155         is fine.
46156         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46157         <bits/mman-linux.h> to end of file.
46158         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46159         is fine.
46160         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46161         <bits/mman-linux.h> to end of file.
46162         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46163         is fine.
46164         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46165         <bits/mman-linux.h> to end of file.
46167         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46168         (MCL_CURRENT, MCL_FUTURE): Define here.
46170 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46172         [BZ #15232]
46173         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46174         attribute_hidden.
46175         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46177 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46179         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46180         fourth parameter needed for rt_sigprocmask syscall.
46181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46182         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46183         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46184         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46186         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46188 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46190         [BZ #13550]
46191         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46192         comment about bounded pointers.
46193         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46194         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46196 2013-03-04  Andreas Jaeger  <aj@suse.de>
46198         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46199         common definitions.
46201         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46202         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46203         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46204         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46205         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46208 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46210         [BZ #15055]
46211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46212         __ieee754_sqrl instead of __sqrl.
46214 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46216         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46217         * sysdeps/powerpc/fpu_control.h: ... here.
46218         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46219         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46220         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46221         * sysdeps/powerpc/bits/mathinline.h: ... here.
46223 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46225         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46226         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46227         to just [NEED_DL_SYSINFO_DSO].
46228         * elf/dl-support.c: Likewise.
46229         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46230         * elf/rtld.c (dl_main): Likewise.
46231         * elf/setup-vdso.h (setup_vdso): Likewise.
46232         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46233         * sysdeps/unix/sysv/linux/dl-sysdep.c
46234         (_dl_discover_osversion): Likewise.
46236 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46238         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46239         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46241 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46243         * NEWS: Mention libm performance improvements and non-x86 PI
46244         futex support.
46246         * csu/libc-start.c (__pthread_initialize_minimal): Change
46247         function arguments.
46248         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46250 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46252         [BZ #13550]
46253         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46254         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46255         <bp-sym.h> and <bp-asm.h>.
46256         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46257         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46258         and <bp-asm.h>.
46259         (memcpy): Don't use BP_SYM.
46260         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46261         <bp-asm.h>.
46262         (__mpn_add_n): Don't use BP_SYM.
46263         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46264         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46265         and <bp-asm.h>.
46266         (__mpn_addmul_1): Don't use BP_SYM.
46267         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46268         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46269         <bp-sym.h>.
46270         (_setjmp): Don't use BP_SYM.
46271         (__novmx_setjmp): Likewise.
46272         (__GI__setjmp): Likewise.
46273         (__vmx_setjmp): Likewise.
46274         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46275         <bp-sym.h>.
46276         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46277         (__bzero): Don't use BP_SYM.
46278         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46279         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46280         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46281         <bp-sym.h> and <bp-asm.h>.
46282         (memcpy): Don't use BP_SYM.
46283         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46284         <bp-sym.h> and <bp-asm.h>.
46285         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46286         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46287         <bp-sym.h> and <bp-asm.h>.
46288         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46289         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46290         <bp-asm.h>.
46291         (__mpn_lshift): Don't use BP_SYM.
46292         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46293         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46294         <bp-asm.h>.
46295         (memset): Don't use BP_SYM.
46296         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46297         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46298         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46299         <bp-asm.h>.
46300         (__mpn_mul_1): Don't use BP_SYM.
46301         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46302         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46303         <bp-sym.h> and <bp-asm.h>.
46304         (memcmp): Don't use BP_SYM.
46305         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46306         <bp-sym.h> and <bp-asm.h>.
46307         (memcpy): Don't use BP_SYM.
46308         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46309         <bp-sym.h> and <bp-asm.h>.
46310         (memset): Don't use BP_SYM.
46311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46312         <bp-sym.h> and <bp-asm.h>.
46313         (strncmp): Don't use BP_SYM.
46314         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46315         <bp-sym.h> and <bp-asm.h>.
46316         (memcpy): Don't use BP_SYM.
46317         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46318         <bp-sym.h> and <bp-asm.h>.
46319         (memset): Don't use BP_SYM.
46320         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46321         <bp-sym.h> and <bp-asm.h>.
46322         (__memchr): Don't use BP_SYM.
46323         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46324         <bp-sym.h> and <bp-asm.h>.
46325         (memcmp): Don't use BP_SYM.
46326         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46327         <bp-sym.h> and <bp-asm.h>.
46328         (memcpy): Don't use BP_SYM.
46329         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46330         <bp-sym.h> and <bp-asm.h>.
46331         (__mempcpy): Don't use BP_SYM.
46332         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46333         <bp-sym.h> and <bp-asm.h>.
46334         (__memrchr): Don't use BP_SYM.
46335         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46336         <bp-sym.h> and <bp-asm.h>.
46337         (memset): Don't use BP_SYM.
46338         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46339         <bp-sym.h> and <bp-asm.h>.
46340         (__rawmemchr): Don't use BP_SYM.
46341         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46342         <bp-sym.h> and <bp-asm.h>.
46343         (__STRCMP): Don't use BP_SYM.
46344         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46345         <bp-sym.h> and <bp-asm.h>.
46346         (strchr): Don't use BP_SYM.
46347         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46348         <bp-sym.h> and <bp-asm.h>.
46349         (__strchrnul): Don't use BP_SYM.
46350         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46351         <bp-sym.h> and <bp-asm.h>.
46352         (strlen): Don't use BP_SYM.
46353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46354         <bp-sym.h> and <bp-asm.h>.
46355         (strncmp): Don't use BP_SYM.
46356         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46357         <bp-sym.h> and <bp-asm.h>.
46358         (__strnlen): Don't use BP_SYM.
46359         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46360         <bp-asm.h>.
46361         (__mpn_rshift): Don't use BP_SYM.
46362         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46363         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46364         <bp-sym.h> and <bp-asm.h>.
46365         (__sigsetjmp): Don't use BP_SYM.
46366         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46367         (L(start_addresses)): Don't use BP_SYM.
46368         (_start): Likewise.
46369         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46370         <bp-asm.h>.
46371         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46372         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46373         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46374         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46375         <bp-asm.h>.
46376         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46377         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46378         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46379         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46380         <bp-asm.h>.
46381         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46382         comments.
46383         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46384         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46385         <bp-asm.h>.
46386         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46387         FIXME comments.
46388         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46389         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46390         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46391         <bp-asm.h>.
46392         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46393         comment.
46394         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46395         and <bp-asm.h>.
46396         (strncmp): Don't use BP_SYM,
46397         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46398         <bp-asm.h>.
46399         (__mpn_sub_n): Don't use BP_SYM.
46400         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46401         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46402         and <bp-asm.h>.
46403         (__mpn_submul_1): Don't use BP_SYM.
46404         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46406         <bp-sym.h> and <bp-asm.h>.
46407         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46409         <bp-sym.h> and <bp-asm.h>.
46410         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46411         comment.
46413 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46416         Use ZK to minimize writes to Z.
46417         (sub_magnitudes): Simplify code a bit.
46418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46419         Use ZK to minimize writes to Z.
46420         (sub_magnitudes): Simplify code a bit.
46422 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46424         * csu/gmon-start.c: Add special exception to license text.
46426 2013-02-27  Richard Henderson  <rth@redhat.com>
46428         * scripts/config.guess: Update from config.git.
46429         * scripts/config.sub: Likewise.
46431 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46433         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46435         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46437         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46439         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46441         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46443 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46445         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46446         [$(build-shared = yes].
46448 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46450         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46451         (__mul): Reduce iterations for calculating mantissa.
46453         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46454         MPTWO.
46455         (__mpranred): Likewise.
46457         [BZ #15160]
46458         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46459         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46461 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46463         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46464         Define __attribute__.
46466 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46468         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46469         unused.
46470         * posix/regex_internal.h (__attribute): Remove.
46471         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46472         (re_string_context_at): Likewise.
46473         (bitset_not): Use __attribute__ and mark function as possibly
46474         unused.
46475         (bitset_merge): Likewise.
46476         (bitset_mask): Likewise.
46477         (re_string_char_size_at): Likewise.
46478         (re_string_wchar_at): Likewise.
46479         (re_string_elem_size_at): Likewise.
46481 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46483         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46484         code.
46485         (cc32): Likewise.
46487         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46488         (__acr): Likewise.
46489         (__cpy): Likewise.
46490         (norm): Likewise.
46491         (denorm): Likewise.
46492         (__dbl_mp): Likewise.
46493         (add_magnitudes): Likewise.
46494         (sub_magnitudes): Likewise.
46495         (__mul): Likewise.
46496         (__inv): Likewise.
46498         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46499         style.
46501         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46502         style.
46504         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46505         code.
46507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46508         up changes with default code.
46509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46510         Likewise.
46512 2013-02-24  Allan McRae  <allan@archlinux.org>
46514         * manual/socket.texi (The Internet Namespace): Order menu items
46515         to match that in the file.
46517         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46518         node listing of the info page menu.
46520 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46522         [BZ #13550]
46523         * sysdeps/i386/bp-asm.h: Remove file.
46524         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46525         (PARMS): Do not use macros from bp-asm.h.
46526         (S1): Likewise.
46527         (S2): Likewise.
46528         (SIZE): Likewise.
46529         (__mpn_add_n): Do not use BP_SYM
46530         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46531         "bp-asm.h".
46532         (PARMS): Do not use macros from bp-asm.h.
46533         (S1): Likewise.
46534         (SIZE): Likewise.
46535         (__mpn_addmul_1): Do not use BP_SYM
46536         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46537         "bp-asm.h".
46538         (PARMS): Do not use macros from bp-asm.h.
46539         (SIGMSK): Likewise.
46540         (_setjmp): Likewise.  Do not use BP_SYM.
46541         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46542         "bp-asm.h".
46543         (PARMS): Do not use macros from bp-asm.h.
46544         (SIGMSK): Likewise.
46545         (setjmp): Likewise.  Do not use BP_SYM.
46546         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46547         "bp-asm.h".
46548         (PARMS): Do not use macros from bp-asm.h.
46549         (__frexp): Do not use BP_SYM.
46550         (frexp): Likewise.
46551         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46552         "bp-asm.h".
46553         (PARMS): Do not use macros from bp-asm.h.
46554         (__frexpf): Do not use BP_SYM.
46555         (frexpf): Likewise.
46556         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46557         "bp-asm.h".
46558         (PARMS): Do not use macros from bp-asm.h.
46559         (__frexpl): Do not use BP_SYM.
46560         (frexpl): Likewise.
46561         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46562         "bp-asm.h".
46563         (PARMS): Do not use macros from bp-asm.h.
46564         (__remquo): Do not use BP_SYM.
46565         (remquo): Likewise.
46566         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46567         "bp-asm.h".
46568         (PARMS): Do not use macros from bp-asm.h.
46569         (__remquof): Do not use BP_SYM.
46570         (remquof): Likewise.
46571         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46572         "bp-asm.h".
46573         (PARMS): Do not use macros from bp-asm.h.
46574         (__remquol): Do not use BP_SYM.
46575         (remquol): Likewise.
46576         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46577         "bp-asm.h".
46578         (PARMS): Do not use macros from bp-asm.h.
46579         (DEST): Likewise.
46580         (SRC): Likewise.
46581         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46582         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46583         "bp-asm.h".
46584         (PARMS): Do not use macros from bp-asm.h.
46585         (strlen): Do not use BP_SYM.
46586         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46587         "bp-asm.h".
46588         (PARMS): Do not use macros from bp-asm.h.
46589         (S1): Likewise.
46590         (S2): Likewise.
46591         (SIZE): Likewise.
46592         (__mpn_add_n): Do not use BP_SYM.
46593         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46594         "bp-asm.h".
46595         (PARMS): Do not use macros from bp-asm.h.
46596         (S1): Likewise.
46597         (SIZE): Likewise.
46598         (__mpn_addmul_1): Do not use BP_SYM.
46599         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46600         weak_alias.
46601         (bzero): Likewise.
46602         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46603         "bp-asm.h".
46604         (PARMS): Do not use macros from bp-asm.h.
46605         (S): Likewise.
46606         (SIZE): Likewise.
46607         (__mpn_lshift): Do not use BP_SYM.
46608         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46609         "bp-asm.h".
46610         (PARMS): Do not use macros from bp-asm.h.
46611         (DEST): Likewise.
46612         (SRC): Likewise.
46613         (LEN): Likewise.
46614         (memcpy): Likewise.  Do not use BP_SYM.
46615         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46616         libc_hidden_def and weak_alias.
46617         (mempcpy): Do not use BP_SYM in weak_alias.
46618         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46619         "bp-asm.h".
46620         (PARMS): Do not use macros from bp-asm.h.
46621         (DEST): Likewise.
46622         (LEN): Likewise.
46623         [!BZERO_P] (CHR): Likewise.
46624         (memset): Likewise.  Do not use BP_SYM.
46625         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46626         "bp-asm.h".
46627         (PARMS): Do not use macros from bp-asm.h.
46628         (S1): Likewise.
46629         (SIZE): Likewise.
46630         (__mpn_mul_1): Do not use BP_SYM.
46631         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46632         "bp-asm.h".
46633         (PARMS): Do not use macros from bp-asm.h.
46634         (S): Likewise.
46635         (SIZE): Likewise.
46636         (__mpn_rshift): Do not use BP_SYM.
46637         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46638         "bp-asm.h".
46639         (PARMS): Do not use macros from bp-asm.h.
46640         (STR): Likewise.
46641         (CHR): Likewise.
46642         (strchr): Likewise.  Do not use BP_SYM.
46643         (index): Do not use BP_SYM in weak_alias.
46644         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46645         "bp-asm.h".
46646         (PARMS): Do not use macros from bp-asm.h.
46647         (DEST): Likewise.
46648         (SRC): Likewise.
46649         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46650         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46651         "bp-asm.h".
46652         (PARMS): Do not use macros from bp-asm.h.
46653         (strlen): Do not use BP_SYM.
46654         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46655         "bp-asm.h".
46656         (PARMS): Do not use macros from bp-asm.h.
46657         (S1): Likewise.
46658         (S2): Likewise.
46659         (SIZE): Likewise.
46660         (__mpn_sub_n): Do not use BP_SYM.
46661         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46662         "bp-asm.h".
46663         (PARMS): Do not use macros from bp-asm.h.
46664         (S1): Likewise.
46665         (SIZE): Likewise.
46666         (__mpn_submul_1): Do not use BP_SYM.
46667         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46668         "bp-asm.h".
46669         (PARMS): Do not use macros from bp-asm.h.
46670         (S1): Likewise.
46671         (S2): Likewise.
46672         (SIZE): Likewise.
46673         (__mpn_add_n): Do not use BP_SYM.
46674         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46675         weak_alias.
46676         (bzero): Likewise.
46677         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46678         "bp-asm.h".
46679         (PARMS): Do not use macros from bp-asm.h.
46680         (BLK2): Likewise.
46681         (LEN): Likewise.
46682         (memcmp): Do not use BP_SYM.
46683         (bcmp): Do not use BP_SYM in weak_alias.
46684         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46685         "bp-asm.h".
46686         (PARMS): Do not use macros from bp-asm.h.
46687         (DEST): Likewise.
46688         (SRC): Likewise.
46689         (LEN): Likewise.
46690         (memcpy): Likewise.  Do not use BP_SYM.
46691         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46692         "bp-asm.h".
46693         (PARMS): Do not use macros from bp-asm.h.
46694         (DEST): Likewise.
46695         (SRC): Likewise.
46696         (LEN): Likewise.
46697         (memmove): Likewise.  Do not use BP_SYM.
46698         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46699         "bp-asm.h".
46700         (PARMS): Do not use macros from bp-asm.h.
46701         (DEST): Likewise.
46702         (SRC): Likewise.
46703         (LEN): Likewise.
46704         (__mempcpy): Likewise.  Do not use BP_SYM.
46705         (mempcpy): Do not use BP_SYM in weak_alias.
46706         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46707         "bp-asm.h".
46708         (PARMS): Do not use macros from bp-asm.h.
46709         (DEST): Likewise.
46710         (LEN): Likewise.
46711         [!BZERO_P] (CHR): Likewise.
46712         (memset): Likewise.  Do not use BP_SYM.
46713         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46714         "bp-asm.h".
46715         (PARMS): Do not use macros from bp-asm.h.
46716         (STR2): Likewise.
46717         (strcmp): Do not use BP_SYM.
46718         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46719         "bp-asm.h".
46720         (PARMS): Do not use macros from bp-asm.h.
46721         (STR): Likewise.
46722         (DELIM): Likewise.
46723         [USE_AS_STRTOK_R] (SAVE): Likewise.
46724         (FUNCTION): Likewise.  Do not use BP_SYM.
46725         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46726         aliases.
46727         (strtok_r): Likewise.
46728         (__GI___strtok_r): Likewise.
46729         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46730         (PARMS): Do not use macros from bp-asm.h.
46731         (S): Likewise.
46732         (SIZE): Likewise.
46733         (__mpn_lshift): Do not use BP_SYM.
46734         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46735         (PARMS): Do not use macros from bp-asm.h.
46736         (STR): Likewise.
46737         (CHR): Likewise.
46738         (__memchr): Do not use BP_SYM.
46739         (memchr): Do not use BP_SYM in weak_alias.
46740         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46741         (PARMS): Do not use macros from bp-asm.h.
46742         (BLK2): Likewise.
46743         (LEN): Likewise.
46744         (memcmp): Do not use BP_SYM.
46745         (bcmp): Do not use BP_SYM in weak_alias.
46746         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46747         (PARMS): Do not use macros from bp-asm.h.
46748         (S1): Likewise.
46749         (SIZE): Likewise.
46750         (__mpn_mul_1): Do not use BP_SYM.
46751         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46752         "bp-asm.h".
46753         (PARMS): Do not use macros from bp-asm.h.
46754         (STR): Likewise.
46755         (CHR): Likewise.
46756         (__rawmemchr): Do not use BP_SYM.
46757         (rawmemchr): Do not use BP_SYM in weak_alias.
46758         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46759         (PARMS): Do not use macros from bp-asm.h.
46760         (S): Likewise.
46761         (SIZE): Likewise.
46762         (__mpn_rshift): Do not use BP_SYM.
46763         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46764         (PARMS): Do not use macros from bp-asm.h.
46765         (SIGMSK): Likewise.
46766         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46767         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46768         (_start): Do not use BP_SYM.
46769         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46770         (PARMS): Do not use macros from bp-asm.h.
46771         (DEST): Likewise.
46772         (SRC): Likewise.
46773         (__stpcpy): Likewise.  Do not use BP_SYM.
46774         (stpcpy): Do not use BP_SYM in weak_alias.
46775         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46776         "bp-asm.h".
46777         (PARMS): Do not use macros from bp-asm.h.
46778         (DEST): Likewise.
46779         (SRC): Likewise.
46780         (LEN): Likewise.
46781         (__stpncpy): Likewise.  Do not use BP_SYM.
46782         (stpncpy): Do not use BP_SYM in weak_alias.
46783         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46784         (PARMS): Do not use macros from bp-asm.h.
46785         (STR): Likewise.
46786         (CHR): Likewise.
46787         (strchr): Likewise.  Do not use BP_SYM.
46788         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46789         "bp-asm.h".
46790         (PARMS): Do not use macros from bp-asm.h.
46791         (STR): Likewise.
46792         (CHR): Likewise.
46793         (__strchrnul): Likewise.  Do not use BP_SYM.
46794         (strchrnul): Do not use BP_SYM in weak_alias.
46795         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46796         "bp-asm.h".
46797         (PARMS): Do not use macros from bp-asm.h.
46798         (STOP): Likewise.
46799         (strcspn): Do not use BP_SYM.
46800         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46801         "bp-asm.h".
46802         (PARMS): Do not use macros from bp-asm.h.
46803         (STR): Likewise.
46804         (STOP): Likewise.
46805         (strpbrk): Likewise.  Do not use BP_SYM.
46806         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46807         "bp-asm.h".
46808         (PARMS): Do not use macros from bp-asm.h.
46809         (STR): Likewise.
46810         (CHR): Likewise.
46811         (strrchr): Likewise.  Do not use BP_SYM.
46812         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46813         (PARMS): Do not use macros from bp-asm.h.
46814         (SKIP): Likewise.
46815         (strspn): Do not use BP_SYM.
46816         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46817         (PARMS): Do not use macros from bp-asm.h.
46818         (STR): Likewise.
46819         (DELIM): Likewise.
46820         (SAVE): Likewise.
46821         (FUNCTION): Likewise.  Do not use BP_SYM.
46822         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46823         aliases.
46824         (strtok_r): Likewise.
46825         (__GI___strtok_r): Likewise.
46826         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46827         (PARMS): Do not use macros from bp-asm.h.
46828         (S1): Likewise.
46829         (S2): Likewise.
46830         (SIZE): Likewise.
46831         (__mpn_sub_n): Do not use BP_SYM.
46832         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46833         "bp-asm.h".
46834         (PARMS): Do not use macros from bp-asm.h.
46835         (S1): Likewise.
46836         (SIZE): Likewise.
46837         (__mpn_submul_1): Do not use BP_SYM.
46838         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46839         <bp-sym.h>.
46840         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46841         and <bp-asm.h>.
46842         (PARMS): Do not use macros from bp-asm.h.
46843         (FLAGS): Likewise.
46844         (PTID): Likewise.
46845         (TLS): Likewise.
46846         (CTID): Likewise.
46847         (__clone): Do not use BP_SYM.
46848         (clone): Do not use BP_SYM in weak_alias.
46849         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46850         and <bp-asm.h>.
46851         (PARMS): Do not use macros from bp-asm.h.
46852         (LEN): Likewise.
46853         (__mmap64): Do not use BP_SYM.
46854         (mmap64): Do not use BP_SYM in weak_alias.
46855         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46856         <bp-sym.h> and <bp-asm.h>.
46857         (PARMS): Do not use macros from bp-asm.h.
46858         (__posix_fadvise64_l64): Do not use BP_SYM.
46859         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46860         (PARMS): Do not use macros from bp-asm.h.
46861         (NSOPS): Likewise.
46862         (semtimedop): Do not use BP_SYM.
46863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46864         and <bp-asm.h>.
46866 2013-02-21  Allan McRae  <allan@archlinux.org>
46868         * manual/message.texi (Charset conversion in gettext):
46869         Move @end statement to beginning of line.
46871 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46874         static.
46875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46876         Likewise.
46878         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46879         (denorm): Likewise.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46883 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46885         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46886         tail-call to the resolved function if pltexit isn't needed.
46888 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46891         or Y being zero as being unlikely.
46892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46893         Likewise.
46895 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46897         * manual/nss.texi (System Databases and Name Service Switch):
46898         Remove frobnicate @pxref.
46900 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46902         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46903         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46905 2013-02-20  Petr Machata  <pmachata@redhat.com>
46907         * elf/elf.h (R_ARM_TARGET1): New macro.
46908         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46909         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46910         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46911         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46912         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46913         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46914         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46915         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46916         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46917         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46918         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46919         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46920         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46921         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46922         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46923         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46924         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46925         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46926         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46927         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46928         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46929         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46930         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46931         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46932         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46933         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46934         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46935         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46936         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46937         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46938         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46939         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46940         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46941         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46942         (R_ARM_THM_GOT_BREL12): Likewise.
46943         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46944         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46945         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46946         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46947         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46948         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46949         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46950         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46951         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46953 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46955         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46956         __attribute_used__ to __attribute__ ((unused)).
46958 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46960         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46961         powerpc mpa.c.
46962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46963         comment formatting.
46964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46966 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46968         [BZ #13550]
46969         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46970         Remove macro.
46971         (ENTER): Remove both macro definitions.
46972         (LEAVE): Likewise.
46973         (CHECK_BOUNDS_LOW): Likewise.
46974         (CHECK_BOUNDS_HIGH): Likewise.
46975         (CHECK_BOUNDS_BOTH): Likewise.
46976         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46977         (RETURN_BOUNDED_POINTER): Likewise.
46978         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46979         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46980         (POP_ERRNO_LOCATION_RETURN): Likewise.
46981         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46982         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46983         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46984         macros.
46985         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46986         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46987         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46988         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46989         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46990         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46991         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46992         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46993         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46994         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46995         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46996         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46997         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46998         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46999         removed macros.
47000         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47001         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47002         macros.
47003         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47004         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47005         * sysdeps/i386/i586/memset.S (memset): Likewise.
47006         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47007         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47008         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47009         macros.
47010         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47011         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47012         Change uses of L(2) to L(out).
47013         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47014         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47015         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47016         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47017         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47018         removed macros.
47019         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47020         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47021         macros.
47022         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47023         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47024         (RETURN): Do not use macro LEAVE.
47025         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47026         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47027         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47028         * sysdeps/i386/i686/memset.S (memset): Likewise.
47029         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47030         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47031         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47032         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47033         Likewise.
47034         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47035         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47036         L(1_2) and L(1_3) into L(1).
47037         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47038         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47039         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47040         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47041         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47042         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47043         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47044         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47045         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47046         macros.
47047         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47048         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47049         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47050         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47051         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47052         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47053         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47054         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47055         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47056         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47057         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47058         * sysdeps/i386/strspn.S (strspn): Likewise.
47059         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47060         conditional code.
47061         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47062         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47063         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47064         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47065         L(1_3) into L(1_1).
47066         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47067         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47068         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47069         macros.
47070         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47072 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47074         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47075         macro.
47077 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47079         * math/atest-exp.c (exp_mpn): Remove ROUND.
47080         * math/atest-exp2.c (exp_mpn): Likewise.
47081         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47083         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47084         * stdlib/tst-tls-atexit-lib.c: Likewise.
47085         * stdlib/tst-tls-atexit.c: Likewise.
47087 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47089         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47090         and __attribute_alloc_size__.
47092 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47094         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47095         __attribute_alloc_size__.
47096         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47097         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47099 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47101         * include/programs/xmalloc.h: New file.
47102         * catgets/gencat.c: Include it.
47103         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47104         * elf/pldd.c: Likewise.
47105         * iconv/iconv_charmap.c: Likewise.
47106         * iconv/iconvconfig.c: Likewise.
47107         * iconv/strtab.c: Likewise.
47108         * locale/programs/locale.c: Likewise.
47109         * locale/programs/localedef.h: Likewise.
47110         * locale/programs/simple-hash.c: Likewise.
47111         * nscd/nscd.h: Likewise.
47112         * nss/makedb.c: Likewise.
47113         * sysdeps/generic/ldconfig.h: Likewise.
47115 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47117         * Versions.def: Add GLIBC_2.18.
47118         * include/link.h (struct link_map): New member l_tls_dtor_count.
47119         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47120         (__call_tls_dtors): Likewise.
47121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47122         __cxa_thread_atexit_impl.
47123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47124         Likewise.
47125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47126         Likewise.
47127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47128         Likewise.
47129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47130         Likewise.
47131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47133         Likewise.
47134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47135         Likewise.
47136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47138         Likewise.
47139         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47140         (tests): Add test case tst-tls-atexit.
47141         (modules-names): Add shared library for tst-tls-atexit.
47142         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47143         (GLIBC_PRIVATE): Add __call_tls_dtors.
47144         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47145         for libstdc++.
47146         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47147         * stdlib/tst-tls-atexit.c: New test case.
47148         * stdlib/tst-tls-atexit-lib.c: New test case.
47150         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47152         * elf/Versions (ld): Add _dl_find_dso_for_object.
47153         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47154         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47155         (dl_open_worker): Use _dl_find_dso_for_object.
47156         * elf/dl-sym.c (do_sym): Likewise.
47157         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47159 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47161         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47162         Syntactic changes only.
47163         (_dl_runtime_profile): Do a tail-call to the resolved function.
47165 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47167         [BZ #13550]
47168         * sysdeps/x86_64/bp-asm.h: Remove file.
47169         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47170         <bp-sym.h> and <bp-asm.h>.
47171         (__clone): Do not use BP_SYM.
47172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47173         <bp-sym.h> and <bp-asm.h>.
47174         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47175         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47176         "bp-asm.h".
47177         (_setjmp): Do not use BP_SYM.
47178         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47179         "bp-asm.h".
47180         (setjmp): Do not use BP_SYM.
47181         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47182         libc_hidden_def.
47183         (mempcpy): Do not use BP_SYM in weak_alias.
47184         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47185         "bp-asm.h".
47186         (strchr): Do not use BP_SYM.
47187         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47188         "bp-asm.h".
47189         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47190         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47191         (_start): Do not use BP_SYM.
47192         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47193         "bp-asm.h".
47194         (strcat): Do not use BP_SYM.
47195         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47196         "bp-asm.h".
47197         (STRCMP): Do not use BP_SYM.
47198         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47199         "bp-asm.h".
47200         (STRCPY): Do not use BP_SYM.
47201         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47202         "bp-asm.h".
47203         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47204         "bp-asm.h".
47205         (FUNCTION): Do not use BP_SYM.
47206         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47207         weak_alias.
47208         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47210 2013-02-17  Andreas Jaeger  <aj@suse.de>
47212         * time/Versions: Sort entries.
47213         * string/Versions: Likewise.
47214         * resolv/Versions: Likewise.
47215         * posix/Versions: Likewise.
47216         * iconv/Versions: Likewise.
47217         * elf/Versions: Likewise.
47218         * wcsmbs/Versions: Likewise.
47220 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47222         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47223         loop termination condition.
47225         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47226         variable to calculate EZ.
47227         (__sqr): Likewise.
47229         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47230         the lower precision input.
47232 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47234         [BZ #13550]
47235         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47236         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47237         (run-via-rtld-prefix): Do not handle %-bp tests.
47238         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47239         (all-object-suffixes): Remove .ob.
47240         (bppfx): Remove variable.
47241         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47242         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47243         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47244         [$(build-bounded) = yes] (libtype.ob): Likewise.
47245         * Makerules (elide-routines.ob): Remove variable.
47246         (do-tests-clean): Do not handle *-bp.out.
47247         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47248         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47249         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47250         (tests): Do not include $(tests-bp.out).
47251         (xtests): Do not include $(xtests-bp.out).
47252         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47253         [$(build-bounded) = yes] ($(addprefix
47254         $(objpfx),$(binaries-bounded))): Remove rule.
47255         ($(objpfx)%-bp.out): Remove rule.
47256         * config.make.in (build-bounded): Remove variable.
47257         * crypt/Makefile [$(build-bounded) = yes]
47258         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47259         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47260         append to variable.
47261         [$(build-bounded) = yes] (install-lib): Likewise.
47262         [$(build-bounded) = yes] (generated): Likewise.
47263         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47264         Remove rule.
47265         * intl/Makefile [$(build-bounded) = yes]
47266         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47267         * math/Makefile [$(build-bounded) = yes]
47268         ($(tests:%=$(objpfx)%-bp): Likewise.
47269         * misc/Makefile [$(build-bounded) = yes]
47270         ($(objpfx)tst-tsearch-bp): Likewise.
47271         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47272         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47273         Remove dependency.
47274         * string/Makefile (o-objects.ob): Remove variable.
47275         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47276         (CFLAGS-.ob): Remove variable.
47277         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47278         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47279         both definitions of variable.
47280         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47281         (ASFLAGS-.ob): Remove variable.
47283 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47285         [BZ #13550]
47286         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47287         Remove __BOUNDED_POINTERS__ from condition.
47288         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47289         * string/bits/string2.h [!__NO_STRING_INLINES &&
47290         !__BOUNDED_POINTERS__]: Likewise.
47291         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47292         Likewise.
47293         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47294         Remove conditional code.
47295         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47296         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47297         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47298         condition.
47300         [BZ #13550]
47301         * csu/libc-start.c: Do not include <bp-sym.h>.
47302         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47303         * elf/dl-open.c: Do not include <bp-sym.h>.
47304         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47305         * math/fegetenv.c: Do not include <bp-sym.h>.
47306         (fegetenv): Do not use BP_SYM in versioned symbols.
47307         * nptl/sysdeps/pthread/bits/libc-lockP.h
47308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47309         <bp-sym.h>.
47310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47311         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47313         (__pthread_mutex_destroy): Likewise.
47314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47315         (__pthread_mutex_lock): Likewise.
47316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47317         (__pthread_mutex_trylock): Likewise.
47318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47319         (__pthread_mutex_unlock): Likewise.
47320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47321         (__pthread_mutexattr_init): Likewise.
47322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47323         (__pthread_mutexattr_destroy): Likewise.
47324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47325         (__pthread_mutexattr_settype): Likewise.
47326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47327         (__pthread_rwlock_init): Likewise.
47328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47329         (__pthread_rwlock_destroy): Likewise.
47330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47331         (__pthread_rwlock_rdlock): Likewise.
47332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47333         (__pthread_rwlock_tryrdlock): Likewise.
47334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47335         (__pthread_rwlock_wrlock): Likewise.
47336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47337         (__pthread_rwlock_trywrlock): Likewise.
47338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47339         (__pthread_rwlock_unlock): Likewise.
47340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47341         (__pthread_key_create): Likewise.
47342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47343         (__pthread_setspecific): Likewise.
47344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47345         (__pthread_getspecific): Likewise.
47346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47347         Likewise.
47348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47349         (_pthread_cleanup_push_defer): Likewise.
47350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47351         (_pthread_cleanup_pop_restore): Likewise.
47352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47353         (pthread_setcancelstate): Likewise.
47354         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47355         <bp-sym.h>.
47356         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47357         (memchr): Do not use BP_SYM in weak_alias.
47358         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47359         (fegetenv): Do not use BP_SYM in versioned symbols.
47360         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47361         (fesetenv): Do not use BP_SYM in versioned symbols.
47362         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47363         (feupdateenv): Do not use BP_SYM in versioned symbols.
47364         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47365         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47366         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47367         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47368         (open64): Do not use BP_SYM in weak_alias.
47369         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47370         (fegetenv): Do not use BP_SYM in versioned symbols.
47371         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47372         (fesetenv): Do not use BP_SYM in versioned symbols.
47373         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47374         (feupdateenv): Do not use BP_SYM in versioned symbols.
47375         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47376         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47377         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47378         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47379         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47380         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47381         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47382         <bp-sym.h>.
47383         (__libc_start_main): Do not use BP_SYM.
47385 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47388         redundant return line.
47389         (norm): Likewise.
47390         (denorm): Likewise.
47391         (dbl_mp): Likewise.
47392         (sub_magnitudes): Likewise.
47393         (__add): Likewise.
47394         (__sub): Likewise.
47395         (__mul): Likewise.
47396         (__inv): Likewise.
47397         (__dvd): Likewise.
47398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47399         (norm): Likewise.
47400         (denorm): Likewise.
47401         (dbl_mp): Likewise.
47402         (sub_magnitudes): Likewise.
47403         (__add): Likewise.
47404         (__sub): Likewise.
47405         (__mul): Likewise.
47406         (__inv): Likewise.
47407         (__dvd): Likewise.
47409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47410         instead of __mul.
47411         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47412         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47413         (cc32): Likewise.
47415         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47416         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47418         of __mul for squares.
47419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47420         function
47421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47422         Likewise.
47423         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47426 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47428         [BZ #13550]
47429         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47430         code.
47431         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47432         prototype or function definition.  Rename ubp_* variables and
47433         parameters.  Remove argv definitions conditional on
47434         [__BOUNDED_POINTERS__].
47435         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47436         * elf/dl-runtime.c (_dl_fixup): Likewise.
47437         * include/set-hooks.h (RUN_HOOK): Likewise.
47438         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47439         definition.
47440         * string/strcpy.c (strcpy): Do not use __unbounded.
47441         * sysdeps/generic/frame.h (struct layout): Likewise.
47442         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47443         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47444         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47445         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47446         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47447         (__backtrace): Likewise.
47448         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47449         use __ptrvalue.
47450         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47451         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47452         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47453         Likewise.
47454         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47455         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47456         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47457         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47458         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47459         Do not use __unbounded.
47460         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47461         Rename __unboundedrlimits parameter to rlimits in prototype.
47462         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47463         Do not use __unbounded.
47464         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47465         not use __ptrvalue.
47466         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47467         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47468         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47469         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47470         __ptrvalue or __unbounded.
47471         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47472         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47473         use __unbounded.
47474         (__new_msgctl): Do not use __ptrvalue.
47475         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47476         __unbounded.
47477         (__libc_msgrcv): Do not use __ptrvalue.
47478         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47479         startup_info): Do not use __unbounded.
47480         (__libc_start_main): Likewise.  Rename ubp_* variables and
47481         parameters.  Remove argv definitions conditional on
47482         [__BOUNDED_POINTERS__].
47483         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47484         __ptrvalue.
47485         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47486         use __unbounded.
47487         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47488         or __ptrvalue.
47489         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47490         use __unbounded.
47491         (__new_shmctl): Do not use __ptrvalue.
47492         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47493         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47494         Likewise.
47495         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47497         (__libc_sigaction): Likewise.
47498         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47499         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47500         Likewise.
47501         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47503 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47505         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47507         * string/mempcpy.c: Implement by calling memcpy.
47509 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47514         evaluation.
47516         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47517         values in the mantissa.
47519         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47520         minimize writes to Z.
47521         (sub_magnitudes): Simplify code a bit.
47523 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47525         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47526         from the message.  The linker prefixes all warnings with that already.
47528 2013-02-12  Andreas Schwab  <schwab@suse.de>
47530         [BZ #15078]
47531         * posix/regexec.c (extend_buffers): Add parameter min_len.
47532         (check_matching): Pass minimum needed length.
47533         (clean_state_log_if_needed): Likewise.
47534         (get_subexp): Likewise.
47535         * posix/Makefile (tests): Add bug-regex34.
47536         (bug-regex34-ENV): Define.
47537         * posix/bug-regex34.c: New file.
47539         [BZ #11561]
47540         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47541         elements compare against the byte sequence of it, not its name.
47542         * posix/Makefile (tests): Add bug-regex35.
47543         (bug-regex35-ENV): Define.
47544         * posix/bug-regex35.c: New file.
47546 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47548         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47549         comment.
47550         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47551         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47552         (CHECK_EOL): Add undef.
47554 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47556         * bits/stdlib-bsearch.h: New file.
47557         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47558         * stdlib/stdlib.h: Likewise.
47560 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47562         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47563         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47564         declaration.
47565         * manual/search.texi (Array Search Function): Add missing const in
47566         lfind prototype.
47567         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47568         declaration to use rlim_t.
47569         (Basic Scheduling Functions): Remove erroneous const from
47570         sched_getparam prototype.  Remove erroneous * from
47571         sched_get_priority_max and sched_get_priority_min prototypes.
47572         (Resource Usage): Fix summary @comment on vtimes to refer to
47573         sys/vtimes.h rather than vtimes.h.
47574         Add missing *s in vtimes prototype.
47575         (Limits on Resources): Fix ulimit prototype to return long int.
47576         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47577         prototypes to use long int rather than double.
47578         (BSD Random): Fix initstate and setstate to use char *, not void *.
47579         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47580         prototype to make second argument 'struct aiocb64 *const[]'.
47581         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47582         (Status of AIO Operations): Remove erroneous const in aio_return and
47583         aio_return64 prototypes.
47584         (Synchronizing I/O): Fix sync prototype to return void.
47585         * manual/startup.texi (Suboptions): Remove an erroneous const in
47586         getsubopt prototype.
47587         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47588         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47589         use size_t rather than int.
47590         (Scanning All Users): Likewise for getpwent_r.
47591         (Setting Groups): Add missing const to setgroups prototype.
47592         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47593         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47594         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47595         'const void *' rather than 'const char *'.
47596         (Host Address Functions): Likewise for inet_ntop.
47597         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47598         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47599         ssize_t for return value.
47600         (Sending Data): Likewise for send, sendto, sendmsg.
47601         (Socket Option Functions): Add a missing const in setsockopt prototype.
47602         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47603         use wchar_t for the argument.
47604         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47605         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47606         take no arguments.
47607         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47608         double/float/long double for second argument.
47609         Fix return types of significand, significandf, significandl.
47610         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47611         argument in fchmod prototype.
47612         (File Owner): Use uid_t and gid_t in fchown prototype.
47613         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47614         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47615         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47616         use 'const struct dirent **' as argument types to CMP function pointer
47617         argument.
47618         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47619         (File Times): Fix summary magic @comment for struct utimbuf and utime
47620         to refer to utime.h, not time.h.
47621         * manual/string.texi (Argz Functions): Add missing const in
47622         argz_extract and argz_next prototypes.
47623         (Finding Tokens in a String): Likewise for basename.
47624         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47625         (Copying and Concatenation): Fix typo in wmemmove prototype.
47626         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47627         (Signal Stack): Remove erroneous const in sigstack prototype.
47628         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47629         prototype.
47630         (Simple Calendar Time): Likewise for stime.
47631         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47632         prototype.
47633         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47634         say sys/sysctl.h instead.
47635         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47636         and vsyslog prototypes.
47638 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47640         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47641         Remove.
47643 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47645         * misc/sys/mman.h: Fix typo in mremap comment.
47647 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47649         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47650         the '\0' terminator.
47652 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47654         [BZ #13550]
47655         * debug/segfault.c: Don't include <bp-checks.h>.
47656         * sysdeps/generic/bp-checks.h: Remove file.
47657         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47658         (__GETDENTS): Don't use CHECK_N.
47659         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47660         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47661         (__getgroups): Don't use CHECK_N.
47662         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47663         (setgroups): Don't use CHECK_N.
47664         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47665         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47666         (__libc_msgrcv): Don't use CHECK_N.
47667         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47668         (__libc_msgsnd): Don't use CHECK_N.
47669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47670         <bp-checks.h>.
47671         (__libc_pread): Don't use CHECK_N.
47672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47673         include <bp-checks.h>.
47674         (__libc_pread64): Don't use CHECK_N.
47675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47676         include <bp-checks.h>.
47677         (__libc_pwrite): Don't use CHECK_N.
47678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47679         include <bp-checks.h>.
47680         (__libc_pwrite64): Don't use CHECK_N.
47681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47682         <bp-checks.h>.
47683         (__libc_pread): Don't use CHECK_N.
47684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47685         include <bp-checks.h>.
47686         (__libc_pread64): Don't use CHECK_N.
47687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47688         include <bp-checks.h>.
47689         (__libc_pwrite): Don't use CHECK_N.
47690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47691         include <bp-checks.h>.
47692         (__libc_pwrite64): Don't use CHECK_N.
47693         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47694         (do_pread): Don't use CHECK_N.
47695         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47696         (do_pread64): Don't use CHECK_N.
47697         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47698         (do_pwrite): Don't use CHECK_N.
47699         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47700         (do_pwrite64): Don't use CHECK_N.
47701         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47702         (__libc_readv): Don't use CHECK_N.
47703         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47704         (semop): Don't use CHECK_N.
47705         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47706         <bp-checks.h>.
47707         (semtimedop): Don't use CHECK_N.
47708         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47709         (__libc_pread): Don't use CHECK_N.
47710         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47711         <bp-checks.h>.
47712         (__libc_pread64): Don't use CHECK_N.
47713         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47714         <bp-checks.h>.
47715         (__libc_pwrite): Don't use CHECK_N.
47716         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47717         <bp-checks.h>.
47718         (__libc_pwrite64): Don't use CHECK_N.
47719         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47720         <bp-checks.h>.
47721         (__libc_msgrcv): Don't use CHECK_N.
47722         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47723         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47724         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47725         (__libc_writev): Don't use CHECK_N.
47727 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47729         * string/strcpy.c: Removed unused variable.
47731         * Makeconfig (+sysdep-includes): Define with := rather than =.
47732         Use an existing include/ subdir of each sysdeps dir before it.
47734 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47736         * nscd/connection.c (register_traced_file): Comment function.
47737         [HAVE_INOTIFY] (union __inev): Define.
47738         [HAVE_INOTIFY] (inotify_check_files): New function.
47739         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47740         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47741         clear_db_cache.
47742         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47744 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47746         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47747         loaded if not already and that a failure is permanent.
47749 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47751         [BZ #15006]
47752         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47753         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47755 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47757         [BZ #13550]
47758         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47759         (CHECK_1_NULL_OK): Likewise.
47760         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47761         (__fxstat): Do not use CHECK_1.
47762         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47763         <bp-checks.h>.
47764         (___fxstat64): Do not use CHECK_1.
47765         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47766         <bp-checks.h>.
47767         (__fxstatat): Do not use CHECK_1.
47768         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47769         <bp-checks.h>.
47770         (__fxstatat64): Do not use CHECK_1.
47771         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47772         <bp-checks.h>.
47773         (__fxstat): Do not use CHECK_1.
47774         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47775         <bp-checks.h>.
47776         (__fxstatat): Do not use CHECK_1.
47777         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47778         <bp-checks.h>.
47779         (__getresgid): Do not use CHECK_1.
47780         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47781         <bp-checks.h>.
47782         (__getresuid): Do not use CHECK_1.
47783         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47784         <bp-checks.h>.
47785         (__lxstat): Do not use CHECK_1.
47786         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47787         <bp-checks.h>.
47788         (__old_msgctl): Do not use CHECK_1.
47789         (__new_msgctl): Likewise.
47790         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47791         <bp-checks.h>.
47792         (__new_setrlimit): Do not use CHECK_1.
47793         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47794         <bp-checks.h>.
47795         (__old_shmctl): Do not use CHECK_1.
47796         (__new_shmctl): Likewise.
47797         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47798         <bp-checks.h>.
47799         (__xstat): Do not use CHECK_1.
47800         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47801         (__lxstat): Do not use CHECK_1.
47802         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47803         <bp-checks.h>.
47804         (___lxstat64): Do not use CHECK_1.
47805         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47806         (__old_msgctl): Do not use CHECK_1.
47807         (__new_msgctl): Likewise.
47808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47809         <bp-checks.h>.
47810         (__gettimeofday): Do not use CHECK_1.
47811         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47812         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47813         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47814         <bp-checks.h>.
47815         (__gettimeofday): Do not use CHECK_1.
47816         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47817         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47818         (__new_shmctl): Do not use CHECK_1.
47819         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47820         <bp-checks.h>.
47821         (do_sigtimedwait): Do not use CHECK_1.
47822         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47823         <bp-checks.h>.
47824         (do_sigwaitinfo): Do not use CHECK_1.
47825         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47826         <bp-checks.h>.
47827         (msgctl): Do not use CHECK_1.
47828         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47829         <bp-checks.h>.
47830         (shmctl): Do not use CHECK_1.
47831         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47832         (ustat): Do not use CHECK_1.
47833         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47834         <bp-checks.h>.
47835         (__fxstat): Do not use CHECK_1.
47836         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47837         <bp-checks.h>.
47838         (__fxstatat): Do not use CHECK_1.
47839         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47840         <bp-checks.h>.
47841         (__lxstat): Do not use CHECK_1.
47842         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47843         <bp-checks.h>.
47844         (__xstat): Do not use CHECK_1.
47845         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47846         (__xstat): Do not use CHECK_1.
47847         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47848         (___xstat64): Do not use CHECK_1.
47850         [BZ #13550]
47851         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47852         definitions.
47853         (CHECK_BOUNDS_HIGH): Likewise.
47854         * string/strcpy.c: Do not include <bp-checks.h>.
47855         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47857 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47859         * nscd/nscd-client.h (__nscd_drop_map_ref):
47860         Add __attribute__ ((unused)).
47861         * nis/nss-nisplus.h (niserr2nss): Likewise.
47863         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47864         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47866         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47867         Remove inline keyword.
47868         * include/rounding-mode.h (round_away): Likewise.
47869         * libio/wfileops.c (adjust_wide_data): Likewise.
47870         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47871         (__m128i_strloadu_tolower): Likewise.
47872         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47873         (__m128i_strloadu_tolower): Likewise.
47874         * time/mktime.c (ydhms_diff): Likewise.
47875         * locale/elem-hash.h (elem_hash): Likewise.
47876         * locale/setlocale.c (setdata): Likewise.
47877         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47878         (re_string_wchar_at): Likewise.
47879         (bitset_not, bitset_merge, bitset_mask): Likewise.
47880         [!(__GNUC__ > 3)] (inline): Remove macro.
47881         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47882         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47883         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47884         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47885         * string/memcmp.c (memcmp_bytes): Likewise.
47886         * locale/programs/locarchive.c (compute_hashval): Likewise.
47887         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47888         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47889         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47890         * nss/getent.c (print_rpc, print_protocols): Likewise.
47891         (print_passwd, print_group, print_aliases): Likewise.
47892         * nis/nss-nisplus.h (niserr2nss): Likewise.
47893         * nscd/connections.c (restart_p): Likewise.
47894         Change return type to bool.
47896 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47898         * Makeconfig (all-Depend-files): Add existing
47899         $(sorted-subdirs:=/Depend) files.
47900         (all-subdirs): Remove nss.
47901         * sysdeps/unix/inet/Subdirs: Add it here instead.
47902         * hesiod/Depend: New file.
47904         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47905         instead of calling alloca.
47907         * io/lseek.c (__lseek): Rename to __libc_lseek.
47908         Define __lseek as an alias.
47910         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47912 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47914         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47915         else clause and remove check for non-standard endianness.
47917 2013-02-04  David S. Miller  <davem@davemloft.net>
47919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47921 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47923         [BZ #13550]
47924         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47925         (__ubp_memchr): Remove prototype.
47926         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47927         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47928         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47929         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47930         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47931         Remove alias.
47932         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47933         (__ubp_memchr): Likewise.
47934         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47935         (__ubp_memchr): Likewise.
47936         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47937         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47938         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47939         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47940         CHECK_STRING.
47941         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47942         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47943         (__getcwd): Do not use CHECK_STRING.
47944         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47945         <bp-checks.h>.
47946         (__real_chown): Do not use CHECK_STRING.
47947         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47948         <bp-checks.h>.
47949         (fchownat): Do not use CHECK_STRING.
47950         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47951         CHECK_STRING.
47952         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47953         <bp-checks.h>.
47954         (__lchown): Do not use CHECK_STRING.
47955         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47956         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47957         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47958         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47960         include <bp-checks.h>.
47961         (truncate64): Do not use CHECK_STRING.
47962         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47963         <bp-checks.h>.
47964         (__real_chown): Do not use CHECK_STRING.
47965         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47966         <bp-checks.h>.
47967         (__lchown): Do not use CHECK_STRING.
47968         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47969         <bp-checks.h>.
47970         (__chown): Do not use CHECK_STRING.
47971         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47972         <bp-checks.h>.
47973         (truncate64): Do not use CHECK_STRING.
47974         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47975         Likewise.
47976         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47977         (__xmknod): Do not use CHECK_STRING.
47978         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47979         <bp-checks.h>.
47980         (__xmknodat): Do not use CHECK_STRING.
47981         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47982         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47984 2013-02-04  Andreas Schwab  <schwab@suse.de>
47986         [BZ #14142]
47987         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47988         * include/netdb.h: Likewise for h_errno.
47989         * elf/tst-stackguard1.c: Include <tls.h>.
47991 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47993         * elf/link.h (struct link_map): Extend the l_addr comment.
47994         * include/link.h (struct link_map): Likewise.
47996 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47998         [BZ #13550]
47999         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48000         (BOUNDED_1): Remove macro.
48001         * debug/backtrace.c: Don't include <bp-checks.h>.
48002         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48003         (__backtrace): Likewise.
48004         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48005         <bp-checks.h>.
48006         (__backtrace): Don't use BOUNDED_1.
48007         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48008         <bp-checks.h>.
48009         (__backtrace): Don't use BOUNDED_1.
48010         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48011         (__backtrace): Don't use BOUNDED_1.
48012         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48013         (shmat): Don't use BOUNDED_N.
48015 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48017         [BZ #13550]
48018         * sysdeps/generic/bp-start.h: Remove file.
48019         * csu/libc-start.c: Don't include <bp-start.h>.
48020         (LIBC_START_MAIN): Set up __environ directly instead of using
48021         INIT_ARGV_and_ENVIRON.
48022         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48023         <bp-start.h>.
48025         [BZ #13550]
48026         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48027         definitions.
48028         (CHECK_FCNTL): Likewise.
48029         (CHECK_N_PAGES): Likewise.
48031         [BZ #13550]
48032         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48033         definitions.
48034         (CHECK_SIGSET_NULL_OK): Likewise.
48035         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48036         <bp-checks.h>.
48037         (sigpending): Don't use CHECK_SIGSET.
48038         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48039         <bp-checks.h>.
48040         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48041         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48042         <bp-checks.h>.
48043         (do_sigsuspend): Don't use CHECK_SIGSET.
48044         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48045         use CHECK_SIGSET.
48046         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48047         (do_sigwait): Don't use CHECK_SIGSET.
48048         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48049         use CHECK_SIGSET.
48050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48051         include <bp-checks.h>.
48052         (sigpending): Don't use CHECK_SIGSET.
48053         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48054         include <bp-checks.h>.
48055         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48056         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48057         <bp-checks.h>.
48058         (sigpending): Don't use CHECK_SIGSET.
48059         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48060         <bp-checks.h>.
48061         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48063         [BZ #13550]
48064         * sysdeps/generic/bp-semctl.h: Remove file.
48065         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48066         <bp-checks.h> and <bp-semctl.h>.
48067         (__old_semctl): Don't use CHECK_SEMCTL.
48068         (__new_semctl): Likewise.
48069         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48070         and <bp-semctl.h>.
48071         (__old_semctl): Don't use CHECK_SEMCTL.
48072         (__new_semctl): Likewise.
48073         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48074         <bp-checks.h> and <bp-semctl.h>.
48075         (__old_semctl): Don't use CHECK_SEMCTL.
48076         (__new_semctl): Likewise.
48077         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48078         <bp-checks.h> and <bp-semctl.h>.
48079         (semctl): Don't use CHECK_SEMCTL.
48081         [BZ #13550]
48082         * Makerules (elide-bp-thunks): Remove variable.
48083         (elide-routines.oS): Don't use $(elide-bp-thunks).
48084         (elide-routines.os): Likewise.
48085         (elide-routines.o): Likewise.
48086         (elide-routines.op): Likewise.
48087         (elide-routines.og): Likewise.
48088         (objects): Don't use $(bp-thunks).
48089         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48090         include.
48091         (common-generated): Do not add s-proto-bp.d.
48092         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48093         (int): Likewise.
48094         (typ): Likewise.
48095         Do not generate makefile rules for bounded-pointer thunks.
48096         * sysdeps/generic/bp-thunks.h: Remove file.
48097         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48098         * sysdeps/unix/s-proto-bp.S: Likewise.
48100         [BZ #15062]
48101         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48102         parts of result separately when argument is not close to line from
48103         -i to i and one part of argument is small.
48104         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48105         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48106         * math/libm-test.inc (cacos_test): Add more tests.
48107         (casin_test): Likewise.
48108         (casinh_test): Likewise.
48109         * sysdeps/i386/fpu/libm-test-ulps: Update.
48110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48112 2013-01-31  David S. Miller  <davem@davemloft.net>
48114         * po/de.po: Update from translation team.
48116 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48118         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48120 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48122         * configure.in (_AC_PROG_CC_C89): New definition.
48123         * configure: Regenerate.
48125         * configure.in (AC_PROG_CPP): New definition.
48126         * configure: Regenerate.
48128 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48130         * debug/tst-backtrace.h: New file.
48131         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48132         (ret): Remove variable.
48133         (x): Likewise.
48134         (FAIL): Remove macro.
48135         (NO_INLINE): Likewise.
48136         (fn1): Use match function instead of strstr.
48137         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48138         (ret): Remove variable.
48139         (x): Likewise.
48140         (FAIL): Remove macro.
48141         (NO_INLINE): Likewise.
48142         (fn): Use match function instead of strstr.
48143         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48144         (ret): Remove variable.
48145         (x): Likewise.
48146         (FAIL): Remove macro.
48147         (NO_INLINE): Likewise.
48148         (handle_signal): Use match function instead of strstr.
48149         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48150         (ret): Remove variable.
48151         (x): Likewise.
48152         (FAIL): Remove macro.
48153         (NO_INLINE): Likewise.
48154         (handle_signal): Use match function instead of strstr.
48156 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48158         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48160 2013-01-23  David S. Miller  <davem@davemloft.net>
48162         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48163         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48164         argument of CAS if possible.
48165         * sysdeps/sparc/sparc64/bits/atomic.h
48166         (__arch_compare_and_exchange_val_32_acq): Likewise.
48167         (__arch_compare_and_exchange_val_64_acq): Likewise.
48169 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48171         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48172         * sysdeps/posix/ulimit.c: ... this.
48173         Include <limits.h>.
48174         * sysdeps/unix/bsd/ulimit.c: Remove file.
48176 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48178         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48179         (LDFLAGS-tst-array5): Likewise.
48181 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48183         [BZ #15036]
48184         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48185         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48186         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48187         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48189 2013-01-21  David S. Miller  <davem@davemloft.net>
48191         * sysdeps/sparc/backtrace.c: New file.
48192         * sysdeps/sparc/sparc32/backtrace.h: New file.
48193         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48194         * sysdeps/sparc/sparc64/backtrace.h: New file.
48195         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48196         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48197         -funwind-tables.
48199 2013-01-21  Andreas Schwab  <schwab@suse.de>
48201         [BZ #15020]
48202         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48203         closed its stdout.
48205 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48208         "mpa2.h".
48209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48211 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48212             Mark Mitchell  <mark@codesourcery.com>
48213             Tom de Vries  <tom@codesourcery.com>
48214             Paul Pluzhnikov  <ppluzhnikov@google.com>
48216         * debug/tst-backtrace2.c: New file.
48217         * debug/tst-backtrace3.c: Likewise.
48218         * debug/tst-backtrace4.c: Likewise.
48219         * debug/tst-backtrace5.c: Likewise.
48220         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48221         (CFLAGS-tst-backtrace3.c): Likewise.
48222         (CFLAGS-tst-backtrace4.c): Likewise.
48223         (CFLAGS-tst-backtrace5.c): Likewise.
48224         (LDFLAGS-tst-backtrace2): Likewise.
48225         (LDFLAGS-tst-backtrace3): Likewise.
48226         (LDFLAGS-tst-backtrace4): Likewise.
48227         (LDFLAGS-tst-backtrace5): Likewise.
48228         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48229         tst-backtrace4 and tst-backtrace5.
48231 2013-01-18  Anton Blanchard  <anton@samba.org>
48232             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48234         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48235         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48236         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48237         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48239         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48240         "+r" and remove output regs list as redundant.  Add explicit inline
48241         asm to specify register of return val to work around compiler codegen
48242         bug.  Remove (int) cast on return value.  Add return type parameter to
48243         use in macro so that this macro does not truncate return value for
48244         64-bit values.
48245         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48246         pass to INTERNAL_VSYSCALL_NCS.
48247         (INLINE_VSYSCALL): Add 'long int' as return type to
48248         INTERNAL_VSYSCALL_NCS macro invocation.
48249         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48250         INTERNAL_VSYSCALL_NCS macro invocation.
48251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48253 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48255         [BZ #14496]
48256         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48257         Fix application of SIMD FP exception mask.
48259         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48260         mp_no from a power of two.
48261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48262         __mpexp_twomm1.  Use __pow_mp.
48264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48265         multiplication.
48267 2013-01-17  David S. Miller  <davem@davemloft.net>
48269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48271 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48273         [BZ #15023]
48274         * include/complex.h: Condition contents on [!_COMPLEX_H].
48275         (__kernel_casinhf): New prototype.
48276         (__kernel_casinh): Likewise.
48277         (__kernel_casinhl): Likewise.
48278         * math/Makefile (libm_calls): Add k_casinh.
48279         * math/k_casinh.c: New file.
48280         * math/k_casinhf.c: Likewise.
48281         * math/k_casinhl.c: Likewise.
48282         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48283         finite nonzero arguments.
48284         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48285         finite nonzero arguments.
48286         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48287         finite nonzero arguments.
48288         * math/s_casinh.c: Do not include <float.h>.
48289         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48290         * math/s_casinhf.c: Do not include <float.h>.
48291         (__casinhf): Move code for finite nonzero arguments to
48292         k_casinhf.c.
48293         * math/s_casinhl.c: Do not include <float.h>.
48294         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48295         redefine.
48296         (__casinhl): Move code for finite nonzero arguments to
48297         k_casinhl.c.
48298         * math/libm-test.inc (cacos_test): Add more tests.
48299         * sysdeps/i386/fpu/libm-test-ulps: Update.
48300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48302 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48304         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48305         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48306         [!HAVE_MREMAP]: Remove [defined linux] case.
48307         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48309 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48311         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48313 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48315         * elf/elf.h (R_386_SIZE32): New relocation.
48316         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48317         R_386_SIZE32.
48318         (elf_machine_rela): Likewise.
48319         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48320         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48322 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48324         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48325         (FP_FAST_FMA): Do not define.
48326         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48327         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48328         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48329         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48330         !_SOFT_FLOAT]: Likewise.
48331         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48332         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48333         value.
48334         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48335         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48336         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48337         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48338         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48339         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48340         file.
48342 2013-01-16  Andreas Schwab  <schwab@suse.de>
48344         [BZ #14327]
48345         * include/stdlib.h (__mktemp): Add declaration.
48346         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48347         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48349 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48351         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48352         definitions.
48353         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48354         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48355         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48356         definitions here.
48357         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48358         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48359         definitions.
48360         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48361         and ONE.
48362         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48363         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48364         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48365         definitions.
48366         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48367         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48368         definitions.
48369         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48371         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48373 2013-01-15  David S. Miller  <davem@davemloft.net>
48375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48376         trunc{,f} to libm-sysdep_routes.
48377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48379         file.
48380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48382         file.
48383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48384         file.
48385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48387         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48388         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48389         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48390         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48391         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48392         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48395         nearbyint{,f} to libm-sysdep_routes.
48396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48398         New file.
48399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48400         file.
48401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48402         New file.
48403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48404         file.
48405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48407         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48408         file.
48409         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48410         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48411         file.
48412         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48413         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48414         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48416         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48417         libc_feholdexcept and libc_fesetenv.
48419 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48421         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48423 2013-01-14  David S. Miller  <davem@davemloft.net>
48425         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48426         (SPARC_ASM_VIS2_IFUNC): Likewise.
48427         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48429         use of 'siam' instruction.
48430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48431         Likewise.
48432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48433         Likewise.
48434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48435         Likewise.
48436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48441         file.
48442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48443         file.
48444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48445         file.
48446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48447         file.
48448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48453         new VIS2 routines.
48454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48457         Likewise.
48458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48463         routines to libm-sysdep_routines.
48464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48467         fdim/fdimf to libm-sysdep_routines.
48468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48469         file.
48470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48472         file.
48473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48476         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48477         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48478         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48479         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48481 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48483         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48484         to optimize copies.
48486         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48491         local variable MPTWO.
48492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48493         Likewise.
48495 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48497         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48498         GLOB_NOESCAPE.
48500 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48502         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48504 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48506         * manual/pattern.texi (glob_t): Document gl_flags.
48507         (glob64_t): Likewise.
48509 2013-01-11  David S. Miller  <davem@davemloft.net>
48511         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48512         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48513         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48514         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48515         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48516         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48517         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48518         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48519         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48520         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48521         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48522         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48523         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48525         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48526         sparc V9 rather than using V8 code.
48527         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48528         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48530         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48531         Move to...
48532         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48533         Here.
48535 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48537         [BZ #14941]
48538         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48539         not in the main loop.
48540         * configure: Regenerated.
48542 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48544         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48545         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48546         to just #else.
48547         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48548         [!__GLIBC_HAVE_LONG_LONG] case.
48549         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48550         condition to just #else.
48551         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48552         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48553         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48554         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48555         unconditional.
48556         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48557         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48558         #elif condition to just #else.
48559         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48560         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48561         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48562         #elif condition to just #else.
48564 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48566         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48567         (EF_MIPS_ARCH_64): Fix value.
48568         (EF_MIPS_ARCH_32R2): New.
48569         (EF_MIPS_ARCH_64R2): New.
48571 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48573         * Makeconfig (+link-pie-before-libc): New.
48574         (+link-pie-after-libc): Likewise.
48575         (+link-pie-tests): Likewise.
48576         (+link-pie): Rewritten.
48577         (link-before-libc): Remove $(config-LDFLAGS).
48578         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48579         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48580         (config-LDFLAGS): Renamed to ...
48581         (rtld-LDFLAGS): This.
48582         (rtld-tests-LDFLAGS): New macro.
48583         (link-libc-rpath-link): Likewise.
48584         (link-libc-tests-rpath-link): Likewise.
48585         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48586         (link-libc): Prepand $(link-libc-rpath-link).
48587         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48588         (test-program-prefix): New macro.
48589         (test-via-rtld-prefix): Likewise.
48590         (test-program-cmd): Likewise.
48591         (host-test-program-cmd): Likewise.
48592         * Makefile ($(common-objpfx)testrun.sh): Replace
48593         $(run-program-prefix) with $(test-program-prefix).
48594         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48595         $(rtld-LDFLAGS).
48596         ($(common-objpfx)shlib.lds): Likewise.
48597         (build-module-helper): Likewise.
48598         ($(common-objpfx)format.lds): Likewise.
48599         * Rules (binaries-pie-tests): New.
48600         (binaries-pie-notests): Likewise.
48601         (binaries-pie): Rewritten.
48602         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48603         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48604         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48605         (make-test-out): Replace $(host-built-program-cmd) with
48606         $(host-test-program-cmd).
48607         * config.make.in (build-hardcoded-path-in-tests): New variable.
48608         * configure.in (--enable-hardcoded-path-in-tests): New configure
48609         option.
48610         (hardcoded_path_in_tests): New AC_SUBST.
48611         * configure: Regenerated.
48612         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48613         $(built-program-cmd) with $(test-program-cmd).
48614         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48615         (test_program_cmd): This.
48616         * elf/Makefile ($(objpfx)order.out): Run test with
48617         $(test-program-prefix).
48618         ($(objpfx)order2.out): Likewise.
48619         ($(objpfx)tst-initorder.out): Likewise.
48620         ($(objpfx)tst-initorder2.out): Likewise.
48621         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48622         $(test-program-cmd).
48623         ($(objpfx)tst-array1-static.out): Likewise.
48624         ($(objpfx)tst-array2.out): Likewise.
48625         ($(objpfx)tst-array3.out): Likewise.
48626         ($(objpfx)tst-array4.out): Likewise.
48627         ($(objpfx)tst-array5.out): Likewise.
48628         ($(objpfx)tst-array5-static.out): Likewise.
48629         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48630         $(test-program-cmd).
48631         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48632         $(run-program-prefix) with $(test-program-prefix).
48633         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48634         (test_program_prefix): This.
48635         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48636         $(run-program-prefix) with $(test-program-prefix).
48637         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48638         (test_program_prefix): This.
48639         * iconvdata/tst-tables.sh: Likewise.
48640         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48641         $(run-program-prefix) with $(test-program-prefix).
48642         ($(objpfx)tst-translit.out): Likewise.
48643         ($(objpfx)tst-gettext2.out): Likewise.
48644         ($(objpfx)tst-gettext4.out): Likewise.
48645         ($(objpfx)tst-gettext6.out): Likewise.
48646         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48647         (test_program_prefix): This.
48648         * intl/tst-gettext2.sh: Likewise.
48649         * intl/tst-gettext4.sh  Likewise.
48650         * intl/tst-gettext6.sh: Likewise.
48651         * intl/tst-translit.sh: Likewise.
48652         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48653         with $(test-program-cmd).
48654         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48655         $(run-program-prefix) with $(test-program-prefix).
48656         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48657         (test_program_prefix): This.
48658         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48659         $(run-program-prefix) with $(test-program-prefix).
48660         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48661         (test_program_prefix): This.
48662         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48663         * posix/Makefile ($(objpfx)globtest.out): Replace
48664         $(run-via-rtld-prefix) and $(test-wrapper) with
48665         $(test-program-prefix) and $(test-via-rtld-prefix).
48666         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48667         $(test-program-prefix).
48668         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48669         $(host-test-program-cmd).
48670         (tst-spawn-ARGS): Likewise.
48671         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48672         $(test-program-prefix).
48673         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48674         (test_via_rtld_prefix): This.
48675         (test_wrapper): Renamed to ...
48676         (test_program_prefix): This.
48677         (run_program_prefix): Replaced by test_program_prefix.
48678         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48679         (test_program_prefix): This.
48680         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48681         with $(host-test-program-cmd).
48682         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48683         $(run-program-prefix) with $(test-program-prefix).
48684         ($(objpfx)tst-printf.out): Likewise.
48685         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48686         $(test-program-cmd).
48687         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48688         (test_program_prefix): This.
48689         * stdio-common/tst-unbputc.sh: Likewise.
48690         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48691         $(run-program-prefix) with $(test-program-prefix).
48692         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48693         (test_program_prefix): This.
48694         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48695         $(built-program-cmd) with $(test-program-cmd).
48697 2013-01-11  Andreas Jaeger  <aj@suse.de>
48699         [BZ #15003]
48700         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48701         value. Sync with Linux 3.7.
48703 2013-01-10  David S. Miller  <davem@davemloft.net>
48705         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48706         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48707         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48709 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48711         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48712         never set.
48713         * configure: Regenerated.
48715 2013-01-10  David S. Miller  <davem@davemloft.net>
48717         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48718         sparc V9 rather than using V8 code.
48719         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48720         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48722 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48724         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48725         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48726         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48727         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48728         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48729         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48730         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48731         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48732         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48733         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48734         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48735         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48736         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48737         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48738         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48739         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48740         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48741         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48742         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48743         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48744         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48745         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48746         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48747         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48748         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48749         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48750         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48752 2013-01-10  David S. Miller  <davem@davemloft.net>
48754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48756 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48758         * posix/Makefile (tests-static): New variable.
48759         (tests): Add $(tests-static).
48760         (tst-exec-static-ARGS): New variable.
48761         (tst-spawn-static-ARGS): Likewise.
48762         * posix/tst-exec-static.c: New file.
48763         * posix/tst-spawn-static.c: Likewise.
48764         * posix/tst-exec.c: Support run directly.
48765         * posix/tst-spawn.c: Likewise.
48767 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48769         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48770         long.
48771         * math/bits/mathcalls.h (llrint): Likewise.
48772         (llround): Likewise.
48773         * stdlib/stdlib.h (struct drand48_data): Likewise.
48774         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48775         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48776         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48777         Likewise.
48778         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48779         Likewise.
48780         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48781         (elf_greg_t): Likewise.
48782         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48783         (__jmp_buf): Likewise.
48784         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48785         definitions.
48786         (llrint): Likewise, for all definitions.
48787         (llrintl): Likewise.
48789         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48790         Remove [__GNUC__] condition.
48791         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48792         condition to just [__USE_ISOC99].
48793         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48795 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48797         [BZ #14200]
48798         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48799         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48800         defined.
48801         (_POSIX_V6_ILP32_OFF32): Likewise.
48802         (_XBS5_ILP32_OFF32): Likewise.
48803         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48804         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48806 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48808         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48811         doubles __mpexp_twomm1.  Adjust usage.
48812         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48813         Remove.
48815 2013-01-10  Andreas Schwab  <schwab@suse.de>
48817         [BZ #14964]
48818         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48819         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48821 2013-01-09  David S. Miller  <davem@davemloft.net>
48823         [BZ #15003]
48824         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48825         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48826         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48827         (TCP_FASTOPEN): Define.
48828         (tcp_repair_opt): New structure.
48829         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48830         enum values.
48831         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48832         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48833         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48834         (tcp_cookie_transactions): New structure.
48836 2013-01-09  Anton Blanchard  <anton@samba.org>
48838         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48839         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48840         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48841         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48843 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48845         * include/features.h (__USE_ANSI): Remove.
48847 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48849         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48851         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48853 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48855         * sysdeps/s390/fpu/libm-test-ulps: Update.
48857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48859         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48860         (__acr): Likewise.
48861         (__cpy): Likewise.
48862         (norm): Likewise.
48863         (denorm): Likewise.
48864         (__mp_dbl): Likewise.
48865         (__dbl_mp): Likewise.
48866         (add_magnitudes): Likewise.
48867         (sub_magnitudes): Likewise.
48868         (__add): Likewise.
48869         (__sub): Likewise.
48870         (__mul): Likewise.
48871         (__inv): Likewise.
48872         (__dvd): Likewise.
48873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48874         (__acr): Likewise.
48875         (__cpy): Likewise.
48876         (norm): Likewise.
48877         (denorm): Likewise.
48878         (__mp_dbl): Likewise.
48879         (__dbl_mp): Likewise.
48880         (add_magnitudes): Likewise.
48881         (sub_magnitudes): Likewise.
48882         (__add): Likewise.
48883         (__sub): Likewise.
48884         (__mul): Likewise.
48885         (__inv): Likewise.
48886         (__dvd): Likewise.
48887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48888         (__acr): Likewise.
48889         (__cpy): Likewise.
48890         (norm): Likewise.
48891         (denorm): Likewise.
48892         (__mp_dbl): Likewise.
48893         (__dbl_mp): Likewise.
48894         (add_magnitudes): Likewise.
48895         (sub_magnitudes): Likewise.
48896         (__add): Likewise.
48897         (__sub): Likewise.
48898         (__mul): Likewise.
48899         (__inv): Likewise.
48900         (__dvd): Likewise.
48902 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48904         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48905         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48906         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48907         2 && __USE_EXTERN_INLINES]: Likewise.
48909 2013-01-08  Andreas Jaeger  <aj@suse.de>
48911         [BZ# 14985]
48912         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48913         Remove.
48914         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48915         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48917 2013-01-07  Anton Blanchard  <anton@samba.org>
48919         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48920         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48921         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48922         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48923         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48924         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48925         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48926         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48928         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48929         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48930         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48931         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48932         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48933         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48934         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48935         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48936         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48939         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48940         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48941         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48942         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48943         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48944         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48945         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48946         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48948         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48949         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48953         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48954         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48955         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48957         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48958         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48960         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48961         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48963 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48965         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48966         (__MALLOC_PMT): Likewise.
48967         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48968         [__GNUC__], only on [_LIBC].
48969         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48970         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48971         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48972         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48973         forward declaration.
48974         (realloc_hook_ini): Likewise.
48975         (memalign_hook_ini): Likewise.
48976         (__libc_memalign): Do not use __MALLOC_PMT in variable
48977         declaration.
48978         (__libc_valloc): Likewise.
48979         (__libc_pvalloc): Likewise.
48980         (__libc_calloc): Likewise.
48981         (__posix_memalign): Likewise.
48983         [BZ #14996]
48984         * math/s_casinh.c: Include <float.h>.
48985         (__casinh): Do not do computation with squaring and square root
48986         for large arguments.
48987         * math/s_casinhf.c: Include <float.h>.
48988         (__casinhf): Do not do computation with squaring and square root
48989         for large arguments.
48990         * math/s_casinhl.c: Include <float.h>.
48991         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48992         (__casinhl): Do not do computation with squaring and square root
48993         for large arguments.
48994         * math/libm-test.inc (casin_test): Add more tests.
48995         (casinh_test): Likewise.
48996         * sysdeps/i386/fpu/libm-test-ulps: Update.
48997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48999 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49001         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49002         (__x86_64_raw_data_cache_size): Likewise.
49003         (__x86_64_data_cache_size_half): Likewise.
49004         (__x86_64_raw_data_cache_size_half): Likewise.
49005         (__x86_64_shared_cache_size): Likewise.
49006         (__x86_64_raw_shared_cache_size): Likewise.
49007         (__x86_64_shared_cache_size_half): Likewise.
49008         (__x86_64_raw_shared_cache_size_half): Likewise.
49009         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49010         to ...
49011         (__x86_data_cache_size): This.
49012         (__x86_64_raw_data_cache_size): Renamed to ...
49013         (__x86_raw_data_cache_size): This.
49014         (__x86_64_data_cache_size_half): Renamed to ...
49015         (__x86_data_cache_size_half): This.
49016         (__x86_64_raw_data_cache_size_half): Renamed to ...
49017         (__x86_raw_data_cache_size_half): This.
49018         (__x86_64_shared_cache_size): Renamed to ...
49019         (__x86_shared_cache_size): This.
49020         (__x86_64_raw_shared_cache_size): Renamed to ...
49021         (__x86_raw_shared_cache_size): This.
49022         (__x86_64_shared_cache_size_half): Renamed to ...
49023         (__x86_shared_cache_size_half): This.
49024         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49025         (__x86_raw_shared_cache_size_half): This.
49026         * sysdeps/x86_64/memcpy.S: Updated.
49027         * sysdeps/x86_64/memset.S: Likewise.
49028         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49030         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49032 2013-01-04  David S. Miller  <davem@davemloft.net>
49034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49036 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49038         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49039         1 to avoid redefinition warning.
49040         (__USE_GNU): Don't define.
49041         (init_signaling_nan): Protoize.
49043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49045 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49047         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49049         (__cpymn): Likewise.
49050         (norm): Remove commented code.
49051         (denorm): Likewise.
49052         (__mp_dbl): Likewise.
49053         (__inv): Likewise.
49054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49055         (__cpymn): Likewise.
49056         (norm): Remove commented code.
49057         (denorm): Likewise.
49058         (__mp_dbl): Likewise.
49059         (__inv): Likewise.
49061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49062         mp_no value for 1.0 and 2.0.
49063         (norm): Use RADIXI instead of radixi.d.
49064         (denorm): Likewise.
49065         (__mul): Use 0.0 instead of zero.d.
49066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49067         mp_no value for 1.0 and 2.0.
49068         (norm): Use RADIXI instead of radixi.d.
49069         (denorm): Likewise.
49070         (__mul): Use 0.0 instead of zero.d.
49072 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49074         [BZ #14994]
49075         * math/s_casinh.c (__casinh): Reduce finite argument to first
49076         quadrant then set signs of results at the end.
49077         * math/s_casinhf.c (__casinhf): Likewise.
49078         * math/s_casinhl.c (__casinhl): Likewise.
49079         * math/libm-test.inc (casin_test): Add more tests.
49080         (casinh_test): Likewise.
49081         * sysdeps/i386/fpu/libm-test-ulps: Update.
49082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49084 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49086         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49088         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49090         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49091         declarations.
49092         (denorm): Likewise.
49093         (__mp_dbl): Likewise.
49094         (__inv): Likewise.
49096         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49097         and adjust the header comment.
49099         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49100         variable name from declaration.
49102 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49105         Initialize COMMON_CPUID_INDEX_7 element.
49106         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49107         (CPUID_RTM): Likewise.
49108         (HAS_RTM): Likewise.
49109         (COMMON_CPUID_INDEX_7): New enum.
49111 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49113         [BZ #14981]
49114         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49115         size is zero, record memory as freed.
49117 2013-01-03  Andreas Jaeger  <aj@suse.de>
49119         * po/ia.po: Add new Interlingua translation.
49121 2012-01-03  Allan McRae  <allan@archlinux.org>
49123         * locale/programs/localedef.c: Fix description of '--posix' flag.
49125 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49127         * NEWS: Update dates in second copyright notice.
49128         * README: Update copyright dates in example.
49129         * manual/libc.texinfo: Update copyright dates.
49130         * scripts/test-installation.pl: Update copyright date in --version
49131         output.
49133         * hurd/ctty-input.c: Fix copyright notice formatting.
49134         * hurd/ctty-output.c: Likewise.
49135         * hurd/dtable.c: Likewise.
49136         * hurd/hurd-raise.c: Likewise.
49137         * hurd/hurdprio.c: Likewise.
49138         * hurd/msgportdemux.c: Likewise.
49139         * misc/sys/file.h: Likewise.
49140         * misc/sys/ioctl.h: Likewise.
49141         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49142         * sysdeps/mach/hurd/chdir.c: Likewise.
49143         * sysdeps/mach/hurd/fchdir.c: Likewise.
49144         * sysdeps/mach/hurd/rename.c: Likewise.
49145         * sysdeps/mach/hurd/rmdir.c: Likewise.
49146         * sysdeps/mach/hurd/seekdir.c: Likewise.
49147         * sysdeps/mach/hurd/setsid.c: Likewise.
49148         * sysdeps/posix/wait3.c: Likewise.
49150         * All files with FSF copyright notices: Update copyright dates
49151         using scripts/update-copyrights.
49152         * intl/plural.c: Regenerated.
49153         * locale/programs/charmap-kw.h: Likewise.
49154         * locale/programs/locfile-kw.h: Likewise.
49156 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49158         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49159         four values.
49161         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49162         calculation loop and add branch prediction.
49164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49165         check access beyond bounds of m1np.
49167         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49168         MPTWO.
49169         (__inv): Remove local variable MPTWO to use the global
49170         constant.
49171         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49172         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49173         variable MPTWO.
49174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49175         MP3HALFS static const.
49177 2013-01-01  David S. Miller  <davem@davemloft.net>
49179         * po/ca.po: Update from translation team.
49181 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49183         * scripts/update-copyrights: New file.
49184         * Makeconfig: Reformat copyright notice.
49185         * ctype/ctype.h: Likewise.
49186         * debug/swprintf_chk.c: Likewise.
49187         * elf/dl-cache.c: Likewise.
49188         * elf/dl-debug.c: Likewise.
49189         * elf/dl-object.c: Likewise.
49190         * grp/initgroups.c: Likewise.
49191         * hurd/Makefile: Likewise.
49192         * hurd/hurd/signal.h: Likewise.
49193         * hurd/hurdfault.c: Likewise.
49194         * hurd/hurdioctl.c: Likewise.
49195         * hurd/hurdlookup.c: Likewise.
49196         * hurd/intr-msg.c: Likewise.
49197         * iconv/gconv_open.c: Likewise.
49198         * libio/swprintf.c: Likewise.
49199         * locale/lc-ctype.c: Likewise.
49200         * locale/nl_langinfo.c: Likewise.
49201         * mach/Machrules: Likewise.
49202         * mach/Makefile: Likewise.
49203         * malloc/obstack.h: Likewise.
49204         * manual/Makefile: Likewise.
49205         * manual/tsort.awk: Likewise.
49206         * misc/bits/stab.def: Likewise.
49207         * nis/nis_print_group_entry.c: Likewise.
49208         * nis/nis_table.c: Likewise.
49209         * nis/nss_compat/compat-pwd.c: Likewise.
49210         * nis/nss_compat/compat-spwd.c: Likewise.
49211         * po/Makefile: Likewise.
49212         * posix/fnmatch.c: Likewise.
49213         * posix/regex.h: Likewise.
49214         * resolv/Makefile: Likewise.
49215         * resolv/nss_dns/dns-network.c: Likewise.
49216         * resolv/res_hconf.c: Likewise.
49217         * scripts/gen-sorted.awk: Likewise.
49218         * soft-fp/soft-fp.h: Likewise.
49219         * stdio-common/printf.h: Likewise.
49220         * stdlib/monetary.h: Likewise.
49221         * stdlib/random.c: Likewise.
49222         * stdlib/random_r.c: Likewise.
49223         * sysdeps/generic/Makefile: Likewise.
49224         * sysdeps/gnu/Makefile: Likewise.
49225         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49227         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49229         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49230         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49231         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49232         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49233         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49235         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49236         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49237         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49238         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49239         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49240         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49241         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49243         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49244         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49245         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49246         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49247         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49253         * sysdeps/mach/hurd/errnos.awk: Likewise.
49254         * sysdeps/mach/hurd/fork.c: Likewise.
49255         * sysdeps/mach/hurd/getcwd.c: Likewise.
49256         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49257         * sysdeps/mach/hurd/mmap.c: Likewise.
49258         * sysdeps/mach/hurd/utimes.c: Likewise.
49259         * sysdeps/mach/hurd/xmknod.c: Likewise.
49260         * sysdeps/posix/profil.c: Likewise.
49261         * sysdeps/posix/readdir_r.c: Likewise.
49262         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49263         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49264         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49265         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49267         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49268         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49269         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49271         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49272         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49273         * sysdeps/pthread/lio_listio.c: Likewise.
49274         * sysdeps/sparc/dl-procinfo.h: Likewise.
49275         * sysdeps/unix/i386/sysdep.S: Likewise.
49276         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49277         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49278         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49279         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49281         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49282         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49283         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49284         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49285         * sysdeps/wordsize-32/divdi3.c: Likewise.
49286         * time/sys/time.h: Likewise.
49287         * wcsmbs/Makefile: Likewise.
49289 2013-01-01  David S. Miller  <davem@davemloft.net>
49291         * po/fr.po: Update from translation team.
49293         * catgets/gencat.c: Update copyright year.
49294         * csu/version.c: Likewise.
49295         * debug/catchsegv.sh: Likewise.
49296         * debug/pcprofiledump.c: Likewise.
49297         * debug/xtrace.sh: Likewise.
49298         * elf/ldconfig.c: Likewise.
49299         * elf/ldd.bash.in: Likewise.
49300         * elf/pldd.c: Likewise.
49301         * elf/sotruss.ksh: Likewise.
49302         * elf/sprof.c: Likewise.
49303         * iconv/iconv_prog.c: Likewise.
49304         * iconv/iconvconfig.c: Likewise.
49305         * locale/programs/locale.c: Likewise.
49306         * locale/programs/localedef.c: Likewise.
49307         * login/programs/pt_chown.c: Likewise.
49308         * malloc/memusage.sh: Likewise.
49309         * malloc/memusagestat.c: Likewise.
49310         * malloc/mtrace.pl: Likewise.
49311         * nscd/nscd.c: Likewise.
49312         * nss/getent.c: Likewise.
49313         * nss/makedb.c: Likewise.
49314         * posix/getconf.c: Likewise.
49316 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49318         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49319         numbers.
49321 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49323         * math/bits/mathcalls.h (modf): Use __nonnull.
49325 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49327         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49328         (split): Use macro CN instead of the bare value.
49329         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49330         could be used.
49331         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49332         instead of the bare value.
49333         (power1): Likewise.
49335 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49337         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49338         __ATAN_TWOM.
49339         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49341         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49342         their values.
49343         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49345         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49346         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49348 2012-12-28  Andreas Jaeger  <aj@suse.de>
49350         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49351         values are from Linux 3.7.
49353         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49354         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49356 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49358         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49359         TRUE case.
49361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49362         (norm): Likewise.
49363         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49364         variables with preprocessor constants.
49365         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49366         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49369 2012-12-27  Bruno Haible  <bruno@clisp.org>
49371         [BZ #14317]
49372         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49373         only if needed.
49375 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49378         and use variable directly.
49379         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49381         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49382         MPONE.
49383         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49384         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49385         variable MPONE.
49386         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49388         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49389         include directive.  Remove local variable MPONE.
49390         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49391         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49392         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49394 2012-12-25  David S. Miller  <davem@davemloft.net>
49396         * version.h (RELEASE): Set to "development".
49397         (VERSION): Set to "2.17.90".
49398         * NEWS: Add 2.18 section.
49400 2012-12-21  David S. Miller  <davem@davemloft.net>
49402         * po/hr.po: Update from translation team.
49404 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49406         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49408 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49410         * NEWS:  Mention new memcpy for MIPS.
49412 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49414         * manual/contrib.texi (Contributors): Spelling correction.
49416 2012-12-15  David S. Miller  <davem@davemloft.net>
49418         * po/ru.po: Update from translation team.
49420 2012-12-13  David S. Miller  <davem@davemloft.net>
49422         * NEWS: Mention IFUNC testsuite enhancements.
49424         * po/pl.po: Update from translation team.
49425         * po/bg.po: Likewise.
49427         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49428         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49430 2012-12-11  David S. Miller  <davem@davemloft.net>
49432         * po/sv.po: Update from translation team.
49434         * po/vi.po: Update from translation team.
49436         * po/cs.po: Update from translation team.
49438         * po/de.po: Update from translation team.
49439         * po/eo.po: Likewise.
49440         * po/nl.po: Likewise.
49442 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49444         [BZ #14246]
49445         * manual/argp.texi (Argp Helper Functions): Move node to follow
49446         Argp Parsing State.
49448         [BZ #14872]
49449         * manual/conf.texi (Limits on File System Capacity): Mention if
49450         terminating null is included in the max size.
49452 2012-12-10  Andreas Jaeger  <aj@suse.de>
49454         * po/cs.po: Update from translation team.
49456 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49458         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49459         void pointer and cast to uintptr_t.
49460         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49461         path.
49462         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49463         * sysdeps/s390/s390-64/memset.S: Likewise.
49465 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49467         [BZ #14833]
49468         * menual/message.texi (Message Translation): Fix typos.
49469         (Helper programs for gettext): Likewise.
49471 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49473         [BZ #14898]
49474         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49475         Change to -1.
49477 2012-12-07  David S. Miller  <davem@davemloft.net>
49479         * po/libc.pot: Update.
49481 2012-12-07  Richard Henderson  <rth@redhat.com>
49483         [BZ #10114]
49484         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49485         normal/normal case to before the switch.
49486         (_FP_DIV): Likewise.
49488 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49489             Mike Frysinger  <vapier@gentoo.org>
49491         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49492         check for __NR_fadvise64_64.
49494 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49496         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49497         0, not just to plain "0" as a statement.
49498         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49499         with cw.
49501 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49503         * NEWS: Use sourceware.org in Bugzilla URL.
49505 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49508         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49510         * stdio-common/tst-put-error.c (do_test): Add newline to the
49511         padded test to ensure flush.
49513 2012-12-05  Jeff Law  <law@redhat.com>
49515         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49517 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49519         * README: Don't refer to ports add-on as distributed separately.
49520         Mention AArch64 in list of systems supported in the ports add-on.
49522         * LICENSES: Add more non-FSF copyright and license notices.
49524         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49525         ((unused)).
49527         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49529         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49530         10000 as width of padded output.
49532 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49534         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49537         variable LX with __attribute__ ((unused)).
49538         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49539         Likewise.
49540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49543         with __attribute__ ((unused)).
49545 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49547         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49549 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49551         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49552         (CFLAGS-nldbl-acos.c): New variable.
49553         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49554         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49555         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49556         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49557         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49558         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49559         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49560         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49561         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49562         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49563         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49564         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49565         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49566         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49567         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49568         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49569         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49570         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49571         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49572         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49573         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49574         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49575         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49576         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49577         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49578         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49579         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49580         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49581         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49582         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49583         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49584         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49585         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49586         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49587         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49588         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49589         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49590         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49591         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49592         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49593         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49594         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49595         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49596         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49597         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49598         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49599         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49600         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49601         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49602         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49603         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49604         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49605         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49606         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49607         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49608         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49609         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49610         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49611         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49612         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49613         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49614         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49615         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49616         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49617         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49618         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49619         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49620         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49621         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49622         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49623         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49624         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49625         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49626         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49627         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49628         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49629         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49630         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49631         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49632         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49633         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49634         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49635         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49636         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49637         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49638         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49639         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49640         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49641         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49642         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49643         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49644         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49645         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49646         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49647         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49648         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49649         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49652         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49654         [BZ #14914]
49655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49656         whole low double instead of just low 47 bits when splitting values
49657         into two parts.
49659 2012-12-03  Allan McRae  <allan@archlinux.org>
49661         * manual/stdio.texi (Predefined Printf Handlers): Remove
49662         @hsep and @vsep usage.
49664 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49666         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49667         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49669 2012-12-03  Jeff Law  <law@redhat.com>
49671         * time/sys/time.h (settimeofday): Do not mark TV argument
49672         as __nonnull.
49674 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49676         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49677         when currently writing and seek to current position when not.
49678         * libio/Makefile (tests): Remove bug-fclose1.
49679         * libio/bug-fclose1.c: Delete.
49681 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49683         * manual/arith.texi (feenableexcept): Fix typo.
49684         (fedisableexcept): Likewise.
49686 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49688         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49689         second, differently-typed declaration, rather than a cast.
49691 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49693         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49694         * include/rpc/svc.h: ... here.
49696 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49698         [BZ #13013]
49699         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49700         depending n and resplen2 to catch cases where answer
49701         equals answerp2.
49703 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49705         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49706         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49708 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49710         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49712 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49714         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49716 2012-11-28  Jeff Law  <law@redhat.com>
49718         [BZ #13761]
49719         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49720         dataset_temporary.  Track alloca usage into alloca_used.
49721         If dataset is large allocate and release it via malloc/free.
49723 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49725         [BZ #14197]
49726         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49728 2012-11-28  David S. Miller  <davem@davemloft.net>
49730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49732 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49734         [BZ #14803]
49735         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49736         of pi/2 rounded to nearest to 64 bits.
49737         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49738         nearest to 64 bits.
49739         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49740         bits.
49742 2012-11-28  Jeff Law <law@redhat.com>
49743             Martin Osvald <mosvald@redhat.com>
49745         [BZ #14889]
49746         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49747         * sunrpc/svc.c: Include time.h.
49748         (__svc_accept_failed): New function.
49749         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49750         any reason other than EINTR, call __svc_accept_failed.
49751         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49752         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49754 2012-11-28  Andreas Schwab  <schwab@suse.de>
49756         * scripts/abilist.awk: Also handle indirect functions in .opd
49757         section.
49759 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49761         [BZ #13881]
49762         * sysdeps/x86/fpu/powl_helper.c: New file.
49763         * sysdeps/x86/fpu/Makefile: Likewise.
49764         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49765         (p3): New object.
49766         (__ieee754_powl): Use __powl_helper for finite arguments except
49767         integer exponents below 8.
49768         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49769         (p3): New object.
49770         (__ieee754_powl): Use __powl_helper for finite arguments except
49771         integer exponents below 8.
49772         * math/libm-test.inc (pow_test): Add more tests and enable some
49773         previously disabled tests.
49774         * sysdeps/i386/fpu/libm-test-ulps: Update.
49775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49777 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778             Carlos O'Donell  <carlos_odonell@mentor.com>
49780         * nss/makedb.c (is_prime): Assert that input is odd and greater
49781         than 4.  Note that fact in a comment too.
49782         (next_prime): Add 4 to input.
49784 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49786         [BZ #11741]
49787         * libio/Makefile (tests): Add test case tst-fwrite-error.
49788         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49789         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49790         * libio/tst-fwrite-error.c: New test case.
49792 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49794         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49795         before casting to void *.
49796         * include/libc-internal.h (__pointer_type): New macro.
49797         (__integer_if_pointer_type_sub): Likewise.
49798         (__integer_if_pointer_type): Likewise.
49799         (cast_to_integer): Likewise.
49800         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49801         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49802         before casting to atomic64_t.
49803         (atomic_exchange_acq): Likewise.
49804         (__arch_exchange_and_add_body): Likewise.
49805         (__arch_add_body): Likewise.
49806         (atomic_add_negative): Likewise.
49807         (atomic_add_zero): Likewise.
49809 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49811         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49812         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49813         (add_fdes): Likewise.
49814         (linear_search_fdes): Likewise.
49815         (binary_search_unencoded_fdes): Likewise.
49817 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49819         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49821 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49823         * configure.in: Autodetect C++ header directories.
49824         * configure: Regenerated.
49826 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49828         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49830 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49834 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49836         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49837         LDBL_MANT_DIG == 106]: Disable some tests.
49838         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49839         Likewise.
49840         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49841         Likewise.
49843         [BZ #14871]
49844         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49845         input for small inputs.  Return +/- pi/2 for large inputs.
49846         * math/libm-test.inc (atan_test): Add more tests.
49848         * sysdeps/generic/unwind-dw2-fde-glibc.c
49849         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49850         __attribute__ ((unused)).
49852         [BZ #14645]
49853         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49854         x * y if x and y are nonzero and z is zero.
49856         [BZ #14811]
49857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49858         nonzero exponents with absolute value below 0x1p-117 to +/-
49859         0x1p-117.
49861         [BZ #14869]
49862         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49863         up arguments below 2**-450, not just those below 2**-500.
49864         * math/libm-test.inc (hypot_test): Add another test.
49866         [BZ #14868]
49867         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49868         Return a+b for ratio over 2**120, not 2**60.
49869         * math/libm-test.inc (hypot_test): Add another test.
49871         * math/libm-test.inc (clog_test): Use
49872         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49873         (clog10_test): Likewise.
49875         [BZ #6778]
49876         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49878 2012-11-22  Andreas Schwab  <schwab@suse.de>
49880         * sysdeps/i386/fpu/libm-test-ulps: Update.
49882 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49884         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49885         printf output with newline.
49887 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49889         [BZ #14865]
49890         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49891         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49892         -z nodlopen, -z initfirst and -z execstack support.
49893         * configure: Regenerated.
49895         * elf/elf.h (DF_1_NODIRECT): New macro.
49896         (DF_1_IGNMULDEF): Likewise.
49897         (DF_1_NOKSYMS): Likewise.
49898         (DF_1_NOHDR): Likewise.
49899         (DF_1_EDITED): Likewise.
49900         (DF_1_NORELOC): Likewise.
49901         (DF_1_SYMINTPOSE): Likewise.
49902         (DF_1_GLOBAUDIT): Likewise.
49903         (DF_1_SINGLETON): Likewise.
49904         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49905         DT_1_SUPPORTED_MASK bits.
49906         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49908 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49910         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49912 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49914         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49915         macro.
49917         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49918         (sendmmsg): Move declarations...
49919         * socket/sys/socket.h: ... here.
49920         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49921         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49922         include it from...
49923         * socket/recvmmsg.c: ... this new file.
49924         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49925         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49926         definition of __sendmmsg hidden.
49927         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49928         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49929         Move ENOSYS stub into and include it from...
49930         * socket/sendmmsg.c: ... this new file.
49931         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49932         (sysdep_routines): Move recvmmsg and sendmmsg...
49933         * socket/Makefile (routines): ... here.
49934         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49935         (GLIBC_PRIVATE): Add __sendmmsg.
49936         * include/sys/socket.h (__sendmmsg): Add declarations.
49937         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49938         sendmmsg.
49940 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49942         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49943         variable I1 with __attribute__ ((unused)).
49944         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49946 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49948         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49949         DUMMY variables with __attribute__ ((unused)).
49951         * bits/byteswap.h: Include <bits/types.h>.
49952         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49954 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49956         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49957         string_t.  Do not manually set errno.
49958         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49959         length with __strnlen.  Make sure to both set errno and return it on
49960         failure.
49962 2012-11-19  David S. Miller  <davem@davemloft.net>
49964         With help from Joseph Myers.
49965         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49966         very large arguments properly.
49967         * math/libm-test.inc (atan_test): New tests.
49968         (atan2_test): New tests.
49969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49972 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49974         [BZ #14856]
49975         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49976         Define to 3.
49978         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49979         [POSIX] (EADDRNOTAVAIL): Likewise.
49980         [POSIX] (EAFNOSUPPORT): Likewise.
49981         [POSIX] (EALREADY): Likewise.
49982         [POSIX] (ECONNABORTED): Likewise.
49983         [POSIX] (ECONNREFUSED): Likewise.
49984         [POSIX] (ECONNRESET): Likewise.
49985         [POSIX] (EDESTADDRREQ): Likewise.
49986         [POSIX] (EDQUOT): Likewise.
49987         [POSIX] (EHOSTUNREACH): Likewise.
49988         [POSIX] (EIDRM): Likewise.
49989         [POSIX] (EISCONN): Likewise.
49990         [POSIX] (ELOOP): Likewise.
49991         [POSIX] (EMULTIHOP): Likewise.
49992         [POSIX] (ENETDOWN): Likewise.
49993         [POSIX] (ENETUNREACH): Likewise.
49994         [POSIX] (ENOBUFS): Likewise.
49995         [POSIX] (ENODATA): Likewise.
49996         [POSIX] (ENOLINK): Likewise.
49997         [POSIX] (ENOMSG): Likewise.
49998         [POSIX] (ENOPROTOOPT): Likewise.
49999         [POSIX] (ENOSR): Likewise.
50000         [POSIX] (ENOSTR): Likewise.
50001         [POSIX] (ENOTCONN): Likewise.
50002         [POSIX] (ENOTSOCK): Likewise.
50003         [POSIX] (EOPNOTSUPP): Likewise.
50004         [POSIX] (EOVERFLOW): Likewise.
50005         [POSIX] (EPROTO): Likewise.
50006         [POSIX] (EPROTONOSUPPORT): Likewise.
50007         [POSIX] (EPROTOTYPE): Likewise.
50008         [POSIX] (ESTALE): Likewise.
50009         [POSIX] (ETIME): Likewise.
50010         [POSIX] (ETXTBSY): Likewise.
50011         [POSIX] (EWOULDBLOCK): Likewise.
50012         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50013         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50014         [POSIX] (SEEK_CUR): Likewise.
50015         [POSIX] (SEEK_END): Likewise.
50016         [POSIX || UNIX98] (mode_t): Do not require.
50017         [POSIX] (off_t): Likewise.
50018         [POSIX] (pid_t): Likewise.
50019         [POSIX] (sys/stat.h): Do not allow header.
50020         [POSIX] (unistd.h): Likewise.
50021         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50022         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50023         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50024         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50025         require.
50026         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50027         sigevent): Specify elements.
50028         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50029         entry.
50030         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50031         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50033         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50034         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50035         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50036         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50037         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50038         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50039         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50040         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50041         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50042         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50043         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50044         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50045         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50046         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50047         Likewise.
50048         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50049         Likewise.
50050         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50051         Likewise.
50052         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50053         Likewise.
50054         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50055         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50056         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50057         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50058         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50059         Specify lower bound on value.
50060         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50061         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50062         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50063         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50064         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50065         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50066         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50067         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50068         value.
50069         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50070         as optional.
50071         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50072         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50073         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50074         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50075         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50076         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50077         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50078         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50079         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50080         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50081         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50082         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50083         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50084         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50085         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50086         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50087         entry.
50088         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50089         optional.
50090         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50091         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50092         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50093         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50094         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50095         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50096         Likewise.
50097         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50098         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50099         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50100         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50101         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50102         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50103         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50104         as optional.
50105         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50106         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50107         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50108         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50109         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50110         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50111         specify as optional.
50112         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50113         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50114         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50115         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50116         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50117         [XPG3] (NL_LANGMAX): Likewise.
50118         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50119         [POSIX || XPG3] (NL_NMAX): Likewise.
50120         [POSIX || XPG3] (NL_SETMAX): Likewise.
50121         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50122         [XPG3] (NZERO): Likewise.
50123         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50124         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50125         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50126         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50127         (REG_ERANGE): Expect.
50128         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50129         optional-constant.
50130         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50131         Use (void) in prototype.
50132         [POSIX] (*_t): Allow.
50133         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50134         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50135         (WRDE_BADVAL): Expect.
50137         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50138         expect.
50139         [XPG3 || XPG4] (O_RSYNC): Likewise.
50140         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50141         Likewise.
50142         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50143         [XPG3 || XPG4] (sigqueue): Likewise.
50144         [XPG3 || XPG4] (sigtimedwait): Likewise.
50145         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50146         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50147         [XPG3 || XPG4] (vsnprintf): Likewise.
50148         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50149         Likewise.
50150         [XPG3 || XPG4] (blksize_t): Likewise.
50151         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50152         Likewise.
50153         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50154         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50155         [XPG3 || XPG4] (struct itimerspec): Likewise.
50156         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50157         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50158         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50159         [XPG3 || XPG4] (clockid_t): Likewise.
50160         [XPG3 || XPG4] (timer_t): Likewise.
50161         [XPG3 || XPG4] (clock_getres): Likewise.
50162         [XPG3 || XPG4] (clock_gettime): Likewise.
50163         [XPG3 || XPG4] (clock_settime): Likewise.
50164         [XPG3 || XPG4] (nanosleep): Likewise.
50165         [XPG3 || XPG4] (timer_create): Likewise.
50166         [XPG3 || XPG4] (timer_delete): Likewise.
50167         [XPG3 || XPG4] (timer_gettime): Likewise.
50168         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50169         [XPG3 || XPG4] (timer_settime): Likewise.
50170         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50171         [XPG3 || XPG4] (getlogin_r): Likewise.
50172         [XPG3 || XPG4] (pread): Likewise.
50173         [XPG3 || XPG4] (pthread_atfork): Likewise.
50174         [XPG3 || XPG4] (pwrite): Likewise.
50176         [BZ #14835]
50177         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50178         <bits/siginfo.h>.
50180 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50182         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50183         finalizing MALLSTREAM.
50185         * sysdeps/mach/hurd/syncfs.c: New file.
50187 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50189         [BZ #14719]
50190         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50191         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50193         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50194         (_nss_dns_gethostbyname4_r): Likewise.
50195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50196         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50198 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50200         [BZ #13763]
50201         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50203 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50205         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50206         * elf/cache.c (print_entry): Print ",AArch64" for
50207         FLAG_AARCH64_LIB64
50209         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50210         * elf/cache.c (print_entry): Print ",hard-float" for
50211         FLAG_ARM_LIBHF.
50213 2012-11-18  David S. Miller  <davem@davemloft.net>
50215         With help from Joseph Myers.
50216         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50217         cutoff to 2**-13.
50218         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50219         cutoff to 2**-25.
50220         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50221         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50222         small.
50223         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50224         * math/libm-test.inc (y0_test): New tests.
50225         (y1_test): New tests.
50226         * sysdeps/i386/fpu/libm-test-ulps: Update.
50227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50230 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50232         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50233         64-bit targets.
50234         * configure: Regenerated.
50236 2012-11-17  David S. Miller  <davem@davemloft.net>
50238         [BZ #14811]
50239         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50240         nonzero exponents with absolute value below 0x1p-128 to +/-
50241         0x1p-128.
50243 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50245         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50247         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50249         * posix/getconf-speclist.c: New file.
50250         * posix/posix-envs.def: Likewise.
50251         * posix/confstr.c (START_ENV_GROUP): New macro.
50252         (END_ENV_GROUP): Likewise.
50253         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50254         (KNOWN_PRESENT_ENV_STRING): Likewise.
50255         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50256         (UNKNOWN_ENVIRONMENT): Likewise.
50257         (confstr): Include posix-envs.def instead of handling
50258         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50259         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50260         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50261         (END_ENV_GROUP): Likewise.
50262         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50263         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50264         (UNKNOWN_ENVIRONMENT): Likewise.
50265         (__sysconf): Include posix-envs.def instead of handling associated
50266         cases directly here.
50267         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50268         preprocessing getconf-speclist.c rather than running getconf or
50269         generating empty file.
50271 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50273         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50275 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50277         [BZ #14672]
50278         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50280 2012-11-16  David S. Miller  <davem@davemloft.net>
50282         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50283         smaller than LDBL_EPSILON/2.0L, just return xm1.
50285 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50287         * elf/tst-array1.c (init): Set constructor priority to 1000.
50288         (fini): Set destructor priority to 1000.
50289         * elf/tst-array2dep.c: Likewise.
50291 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50293         [BZ #11741]
50294         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50295         (_IO_new_file_xsputn): Also return EOF if none of the input
50296         data was written when overflow failed.
50297         * libio/iopadn.c (_IO_padn): Likewise.
50298         * libio/iowpadn.c (_IO_wpadn): Likewise.
50299         * stdio-common/tst-put-error.c: Add copyright notice.
50300         (do_test): Add case for printing padded string.
50301         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50302         _IO_padn returned error.
50303         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50304         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50305         return EOF.
50307 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50309         * libio/libioP.h: Add comment note that the references to C++
50310         bits are now obsolete.
50312 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50314         * math/libm-test.inc (check_complex): Use asprintf.
50316 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50318         * debug/pcprofiledump.c (print_version): Update copyright year.
50319         * malloc/memusagestat.c (print_version): Likewise.
50321 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50323         [BZ #14831]
50324         * elf/Makefile (tests): Add tst-audit8.
50325         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50326         ($(objpfx)tst-audit8.out): New target.
50327         (tst-audit8-ENV): New variable.
50328         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50329         audit if l_reloc_result is NULL.
50330         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50331         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50332         * elf/tst-audit8.c: New file.
50334 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50336         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50337         * misc/Makefile (CFLAGS-select.c): Define.
50338         * posix/Makefile (CFLAGS-pause.c): Define.
50340 2012-11-13  David S. Miller  <davem@davemloft.net>
50342         * crypt/Makefile: Move test targets after toplevel Rules
50343         inclusion.  Grab any necessary sysdep routines when linking.
50344         * crypt/md5.c (md5_process_block): Remove define, we will always
50345         name it __md5_process_block.
50346         (md5_finish_ctx): Update md5_process_block call.
50347         (md5_stream): Likewise.
50348         (md5_process_bytes): Likewise.
50349         (md5_process_block): Rename to __md5_process_block and move to ...
50350         * crypt/md5-block.c: ... here.
50351         * crypt/sha256.c (sha256_process_block): Move to ...
50352         * crypt/sha256-block.c: ... here.
50353         * crypt/sha512.c (sha512_process_block): Move to ...
50354         * crypt/sha512-block.c: ... here.
50355         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50356         path.
50357         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50358         * sysdeps/sparc/sparc64/multiarch/Makefile
50359         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50360         crypt subdir.
50361         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50362         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50363         multiarch changes.
50364         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50365         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50366         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50367         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50368         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50369         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50370         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50371         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50372         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50373         file.
50374         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50375         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50376         file.
50377         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50379 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50381         * timezone/tzselect.ksh: Update from tzcode git revision
50382         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50383         * timezone/zdump.c: Likewise.
50384         * timezone/zic.c: Likewise.
50385         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50386         in TZVERSION setting, not $(PKGVERSION).
50387         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50388         REPORT_BUGS_TO settings.
50390         [BZ #14838]
50391         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50392         macro.
50394 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50396         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50397         detection to immediately after _FP_ROUND().
50398         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50399         bits are 0.
50401 2012-11-11  David S. Miller  <davem@davemloft.net>
50403         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50404         inttypes.h
50405         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50406         __close rather than their public counterparts.
50408 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50410         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50411         file.
50412         [UNIX98] (sem_timedwait): Do not expect.
50413         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50414         [XPG4 || UNIX98] (sockatmark): Do not expect.
50415         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50416         (clock_getcpuclockid): Do not expect.
50417         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50418         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50419         Do not expect.
50420         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50421         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50422         [UNIX98] (vwscanf): Likewise.
50423         [UNIX98] (vswscanf): Likewise.
50425 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50427         * timezone/version.h: Remove file.
50428         * timezone/README: Do not refer to version.h.
50429         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50430         $(objpfx)version.h.
50431         ($(objpfx)zdump.o): Likewise.
50432         ($(objpfx)version.h): New target.
50434         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50435         2012i.
50436         * timezone/README: Don't mention modification to tzselect.ksh.
50437         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50438         work on unmodified tzselect.ksh.  Substitute version numbers in
50439         tzselect.ksh.
50441         * Makefile (format-me): Remove.
50442         (INSTALL): Adjust indentation.  Use commands directly instead of
50443         using $(format-me).
50445         * aclocal.m4 (ACX_PKGVERSION): New macro.
50446         (ACX_BUGURL): Likewise.
50447         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50448         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50449         (REPORT_BUGS_TO): Likewise.
50450         * configure: Regenerated.
50451         * config.h.in (PKGVERSION): New macro.
50452         (REPORT_BUGS_TO): Likewise.
50453         * config.make.in (PKGVERSION): New variable.
50454         (PKGVERSION_TEXI): Likewise.
50455         (REPORT_BUGS_TO): Likewise.
50456         (REPORT_BUGS_TEXI): Likewise.
50457         * Makefile (format-me): Use -I$(common-objpfx)manual.
50458         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50459         ($(common-objpfx)manual/%): New target.
50460         (manual/%): Remove target.
50461         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50462         (print_version): Use PKGVERSION.
50463         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50464         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50465         and REPORT_BUGS_TO.
50466         ($(objpfx)xtrace): Likewise.
50467         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50468         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50469         (print_version): Use PKGVERSION.
50470         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50471         (do_version): Use PKGVERSION.
50472         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50473         REPORT_BUGS_TO.
50474         (common-ldd-rewrite): Likewise.
50475         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50476         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50477         (print_version): Use PKGVERSION.
50478         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50479         * elf/pldd.c (argp_program_bug_address): Remove variable.
50480         (more_help): New function.
50481         (argp): Use more_help.
50482         (print_version): Use PKGVERSION.
50483         * elf/sln.c (main): Use PKGVERSION.
50484         (usage): Use REPORT_BUGS_TO.
50485         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50486         (top level): Use PKGVERSION.
50487         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50488         (print_version): Use PKGVERSION.
50489         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50490         (print_version): Use PKGVERSION.
50491         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50492         (print_version): Use PKGVERSION.
50493         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50494         (print_version): Use PKGVERSION.
50495         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50496         (print_version): Use PKGVERSION.
50497         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50498         (print_version): Use PKGVERSION.
50499         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50500         and BUGURL.
50501         ($(objpfx)memusage): Likewise.
50502         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50503         (do_version): Use PKGVERSION.
50504         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50505         (print_version): Use PKGVERSION.
50506         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50507         ($PKGVERSION): New variable.
50508         ($REPORT_BUGS_TO): Likewise.
50509         (usage): Use $REPORT_BUGS_TO.
50510         (top level): Use $PKGVERSION.
50511         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50512         ($(objpfx)pkgvers.texi): New rule.
50513         ($(objpfx)stamp-pkgvers): Likewise.
50514         * manual/install.texi: Include pkgvers.texi.
50515         (--with-pkgversion): Document new configure option.
50516         (--with-bugurl): Likewise.
50517         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50518         than necessarily for this particular distribution.  Use
50519         REPORT_BUGS_TO for where to report bugs.
50520         * INSTALL: Regenerated.
50521         * manual/libc.texinfo: Include pkgvers.texi.
50522         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50523         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50524         (print_version): Use PKGVERSION.
50525         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50526         (print_version): Use PKGVERSION.
50527         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50528         (print_version): Use PKGVERSION.
50529         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50530         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50531         macro.
50532         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50533         (print_version): Use PKGVERSION.
50534         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50535         (print_version): Use PKGVERSION.
50536         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50537         and PKGVERSION.
50539         * timezone/checktab.awk: Update from tzcode 2012i.
50540         * timezone/ialloc.c: Likewise.
50541         * timezone/private.h: Likewise.
50542         * timezone/scheck.c: Likewise.
50543         * timezone/tzfile.h: Likewise.
50544         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50545         (TZVERSION): Hardcode tzcode version number.
50546         * timezone/zdump.c: Update from tzcode 2012i.
50547         * timezone/zic.c: Likewise.
50548         * timezone/version.h: New file.
50549         * timezone/README: Describe version.h.  Update upstream location.
50551         [BZ #14824]
50552         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50553         (mktemp): Enable declaration.
50554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50555         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50557         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50558         Likewise.
50559         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50560         Likewise.
50561         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50562         Likewise.
50563         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50564         Likewise.
50565         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50566         Likewise.
50567         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50568         Likewise.
50570         [BZ #14821]
50571         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50572         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50573         for copies of such integer values.
50574         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50575         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50577 2012-11-09  Andreas Jaeger  <aj@suse.de>
50579         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50580         definitions and declarations that are provided by
50581         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50583 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50585         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50586         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50587         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50588         definition.
50590 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50592         * elf/elf.h: Update comment before AArch64 relocations.
50594 2012-11-07  David S. Miller  <davem@davemloft.net>
50596         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50597         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50598         (__start_context): Declare.
50599         (__makecontext_ret): Delete.
50600         (__makecontext): Hook up __start_context instead of
50601         __makecontext_ret.
50602         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50603         (sysdep_routines): Add __start_context when in stdlib.
50605 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50607         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50608         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50609         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50610         hardcoded "nm".
50611         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50612         (READELF): New variable.  Use it instead of hardcoded "readelf".
50614 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50616         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50617         * sysdeps/x86/Makefile: Here.
50618         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50619         * sysdeps/x86/tst-xmmymm.sh: This.
50621 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50623         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50624         expectations.
50625         [UNIX98] (pthread_barrier_t): Do not expect.
50626         [UNIX98] (pthread_barrierattr_t): Likewise.
50627         [UNIX98] (pthread_spinlock_t): Likewise.
50628         [UNIX98] (pthread_barrier_destroy): Likewise.
50629         [UNIX98] (pthread_barrier_init): Likewise.
50630         [UNIX98] (pthread_barrier_wait): Likewise.
50631         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50632         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50633         [UNIX98] (pthread_barrierattr_init): Likewise.
50634         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50635         [UNIX98] (pthread_getcpuclockid): Likewise.
50636         [UNIX98] (pthread_mutex_timedlock): Likewise.
50637         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50638         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50639         [UNIX98] (pthread_sigmask): Likewise.
50640         [UNIX98] (pthread_spin_destroy): Likewise.
50641         [UNIX98] (pthread_spin_init): Likewise.
50642         [UNIX98] (pthread_spin_lock): Likewise.
50643         [UNIX98] (pthread_spin_trylock): Likewise.
50644         [UNIX98] (pthread_spin_unlock): Likewise.
50645         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50646         Do not expect.
50647         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50648         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50649         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50650         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50651         [XPG3 || XPG4] (pthread_key_t): Likewise.
50652         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50653         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50654         [XPG3 || XPG4] (pthread_once_t): Likewise.
50655         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50656         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50657         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50658         [XPG3 || XPG4] (pthread_t): Likewise.
50660         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50661         not expect.
50662         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50664         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50665         Change function return type to int.
50667         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50668         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50669         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50670         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50671         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50672         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50673         [!POSIX] (posix_madvise): Likewise.
50674         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50675         && !UNIX98].
50676         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50677         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50678         (mode_t): Likewise.
50679         (posix_mem_offset): Likewise.
50680         (posix_typed_mem_get_info): Likewise.
50681         (posix_typed_mem_open): Likewise.
50683         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50684         Change condition to [XOPEN2K8].
50686         * conform/conformtest.pl: Preprocess allow-header data with -x c
50687         instead of from stdin.
50688         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50689         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50690         [C99-based standards] (cerfc): Likewise.
50691         [C99-based standards] (cexp2): Likewise.
50692         [C99-based standards] (cexpm1): Likewise.
50693         [C99-based standards] (clog10): Likewise.
50694         [C99-based standards] (clog1p): Likewise.
50695         [C99-based standards] (clog2): Likewise.
50696         [C99-based standards] (clgamma): Likewise.
50697         [C99-based standards] (ctgamma): Likewise.
50698         [C99-based standards] (cerff): Likewise.
50699         [C99-based standards] (cerfcf): Likewise.
50700         [C99-based standards] (cexp2f): Likewise.
50701         [C99-based standards] (cexpm1f): Likewise.
50702         [C99-based standards] (clog10f): Likewise.
50703         [C99-based standards] (clog1pf): Likewise.
50704         [C99-based standards] (clog2f): Likewise.
50705         [C99-based standards] (clgammaf): Likewise.
50706         [C99-based standards] (ctgammaf): Likewise.
50707         [C99-based standards] (cerfl): Likewise.
50708         [C99-based standards] (cerfcl): Likewise.
50709         [C99-based standards] (cexp2l): Likewise.
50710         [C99-based standards] (cexpm1l): Likewise.
50711         [C99-based standards] (clog10l): Likewise.
50712         [C99-based standards] (clog1pl): Likewise.
50713         [C99-based standards] (clog2l): Likewise.
50714         [C99-based standards] (clgammal): Likewise.
50715         [C99-based standards] (ctgammal): Likewise.
50716         * conform/data/inttypes.h-data [C99-based standards]: Include
50717         stdint.h-data.  Remove all expectations for stdint.h contents.
50718         [C99-based standards] (PRI*): Do not allow.
50719         [C99-based standards] (SCN*): Likewise.
50720         [C99-based standards] (*_t): Likewise.
50721         [C99-based-standards] (PRId8): Expect macro.
50722         [C99-based-standards] (PRIi8): Likewise.
50723         [C99-based-standards] (PRIo8): Likewise.
50724         [C99-based-standards] (PRIu8): Likewise.
50725         [C99-based-standards] (PRIx8): Likewise.
50726         [C99-based-standards] (PRIX8): Likewise.
50727         [C99-based-standards] (SCNd8): Likewise.
50728         [C99-based-standards] (SCNi8): Likewise.
50729         [C99-based-standards] (SCNo8): Likewise.
50730         [C99-based-standards] (SCNu8): Likewise.
50731         [C99-based-standards] (SCNx8): Likewise.
50732         [C99-based-standards] (PRIdLEAST8): Likewise.
50733         [C99-based-standards] (PRIiLEAST8): Likewise.
50734         [C99-based-standards] (PRIoLEAST8): Likewise.
50735         [C99-based-standards] (PRIuLEAST8): Likewise.
50736         [C99-based-standards] (PRIxLEAST8): Likewise.
50737         [C99-based-standards] (PRIXLEAST8): Likewise.
50738         [C99-based-standards] (SCNdLEAST8): Likewise.
50739         [C99-based-standards] (SCNiLEAST8): Likewise.
50740         [C99-based-standards] (SCNoLEAST8): Likewise.
50741         [C99-based-standards] (SCNuLEAST8): Likewise.
50742         [C99-based-standards] (SCNxLEAST8): Likewise.
50743         [C99-based-standards] (PRIdFAST8): Likewise.
50744         [C99-based-standards] (PRIiFAST8): Likewise.
50745         [C99-based-standards] (PRIoFAST8): Likewise.
50746         [C99-based-standards] (PRIuFAST8): Likewise.
50747         [C99-based-standards] (PRIxFAST8): Likewise.
50748         [C99-based-standards] (PRIXFAST8): Likewise.
50749         [C99-based-standards] (SCNdFAST8): Likewise.
50750         [C99-based-standards] (SCNiFAST8): Likewise.
50751         [C99-based-standards] (SCNoFAST8): Likewise.
50752         [C99-based-standards] (SCNuFAST8): Likewise.
50753         [C99-based-standards] (SCNxFAST8): Likewise.
50754         [C99-based-standards] (PRId16): Likewise.
50755         [C99-based-standards] (PRIi16): Likewise.
50756         [C99-based-standards] (PRIo16): Likewise.
50757         [C99-based-standards] (PRIu16): Likewise.
50758         [C99-based-standards] (PRIx16): Likewise.
50759         [C99-based-standards] (PRIX16): Likewise.
50760         [C99-based-standards] (SCNd16): Likewise.
50761         [C99-based-standards] (SCNi16): Likewise.
50762         [C99-based-standards] (SCNo16): Likewise.
50763         [C99-based-standards] (SCNu16): Likewise.
50764         [C99-based-standards] (SCNx16): Likewise.
50765         [C99-based-standards] (PRIdLEAST16): Likewise.
50766         [C99-based-standards] (PRIiLEAST16): Likewise.
50767         [C99-based-standards] (PRIoLEAST16): Likewise.
50768         [C99-based-standards] (PRIuLEAST16): Likewise.
50769         [C99-based-standards] (PRIxLEAST16): Likewise.
50770         [C99-based-standards] (PRIXLEAST16): Likewise.
50771         [C99-based-standards] (SCNdLEAST16): Likewise.
50772         [C99-based-standards] (SCNiLEAST16): Likewise.
50773         [C99-based-standards] (SCNoLEAST16): Likewise.
50774         [C99-based-standards] (SCNuLEAST16): Likewise.
50775         [C99-based-standards] (SCNxLEAST16): Likewise.
50776         [C99-based-standards] (PRIdFAST16): Likewise.
50777         [C99-based-standards] (PRIiFAST16): Likewise.
50778         [C99-based-standards] (PRIoFAST16): Likewise.
50779         [C99-based-standards] (PRIuFAST16): Likewise.
50780         [C99-based-standards] (PRIxFAST16): Likewise.
50781         [C99-based-standards] (PRIXFAST16): Likewise.
50782         [C99-based-standards] (SCNdFAST16): Likewise.
50783         [C99-based-standards] (SCNiFAST16): Likewise.
50784         [C99-based-standards] (SCNoFAST16): Likewise.
50785         [C99-based-standards] (SCNuFAST16): Likewise.
50786         [C99-based-standards] (SCNxFAST16): Likewise.
50787         [C99-based-standards] (PRId32): Likewise.
50788         [C99-based-standards] (PRIi32): Likewise.
50789         [C99-based-standards] (PRIo32): Likewise.
50790         [C99-based-standards] (PRIu32): Likewise.
50791         [C99-based-standards] (PRIx32): Likewise.
50792         [C99-based-standards] (PRIX32): Likewise.
50793         [C99-based-standards] (SCNd32): Likewise.
50794         [C99-based-standards] (SCNi32): Likewise.
50795         [C99-based-standards] (SCNo32): Likewise.
50796         [C99-based-standards] (SCNu32): Likewise.
50797         [C99-based-standards] (SCNx32): Likewise.
50798         [C99-based-standards] (PRIdLEAST32): Likewise.
50799         [C99-based-standards] (PRIiLEAST32): Likewise.
50800         [C99-based-standards] (PRIoLEAST32): Likewise.
50801         [C99-based-standards] (PRIuLEAST32): Likewise.
50802         [C99-based-standards] (PRIxLEAST32): Likewise.
50803         [C99-based-standards] (PRIXLEAST32): Likewise.
50804         [C99-based-standards] (SCNdLEAST32): Likewise.
50805         [C99-based-standards] (SCNiLEAST32): Likewise.
50806         [C99-based-standards] (SCNoLEAST32): Likewise.
50807         [C99-based-standards] (SCNuLEAST32): Likewise.
50808         [C99-based-standards] (SCNxLEAST32): Likewise.
50809         [C99-based-standards] (PRIdFAST32): Likewise.
50810         [C99-based-standards] (PRIiFAST32): Likewise.
50811         [C99-based-standards] (PRIoFAST32): Likewise.
50812         [C99-based-standards] (PRIuFAST32): Likewise.
50813         [C99-based-standards] (PRIxFAST32): Likewise.
50814         [C99-based-standards] (PRIXFAST32): Likewise.
50815         [C99-based-standards] (SCNdFAST32): Likewise.
50816         [C99-based-standards] (SCNiFAST32): Likewise.
50817         [C99-based-standards] (SCNoFAST32): Likewise.
50818         [C99-based-standards] (SCNuFAST32): Likewise.
50819         [C99-based-standards] (SCNxFAST32): Likewise.
50820         [C99-based-standards] (PRId64): Likewise.
50821         [C99-based-standards] (PRIi64): Likewise.
50822         [C99-based-standards] (PRIo64): Likewise.
50823         [C99-based-standards] (PRIu64): Likewise.
50824         [C99-based-standards] (PRIx64): Likewise.
50825         [C99-based-standards] (PRIX64): Likewise.
50826         [C99-based-standards] (SCNd64): Likewise.
50827         [C99-based-standards] (SCNi64): Likewise.
50828         [C99-based-standards] (SCNo64): Likewise.
50829         [C99-based-standards] (SCNu64): Likewise.
50830         [C99-based-standards] (SCNx64): Likewise.
50831         [C99-based-standards] (PRIdLEAST64): Likewise.
50832         [C99-based-standards] (PRIiLEAST64): Likewise.
50833         [C99-based-standards] (PRIoLEAST64): Likewise.
50834         [C99-based-standards] (PRIuLEAST64): Likewise.
50835         [C99-based-standards] (PRIxLEAST64): Likewise.
50836         [C99-based-standards] (PRIXLEAST64): Likewise.
50837         [C99-based-standards] (SCNdLEAST64): Likewise.
50838         [C99-based-standards] (SCNiLEAST64): Likewise.
50839         [C99-based-standards] (SCNoLEAST64): Likewise.
50840         [C99-based-standards] (SCNuLEAST64): Likewise.
50841         [C99-based-standards] (SCNxLEAST64): Likewise.
50842         [C99-based-standards] (PRIdFAST64): Likewise.
50843         [C99-based-standards] (PRIiFAST64): Likewise.
50844         [C99-based-standards] (PRIoFAST64): Likewise.
50845         [C99-based-standards] (PRIuFAST64): Likewise.
50846         [C99-based-standards] (PRIxFAST64): Likewise.
50847         [C99-based-standards] (PRIXFAST64): Likewise.
50848         [C99-based-standards] (SCNdFAST64): Likewise.
50849         [C99-based-standards] (SCNiFAST64): Likewise.
50850         [C99-based-standards] (SCNoFAST64): Likewise.
50851         [C99-based-standards] (SCNuFAST64): Likewise.
50852         [C99-based-standards] (SCNxFAST64): Likewise.
50853         [C99-based-standards] (PRIdMAX): Likewise.
50854         [C99-based-standards] (PRIiMAX): Likewise.
50855         [C99-based-standards] (PRIoMAX): Likewise.
50856         [C99-based-standards] (PRIuMAX): Likewise.
50857         [C99-based-standards] (PRIxMAX): Likewise.
50858         [C99-based-standards] (PRIXMAX): Likewise.
50859         [C99-based-standards] (SCNdMAX): Likewise.
50860         [C99-based-standards] (SCNiMAX): Likewise.
50861         [C99-based-standards] (SCNoMAX): Likewise.
50862         [C99-based-standards] (SCNuMAX): Likewise.
50863         [C99-based-standards] (SCNxMAX): Likewise.
50864         [C99-based-standards] (PRIdPTR): Likewise.
50865         [C99-based-standards] (PRIiPTR): Likewise.
50866         [C99-based-standards] (PRIoPTR): Likewise.
50867         [C99-based-standards] (PRIuPTR): Likewise.
50868         [C99-based-standards] (PRIxPTR): Likewise.
50869         [C99-based-standards] (PRIXPTR): Likewise.
50870         [C99-based-standards] (SCNdPTR): Likewise.
50871         [C99-based-standards] (SCNiPTR): Likewise.
50872         [C99-based-standards] (SCNoPTR): Likewise.
50873         [C99-based-standards] (SCNuPTR): Likewise.
50874         [C99-based-standards] (SCNxPTR): Likewise.
50875         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50876         allow.
50877         * conform/data/stdint.h-data: Update comments to clarify
50878         requirements.
50879         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50880         type.
50881         [C99-based standards] (INT8_MAX): Likewise.
50882         [C99-based standards] (INT16_MIN): Likewise.
50883         [C99-based standards] (INT16_MAX): Likewise.
50884         [C99-based standards] (INT32_MIN): Likewise.
50885         [C99-based standards] (INT32_MAX): Likewise.
50886         [C99-based standards] (INT64_MIN): Likewise.
50887         [C99-based standards] (INT64_MAX): Likewise.
50888         [C99-based standards] (UINT8_MAX): Likewise.
50889         [C99-based standards] (UINT16_MAX): Likewise.
50890         [C99-based standards] (UINT32_MAX): Likewise.
50891         [C99-based standards] (UINT64_MAX): Likewise.
50892         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50893         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50894         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50895         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50896         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50897         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50898         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50899         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50900         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50901         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50902         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50903         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50904         [C99-based standards] (INT_FAST8_MIN): Likewise.
50905         [C99-based standards] (INT_FAST8_MAX): Likewise.
50906         [C99-based standards] (INT_FAST16_MIN): Likewise.
50907         [C99-based standards] (INT_FAST16_MAX): Likewise.
50908         [C99-based standards] (INT_FAST32_MIN): Likewise.
50909         [C99-based standards] (INT_FAST32_MAX): Likewise.
50910         [C99-based standards] (INT_FAST64_MIN): Likewise.
50911         [C99-based standards] (INT_FAST64_MAX): Likewise.
50912         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50913         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50914         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50915         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50916         [C99-based standards] (INTPTR_MIN): Likewise.
50917         [C99-based standards] (INTPTR_MAX): Likewise.
50918         [C99-based standards] (UINTPTR_MAX): Likewise.
50919         [C99-based standards] (INTMAX_MIN): Likewise.
50920         [C99-based standards] (INTMAX_MAX): Likewise.
50921         [C99-based standards] (UINTMAX_MAX): Likewise.
50922         [C99-based standards] (PTRDIFF_MIN): Likewise.
50923         [C99-based standards] (PTRDIFF_MAX): Likewise.
50924         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50925         [C99-based standards] (SIZE_MAX): Likewise.
50926         [C99-based standards] (WCHAR_MAX): Likewise.
50927         [C99-based standards] (WINT_MAX): Likewise.
50928         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50929         constraint on value.
50930         [C99-based standards] (WCHAR_MIN): Likewise.
50931         [C99-based standards] (WINT_MIN): Likewise.
50932         [C99-based standards] (*_t): Allow.
50933         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50934         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50935         Include math.h-data and complex.h-data.  Remove all expectations
50936         of math.h and complex.h contents.
50937         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50938         at end of line.
50939         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50940         (struct tm): Expect tag.
50941         [C99-based-standards] (wcstof): Expect function.
50942         [C99-based-standards] (wcstold): Likewise.
50943         [C99-based-standards] (wcstoll): Likewise.
50944         [C99-based-standards] (wcstoull): Likewise.
50945         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50946         macro-int-constant.  Specify type.
50947         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50948         constraint on value.
50949         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50950         Specify type.
50951         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50952         Specify value.
50953         [ISO C standards]: Do not allow headers.
50954         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50955         wcs[abcdefghijklmnopqrstuvwxyz]*.
50956         [ISO C standards] (*_t): Do not allow.
50957         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50958         Expect function.
50959         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50960         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50961         Specify type.
50962         [ISO C standards]: Do not allow headers.
50963         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50964         is[abcdefghijklmnopqrstuvwxyz]*.
50965         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50966         to[abcdefghijklmnopqrstuvwxyz]*.
50967         [ISO C standards] (*_t): Do not allow.
50968         * conform/data/stdalign.h-data: New file.
50969         * conform/data/stdbool.h-data: Likewise.
50970         * conform/data/stdnoreturn.h-data: Likewise.
50972 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50974         [BZ #14815]
50975         * manual/filesys.texi (Directory Entries): Typo fix.
50976         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50978 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50980         * elf/elf.h (EM_AARCH64): New macro.
50981         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50982         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50983         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50984         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50985         (R_AARCH64_TLSDESC): Likewise.
50986         (NT_ARM_TLS): Likewise.
50987         (NT_ARM_HW_BREAK): Likewise.
50988         (NT_ARM_HW_WATCH): Likewise.
50990 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50992         [BZ #14811]
50993         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50994         (__ieee754_powl): Saturate nonzero exponents with absolute value
50995         below 0x1p-79 to +/- 0x1p-79.
50996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50997         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50998         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50999         nonzero exponents with absolute value below 0x1p-32 to +/-
51000         0x1p-32.
51001         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51002         (__ieee754_powl): Saturate nonzero exponents with absolute value
51003         below 0x1p-79 to +/- 0x1p-79.
51004         * math/libm-test.inc (pow_test): Add more tests.
51006 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51008         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51009         _dl_s390_cap_flags with kernel. Increase string length.
51010         (_dl_s390_platforms): Add z196 and zEC12.
51012 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51014         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51015         Change XOPEN21K to XOPEN2K.
51017 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51019         * string/memmove.c: Use memcpy when possible.
51021 2012-11-06  Andreas Jaeger  <aj@suse.de>
51023         * po/eo.po: Update from translation team.
51025 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51027         [BZ #14793]
51028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51029         exponent and small x and y exponents, scale x or y up.  Increase
51030         by 2 the exponent used in scaling up.
51031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51033         * math/libm-test.inc (fma_test): Add more tests.
51034         (fma_test_towardzero): Likewise.
51035         (fma_test_downward): Likewise.
51036         (fma_test_upward): Likewise.
51038 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51040         [BZ #14805]
51041         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51042         fenv_t *.
51044         [BZ #14801]
51045         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51046         namespace for names of struct fields.
51047         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51048         fenv_t fields.
51049         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51050         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51052 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51054         [BZ #3665]
51055         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51057 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51059         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51060         PTR_DEMANGLE.
51062         [BZ #5246]
51063         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51064         PTR_DEMANGLE.
51066 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51068         [BZ #14797]
51069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51070         definitely overflow as x * y not x * y + z.
51071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51073         * math/libm-test.inc (fma_test): Add more tests.
51074         (fma_test_towardzero): Likewise.
51075         (fma_test_downward): Likewise.
51076         (fma_test_upward): Likewise.
51078 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51080         [BZ #157]
51082         * include/stub-tag.h: Remove file.
51083         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51084         '#include' of it.
51085         * manual/maint.texi (Porting): Don't reference it.
51086         * Makerules ($(objpfx)stubs): Likewise.
51087         * dirent/closedir.c: Don't include <stub-tag.h>.
51088         * dirent/dirfd.c: Likewise.
51089         * dirent/fdopendir.c: Likewise.
51090         * dirent/getdents.c: Likewise.
51091         * dirent/getdents64.c: Likewise.
51092         * dirent/opendir.c: Likewise.
51093         * dirent/readdir.c: Likewise.
51094         * dirent/readdir64.c: Likewise.
51095         * dirent/readdir64_r.c: Likewise.
51096         * dirent/readdir_r.c: Likewise.
51097         * dirent/rewinddir.c: Likewise.
51098         * dirent/seekdir.c: Likewise.
51099         * dirent/telldir.c: Likewise.
51100         * gmon/profil.c: Likewise.
51101         * grp/setgroups.c: Likewise.
51102         * inet/if_index.c: Likewise.
51103         * io/access.c: Likewise.
51104         * io/chdir.c: Likewise.
51105         * io/chmod.c: Likewise.
51106         * io/chown.c: Likewise.
51107         * io/close.c: Likewise.
51108         * io/dup.c: Likewise.
51109         * io/dup2.c: Likewise.
51110         * io/dup3.c: Likewise.
51111         * io/euidaccess.c: Likewise.
51112         * io/faccessat.c: Likewise.
51113         * io/fchdir.c: Likewise.
51114         * io/fchmod.c: Likewise.
51115         * io/fchmodat.c: Likewise.
51116         * io/fchown.c: Likewise.
51117         * io/fchownat.c: Likewise.
51118         * io/fcntl.c: Likewise.
51119         * io/flock.c: Likewise.
51120         * io/fstatfs.c: Likewise.
51121         * io/fstatfs64.c: Likewise.
51122         * io/fstatvfs.c: Likewise.
51123         * io/fstatvfs64.c: Likewise.
51124         * io/futimens.c: Likewise.
51125         * io/fxstat.c: Likewise.
51126         * io/fxstat64.c: Likewise.
51127         * io/fxstatat.c: Likewise.
51128         * io/fxstatat64.c: Likewise.
51129         * io/getcwd.c: Likewise.
51130         * io/isatty.c: Likewise.
51131         * io/lchmod.c: Likewise.
51132         * io/lchown.c: Likewise.
51133         * io/link.c: Likewise.
51134         * io/linkat.c: Likewise.
51135         * io/lseek.c: Likewise.
51136         * io/lseek64.c: Likewise.
51137         * io/lxstat64.c: Likewise.
51138         * io/mkdir.c: Likewise.
51139         * io/mkdirat.c: Likewise.
51140         * io/mkfifo.c: Likewise.
51141         * io/mkfifoat.c: Likewise.
51142         * io/open.c: Likewise.
51143         * io/open64.c: Likewise.
51144         * io/openat.c: Likewise.
51145         * io/openat64.c: Likewise.
51146         * io/pipe.c: Likewise.
51147         * io/pipe2.c: Likewise.
51148         * io/poll.c: Likewise.
51149         * io/posix_fadvise.c: Likewise.
51150         * io/posix_fadvise64.c: Likewise.
51151         * io/posix_fallocate.c: Likewise.
51152         * io/posix_fallocate64.c: Likewise.
51153         * io/read.c: Likewise.
51154         * io/readlink.c: Likewise.
51155         * io/readlinkat.c: Likewise.
51156         * io/rmdir.c: Likewise.
51157         * io/sendfile.c: Likewise.
51158         * io/sendfile64.c: Likewise.
51159         * io/statfs.c: Likewise.
51160         * io/statfs64.c: Likewise.
51161         * io/statvfs.c: Likewise.
51162         * io/statvfs64.c: Likewise.
51163         * io/symlink.c: Likewise.
51164         * io/symlinkat.c: Likewise.
51165         * io/ttyname.c: Likewise.
51166         * io/ttyname_r.c: Likewise.
51167         * io/umask.c: Likewise.
51168         * io/unlink.c: Likewise.
51169         * io/unlinkat.c: Likewise.
51170         * io/utime.c: Likewise.
51171         * io/utimensat.c: Likewise.
51172         * io/write.c: Likewise.
51173         * io/xmknod.c: Likewise.
51174         * io/xmknodat.c: Likewise.
51175         * io/xstat.c: Likewise.
51176         * io/xstat64.c: Likewise.
51177         * login/getpt.c: Likewise.
51178         * login/grantpt.c: Likewise.
51179         * login/unlockpt.c: Likewise.
51180         * math/e_acoshl.c: Likewise.
51181         * math/e_acosl.c: Likewise.
51182         * math/e_asinl.c: Likewise.
51183         * math/e_atan2l.c: Likewise.
51184         * math/e_atanhl.c: Likewise.
51185         * math/e_coshl.c: Likewise.
51186         * math/e_expl.c: Likewise.
51187         * math/e_fmodl.c: Likewise.
51188         * math/e_gammal_r.c: Likewise.
51189         * math/e_hypotl.c: Likewise.
51190         * math/e_j0l.c: Likewise.
51191         * math/e_j1l.c: Likewise.
51192         * math/e_jnl.c: Likewise.
51193         * math/e_lgammal_r.c: Likewise.
51194         * math/e_log10l.c: Likewise.
51195         * math/e_log2l.c: Likewise.
51196         * math/e_logl.c: Likewise.
51197         * math/e_powl.c: Likewise.
51198         * math/e_rem_pio2l.c: Likewise.
51199         * math/e_sinhl.c: Likewise.
51200         * math/e_sqrtl.c: Likewise.
51201         * math/fclrexcpt.c: Likewise.
51202         * math/fedisblxcpt.c: Likewise.
51203         * math/feenablxcpt.c: Likewise.
51204         * math/fegetenv.c: Likewise.
51205         * math/fegetexcept.c: Likewise.
51206         * math/fegetround.c: Likewise.
51207         * math/feholdexcpt.c: Likewise.
51208         * math/fesetenv.c: Likewise.
51209         * math/fesetround.c: Likewise.
51210         * math/feupdateenv.c: Likewise.
51211         * math/fgetexcptflg.c: Likewise.
51212         * math/fraiseexcpt.c: Likewise.
51213         * math/fsetexcptflg.c: Likewise.
51214         * math/ftestexcept.c: Likewise.
51215         * math/k_cosl.c: Likewise.
51216         * math/k_rem_pio2l.c: Likewise.
51217         * math/k_sinl.c: Likewise.
51218         * math/k_tanl.c: Likewise.
51219         * math/s_asinhl.c: Likewise.
51220         * math/s_atanl.c: Likewise.
51221         * math/s_cbrtl.c: Likewise.
51222         * math/s_erfl.c: Likewise.
51223         * math/s_expm1l.c: Likewise.
51224         * math/s_log1pl.c: Likewise.
51225         * math/s_tanhl.c: Likewise.
51226         * misc/acct.c: Likewise.
51227         * misc/brk.c: Likewise.
51228         * misc/chflags.c: Likewise.
51229         * misc/chroot.c: Likewise.
51230         * misc/fchflags.c: Likewise.
51231         * misc/fgetxattr.c: Likewise.
51232         * misc/flistxattr.c: Likewise.
51233         * misc/fremovexattr.c: Likewise.
51234         * misc/fsetxattr.c: Likewise.
51235         * misc/fsync.c: Likewise.
51236         * misc/ftruncate.c: Likewise.
51237         * misc/futimes.c: Likewise.
51238         * misc/futimesat.c: Likewise.
51239         * misc/getdomain.c: Likewise.
51240         * misc/getdtsz.c: Likewise.
51241         * misc/gethostid.c: Likewise.
51242         * misc/gethostname.c: Likewise.
51243         * misc/getloadavg.c: Likewise.
51244         * misc/getpagesize.c: Likewise.
51245         * misc/getsysstats.c: Likewise.
51246         * misc/getxattr.c: Likewise.
51247         * misc/gtty.c: Likewise.
51248         * misc/ioctl.c: Likewise.
51249         * misc/lgetxattr.c: Likewise.
51250         * misc/listxattr.c: Likewise.
51251         * misc/llistxattr.c: Likewise.
51252         * misc/lremovexattr.c: Likewise.
51253         * misc/lsetxattr.c: Likewise.
51254         * misc/lutimes.c: Likewise.
51255         * misc/madvise.c: Likewise.
51256         * misc/mincore.c: Likewise.
51257         * misc/mlock.c: Likewise.
51258         * misc/mlockall.c: Likewise.
51259         * misc/mmap.c: Likewise.
51260         * misc/mprotect.c: Likewise.
51261         * misc/msync.c: Likewise.
51262         * misc/munlock.c: Likewise.
51263         * misc/munlockall.c: Likewise.
51264         * misc/munmap.c: Likewise.
51265         * misc/preadv.c: Likewise.
51266         * misc/preadv64.c: Likewise.
51267         * misc/ptrace.c: Likewise.
51268         * misc/pwritev.c: Likewise.
51269         * misc/pwritev64.c: Likewise.
51270         * misc/readv.c: Likewise.
51271         * misc/reboot.c: Likewise.
51272         * misc/remap_file_pages.c: Likewise.
51273         * misc/removexattr.c: Likewise.
51274         * misc/revoke.c: Likewise.
51275         * misc/select.c: Likewise.
51276         * misc/setdomain.c: Likewise.
51277         * misc/setegid.c: Likewise.
51278         * misc/seteuid.c: Likewise.
51279         * misc/sethostid.c: Likewise.
51280         * misc/sethostname.c: Likewise.
51281         * misc/setregid.c: Likewise.
51282         * misc/setreuid.c: Likewise.
51283         * misc/setxattr.c: Likewise.
51284         * misc/sstk.c: Likewise.
51285         * misc/stty.c: Likewise.
51286         * misc/swapoff.c: Likewise.
51287         * misc/swapon.c: Likewise.
51288         * misc/sync.c: Likewise.
51289         * misc/syncfs.c: Likewise.
51290         * misc/syscall.c: Likewise.
51291         * misc/truncate.c: Likewise.
51292         * misc/ualarm.c: Likewise.
51293         * misc/usleep.c: Likewise.
51294         * misc/ustat.c: Likewise.
51295         * misc/utimes.c: Likewise.
51296         * misc/vhangup.c: Likewise.
51297         * misc/writev.c: Likewise.
51298         * posix/_exit.c: Likewise.
51299         * posix/alarm.c: Likewise.
51300         * posix/execve.c: Likewise.
51301         * posix/fexecve.c: Likewise.
51302         * posix/fork.c: Likewise.
51303         * posix/fpathconf.c: Likewise.
51304         * posix/getaddrinfo.c: Likewise.
51305         * posix/getegid.c: Likewise.
51306         * posix/geteuid.c: Likewise.
51307         * posix/getgid.c: Likewise.
51308         * posix/getgroups.c: Likewise.
51309         * posix/getlogin.c: Likewise.
51310         * posix/getlogin_r.c: Likewise.
51311         * posix/getpgid.c: Likewise.
51312         * posix/getpid.c: Likewise.
51313         * posix/getppid.c: Likewise.
51314         * posix/getresgid.c: Likewise.
51315         * posix/getresuid.c: Likewise.
51316         * posix/getsid.c: Likewise.
51317         * posix/getuid.c: Likewise.
51318         * posix/glob64.c: Likewise.
51319         * posix/nanosleep.c: Likewise.
51320         * posix/pathconf.c: Likewise.
51321         * posix/pause.c: Likewise.
51322         * posix/posix_madvise.c: Likewise.
51323         * posix/pread.c: Likewise.
51324         * posix/pread64.c: Likewise.
51325         * posix/pwrite.c: Likewise.
51326         * posix/pwrite64.c: Likewise.
51327         * posix/sched_getaffinity.c: Likewise.
51328         * posix/sched_getp.c: Likewise.
51329         * posix/sched_gets.c: Likewise.
51330         * posix/sched_primax.c: Likewise.
51331         * posix/sched_primin.c: Likewise.
51332         * posix/sched_rr_gi.c: Likewise.
51333         * posix/sched_setaffinity.c: Likewise.
51334         * posix/sched_setp.c: Likewise.
51335         * posix/sched_sets.c: Likewise.
51336         * posix/sched_yield.c: Likewise.
51337         * posix/setgid.c: Likewise.
51338         * posix/setlogin.c: Likewise.
51339         * posix/setpgid.c: Likewise.
51340         * posix/setresgid.c: Likewise.
51341         * posix/setresuid.c: Likewise.
51342         * posix/setsid.c: Likewise.
51343         * posix/setuid.c: Likewise.
51344         * posix/sleep.c: Likewise.
51345         * posix/spawni.c: Likewise.
51346         * posix/sysconf.c: Likewise.
51347         * posix/times.c: Likewise.
51348         * posix/wait.c: Likewise.
51349         * posix/wait3.c: Likewise.
51350         * posix/wait4.c: Likewise.
51351         * posix/waitpid.c: Likewise.
51352         * resolv/gai_sigqueue.c: Likewise.
51353         * resource/getpriority.c: Likewise.
51354         * resource/getrlimit.c: Likewise.
51355         * resource/getrusage.c: Likewise.
51356         * resource/nice.c: Likewise.
51357         * resource/setpriority.c: Likewise.
51358         * resource/setrlimit.c: Likewise.
51359         * resource/ulimit.c: Likewise.
51360         * rt/aio_cancel.c: Likewise.
51361         * rt/aio_fsync.c: Likewise.
51362         * rt/aio_read.c: Likewise.
51363         * rt/aio_sigqueue.c: Likewise.
51364         * rt/aio_suspend.c: Likewise.
51365         * rt/aio_write.c: Likewise.
51366         * rt/clock_getres.c: Likewise.
51367         * rt/clock_gettime.c: Likewise.
51368         * rt/clock_nanosleep.c: Likewise.
51369         * rt/clock_settime.c: Likewise.
51370         * rt/lio_listio.c: Likewise.
51371         * rt/mq_close.c: Likewise.
51372         * rt/mq_getattr.c: Likewise.
51373         * rt/mq_notify.c: Likewise.
51374         * rt/mq_open.c: Likewise.
51375         * rt/mq_receive.c: Likewise.
51376         * rt/mq_send.c: Likewise.
51377         * rt/mq_setattr.c: Likewise.
51378         * rt/mq_timedreceive.c: Likewise.
51379         * rt/mq_timedsend.c: Likewise.
51380         * rt/mq_unlink.c: Likewise.
51381         * rt/shm_open.c: Likewise.
51382         * rt/shm_unlink.c: Likewise.
51383         * rt/timer_create.c: Likewise.
51384         * rt/timer_delete.c: Likewise.
51385         * rt/timer_getoverr.c: Likewise.
51386         * rt/timer_gettime.c: Likewise.
51387         * rt/timer_settime.c: Likewise.
51388         * setjmp/__longjmp.c: Likewise.
51389         * setjmp/setjmp.c: Likewise.
51390         * signal/kill.c: Likewise.
51391         * signal/killpg.c: Likewise.
51392         * signal/raise.c: Likewise.
51393         * signal/sigaction.c: Likewise.
51394         * signal/sigaltstack.c: Likewise.
51395         * signal/sigblock.c: Likewise.
51396         * signal/sigignore.c: Likewise.
51397         * signal/sigintr.c: Likewise.
51398         * signal/signal.c: Likewise.
51399         * signal/sigpause.c: Likewise.
51400         * signal/sigpending.c: Likewise.
51401         * signal/sigqueue.c: Likewise.
51402         * signal/sigreturn.c: Likewise.
51403         * signal/sigset.c: Likewise.
51404         * signal/sigsetmask.c: Likewise.
51405         * signal/sigstack.c: Likewise.
51406         * signal/sigsuspend.c: Likewise.
51407         * signal/sigtimedwait.c: Likewise.
51408         * signal/sigvec.c: Likewise.
51409         * signal/sigwait.c: Likewise.
51410         * signal/sigwaitinfo.c: Likewise.
51411         * signal/sysv_signal.c: Likewise.
51412         * socket/accept.c: Likewise.
51413         * socket/accept4.c: Likewise.
51414         * socket/bind.c: Likewise.
51415         * socket/connect.c: Likewise.
51416         * socket/getpeername.c: Likewise.
51417         * socket/getsockname.c: Likewise.
51418         * socket/getsockopt.c: Likewise.
51419         * socket/isfdtype.c: Likewise.
51420         * socket/listen.c: Likewise.
51421         * socket/recv.c: Likewise.
51422         * socket/recvfrom.c: Likewise.
51423         * socket/recvmsg.c: Likewise.
51424         * socket/send.c: Likewise.
51425         * socket/sendmsg.c: Likewise.
51426         * socket/sendto.c: Likewise.
51427         * socket/setsockopt.c: Likewise.
51428         * socket/shutdown.c: Likewise.
51429         * socket/sockatmark.c: Likewise.
51430         * socket/socket.c: Likewise.
51431         * socket/socketpair.c: Likewise.
51432         * stdio-common/ctermid.c: Likewise.
51433         * stdio-common/cuserid.c: Likewise.
51434         * stdio-common/remove.c: Likewise.
51435         * stdio-common/rename.c: Likewise.
51436         * stdio-common/renameat.c: Likewise.
51437         * stdio-common/tempname.c: Likewise.
51438         * stdlib/getcontext.c: Likewise.
51439         * stdlib/makecontext.c: Likewise.
51440         * stdlib/setcontext.c: Likewise.
51441         * stdlib/swapcontext.c: Likewise.
51442         * stdlib/system.c: Likewise.
51443         * streams/fattach.c: Likewise.
51444         * streams/fdetach.c: Likewise.
51445         * streams/getmsg.c: Likewise.
51446         * streams/getpmsg.c: Likewise.
51447         * streams/putmsg.c: Likewise.
51448         * streams/putpmsg.c: Likewise.
51449         * sysdeps/unix/bsd/getpt.c: Likewise.
51450         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51451         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51452         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51454         Likewise.
51455         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51456         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51457         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51458         * sysvipc/msgctl.c: Likewise.
51459         * sysvipc/msgget.c: Likewise.
51460         * sysvipc/msgrcv.c: Likewise.
51461         * sysvipc/msgsnd.c: Likewise.
51462         * sysvipc/semctl.c: Likewise.
51463         * sysvipc/semget.c: Likewise.
51464         * sysvipc/semop.c: Likewise.
51465         * sysvipc/semtimedop.c: Likewise.
51466         * sysvipc/shmat.c: Likewise.
51467         * sysvipc/shmctl.c: Likewise.
51468         * sysvipc/shmdt.c: Likewise.
51469         * sysvipc/shmget.c: Likewise.
51470         * termios/tcdrain.c: Likewise.
51471         * termios/tcflow.c: Likewise.
51472         * termios/tcflush.c: Likewise.
51473         * termios/tcgetattr.c: Likewise.
51474         * termios/tcgetpgrp.c: Likewise.
51475         * termios/tcsendbrk.c: Likewise.
51476         * termios/tcsetattr.c: Likewise.
51477         * termios/tcsetpgrp.c: Likewise.
51478         * time/adjtime.c: Likewise.
51479         * time/clock.c: Likewise.
51480         * time/getitimer.c: Likewise.
51481         * time/gettimeofday.c: Likewise.
51482         * time/setitimer.c: Likewise.
51483         * time/settimeofday.c: Likewise.
51484         * time/stime.c: Likewise.
51485         * time/time.c: Likewise.
51487 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51489         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51490         /usr/old/bin.
51492         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51493         instead of spaces.
51494         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51496 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51498         [BZ #14796]
51499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51500         FE_TONEAREST before applying Dekker multiplication and Knuth
51501         addition.  Clear inexact exceptions and check for exact zero
51502         results afterwards.
51503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51504         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51506         * math/libm-test.inc (fma_test): Add more tests.
51507         (fma_test_towardzero): Likewise.
51508         (fma_test_downward): Likewise.
51509         (fma_test_upward): Likewise.
51510         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51511         function.
51512         (libc_fesetround): New macro.
51513         (libc_fesetroundf): Likewise.
51514         (libc_fesetroundl): Likewise.
51515         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51516         function.
51517         (libc_fesetround_387): Likewise.
51518         (libc_fesetroundf): New macro.
51519         (libc_fesetround): Likewise.
51520         (libc_fesetroundl): Likewise.
51521         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51522         function.
51523         (libc_fesetroundf): New macro.
51524         (libc_fesetround): Likewise.
51525         (libc_fesetroundl): Likewise.
51526         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51527         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51528         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51529         libm_hidden_ver.
51530         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51531         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51532         libm_hidden_def.
51533         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51534         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51535         libm_hidden_ver.
51536         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51537         libm_hidden_def.
51539         [BZ #3439]
51540         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51541         integer constant usable in #if and use that to give value to enum
51542         constant.
51543         (FE_DIVBYZERO): Likewise.
51544         (FE_UNDERFLOW): Likewise.
51545         (FE_OVERFLOW): Likewise.
51546         (FE_INVALID): Likewise.
51547         (FE_INVALID_SNAN): Likewise.
51548         (FE_INVALID_ISI): Likewise.
51549         (FE_INVALID_IDI): Likewise.
51550         (FE_INVALID_ZDZ): Likewise.
51551         (FE_INVALID_IMZ): Likewise.
51552         (FE_INVALID_COMPARE): Likewise.
51553         (FE_INVALID_SOFTWARE): Likewise.
51554         (FE_INVALID_SQRT): Likewise.
51555         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51556         (FE_TONEAREST): Likewise.
51557         (FE_TOWARDZERO): Likewise.
51558         (FE_UPWARD): Likewise.
51559         (FE_DOWNWARD): Likewise.
51560         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51561         (FE_DIVBYZERO): Likewise.
51562         (FE_OVERFLOW): Likewise.
51563         (FE_UNDERFLOW): Likewise.
51564         (FE_INEXACT): Likewise.
51565         (FE_TONEAREST): Likewise.
51566         (FE_DOWNWARD): Likewise.
51567         (FE_UPWARD): Likewise.
51568         (FE_TOWARDZERO): Likewise.
51569         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51570         (FE_UNDERFLOW): Likewise.
51571         (FE_OVERFLOW): Likewise.
51572         (FE_DIVBYZERO): Likewise.
51573         (FE_INVALID): Likewise.
51574         (FE_TONEAREST): Likewise.
51575         (FE_TOWARDZERO): Likewise.
51576         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51577         (FE_OVERFLOW): Likewise.
51578         (FE_UNDERFLOW): Likewise.
51579         (FE_DIVBYZERO): Likewise.
51580         (FE_INEXACT): Likewise.
51581         (FE_TONEAREST): Likewise.
51582         (FE_TOWARDZERO): Likewise.
51583         (FE_UPWARD): Likewise.
51584         (FE_DOWNWARD): Likewise.
51585         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51586         (FE_DIVBYZERO): Likewise.
51587         (FE_OVERFLOW): Likewise.
51588         (FE_UNDERFLOW): Likewise.
51589         (FE_INEXACT): Likewise.
51590         (FE_TONEAREST): Likewise.
51591         (FE_DOWNWARD): Likewise.
51592         (FE_UPWARD): Likewise.
51593         (FE_TOWARDZERO): Likewise.
51595 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51597         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51599 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51601         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51602         commands.  Quote $PWD.
51603         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51604         -x" by "export".
51605         (remove_newlines): Remove.
51607 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51609         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51610         * stdlib/stdlib.h (atof): Moved to ...
51611         * include/bits/stdlib-float.h: Here.  New file.
51612         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51613         * stdlib/bits/stdlib-float.h: New file.
51614         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51615         -mno-sse -mno-mmx.
51616         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51617         <xmmintrin.h>.
51619 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51621         * conform/conformtest.pl (@headers): Add fenv.h.
51622         * conform/data/fenv.h-data: New file.
51623         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51624         include of <math/fenv.h>.
51626         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51627         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51628         && !UNIX98].  Enables tests for XOPEN2K8.
51629         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51630         POSIX2008]: Likewise.
51632         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51633         (struct rusage): Do not expect type or its members.
51635         [BZ #3439]
51636         * math/math.h (FP_NAN): Define macro to integer constant usable in
51637         #if and use that to give value to enum constant.
51638         (FP_INFINITE): Likewise.
51639         (FP_ZERO): Likewise.
51640         (FP_SUBNORMAL): Likewise.
51641         (FP_NORMAL): Likewise.
51643 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51645         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51646         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51647         arguments.
51649 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51651         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51652         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51653         autoconf-time if not.
51654         * configure.in: Remove AC_PREREQ.
51656 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51658         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51659         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51660         of the internal implementation.
51662 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51664         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51665         except include of <misc/sys/syslog.h>.
51667 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51670         function returns with a NULL context exit with zero.
51672 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51674         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51676 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51678         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51679         (run_program_cmd): This.
51680         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51681         (tst_langinfo): New variable.  Use it.
51683 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51685         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51686         floating point opcodes.
51688 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51690         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51691         variable.
51693         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51695         * sysdeps/mach/hurd/powerpc: Remove directory.
51696         * sysdeps/mach/powerpc: Likewise.
51698 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51700         * scripts/check-local-headers.sh: Ignore c++ headers.
51702 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51704         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51705         __libc_cleanup_region_start argument.
51707 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51709         [BZ #14784]
51710         [BZ #14785]
51711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51712         x * y using scaling, not as x * y + z.
51713         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51715         * math/libm-test.inc (fma_test): Add more tests.
51716         (fma_test_towardzero): Likewise.
51717         (fma_test_downward): Likewise.
51718         (fma_test_upward): Likewise.
51720 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51722         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51724 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51726         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51727         New variable.
51729 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51731         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51733 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51736         Fix sort order.
51737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51738         Likewise.
51740 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51743         Fix the order of the list for glibc 2.17.
51744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51745         Likewise.
51747 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51751 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51753         [BZ #14610]
51754         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51755         for low part of x being zero before using __atanl (y).
51756         * math/libm-test.inc (atan2_test): Add another test.
51758         * manual/install.texi (Configuring and compiling): Document
51759         general use of test-wrapper and test-wrapper-env.
51760         * INSTALL: Regenerated.
51762         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51763         (__fma): Do not extract and scale down low bits on after-rounding
51764         systems when result rounded to normal precision would have normal
51765         exponent.
51766         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51767         (__fmal): Do not extract and scale down low bits on after-rounding
51768         systems when result rounded to normal precision would have normal
51769         exponent.
51770         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51771         (__fmal): Do not extract and scale down low bits on after-rounding
51772         systems when result rounded to normal precision would have normal
51773         exponent.
51774         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51775         macro.
51776         (fma_test): Add more tests.
51777         (fma_test_towardzero): Likewise.
51778         (fma_test_downward): Likewise.
51779         (fma_test_upward): Likewise.
51781 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51783         * sysdeps/i386/tininess.h: Renamed to ...
51784         * sysdeps/x86/tininess.h: This.
51785         * sysdeps/x86_64/tininess.h: Removed.
51787 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51789         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51790         input.  Use $(build-program-cmd).
51791         ($(objpfx)tst-array1-static.out): Likewise.
51792         ($(objpfx)tst-array2.out): Likewise.
51793         ($(objpfx)tst-array3.out): Likewise.
51794         ($(objpfx)tst-array4.out): Likewise.
51795         ($(objpfx)tst-array5.out): Likewise.
51796         ($(objpfx)tst-array5-static.out): Likewise.
51798 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51800         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51801         if defined.
51803         * nss/nsswitch.h (nss_interface_function): Provide new
51804         macro for use with NSS functions.
51805         * grp/initgroups.c: Use new macro.
51806         * nss/getXXbyYY.c: Likewise.
51807         * nss/getXXbyYY_r.c: Likewise.
51808         * nss/getXXent.c: Likewise.
51809         * nss/getXXent_r.c: Likewise.
51810         * sysdeps/posix/getaddrinfo.c: Likewise.
51812 2012-10-30  Andreas Jaeger  <aj@suse.de>
51814         * po/ru.po: Update Russion translation from translation project.
51816 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51818         [BZ #14152]
51819         [BZ #14783]
51820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51821         result and shift together with sticky bit instead of replicating
51822         round-to-nearest rounding.
51823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51825         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51826         missing underflow exceptions.
51827         (fma_test_towardzero): Add more tests.
51828         (fma_test_downward): Likewise.
51829         (fma_test_upward): Likewise.
51831         [BZ #14047]
51832         * sysdeps/generic/tininess.h: New file.
51833         * sysdeps/i386/tininess.h: Likewise.
51834         * sysdeps/sh/tininess.h: Likewise.
51835         * sysdeps/x86_64/tininess.h: Likewise.
51836         * stdlib/tst-strtod-underflow.c: Likewise.
51837         * stdlib/tst-tininess.c: Likewise.
51838         * stdlib/strtod_l.c: Include <tininess.h>.
51839         (round_and_return): Do not set errno for exact underflow cases.
51840         Force an underflow exception when setting errno for underflow.
51841         Determine underflow based on rounding to normal precision if
51842         TININESS_AFTER_ROUNDING.
51843         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51844         ERANGE for exact underflow cases.
51845         * stdlib/Makefile (tests): Add tst-tininess and
51846         tst-strtod-underflow.
51847         ($(objpfx)tst-tininess): Use $(link-libm).
51848         ($(objpfx)tst-strtod-underflow): Likewise.
51850 2012-10-30  Andreas Jaeger  <aj@suse.de>
51852         [BZ#14767]
51853         * elf/Makefile (tests): Remove conditional for have-initfini-array
51854         since this is now always required and the variable does not exist
51855         anymore.
51856         (tests-static): Likewise.
51857         (modules-names): Likewise.
51859         * po/eo.po: Add Esperanto translation from translation project.
51861         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51862         merged with constructor/destructor.
51863         (init_array): Likewise.
51864         * elf/tst-array2dep.c (fini_array): Likewise.
51865         (init_array): Likewise.
51867 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51869         * manual/message.texi: Delete @cartouche tags.
51871 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51873         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51874         EOPNOTSUPP.
51875         * sysdeps/mach/hurd/fsync.c: Likewise.
51877         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51878         [_POSIX_REALTIME_SIGNALS]: Change condition to
51879         [_POSIX_REALTIME_SIGNALS > 0].
51881 2012-10-27  Andreas Jaeger  <aj@suse.de>
51883         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51884         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51886         [__WORDSIZE != 64]: Likewise.
51888 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51890         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51891         *  iconvdata/tst-tables.sh: Likewise.
51893 2012-10-25  David S. Miller  <davem@davemloft.net>
51895         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51896         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51897         of strtoull.
51899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51900         ifunc-impl-list.c
51901         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51902         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51903         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51904         file.
51906 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51908         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51909         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51910         __getdirentries.
51912 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51913             Jim Blandy  <jimb@codesourcery.com>
51915         * scripts/cross-test-ssh.sh: New file.
51916         * manual/install.texi (Configuring and compiling): Document use of
51917         cross-test-ssh.sh.
51918         * INSTALL: Regenerated.
51920 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51922         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51923         EOPNOTSUPP.
51925 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51927         * Makeconfig (run-program-prefix): Fix comment.
51929 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51930             Jim Blandy  <jimb@codesourcery.com>
51932         * Makeconfig (test-wrapper): New variable,
51933         (test-wrapper-env): Likewise.
51934         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51935         (run-built-tests): Define to yes.
51936         (run-program-prefix): Use $(test-wrapper).
51937         (built-program-cmd): Likewise.
51938         * Rules (make-test-out): Use $(test-wrapper-env) and
51939         $(host-built-program-cmd).
51940         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51941         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51942         tst-pathopt.sh.
51943         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51944         $(test-wrapper-env) to tst-rtld-load-self.sh.
51945         ($(objpfx)order2.out): Use $(test-wrapper).
51946         ($(objpfx)tst-initorder.out): Likewise.
51947         ($(objpfx)tst-initorder2.out): Likewise.
51948         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51949         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51950         (test_wrapper_env): New variable.  Use it to run ld.so.
51951         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51952         Use it to run ld.so.
51953         (test_wrapper_env): Likewise.
51954         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51955         $(test-wrapper) to run-iconv-test.sh.
51956         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51957         (ICONV): Use $test_wrapper.
51958         * posix/Makefile ($(objpfx)globtest.out): Pass
51959         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51960         globtest.sh, not $(run-program-prefix).
51961         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51962         (test_wrapper): Likewise.
51963         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51964         set together with run_via_rtld_prefix.
51965         (run_program_prefix): Define in terms of test_wrapper and
51966         run_via_rtld_prefix.
51968 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51970         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51971         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51972         Targets removed.
51974         [BZ #14743]
51975         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51976         Declare __clock_getres, __clock_gettime, __clock_settime,
51977         __clock_nanosleep, and __clock_getcpuclockid.
51978         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51979         Remove librt_hidden_def (clock_gettime).
51980         * sysdeps/unix/clock_gettime.c: Likewise.
51981         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51982         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51983         * rt/clock_getres.c: Define __clock_getres as an alias.
51984         * sysdeps/posix/clock_getres.c: Likewise.
51985         * rt/clock_settime.c: Define __clock_settime as an alias.
51986         * sysdeps/unix/clock_settime.c: Likewise.
51987         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51988         * sysdeps/unix/clock_nanosleep.c: Likewise.
51989         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51990         * rt/clock-compat.c: New file.
51991         * rt/Makefile (librt-routines): Add clock-compat and move
51992         $(clock-routines) to ...
51993         (routines): ... here, new variable.
51994         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51995         Don't add get_clockfreq here.
51996         * rt/Versions (libc: GLIBC_2.17): New version set.
51997         Add clock_* symbols here.
51998         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51999         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52000         (GLIBC_2.17): Add clock_* symbols.
52001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52005         Likewise.
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52007         Likewise.
52008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52012         * NEWS: Mention the move.
52014         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52015         Use __open, __read, __close rather than their public counterparts.
52016         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52017         (__get_clockfreq_via_cpuinfo): Likewise.
52018         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52019         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52021         * config.h.in (HAVE_IFUNC): New #undef.
52022         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52023         was successful.
52024         * configure: Regenerated.
52026 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52028         * configure.in: Move READELF check to start of file.
52029         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52030         libc_cv_asm_gnu_indirect_function in the process.
52031         * configure: Regenerated.
52033 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52035         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52036         send the output to /dev/null.
52037         (libc_cv_cc_with_libunwind): Likewise.
52038         (libc_cv_as_noexecstack): Likewise.
52039         * configure: Regenerate.
52041 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52043         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52045         * posix/globtest.sh (TMPDIR): Do not set.
52046         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52047         (testout): Likewise.
52049 2012-10-24  Andreas Jaeger  <aj@suse.de>
52051         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52052         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52053         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52054         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52055         posix_fadvise64, posix_fallocate64.
52057         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52058         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52059         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52060         Likewise.
52061         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52062         Likewise.
52063         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52066         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52067         <bits/fcntl-linux.h>.
52068         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52071         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52072         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52073         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52074         [__WORDSIZE != 64]: Likewise.
52076 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52078         * Makeconfig (run-built-tests): New variable.
52079         * Rules [$(cross-compiling) = yes]: Change condition to
52080         [$(run-built-tests) = no].
52081         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52082         to [$(run-built-tests) = yes].
52083         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52084         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52085         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52086         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52087         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52088         * io/Makefile [$(cross-compiling) = no]: Likewise.
52089         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52090         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52091         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52092         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52093         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52094         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52095         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52096         * string/Makefile [$(cross-compiling) = no]: Likewise.
52098         * posix/Makefile ($(objpfx)globtest.out): Pass
52099         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52100         $(rtld-installed-name).
52101         * posix/globtest.sh (elf_objpfx): Remove variable.
52102         (rtld_installed_name): Likewise.
52103         (library_path): Likewise.
52104         (run_program_prefix): New variable.  Use for running globtest
52105         binary.
52107 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52108             Joseph Myers  <joseph@codesourcery.com>
52110         * Makeconfig (host-built-program-cmd): New variable.
52111         * elf/Makefile (tst-stackguard1-ARGS): Use
52112         $(host-built-program-cmd).
52113         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52114         (tst-spawn-ARGS): Likewise.
52115         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52117 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52118             Jim Blandy  <jimb@codesourcery.com>
52120         * Makeconfig (run-via-rtld-prefix): New variable.
52121         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52122         (built-program-cmd): Likewise.
52124 2012-10-22  Andreas Jaeger  <aj@suse.de>
52126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52127         __O_RSYNC if it exists, otherwise to O_SYNC.
52129 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52130             Joseph Myers  <joseph@codesourcery.com>
52132         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52133         /dev/null.
52134         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52135         from /dev/null
52136         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52137         /dev/null.
52139 2012-10-22  Andreas Jaeger  <aj@suse.de>
52141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52142         Define always.
52143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52146         bits/fcntl-linux.h.
52148         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52149         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52152         to __O_LARGEFILE.
52153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52154         to __O_LARGEFILE.
52156 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52157             Joseph Myers  <joseph@codesourcery.com>
52159         * config.make.in (NM): New variable.
52161 2012-10-21  Andreas Jaeger  <aj@suse.de>
52163         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52164         definitions and declarations that are provided by
52165         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52167 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52169         [BZ #14683]
52170         * elf/Makefile (tests-static): Add tst-leaks1-static.
52171         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52172         ($(objpfx)tst-leaks1-static): New rule.
52173         ($(objpfx)tst-leaks1-static-mem): Likewise.
52174         (tst-leaks1-static-ENV): New macro.
52175         * elf/dl-open.c (dl_open_worker): Check the main application
52176         only if SHARED is defined.
52177         * elf/tst-leaks1-static.c: New file.
52179 2012-10-20  Andreas Jaeger  <aj@suse.de>
52181         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52182         generic values for Linux.
52183         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52184         and declarations that are provided by <bits/fcntl-linux.h> and
52185         include <bits/fcntl-linux.h>.
52186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52187         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52189 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52191         * io/fcntl.h: Move include of <bits/types.h> to the top and
52192         include it unconditionally.
52194 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52196         * wcsmbs/Makefile (tests-ifunc): New variable.
52197         (tests): Add $(tests-ifunc).
52198         * wcsmbs/test-wcschr-ifunc.c: New file.
52199         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52200         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52201         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52202         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52203         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52205         * string/Makefile (tests-ifunc): New variable.
52206         (tests): Add $(tests-ifunc).
52207         * string/test-memccpy.c (TEST_NAME): New macro.
52208         * string/test-memchr.c (TEST_NAME): Likewise.
52209         * string/test-memcmp.c (TEST_NAME): Likewise.
52210         * string/test-memcpy.c (TEST_NAME): Likewise.
52211         * string/test-memmem.c (TEST_NAME): Likewise.
52212         * string/test-memmove.c (TEST_NAME): Likewise.
52213         * string/test-memset.c (TEST_NAME): Likewise.
52214         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52215         * string/test-stpcpy.c (TEST_NAME): Likewise.
52216         * string/test-stpncpy.c (TEST_NAME): Likewise.
52217         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52218         * string/test-strcasestr.c (TEST_NAME): Likewise.
52219         * string/test-strcat.c (TEST_NAME): Likewise.
52220         * string/test-strchr.c (TEST_NAME): Likewise.
52221         * string/test-strcmp.c(TEST_NAME): Likewise.
52222         * string/test-strcpy.c (TEST_NAME): Likewise.
52223         * string/test-strcspn.c (TEST_NAME): Likewise.
52224         * string/test-strlen.c (TEST_NAME): Likewise.
52225         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52226         * string/test-strncmp.c (TEST_NAME): Likewise.
52227         * string/test-strncpy.c (TEST_NAME): Likewise.
52228         * string/test-strnlen.c (TEST_NAME): Likewise.
52229         * string/test-strpbrk.c (TEST_NAME): Likewise.
52230         * string/test-strrchr.c (TEST_NAME): Likewise.
52231         * string/test-strspn.c (TEST_NAME): Likewise.
52232         * string/test-strstr.c (TEST_NAME): Likewise.
52233         * string/test-bcopy-ifunc.c: New file.
52234         * string/test-bzero-ifunc.c: Likewise.
52235         * string/test-memccpy-ifunc.c: Likewise.
52236         * string/test-memchr-ifunc.c: Likewise.
52237         * string/test-memcmp-ifunc.c: Likewise.
52238         * string/test-memcpy-ifunc.c: Likewise.
52239         * string/test-memmem-ifunc.c: Likewise.
52240         * string/test-memmove-ifunc.c: Likewise.
52241         * string/test-mempcpy-ifunc.c: Likewise.
52242         * string/test-memset-ifunc.c: Likewise.
52243         * string/test-rawmemchr-ifunc.c: Likewise.
52244         * string/test-stpcpy-ifunc.c: Likewise.
52245         * string/test-stpncpy-ifunc.c: Likewise.
52246         * string/test-strcasecmp-ifunc.c: Likewise.
52247         * string/test-strcasestr-ifunc.c: Likewise.
52248         * string/test-strcat-ifunc.c: Likewise.
52249         * string/test-strchr-ifunc.c: Likewise.
52250         * string/test-strchrnul-ifunc.c: Likewise.
52251         * string/test-strcmp-ifunc.c: Likewise.
52252         * string/test-strcpy-ifunc.c: Likewise.
52253         * string/test-strcspn-ifunc.c: Likewise.
52254         * string/test-strlen-ifunc.c: Likewise.
52255         * string/test-strncasecmp-ifunc.c: Likewise.
52256         * string/test-strncat-ifunc.c: Likewise.
52257         * string/test-strncmp-ifunc.c: Likewise.
52258         * string/test-strncpy-ifunc.c: Likewise.
52259         * string/test-strnlen-ifunc.c: Likewise.
52260         * string/test-strpbrk-ifunc.c: Likewise.
52261         * string/test-strrchr-ifunc.c: Likewise.
52262         * string/test-strspn-ifunc.c: Likewise.
52263         * string/test-strstr-ifunc.c: Likewise.
52265         * debug/Makefile (tests-ifunc): New variable.
52266         (tests): Add $(tests-ifunc).
52267         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52268         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52269         * debug/test-stpcpy_chk-ifunc.c: New file.
52270         * debug/test-strcpy_chk-ifunc.c: Likewise.
52272 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52274         [BZ #13601]
52275         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52276         header is not read in.
52278 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52280         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52281         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52282         directly.  Pass built executable to script as
52283         $(built-program-cmd).
52284         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52285         $testprogram without using LD_LIBRARY_PATH and $ldso.
52287         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52288         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52289         $(rtld-installed-name).
52290         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52291         (rtld_installed_name): Likewise.
52292         (library_path): Likewise.
52293         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52294         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52295         $(run-program-prefix) to tst-tables.sh.
52296         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52297         it to run tst-table-from and tst-table-to.
52298         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52299         Pass it to tst-table.sh.
52300         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52301         $(run-program-prefix) to tst-gettext.sh.
52302         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52303         tst-translit.sh.
52304         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52305         tst-gettext2.sh.
52306         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52307         to run tst-gettext.
52308         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52309         to run tst-gettext2.
52310         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52311         to run tst-translit.
52312         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52313         $(run-program-prefix) to tst-mtrace.sh.
52314         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52315         to run tst-mtrace.
52316         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52317         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52318         $(rtld-installed-name).
52319         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52320         (rtld_installed_name): Likewise.
52321         (run_program_prefix): New variable.  Use it to run wordexp-test.
52323         * Makeconfig (ARCH): Remove all definitions.
52324         (machine): Likewise.
52325         [ARCH]: Remove conditional code.
52326         [!objdir]: Give error.
52327         [!objdir] (objpfx): Remove.
52328         [!objdir] (common-objpfx): Likewise.
52329         [!objdir] (common-objdir): Likewise.
52330         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52331         AC_CONFIG_FILES call.
52332         * configure: Regenerated.
52334         [BZ #13888]
52335         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52336         or TMPDIR.
52337         (testout): Likewise.
52339         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52340         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52341         $(rtld-installed-name).
52342         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52343         (rtld_installed_name): Likwise.
52344         (runit): Remove function.
52345         (run_getconf): New variable,  Use it for running getconf binary.
52347 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52349         [BZ #14716]
52350         * string/test-memmem.c (check_result): New function.
52351         (do_one_test): Use it.
52352         (check1): New function.
52353         (test_main): Use it.
52355 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52357         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52359 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52361         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52362         (_G_LSEEK64): Likewise.
52363         (_G_MMAP64): Likewise.
52364         (_G_FSTAT64): Likewise.
52365         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52366         (_G_LSEEK64): Likewise.
52367         (_G_MMAP64): Likewise.
52368         (_G_FSTAT64): Likewise.
52369         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52370         unconditional.  Call __mmap64 directly.
52371         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52372         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52373         __lseek64 directly.
52374         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52375         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52376         __mmap64 directly.
52377         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52378         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52379         __lseek64 directly.
52380         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52381         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52382         __lseek64 directly.
52383         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52384         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52385         __lseek64 directly.
52386         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52387         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52388         __fxstat64 directly.
52389         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52390         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52391         unconditional.
52392         (freopen64) [!_G_OPEN64]: Remove conditional code.
52393         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52394         unconditional.
52395         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52396         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52397         unconditional.
52398         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52399         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52400         unconditional.
52401         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52402         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52403         unconditional.
52404         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52405         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52406         unconditional.
52407         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52408         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52409         unconditional.
52410         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52411         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52412         unconditional.
52413         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52415 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52417         [BZ #12140]
52418         * manual/memory.texi (Malloc Tunable Parameters): Add note
52419         about free list pointers overwriting some perturb bytes.
52420         Wording suggested by Roland McGrath.
52422 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52424         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52425         (lgamma_test): Likewise.
52426         (tgamma_test): Likewise.
52428 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52430         [BZ #14700]
52431         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52432         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52434 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52436         * NEWS: Mention BZ #14716.
52437         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52438         when removing AVAILABLE1_USES_J macro.
52440 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52442         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52443         (__bswap_64): __uint64_t for unsigned 64-bit int.
52445 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52447         * include/string.h (memmem): Declare libc hidden alias.
52448         * string/memmem.c (memmem): Define libc hidden alias.
52449         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52450         __read, __close instead of open, read, close.
52452 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52454         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52455         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52456         global and hidden.
52457         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52458         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52459         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52460         Likewise.
52461         (__rawmemchr_sse2): Likewise.
52462         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52463         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52464         (__strchr_sse2): Likewise.
52465         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52466         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52467         (__strcasecmp_sse2): Likewise.
52468         (__strncasecmp_sse2): Likewise.
52469         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52470         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52471         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52472         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52473         (__strrchr_sse2): Likewise.
52474         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52475         ifunc-impl-list.c.
52476         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52477         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52478         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52479         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52480         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52482         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52483         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52484         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52485         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52486         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52487         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52488         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52489         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52490         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52491         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52492         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52493         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52494         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52495         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52496         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52497         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52498         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52499         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52500         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52501         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52502         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52503         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52504         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52505         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52507         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52508         global and hidden.
52509         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52510         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52511         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52512         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52513         Likewise.
52514         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52515         Likewise.
52516         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52517         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52518         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52519         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52520         ifunc-impl-list.c.
52521         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52522         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52523         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52524         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52525         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52526         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52527         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52528         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52529         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52530         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52534         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52535         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52536         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52537         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52538         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52539         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52540         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52541         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52542         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52543         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52544         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52545         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52546         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52547         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52548         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52549         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52550         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52551         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52552         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52553         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52554         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52555         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52556         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52557         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52558         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52559         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52560         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52561         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52563         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52564         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52565         * include/ifunc-impl-list.h: New file.
52566         * misc/ifunc-impl-list.c: Likewise.
52567         * misc/Makefile (routines): Add ifunc-impl-list.
52568         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52569         * string/test-string.h: Include <ifunc-impl-list.h>.
52570         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52571         TEST_NAME]: New variables.
52572         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52573         are defined.
52574         (test_init): Call __libc_ifunc_impl_list to initialize
52575         func_list if TEST_IFUNC and TEST_NAME are defined.
52577         * string/Makefile (strop-tests): Add bcopy and bzero.
52578         * string/test-bcopy.c: New file.
52579         * string/test-bzero.c: Likewise.
52580         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52581         defined.
52582         * string/test-memset.c: Support bzero test if TEST_BZERO is
52583         defined.
52584         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52585         __libc_memmove.
52586         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52587         __libc_memset.
52588         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52589         of memset.
52591 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52593         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52594         * configure: Regenerated.
52596         * Makeconfig (+link-static-before-libc): Don't include
52597         $(link-static-libc).
52599         * libio/libio.h (_IO_pos_t): Remove.
52601 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52603         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52604         McGrath.
52606 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52608         * crypt/crypt-entry.c: Include fips-private.h.
52609         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52610         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52611         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52612         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52614 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52616         * crypt/crypt-private.h: Include stdbool.h.
52617         (_ufc_setup_salt_r): Return bool.
52618         * crypt/crypt-entry.c: Include errno.h.
52619         (__crypt_r): Return NULL with EINVAL for bad salt.
52620         * crypt/crypt_util.c (bad_for_salt): New.
52621         (_ufc_setup_salt_r): Check that salt is long enough and within
52622         the specified alphabet.
52623         * crypt/badsalttest.c: New file.
52624         * crypt/Makefile (tests): Add it.
52625         ($(objpfx)badsalttest): New.
52627 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52629         * NEWS: Add entry for BZ #14602.
52631 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52633         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52634         type-generic.
52635         * math/libm-test.inc: Update comment listing what functions and
52636         macros are tested.
52637         (isgreater_test): New function.
52638         (isgreaterequal_test): Likewise.
52639         (isless_test): Likewise.
52640         (islessequal_test): Likewise.
52641         (islessgreater_test): Likewise.
52642         (isunordered_test): Likewise.
52643         (main): Call the new functions.
52645 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52647         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52648         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52649         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52650         * sysdeps/i386/configure: Regenerated.
52651         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52652         * sysdeps/mach/configure: Regenerated.
52653         * sysdeps/mach/hurd/configure: Regenerated.
52654         * sysdeps/powerpc/configure: Regenerated.
52655         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52656         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52657         * sysdeps/s390/s390-32/configure: Regenerated.
52658         * sysdeps/s390/s390-64/configure: Regenerated.
52659         * sysdeps/sh/configure: Regenerated.
52660         * sysdeps/sparc/configure: Regenerated.
52661         * sysdeps/unix/sysv/linux/configure: Regenerated.
52662         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52663         * sysdeps/x86_64/configure: Regenerated.
52665         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52666         defined.  Don't check if MAP is NULL.
52668 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52670         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52671         (_G_stat64): Likewise.
52672         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52673         (_G_stat64): Likewise.
52674         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52675         instead of struct _G_stat64.
52676         * libio/fileops.c (mmap_remap_check): Likewise.
52677         (decide_maybe_mmap): Likewise.
52678         (_IO_new_file_seekoff): Likewise.
52679         (_IO_file_stat): Likewise.
52680         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52681         _G_off64_t.
52682         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52683         instead of struct _G_stat64.
52684         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52686 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52688         [BZ #14602]
52689         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52690         Replace with ...
52691         (CHECK_EOL): New macro.
52692         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52693         CHECK_EOL.
52694         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52695         Replace with CHECK_EOL.
52696         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52697         Replace with CHECK_EOL.
52699 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52701         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52702         type-generic.
52703         * math/libm-test.inc: Update comment listing what functions and
52704         macros are tested.
52705         (finite_test): New function.
52706         (isinf_test): Likewise.
52707         (isnan_test): Likewise.
52708         (fpclassify_test): Test subnormal input.
52709         (isfinite_test): Likewise.
52710         (isnormal_test): Likewise.
52711         (main): Call the new functions.
52713 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52715         [BZ #14660]
52716         * Makerules (%.dynsym): Force C locale when running
52717         $(OBJDUMP) --dynamic-syms.
52719 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52721         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52722         <stdint.h>.
52724 2012-10-06  David S. Miller  <davem@davemloft.net>
52726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52727         upper 32-bits of the length value in %o2 since we use branch-on-register
52728         tests which consider the entire 64-bit register.
52730 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52732         * string/test-strstr.c (check2): Add a test for page boundary.
52734 2012-10-05  David S. Miller  <davem@davemloft.net>
52736         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52737         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52738         file.
52739         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52740         sysdep_routines.
52741         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52742         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52743         and bzero when HWCAP_SPARC_CRYPTO is present.
52745 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52747         [BZ #14602]
52748         * string/test-strstr.c (check2): New function.
52749         (test_main): Call check2.
52751         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52752         and bug-strchr1.
52753         * string/bug-strcasestr1.c (do_test): Moved to ...
52754         * string/test-strcasestr.c (check1): Here.  New function.
52755         (do_one_test): Break out result checking code into ...
52756         (check_result): This.  New function.
52757         (do_one_test): Call check_result.
52758         (test_main): Call check1.
52759         * string/bug-strchr1.c (do_test): Moved to ...
52760         * string/test-strchr.c (check1): Here.  New function.
52761         (do_one_test): Break out result checking code into ...
52762         (check_result): This.  New function.
52763         (do_one_test): Call check_result.
52764         (test_main): Call check1.
52765         * string/bug-strstr1.c (main): Moved to ...
52766         * string/test-strstr.c (check1): Here.  New function.
52767         (do_one_test): Break out result checking code into ...
52768         (check_result): This.  New function.
52769         (do_one_test): Call check_result.
52770         (test_main): Call check1.
52771         * string/bug-strcasestr1.c: Removed.
52772         * string/bug-strchr1.c: Likewise.
52773         * string/bug-strstr1.c: Likewise.
52775         * elf/Makefile (dl-routines): Add hwcaps.
52776         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52777         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52778         (_dl_important_hwcaps): Moved to ...
52779         * elf/dl-hwcaps.c: Here.  New file.
52780         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52782         [BZ #14557]
52783         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52784         if IS_IN_rtld isn't defined.
52786         * elf/dl-support.c (_dl_sysinfo_map): New.
52787         Include "get-dynamic-info.h" and "setup-vdso.h".
52788         (_dl_non_dynamic_init): Call setup_vdso.
52789         * elf/dynamic-link.h: Don't include <assert.h>.
52790         (elf_get_dynamic_info): Moved to ...
52791         * elf/get-dynamic-info.h: Here.  New file.
52792         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52793         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52794         * elf/setup-vdso.h: Here.  New file.
52795         * elf/rtld.c: Include "setup-vdso.h".
52796         (dl_main): Call setup_vdso.
52798 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52800         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52801         creal in comment listing functions tested.  List finite, isinf,
52802         isnan, isless, islessequal, isgreater, isgreaterequal,
52803         islessgreater, isunordered, lgamma_r and pow10 as functions and
52804         macros not tested.  Mention which functions not tested are aliases
52805         for other functions.  Fix typo.  Note that signs of NaNs are not
52806         tested.
52808         * scripts/config.guess: Update from config.git.
52809         * scripts/config.sub: Likewise.
52811 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52813         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52814         * misc/madvise.c (madvise): Renamed to __madvise.
52815         Make madvise a weak alias.
52816         * include/sys/mman.h: Declare __madvise.
52817         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52818         * sysdeps/unix/syscalls.list
52819         (madvise): Make __madvise the strong name, and madvise a weak alias.
52820         * sysdeps/unix/sysv/linux/syscalls.list
52821         (madvise, mmap): Remove redundant entries.
52822         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52823         * malloc/malloc.c (mtrim): Likewise.
52824         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52826 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52828         * sysdeps/mach/hurd/dl-cache.c: File removed.
52829         * config.h.in (USE_LDCONFIG): New #undef.
52830         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52831         * configure: Regenerated.
52832         * elf/Makefile (dl-routines): Add dl-cache only under
52833         [$(use-ldconfig) = yes].
52834         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52835         cache on [USE_LDCONFIG].
52836         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52837         [USE_LDCONFIG].
52838         * elf/rtld.c (dl_main): Likewise.
52840 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52842         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52843         _SC_LEVEL4_CACHE_LINESIZE.
52845 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52847         * sysdeps/unix/bsd/confstr.h: File removed.
52849 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52851         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52852         sys/sdt-config.h.
52854 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52856         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52857         Make 'mapoff' field ElfW(Off) rather than off_t.
52859 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52861         * nscd/Makefile: Remove nscd-cflags and all its users.
52862         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52863         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52865         [BZ #10631]
52866         * malloc.c (malloc_printerr): Clarify error message.
52868 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52870         [BZ #14648]
52871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52872         Set bit_FMA_Usable if FMA is supported.
52873         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52874         macro.
52875         (bit_FMA4_Usable): Updated.
52876         (index_FMA_Usable): New macro.
52877         (CPUID_FMA): Likewise.
52878         (HAS_FMA): Defined with bit_FMA_Usable.
52880 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52882         * bits/types.h (__swblk_t): Type removed.
52883         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52884         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52886         (__SWBLK_T_TYPE): Likewise.
52887         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52888         (__SWBLK_T_TYPE): Likewise.
52889         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52890         (__SWBLK_T_TYPE): Likewise.
52891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52892         (__SWBLK_T_TYPE): Likewise.
52894 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52895             Honza Horak <hhorak@redhat.com>
52897         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52898         (xdr_mapname): Use YPMAXMAP as maxsize.
52899         (xdr_peername): Use YPMAXPEER as maxsize.
52900         (xdr_keydat): Use YPAXRECORD as maxsize.
52901         (xdr_valdat): Use YPMAXRECORD as maxsize.
52903 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52905         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52907         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52908         * csu/init-first.c: ... here.
52909         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52910         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52911         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52912         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52913         * sysdeps/i386/init-first.c: File removed.
52914         * sysdeps/sh/init-first.c: File removed.
52916 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52918         [BZ #14645]
52919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52920         if x * y might underflow to zero and z is zero.
52921         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52923         * math/libm-test.inc (min_subnorm_value): New variable.
52924         (fma_test): Add more tests.
52925         (fma_test_towardzero): Likewise.
52926         (fma_test_downward): Likewise.
52927         (fma_test_upward): Likewise.
52928         (initialize): Set min_subnorm_value.
52930 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52932         [BZ #14638]
52933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52934         0 + 0.
52935         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52936         mode for addition resulting in exact zero.
52937         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52939         exact 0 + 0.
52940         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52942         * math/libm-test.inc (fma_test): Add more tests.
52943         (fma_test_towardzero): New function.
52944         (fma_test_downward): Likewise.
52945         (fma_test_upward): Likewise.
52946         (main): Call the new functions.
52948 2012-09-28  David S. Miller  <davem@davemloft.net>
52950         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52952 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52954         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52955         instead of SIGALRM.
52957         * sysdeps/gnu/_G_config.h: Moved to ...
52958         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52959         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52960         * sysdeps/generic/_G_config.h: ... here.
52962         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52964         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52966         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52967         Conditionalize target on [libnss_test1.so-version].
52969         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52971         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52972         (elfobjdir): Move out of conditionals.
52974         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52975         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52976         (__nss_lookup_function): Conditionalize label remove_from_tree on
52977         [!DO_STATIC_NSS || SHARED], matching its only use.
52979 2012-09-28  David S. Miller  <davem@davemloft.net>
52981         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52982         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52983         file.
52984         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52985         sysdep_routines.
52986         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52988         when HWCAP_SPARC_CRYPTO is present.
52990 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52992         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52994 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52996         [BZ #6530]
52997         * stdio-common/vfprintf.c (process_string_arg): Revert
52998         2000-07-22 change.
53000 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53002         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53003         for testcase.
53004         * stdio-common/tst-sprintf.c: Include <locale.h>
53005         (main): Test sprintf's handling of incomplete multibyte
53006         characters.
53008 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53010         * elf/dl-runtime.c (VERSYMIDX): Removed.
53011         * elf/dl-version.c (VERSYMIDX): Likewise.
53012         * elf/do-rel.h (VERSYMIDX): Likewise.
53013         (VALIDX): Likewise.
53014         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53015         * elf/rtld.c (VALIDX): Likewise.
53016         (ADDRIDX): Likewise.
53017         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53018         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53019         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53020         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53021         (VALIDX): Likewise.
53022         (ADDRIDX): Likewise.
53024 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53026         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53028 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53030         [BZ #11438]
53031         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53032         to global scope.
53033         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53034         addresses are in the same scope as 192.0.2/24.
53035         * posix/gai.conf: Document new scope table defaults.
53037 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53039         [BZ #5298]
53040         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53041         for ftell.  Compute offsets from write pointers instead.
53042         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53044 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53046         [BZ #14543]
53047         * libio/Makefile (tests): New test case tst-fseek.
53048         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53049         combination works in wide mode.
53050         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53051         state when the external buffer state changes.
53053 2012-09-27  David S. Miller  <davem@davemloft.net>
53055         [BZ #14376]
53056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53057         pass reloc->r_addend in as the 'high' argument to
53058         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53062 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53064         * rt/tst-aio2.c: Include <pthread.h>.
53065         * rt/tst-aio3.c: Likewise.
53067 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53069         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53071 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53073         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53074         contents on [SHARED].
53076 2012-09-26  Marek Polacek  <polacek@redhat.com>
53078         [BZ #14530]
53079         [BZ #13741]
53080         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53081         for C++ and GCC <4.3 as well as for non GCC compilers.
53083 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53087 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53089         * Makefile.in (all, install): Declare with .PHONY.
53090         Reported by Michael Hope <michael.hope@linaro.org>.
53092 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53094         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53095         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53096         system header.
53097         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53098         Likewise.
53099         (sydep_routines): Add the new and the internal functions.
53100         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53101         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53103         (GLIBC_2.17): Add the new function.
53104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53105         (GLIBC_2.17): Likewise.
53106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53107         (GLIBC_2.17): Likewise.
53108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53109         (GLIBC_2.17): Likewise.
53110         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53112 2012-09-25  Alan Modra  <amodra@gmail.com>
53114         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53115         Add release barrier before setting once_control to say
53116         initialisation is done.  Add hints on lwarx.  Use macro in
53117         place of isync.
53118         (clear_once_control): Add release barrier.
53120 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53122         [BZ #13629]
53123         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53124         specially.
53125         * math/s_clog10.c (__clog10): Likewise.
53126         * math/s_clog10f.c (__clog10f): Likewise.
53127         * math/s_clog10l.c (__clog10l): Likewise.
53128         * math/s_clogf.c (__clogf): Likewise.
53129         * math/s_clogl.c (__clogl): Likewise.
53130         * math/Makefile (libm-calls): Add x2y2m1.
53131         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53132         (__x2y2m1): Likewise.
53133         (__x2y2m1l): Likewise.
53134         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53135         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53136         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53137         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53138         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53139         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53140         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53141         * sysdeps/i386/fpu/libm-test-ulps: Update.
53142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53144         [BZ #14621]
53145         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53146         int as type of variable DEPTH.
53147         (glob): Use size_t instead of int as type of variables NEWCOUNT
53148         and OLD_PATHC.
53150 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53152         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53153         Add s_sincosf-sse2.
53154         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53155         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53156         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53157         macros for using routine as __sincosf_ia32.
53158         Use macro for function declaration and weak_alias.
53159         * sysdeps/i386/fpu/libm-test-ulps: Update.
53161         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53164         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53165         subnormal argument.
53166         * math/s_cexpf.c (__cexpf): Likewise.
53167         * math/s_csinf.c (__csinf): Likewise.
53168         * math/s_csinhf.c (__csinhf): Likewise.
53169         * math/s_ctanf.c (__ctanf): Likewise.
53170         * math/s_ctanhf.c (__ctanhf): Likewise.
53171         * math/s_ccosh.c (__ccoshf): Likewise.
53172         * math/s_cexp.c (__cexpl): Likewise.
53173         * math/s_csin.c (__csin): Likewise.
53174         * math/s_csinh.c (__csinh): Likewise.
53175         * math/s_ctan.c (__ctan): Likewise.
53176         * math/s_ctanh.c (ctanh): Likewise.
53177         * math/s_ccoshl.c (__ccoshl): Likewise.
53178         * math/s_cexpl.c (__cexpl): Likewise.
53179         * math/s_csinl.c (__csinl): Likewise.
53180         * math/s_csinhl.c (__csinhl): Likewise.
53181         * math/s_ctanl.c (__ctanl): Likewise.
53182         * math/s_ctanhl.c (__ctanhl): Likewise.
53184 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53186         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53187         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53188         (_IO_off_t): Define to __off_t, not _G_off_t.
53189         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53190         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53191         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53192         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53193         type of __dummy and __dummy2 fields.
53194         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53195         (_G_ssize_t): Likewise.
53196         (_G_off_t): Likewise.
53197         (_G_pid_t): Likewise.
53198         (_G_uid_t): Likewise.
53199         (_G_wchar_t): Likewise.
53200         (_G_wint_t): Likewise.
53201         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53202         (_G_ssize_t): Likewise.
53203         (_G_off_t): Likewise.
53204         (_G_pid_t): Likewise.
53205         (_G_uid_t): Likewise.
53206         (_G_wchar_t): Likewise.
53207         (_G_wint_t): Likewise.
53208         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53209         (_G_ssize_t): Likewise.
53210         (_G_off_t): Likewise.
53211         (_G_pid_t): Likewise.
53212         (_G_uid_t): Likewise.
53213         (_G_wchar_t): Likewise.
53214         (_G_wint_t): Likewise.
53216 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53218         * malloc/arena.c: Include malloc-sysdep.h.
53219         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53220         is sufficient to shrink the heap or an unmap is needed.
53221         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53222         new function check_may_shrink_heap.
53223         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53224         new function check_may_shrink_heap.
53226 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53228         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53229         comments.
53231 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53233         * catgets/test-gencat.sh: Add "set -e".
53234         * elf/tst-pathopt.sh: Likewise.
53235         * grp/tst_fgetgrent.sh: Likewise.
53236         * iconvdata/run-iconv-test.sh: Likewise.
53237         * intl/tst-gettext.sh: Likewise.
53238         * intl/tst-gettext2.sh: Likewise.
53239         * intl/tst-gettext4.sh: Likewise.
53240         * intl/tst-gettext6.sh: Likewise.
53241         * intl/tst-translit.sh: Likewise.
53242         * io/ftwtest-sh: Likewise.
53243         * libio/test-freopen.sh: Likewise.
53244         * malloc/tst-mtrace.sh: Likewise.
53245         * posix/globtest.sh: Likewise.
53246         * posix/tst-getconf.sh: Likewise.
53247         * posix/wordexp-tst.sh: Likewise.
53248         * stdio-common/tst-printf.sh: Likewise.
53249         * stdio-common/tst-unbputc.sh: Likewise.
53250         * stdlib/tst-fmtmsg.sh: Likewise.
53251         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53252         * catgets/Makefile: Do not specify -e option when running
53253         testsuite shell scripts.
53254         * elf/Makefile: Likewise.
53255         * grp/Makefile: Likewise.
53256         * iconvdata/Makefile: Likewise.
53257         * intl/Makefile: Likewise.
53258         * io/Makefile: Likewise.
53259         * libio/Makefile: Likewise.
53260         * malloc/Makefile: Likewise.
53261         * posix/Makefile: Likewise.
53262         * stdio-common/Makefile: Likewise.
53263         * stdlib/Makefile: Likewise.
53264         * sysdeps/x86_64/Makefile: Likewise.
53266         * io/ftwtest-sh: Add copyright header.
53267         * posix/globtest.sh: Likewise.
53268         * posix/tst-getconf.sh: Likewise.
53269         * posix/wordexp-tst.sh: Likewise.
53270         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53272 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53274         [BZ #13679]
53275         * Makeconfig (+link): Defined as $(+link-static) if
53276         $(build-shared) isn't yes.
53277         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53278         isn't yes.
53279         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53281         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53283         [BZ #14562]
53284         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53285         new chunk size with MALLOC_ALIGN_MASK.
53287 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53289         [BZ #5044]
53290         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53291         <rounding-mode.h>.
53292         (__printf_fphex): Determine rounding using get_rounding_mode and
53293         round_away.
53294         * stdio-common/tst-printf-round.c (struct hex_test): New
53295         structure.
53296         (hex_tests): New variable.
53297         (test_hex_in_one_mode): New function.
53298         (do_test): Also run tests for hex float output.
53300 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53302         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53303         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53304         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53305         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53306         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53307         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53308         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53309         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53311 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53313         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53314         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53315         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53316         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53318 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53320         [BZ #14579]
53321         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53322         mode only.
53323         * elf/tst-rtld-load-self.sh: New test.
53324         * elf/Makefile: Run it.
53326 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53328         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53329         (tst-writev-ENV): Remove.
53330         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53332 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53334         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53336 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53338         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53339         unconditional.
53340         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53341         Likewise.
53342         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53343         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53344         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53345         Likewise.
53347 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53349         [BZ #14587]
53350         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53351         * config.make.in (have-cpp-asm-debuginfo): Removed.
53352         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53353         * configure: Regenerated.
53355 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53357         [BZ #5044]
53358         * stdio-common/printf_fp.c: Include <stdbool.h> and
53359         <rounding-mode.h>.
53360         (___printf_fp): Determine rounding using get_rounding_mode and
53361         round_away.
53362         * stdio-common/tst-printf-round.c: New file.
53363         * stdio-common/Makefile (tests): Add tst-printf-round.
53364         (link-libm): New variable.
53365         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53367 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53369         [BZ #14576]
53370         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53371         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53372         Likewise.
53373         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53374         Likewise.
53376 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53378         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53379         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53380         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53381         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53383 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53385         [BZ #14518]
53386         * include/rounding-mode.h: New file.
53387         * sysdeps/generic/get-rounding-mode.h: Likewise.
53388         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53389         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53390         (MAX_VALUE): New macro.
53391         (MIN_VALUE): Likewise.
53392         (overflow_value): New function.
53393         (underflow_value): Likewise.
53394         (round_and_return): Use overflow_value and underflow_value to
53395         determine return values in overflow and underflow cases.  Use
53396         round_away to determine rounding depending on rounding mode.
53397         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53398         determine return values in overflow and underflow cases.
53399         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53400         (struct test_results): New structure.
53401         (struct test): Use struct test_results to store expected results
53402         for all rounding modes.
53403         (TEST): Include expected results for all rounding modes.
53404         (test_in_one_mode): New function.
53405         (do_test): Use test_in_one_mode to compute and check results.
53406         Check results for all rounding modes.
53407         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53408         $(link-libm).
53410 2012-12-09  Allan McRae  <allan@archlinux.org>
53412         * sysdeps/i386/fpu/libm-test-ulps: Update
53414 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53416         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53417         (_G_int32_t): Likewise.
53418         (_G_uint16_t): Likewise.
53419         (_G_uint32_t): Likewise.
53420         (_G_HAVE_BOOL): Likewise.
53421         (_G_HAVE_ATEXIT): Likewise.
53422         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53423         (_G_HAVE_IO_FILE_OPEN): Likewise.
53424         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53425         (_G_int32_t): Likewise.
53426         (_G_uint16_t): Likewise.
53427         (_G_uint32_t): Likewise.
53428         (_G_HAVE_BOOL): Likewise.
53429         (_G_HAVE_ATEXIT): Likewise.
53430         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53431         (_G_HAVE_IO_FILE_OPEN): Likewise.
53432         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53433         (_G_int32_t): Likewise.
53434         (_G_uint16_t): Likewise.
53435         (_G_uint32_t): Likewise.
53436         (_G_HAVE_BOOL): Likewise.
53437         (_G_HAVE_ATEXIT): Likewise.
53438         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53439         (_G_HAVE_IO_FILE_OPEN): Likewise.
53441 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53443         * csu/libc-tls.c: Update copyright years.
53445 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53447         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53448         [!_G_USING_THUNKS]: Remove conditional code.
53449         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53450         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53452         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53453         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53454         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53455         (_G_VTABLE_LABEL_PREFIX): Likewise.
53456         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53457         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53458         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53459         (_G_VTABLE_LABEL_PREFIX): Likewise.
53460         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53461         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53462         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53463         (_G_VTABLE_LABEL_PREFIX): Likewise.
53464         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53466 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53468         * libio/Makefile: Include ../Makeconfig before tests.
53469         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53470         only if $(build-shared) is yes.
53472         * iconv/gconv_db.c: Update copyright years.
53474 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53476         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53477         unwind info if defined PIC. Fix special cases description.
53478         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53480         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53481         DP_HI_MASK entry.
53482         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53484 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53486         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53488         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53489         is NULL.
53491         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53492         (LDLIBS-tst-chk4): This.
53493         (LDFLAGS-tst-chk5): Renamed to ...
53494         (LDLIBS-tst-chk5): This.
53495         (LDFLAGS-tst-chk6): Renamed to ...
53496         (LDLIBS-tst-chk6): This.
53497         (LDFLAGS-tst-lfschk4): Renamed to ...
53498         (LDLIBS-tst-lfschk4): This.
53499         (LDFLAGS-tst-lfschk5): Renamed to ...
53500         (LDLIBS-tst-lfschk5): This.
53501         (LDFLAGS-tst-lfschk6): Renamed to ...
53502         (LDLIBS-tst-lfschk6): This.
53504         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53505         on $(common-objpfx)soversions.mk.
53507 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53509         [BZ #10014]
53510         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53511         example host name.
53513 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53515         * malloc/arena.c (arena_get_retry): New function that gets
53516         another arena for the caller to try its request on.
53517         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53518         current arena cannot fulfill the request.
53519         (__libc_memalign): Likewise.
53520         (__libc_memalign): Likewise.
53521         (__libc_pvalloc): Likewise.
53522         (__libc_calloc): Likewise.
53524 2012-09-05  John Tobey  <john.tobey@gmail.com>
53526         [BZ #13542]
53527         * manual/arith.texi (Operations on Complex): Fix description
53528         of carg branch cut.
53530 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53532         [BZ #10014]
53533         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53534         host name.
53536         [BZ #10038]
53537         * manual/memory.texi (Memory): Make order of menu items match
53538         order of sections.
53540 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53542         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53543         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53544         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53546 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53548         * csu/libc-tls.c (static_dtv): Renamed to ...
53549         (_dl_static_dtv): This.  Make it global.
53550         (_dl_initial_dtv): Removed.
53551         (__libc_setup_tls): Updated.
53552         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53553         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53554         DL_INITIAL_DTV.
53556 2012-09-06  Petr Machata  <pmachata@redhat.com>
53558         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53559         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53560         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53561         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53563 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53565         [BZ #14545]
53566         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53567         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53568         freeing dtv[-1].
53570 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53572         [BZ #14544]
53573         * Makeconfig (link-static-before-libc): Replace $(+prector)
53574         with $(+prectorT).
53575         (link-static-after-libc): Replace $(+postctor) with
53576         $(+postctorT).
53577         (link-bounded): Replace $(+prector)/$(+postctor) with
53578         $(+prectorT)/$(+postctorT).
53579         (+prectorT): New macro.
53580         (+postctorT): Likewise.
53582 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53584         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53585         (round_str): Handle values above the maximum for IBM long double
53586         as inexact.
53587         * stdlib/tst-strtod-round.c (tests): Regenerated.
53589 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53591         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53592         assembler flag.
53593         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53594         zarch_nohighgprs around the zarch optimized routines.
53595         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53596         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53598         for zarch.
53600 2012-09-05  David S. Miller  <davem@davemloft.net>
53602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53604         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53605         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53606         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53607         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53608         entries.
53610 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53612         * malloc/arena.c: Fold copyright years.
53613         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53615 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53617         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53619 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53621         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53623 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53625         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53626         change internal state upon failure.
53628 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53630         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53631         * malloc/memusage.c (mmap): Likewise.
53632         (mmap64, mremap): Likewise.  Adjust name in comment.
53634 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53636         * libio/fileops.c: Fix typos in comments.
53637         * libio/oldfileops.c: Likewise.
53638         * libio/wfileops.c: Likewise.
53640 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53642         [BZ #1349]
53643         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53644         (tst-malloc-usable-ENV): Set environment for test case.
53645         * malloc/hooks.c (malloc_check_get_size): New function to get
53646         requested size.
53647         * malloc/malloc.c (musable): Use malloc_check_get_size.
53648         * malloc/tst-malloc-usable.c: New test case.
53650 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53652         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53654 2012-09-05  Allan McRae  <allan@archlinux.org>
53656         [BZ #13966]
53657         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53658         determine header location.
53659         * configure: Regenerated.
53661 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53663         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53664         float format.
53665         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53666         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53667         format.
53668         (test): Regenerate.
53670 2012-09-04  David S. Miller  <davem@davemloft.net>
53672         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53673         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53674         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53676 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53678         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53679         failures.
53681         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53683 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53685         [BZ #9914]
53686         * libio/iogetdelim.c: Include <limits.h>.
53687         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53688         + len + 1 would overflow.
53690 2012-09-03  Andreas Jaeger  <aj@suse.de>
53692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53693         * sysdeps/i386/fpu/libm-test-ulps: Update.
53695 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53697         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53698         Add s_sinf-sse2, s_conf-sse2.
53700         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53701         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53702         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53703         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53705         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53706         for using routine as __sinf_ia32.
53707         Use macro for function declaration and weak_alias.
53708         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53709         for using routine as __cosf_ia32.
53710         Use macro for function declaration and weak_alias.
53712         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53713         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53715         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53716         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53719         * math/libm-test.inc (cos_test): Add more test cases.
53720         (sin_test): Likewise.
53721         (sincos_test): Likewise.
53723 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53725         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53726         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53727         hidden.
53728         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53730 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53732         [BZ #14538]
53733         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53734         first element of the GOT.
53735         (elf_machine_load_address): Return the difference between
53736         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53738 2012-09-01  Allan McRae  <allan@archlinux.org>
53740         [BZ #13412]
53741         * configure.in (AWK): Require gawk version 3.0 or later.
53742         * configure: Regenerated.
53744 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53746         * sysdeps/unix/sysv/linux/kernel-features.h
53747         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53749         [__NR_clock_getres]: Make code unconditional.
53750         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53751         (clock_getcpuclockid): Remove code left unreachable by removal of
53752         conditionals.
53753         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53754         code unconditional.
53755         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53756         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53757         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53758         Make code unconditional.
53759         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53760         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53761         * sysdeps/unix/sysv/linux/clock_settime.c
53762         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53763         conditional code.
53764         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53765         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53767 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53769         [BZ #14476]
53770         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53771         scripts/test-installation.pl.
53773         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53774         and $ld_so_version if it is set.
53776 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53778         [BZ #14516]
53779         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53780         failure if reading from procfs failed.
53781         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53783 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53785         * sysdeps/unix/sysv/linux/kernel-features.h
53786         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53787         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53788         Remove conditional code.
53789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53790         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53791         Remove conditional code.
53792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53793         * sysdeps/unix/sysv/linux/i386/fxstat.c
53794         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53796         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53797         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53799         * sysdeps/unix/sysv/linux/i386/lxstat.c
53800         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53802         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53803         Remove conditional code.
53804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53805         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53806         Remove conditional code.
53807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53808         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53809         <kernel-features.h>.
53810         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53811         Remove.
53812         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53813         Remove conditional code.
53814         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53815         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53816         Remove conditional.
53818 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53820         [BZ #5400]
53821         * NEWS: Add fixed bug number.
53823 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53825         [BZ #14519]
53826         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53827         underflowing exponent in case of negative sign.
53828         * stdlib/tst-strtod-round-data: Add more tests.
53829         * stdlib/tst-strtod-round.c (tests): Regenerated.
53831         [BZ #3479]
53832         * stdlib/strtod_l.c (NDIG): Remove.
53833         (HEXNDIG): Likewise.
53834         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53835         smallest representable value.
53836         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53837         lie within an exact representation of 1/2 ulp of the result.
53838         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53839         unconditionally.
53840         (TENS_P9_IDX): Define unconditionally.
53841         (TENS_P9_SIZE): Likewise.
53842         (TENS_P10_IDX): Likewise.
53843         (TENS_P10_SIZE): Likewise.
53844         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53845         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53846         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53847         entries for 10^2^13 and 10^2^14.
53848         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53849         (TENS_P13_IDX): Define.
53850         (TENS_P13_SIZE): Likewise.
53851         (TENS_P14_IDX): Likewise.
53852         (TENS_P14_SIZE): Likewise.
53853         (_fpioconst_pow10): Change array size to
53854         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53855         unconditional.
53856         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53857         1024]: Add entries for 10^2^13 and 10^2^14.
53858         [LAST_POW10 > _LAST_POW10]: Remove #error.
53859         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53860         (_fpioconst_pow10): Change array size to
53861         FPIOCONST_POW10_ARRAY_SIZE.
53862         * stdlib/gen-fpioconst.c: New file.
53863         * stdlib/gen-tst-strtod-round.c: Likewise.
53864         * stdlib/tst-strtod-round-data: Likewise.
53865         * stdlib/tst-strtod-round.c: Likewise.
53866         * stdlib/Makefile (tests): Add tst-strtod-round.
53868         [BZ #14459]
53869         * stdlib/strtod_l.c: Include <stdint.h>.
53870         (NDEBUG): Do not define.
53871         (round_and_return): Change EXPONENT parameter to type intmax_t.
53872         Rearrange calculations to avoid internal overflow possibilities.
53873         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53874         Rearrange calculations to avoid internal overflow possibilities.
53875         Assert that number fits inside MPNSIZE limbs.
53876         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53877         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53878         calculations and add assertions to avoid internal overflow
53879         possibilities.  Add casts to avoid signed/unsigned operations.
53880         * stdlib/tst-strtod-overflow.c: New file.
53881         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53883 2012-08-25  Marek Polacek  <polacek@redhat.com>
53885         * time/time.h: Fix some typos in comments.
53887 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53889         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53890         * posix/tst-rfc3484-2.c: Likewise.
53891         * posix/tst-rfc3484-3.c: Likewise.
53893 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53895         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53896         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53898 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53900         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53901         #include of fxstatat64.c.
53903 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53905         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53906         * shadow/getspent_r.c: Likewise.
53907         * shadow/getspnam.c: Likewise.
53908         * shadow/getspnam_r.c: Likewise.
53909         * gshadow/getsgent.c: Likewise.
53910         * gshadow/getsgent_r.c: Likewise.
53911         * gshadow/getsgnam.c: Likewise.
53912         * gshadow/getsgnam_r.c: Likewise.
53913         * inet/getnetbyad.c: Likewise.
53914         * inet/getnetbyad_r.c: Likewise.
53915         * inet/getnetbynm.c: Likewise.
53916         * inet/getnetbynm_r.c: Likewise.
53917         * inet/getnetent.c: Likewise.
53918         * inet/getnetent_r.c: Likewise.
53919         * inet/getproto.c: Likewise.
53920         * inet/getproto_r.c: Likewise.
53921         * inet/getprtent.c: Likewise.
53922         * inet/getprtent_r.c: Likewise.
53923         * inet/getprtname.c: Likewise.
53924         * inet/getprtname_r.c: Likewise.
53925         * inet/getrpcbyname.c: Likewise.
53926         * inet/getrpcbyname_r.c: Likewise.
53927         * inet/getrpcbynumber.c: Likewise.
53928         * inet/getrpcbynumber_r.c: Likewise.
53929         * inet/getrpcent.c: Likewise.
53930         * inet/getrpcent_r.c: Likewise.
53931         * inet/getaliasent.c: Likewise.
53932         * inet/getaliasent_r.c: Likewise.
53933         * inet/getaliasname.c: Likewise.
53934         * inet/getaliasname_r.c: Likewise.
53935         * nscd/getgrgid_r.c: Likewise.
53936         * nscd/getgrnam_r.c: Likewise.
53937         * nscd/gethstbyad_r.c: Likewise.
53938         * nscd/gethstbynm3_r.c: Likewise.
53939         * nscd/getpwnam_r.c: Likewise.
53940         * nscd/getpwuid_r.c: Likewise.
53941         * nscd/getsrvbynm_r.c: Likewise.
53942         * nscd/getsrvbypt_r.c: Likewise.
53943         * nscd/gai.c: Likewise.
53945         * configure.in (build_nscd): New substituted variable, set
53946         by --disable-build-nscd and defaults to $use_nscd.
53947         * configure: Regenerated.
53948         * config.make.in (build-nscd): New substituted variable.
53949         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53950         Change conditional to require [$(build-nscd) = yes] as well.
53951         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53953         [BZ# 13696]
53954         * configure.in (use_nscd): New substituted variable, set by
53955         --disable-nscd.  If enabled, define USE_NSCD.
53956         * configure: Regenerated.
53957         * config.h.in: Add USE_NSCD.
53958         * config.make.in (use-nscd): New substituted variable.
53959         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53960         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53961         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53962         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53963         (CFLAGS-getgrnam_r.c): Likewise.
53964         (CFLAGS-initgroups.c): Likewise.
53965         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53966         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53967         Variables removed.
53968         * inet/getnetgrent_r.c
53969         (nscd_setnetgrent): New function, broken out of ...
53970         (setnetgrent): ... here.  Call it.
53971         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53972         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53973         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53974         * nscd/Makefile (routines, aux): Move definitions after include of
53975         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53976         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53977         Conditionalize on [USE_NSCD].
53978         (is_nscd, nscd_init_cb): Likewise.
53979         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53980         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53981         * nss/nss_db/db-init.c: Likewise.
53982         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53983         [USE_NSCD].
53984         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53985         (make_request): Use it.
53986         (cache_valid_p): New function.
53987         (__check_pf): Use it.
53988         * NEWS: Add item for --disable-nscd.
53990 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53992         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53993         to support sed >= 4.2.1-20-ga9bf076.
53994         * configure: Regenerated.
53996 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53998         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53999         Conditionalize whole body on [IREL].
54001 2012-08-22  Jeff Law <law@redhat.com>
54003         [BZ #14505]
54004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54005         if the family is PF_UNSPEC.
54007 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54009         * Makerules (lib-version): Rename from V.
54010         (install-lib-nosubdir): Change V to lib-version.
54012 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54014         [BZ #14252]
54015         * powerpc32/power6/wcschr.c: New file.
54016         * powerpc32/power6/wcscpy.c: New file.
54017         * powerpc32/power6/wcsrchr.c: New file.
54018         * powerpc64/power6/wcschr.c: New file.
54019         * powerpc64/power6/wcscpy.c: New file.
54020         * powerpc64/power6/wcsrchr.c: New file.
54022 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54024         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54025         (two_way_short_needle): Use it.
54026         * string/strstr.c (AVAILABLE1_USES_J): Define.
54027         * string/strcasestr.c: Likewise.
54029         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54030         array references.
54031         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54033         [BZ #11607]
54034         * NEWS: Add an entry.
54035         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54036         define their defaults.
54037         (two_way_short_needle): Detect end-of-string on-the-fly.
54038         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54039         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54040         * string/bug-strcasestr1.c: New test.
54041         * string/Makefile: Run it.
54043 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54045         [BZ #11607]
54046         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54047         the first character.
54049 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54051         * csu/elf-init.c (__libc_csu_irel): Function removed.
54052         * csu/libc-start.c (apply_irel): New function.
54053         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54055 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54057         * sysdeps/unix/sysv/linux/kernel-features.h
54058         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54059         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54060         <kernel-features.h>.
54061         [__NR_fadvise64_64]: Make code unconditional.
54062         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54063         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54064         !__NR_fadvise64_64)]: Likewise.
54065         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54066         !__NR_fadvise64_64))]: Likewise.
54067         [__NR_fadvise64]: Make code unconditional.
54068         [!__NR_fadvise64]: Remove conditional code.
54069         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54070         <kernel-features.h>.
54071         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54072         unconditional.
54073         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54074         conditional code.
54075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54076         not include <kernel-features.h>.
54077         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54078         unconditional.
54079         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54080         conditional code.
54081         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54082         include <kernel-features.h>.
54083         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54084         unconditional.
54085         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54086         conditional code.
54088 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54090         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54091         slight instruction rearrangements per scrollpipe analysis.
54092         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54094 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54096         * manual/syslog.texi (syslog; vsyslog, closelog):
54097         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54098         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54100         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54101         DSOCAPS to match condition on defining it.
54103 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54105         * sysdeps/unix/sysv/linux/kernel-features.h
54106         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54108         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54109         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54111         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54112         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54114         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54115         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54117         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54118         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54120         * sysdeps/unix/sysv/linux/kernel-features.h
54121         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54122         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54123         unconditional.
54124         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54125         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54126         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54127         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54128         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54129         Make code unconditional.
54130         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54131         (__mmap64) [!__NR_mmap2]: Likewise.
54132         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54133         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54134         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54135         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54136         [__NR_mmap2]: Make code unconditional.
54137         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54138         (__mmap64) [!__NR_mmap2]: Likewise.
54140 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54142         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54144 2012-08-18  Andreas Jaeger  <aj@suse.de>
54146         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54148 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54150         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54151         * include/unistd.h (__have_sock_cloexec): Likewise.
54152         (__have_pipe2): Likewise.
54153         (__have_dup3): Likewise.
54155 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54157         [BZ #9685]
54158         * include/unistd.h (__have_pipe2): Change define into an extern int.
54159         (__have_dup3): Likewise.
54160         * socket/have_sock_cloexec.c: Include fcntl.h.
54161         (__have_pipe2): New variable.
54162         (__have_dup3): Likewise.
54164 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54166         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54168 2012-08-17  Marek Polacek  <polacek@redhat.com>
54170         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54171         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54173 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54175         * configure.in: Add AC_SUBST for sysheaders.
54176         * configure: Regenerated.
54177         * config.make.in (sysheaders): New substituted variable.
54179         * sysdeps/unix/mkfifo.c: Moved ...
54180         * sysdeps/posix/mkfifo.c: ... here.
54181         * sysdeps/unix/mkfifoat.c: Moved ...
54182         * sysdeps/posix/mkfifoat.c: ... here.
54184         * sysdeps/unix/utime.c: Moved ...
54185         * sysdeps/posix/utime.c: ... here.
54187         * sysdeps/unix/time.c: Moved ...
54188         * sysdeps/posix/time.c: ... here.
54189         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54190         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54192         * sysdeps/unix/nice.c: Moved ...
54193         * sysdeps/posix/nice.c: ... here.
54195         * sysdeps/unix/alarm.c: Moved ...
54196         * sysdeps/posix/alarm.c: ... here.
54198         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54200 2012-08-17  Jeff Law <law@redhat.com>
54202         * intl/Makefile (codeset_mo): New variable.
54203         ($(codeset_mo)): New target.
54204         (tst-codeset.out): Depend on that.  Remove explicit rule.
54205         (tst-gettext3.out, tst-gettext5.out): Likewise.
54206         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54207         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54208         * intl/tst-codeset.sh: Remove.
54209         * intl/tst-gettext3.sh: Likewise.
54210         * intl/tst-gettext5.sh: Likewise.
54212 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54214         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54215         * sysdeps/unix/syscalls.list: ... here.
54217         * sysdeps/posix/getaddrinfo.c
54218         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54219         (gaiconf_init, gaiconf_reload): Use them.
54220         [!_STATBUF_ST_NSEC]
54221         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54222         Define using time_t rather than struct timespec.
54224         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54225         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54226         Macros removed.
54227         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54228         [!NO_THREADS].
54229         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54230         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54231         Likewise.
54233         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54234         __libc_cleanup_push argument.
54236         * bits/param.h: New file.
54237         * misc/sys/param.h: New file.
54238         * include/sys/param.h: New file.
54239         * misc/Makefile (headers): Add bits/param.h.
54240         * sysdeps/generic/sys/param.h: File removed.
54241         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54242         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54243         * sysdeps/mach/hurd/bits/param.h: New file.
54244         * sysdeps/mach/hurd/sys/param.h: File removed.
54246         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54247         last change.
54249         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54250         [_IO_MTSAFE_IO].
54251         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54252         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54253         New macros.
54255         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54256         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54257         rather than -D_IO_MTSAFE_IO conditionally.
54258         * stdio-common/Makefile (CPPFLAGS): Likewise.
54259         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54260         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54261         Use $(libio-mtsafe).
54262         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54263         of -D_IO_MTSAFE_IO.
54264         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54265         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54266         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54267         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54268         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54269         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54270         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54271         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54272         (CFLAGS-fread_u_chk.c): Likewise.
54273         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54274         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54275         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54276         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54277         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54278         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54279         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54280         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54281         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54283         * libio/Makefile: Test [$(libc-reentrant) = yes]
54284         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54286         * Makeconfig
54287         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54288         * sysdeps/pthread/configure: File removed.
54289         * sysdeps/pthread/Makeconfig: New file.
54290         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54291         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54293 2012-08-16  Gary Benson  <gbenson@redhat.com>
54295         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54296         unmapping the first object in a namespace.
54298 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54300         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54301         (__internal_setnetgrent): ... this.  Add internal_function to
54302         definition.  Add libc_hidden_def.
54303         (setnetgrent): Update caller.
54304         (internal_endnetgrent): Renamed to ...
54305         (__internal_endnetgrent): ... this.  Add internal_function to
54306         definition.  Add libc_hidden_def.
54307         (endnetgrent): Update caller.
54308         (internal_getnetgrent_r): Renamed to ...
54309         (__internal_getnetgrent_r): ... this.  Add internal_function to
54310         definition.  Add libc_hidden_def.
54311         (__getnetgrent_r): Update caller.
54312         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54314 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54316         * stdlib/longlong.h: Update from GCC.
54318 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54320         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54321         on _QL, which is set by umul_ppmm but never used.
54322         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54323         variables, which are set by GMP macros but never used.
54324         * stdio-common/_itowa.c (_itowa): Likewise.
54325         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54326         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54328 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54330         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54331         struct La_sh_regs is not constant.
54332         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54333         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54334         and struct La_sparc64_regs are not constant.
54336 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54338         * sysdeps/unix/sysv/linux/kernel-features.h
54339         (__ASSUME_POSIX_TIMERS): Remove.
54340         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54341         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54342         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54343         Make code unconditional.
54344         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54345         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54346         Make code unconditional.
54347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54348         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54349         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54351         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54352         Make code unconditional.
54353         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54354         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54355         (__libc_missing_posix_timers): Remove.
54357 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54359         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54360         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54362         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54364         * elf/dl-sym.c: Include <stdlib.h>.
54366         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54367         constants, which avoids warnings in 32-bit builds.
54369         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54370         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54372         * misc/lseek.c: File moved to ...
54373         * io/lseek.c: ... here.
54375         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54377         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54378         shifting LEN more than 31 bits at once.
54380 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54382         [BZ #14195]
54383         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54384         segmentation fault for a case of two empty input strings.
54385         * string/test-strncasecmp.c (check1): Renamed to...
54386         (bz12205): ...this.
54387         (bz14195): Add new testcase for two empty input strings and N > 0.
54388         (test_main): Call new testcase, adapt for renamed function.
54390 2012-08-15  Andreas Jaeger  <aj@suse.de>
54392         [BZ #14090]
54393         * crypt/md5test2.c: New test, based on test supplied by Serge
54394         Belyshev <belyshev@depni.sinp.msu.ru>.
54395         * crypt/Makefile (xtests): Add md5test-giant..
54396         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54398 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54400         [BZ #14090]
54401         * crypt/md5.c (md5_process_block): Don't assume the buffer
54402         length is less than 2**32.
54403         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54404         length is less than 2**64.
54406 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54408         * string/str-two-way.h: Include <sys/param.h>.
54409         (MAX): Macro removed.
54411         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54412         Move #define and #undef of memmove to just before and after
54413         including <string.h>.
54415         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54416         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54417         and after including <string.h>.  Move declarations of
54418         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54419         to before #include "string/memmove.c".
54421         * include/dirent.h: Declare __getdirentries.
54423         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54424         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54426 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54428         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54429         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54430         * sysdeps/i386/configure: Regenerated.
54431         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54432         STABS_CURRENT_FILE, and STABS_FUN.
54433         (END): Remove call to STABS_FUN_END.
54434         (STABS_CURRENT_FILE1): Delete.
54435         (STABS_CURRENT_FILE): Likewise.
54436         (STABS_FUN): Likewise.
54437         (STABS_FUN_END): Likewise.
54438         (STABS_FUN2): Likewise.
54439         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54440         * sysdeps/x86_64/configure: Regenerated.
54442 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54444         * elf/dl-open.c: Include <atomic.h>.
54445         * elf/dl-lookup.c: Likewise.
54447 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54449         * sysdeps/unix/sysv/linux/kernel-features.h
54450         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54451         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54452         unconditionally.
54453         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54454         unconditionally.
54455         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54456         condition on __ASSUME_CLONE_THREAD_FLAGS.
54458 2012-08-14  Andreas Jaeger  <aj@suse.de>
54460         * sysdeps/i386/fpu/libm-test-ulps: Update.
54462 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54464         * include/atomic.h (atomic_exchange_and_add): Split into ...
54465         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54466         New atomic macros.
54468 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54472 2012-08-13  Jeff Law <law@redhat.com>
54474         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54475         null byte in the output string.
54477 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54479         * sysdeps/unix/sysv/linux/kernel-features.h
54480         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54481         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54482         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54483         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54484         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54485         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54486         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54488 2012-08-09  Jeff Law <law@redhat.com>
54490         [BZ #13939]
54491         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54492         When avoid_arena is set, don't retry in the that arena.  Pick the
54493         next one, whatever it might be.
54494         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54495         (arena_lock): Pass in new parameter to arena_get2.
54496         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54497         arena_get2.
54498         (__libc_malloc): Unify retrying after main arena failure with
54499         __libc_memalign version.
54500         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54502 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54504         [BZ #14166]
54505         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54506         to __redirect_strstr.
54507         (__strstr_sse42): Use typeof __redirect_strstr.
54508         (__strstr_ia32): Likewise.
54509         (__libc_strstr): New prototype.
54510         (strstr): Renamed to ...
54511         (__libc_strstr): This.
54512         (strstr): New strong alias of __libc_strstr.
54513         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54514         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54515         __redirect_time.
54516         Include <time.h>.
54517         (__libc_time): New prototype.
54518         (time_ifunc): Replace time with __libc_time.
54519         (time): New strong alias and hidden definition of __libc_time.
54520         (__GI_time): Remove strong alias.
54521         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54522         Include <stddef.h>.
54523         (memmove): Redefined to __redirect_memmove.
54524         (__memmove_sse2): Use typeof __redirect_memmove.
54525         (__memmove_ssse3): Likewise.
54526         (__memmove_ssse3_back): Likewise.
54527         (__libc_memmove): New prototype.
54528         (memmove): Renamed to ...
54529         (__libc_memmove): This.
54530         (memmove): New strong alias of __libc_memmove.
54532 2012-08-08  Mark Salter  <msalter@redhat.com>
54534         * elf/elf.h
54535         (R_MN10300_TLS_GD): Define.
54536         (R_MN10300_TLS_LD): Likewise.
54537         (R_MN10300_TLS_LDO): Likewise.
54538         (R_MN10300_TLS_GOTIE): Likewise.
54539         (R_MN10300_TLS_IE): Likewise.
54540         (R_MN10300_TLS_LE): Likewise.
54541         (R_MN10300_TLS_DTPMOD): Likewise.
54542         (R_MN10300_TLS_DTPOFF): Likewise.
54543         (R_MN10300_TLS_TPOFF): Likewise.
54544         (R_MN10300_SYM_DIFF): Likewise.
54545         (R_MN10300_ALIGN): Likewise.
54546         (R_MN10300_NUM): Update.
54548 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54551         Remove.
54553 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54555         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54557         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54558         sysdeps/unix -> sysdeps/posix move.
54559         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54561 2012-08-07      Allan McRae     <allan@archlinux.org>
54563         [BZ #14303]
54564         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54565         (SUNOS_CPP): Likewise.
54566         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54567         not found.
54568         (open_input): Call CPP using execvp.
54570 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54572         * sysdeps/unix/sysv/linux/kernel-features.h
54573         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54574         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54575         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54576         (__ASSUME_WAITID_SYSCALL): Likewise.
54577         * sysdeps/unix/sysv/linux/dl-execstack.c
54578         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54579         code unconditional.
54580         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54581         conditional code.
54582         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54583         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54584         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54585         code.
54586         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54587         unconditional.
54588         [__ASSUME_WAITID_SYSCALL]: Likewise.
54589         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54591 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54593         * sysdeps/unix/closedir.c: Renamed to ...
54594         * sysdeps/posix/closedir.c: ... here.
54595         * sysdeps/unix/dirfd.c: Renamed to ...
54596         * sysdeps/posix/dirfd.c: ... here.
54597         * sysdeps/unix/dirstream.h: Renamed to ...
54598         * sysdeps/posix/dirstream.h: ... here.
54599         * sysdeps/unix/fdopendir.c: Renamed to ...
54600         * sysdeps/posix/fdopendir.c: ... here.
54601         * sysdeps/unix/opendir.c: Renamed to ...
54602         * sysdeps/posix/opendir.c: ... here.
54603         * sysdeps/unix/readdir.c: Renamed to ...
54604         * sysdeps/posix/readdir.c: ... here.
54605         * sysdeps/unix/readdir_r.c: Renamed to ...
54606         * sysdeps/posix/readdir_r.c: ... here.
54607         * sysdeps/unix/rewinddir.c: Renamed to ...
54608         * sysdeps/posix/rewinddir.c: ... here.
54609         * sysdeps/unix/seekdir.c: Renamed to ...
54610         * sysdeps/posix/seekdir.c: ... here.
54611         * sysdeps/unix/telldir.c: Renamed to ...
54612         * sysdeps/posix/telldir.c: ... here.
54613         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54614         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54615         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54616         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54618         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54619         * bits/fcntl.h: ... here.
54621         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54622         not 0.
54623         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54624         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54625         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54626         (struct flock): Move l_start, l_len to the beginning.
54627         Use __pid_t for l_pid.
54628         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54629         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54630         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54631         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54632         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54633         [__USE_LARGEFILE64] (struct flock64): New type.
54634         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54636         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54637         * bits/dirent.h: ... here.
54639         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54640         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54642 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54644         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54645         Change from 2.6.0 to 2.6.16.
54646         * sysdeps/unix/sysv/linux/configure: Regenerated.
54647         * sysdeps/unix/sysv/linux/kernel-features.h
54648         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54649         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54650         version.
54651         (__ASSUME_UTIMES): Likewise.
54652         (__ASSUME_CLONE_STOPPED): Remove.
54653         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54654         architectures, not kernel version.
54655         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54656         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54657         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54658         (__ASSUME_WAITID_SYSCALL): Likewise.
54659         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54660         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54661         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54662         refer to older versions.
54664 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54666         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54667         Define alphasort64 as an alias.
54668         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54669         Define versionsort64 as an alias.
54670         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54671         Define scandir64 as an alias.
54672         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54673         Define scandirat64 as an alias.
54674         * dirent/alphasort64.c (alphasort64):
54675         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54676         * dirent/versionsort64.c: Likewise.
54677         * dirent/scandir64.c: Likewise.
54678         * dirent/scandirat64.c: Likewise.
54679         * sysdeps/wordsize-64/alphasort.c: File removed.
54680         * sysdeps/wordsize-64/alphasort64.c: File removed.
54681         * sysdeps/wordsize-64/scandir.c: File removed.
54682         * sysdeps/wordsize-64/scandir64.c: File removed.
54683         * sysdeps/wordsize-64/scandirat.c: File removed.
54684         * sysdeps/wordsize-64/scandirat64.c: File removed.
54685         * sysdeps/wordsize-64/versionsort.c: File removed.
54686         * sysdeps/wordsize-64/versionsort64.c: File removed.
54687         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54688         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54689         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54690         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54691         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54692         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54693         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54694         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54696         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54698         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54699         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54700         [defined __arch64__ || defined __sparcv9]
54701         (__INO_T_MATCHES_INO64_T): New macro.
54702         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54703         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54704         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54705         * sysdeps/unix/sysv/linux/bits/dirent.h
54706         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54707         (_DIRENT_MATCHES_DIRENT64): New macro.
54709         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54710         Define lockf64 as an alias.
54711         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54712         Define fseeko64 as an alias.
54713         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54714         Define ftello64 as an alias.
54715         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54716         Define _IO_fgetpos64 and fgetpos64 as aliases.
54717         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54718         Define _IO_fsetpos64 and fsetpos64 as aliases.
54719         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54720         Conditionalize body on this.
54721         * libio/fseeko64.c: Likewise.
54722         * libio/ftello64.c: Likewise.
54723         * libio/iofgetpos64.c: Likewise.
54724         * libio/iofsetpos64.c: Likewise.
54725         * sysdeps/wordsize-64/lockf.c: File removed.
54726         * sysdeps/wordsize-64/lockf64.c: File removed.
54727         * sysdeps/wordsize-64/fseeko.c: File removed.
54728         * sysdeps/wordsize-64/fseeko64.c: File removed.
54729         * sysdeps/wordsize-64/ftello.c: File removed.
54730         * sysdeps/wordsize-64/ftello64.c: File removed.
54731         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54732         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54733         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54734         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54735         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54736         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54738         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54739         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54740         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54741         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54742         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54743         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54744         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54746         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54748         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54750         [defined __arch64__ || defined __sparcv9]
54751         (__OFF_T_MATCHES_OFF64_T): New macro.
54752         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54753         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54755         (__OFF_T_MATCHES_OFF64_T): New macro.
54757 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54759         * stdlib/secure-getenv.c (__secure_getenv): Replace
54760         GLIBC_2_16 with GLIBC_2_17.
54762 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54764         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54765         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54767 2012-08-03  David S. Miller  <davem@davemloft.net>
54769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54771 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54774         Remove.
54775         (__ASSUME_CORRECT_SI_PID): Likewise.
54776         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54777         (__ASSUME_TMPFS_NAME): Likewise.
54778         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54779         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54780         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54781         (HAVE_AUX_SECURE): Make definition unconditional.
54782         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54783         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54785 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54787         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54788         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54789         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54790         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54791         __eloop_threshold instead of SYMLOOP_MAX.
54793         * sysdeps/generic/eloop-threshold.h: New file.
54794         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54795         of MAXSYMLINKS.
54796         * elf/chroot_canon.c (chroot_canon): Likewise.
54798 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54800         [BZ #13717]
54801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54802         Change to 2.6.0 everywhere.
54803         * sysdeps/unix/sysv/linux/configure: Regenerated.
54804         * sysdeps/unix/sysv/linux/kernel-features.h
54805         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54806         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54807         kernel versions.
54808         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54809         (__ASSUME_FUTEX_REQUEUE): Remove.
54810         (__ASSUME_STATFS64): Define unconditionally.
54811         (__ASSUME_AT_SECURE): Likewise.
54812         (__ASSUME_CORRECT_SI_PID): Likewise.
54813         (__ASSUME_TGKILL): Define without depending on kernel version for
54814         i386.
54815         (__ASSUME_UTIMES): Likewise.
54816         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54817         kernel version.
54818         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54819         (__ASSUME_TMPFS_NAME): Likewise.
54820         * README: Update reference to Linux kernel versions.
54822 2012-08-02  Marek Polacek  <polacek@redhat.com>
54824         [BZ# 14150]
54825         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54826         libc_cv_asm_type_prefix with %.
54827         * configure: Regenerated.
54828         * include/libc-symbols.h: Remove comment about
54829         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54830         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54831         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54832         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54833         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54834         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54835         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54836         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54837         * elf/tst-unique2mod1.c: Likewise.
54838         * elf/tst-unique1mod2.c: Likewise.
54839         * elf/tst-unique1mod1.c: Likewise.
54840         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54841         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54842         Replace ASM_TYPE_DIRECTIVE with .type.
54843         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54844         * sysdeps/i386/sysdep.h: Likewise.
54845         * sysdeps/x86_64/sysdep.h: Likewise.
54846         * sysdeps/sh/sysdep.h: Likewise.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54848         Do not define ASM_TYPE_DIRECTIVE.
54849         * sysdeps/powerpc/sysdep.h: Likewise.
54850         * sysdeps/powerpc/powerpc32/sysdep.h:
54851         Replace ASM_TYPE_DIRECTIVE with .type.
54852         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54853         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54854         * sysdeps/i386/fpu/e_powf.S: Likewise.
54855         * sysdeps/i386/fpu/e_expl.S: Likewise.
54856         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54857         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54858         * sysdeps/i386/fpu/e_pow.S: Likewise.
54859         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54860         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54861         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54862         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54863         * sysdeps/i386/fpu/e_log2.S: Likewise.
54864         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54865         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54866         * sysdeps/i386/fpu/e_powl.S: Likewise.
54867         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54868         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54869         * sysdeps/i386/fpu/e_logl.S: Likewise.
54870         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54871         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54872         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54873         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54874         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54875         * sysdeps/i386/fpu/e_log.S: Likewise.
54876         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54877         * sysdeps/i386/fpu/e_logf.S: Likewise.
54878         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54879         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54880         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54881         * sysdeps/i386/fpu/e_log10.S: Likewise.
54882         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54883         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54884         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54885         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54886         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54887         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54888         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54889         * sysdeps/i386/i686/strtok.S: Likewise.
54890         * sysdeps/i386/i386-mcount.S: Likewise.
54891         * sysdeps/i386/strtok.S: Likewise.
54892         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54893         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54894         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54895         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54896         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54897         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54898         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54899         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54900         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54901         * sysdeps/x86_64/_mcount.S: Likewise.
54902         * sysdeps/x86_64/strtok.S: Likewise.
54903         * sysdeps/sh/_mcount.S: Likewise.
54905 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54907         * libio/iofopen.c: Include <fcntl.h>.
54908         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54909         (_IO_fopen64, fopen64): Define as aliases.
54910         * libio/iofopen64.c: Include <fcntl.h>.
54911         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54912         Conditionalize body on this.
54913         * sysdeps/wordsize-64/iofopen.c: File removed.
54914         * sysdeps/wordsize-64/iofopen64.c: File removed.
54916 2012-08-01  Marek Polacek  <polacek@redhat.com>
54918         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54919         Use dlfcn directly instead of a variable.
54920         (binfmt-subdir): Do not define.
54921         (dlfcn): Likewise.
54923 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54926         Remove all definitions.
54927         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54928         <kernel-features.h>.
54929         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54930         (miss_F_GETOWN_EX): Remove all definitions.
54931         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54932         macro definition.
54933         [!__ASSUME_FCNTL64]: Remove conditional code.
54934         [__ASSUME_FCNTL64]: Make code unconditional.
54935         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54936         <kernel-features.h>.
54937         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54938         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54939         (lockf64) [__NR_fcntl64]: Make code unconditional.
54940         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54942         * sysdeps/unix/sysv/linux/kernel-features.h
54943         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54944         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54945         Make code unconditional.
54946         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54947         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54949         [__NR_vfork]: Make code unconditional.
54950         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54951         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54953         [__NR_vfork]: Make code unconditional.
54954         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54955         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54957 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54959         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54960         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54962         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54963         Define mkstemp64 as an alias.
54964         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54965         Define mkstemps64 as an alias.
54966         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54967         Define mkostemp64 as an alias.
54968         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54969         Define mkostemps64 as an alias.
54970         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54971         Conditionalize body on this.
54972         * misc/mkostemp64.c: Likewise.
54973         * misc/mkostemps64.c: Likewise.
54974         * misc/mkstemps64.c: Likewise.
54975         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54976         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54977         * sysdeps/wordsize-64/mkostemp.c: File removed.
54978         * sysdeps/wordsize-64/mkstemp.c: File removed.
54979         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54980         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54981         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54982         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54984         [BZ #14138]
54985         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54986         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54987         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54988         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54990         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54991         compat_symbol macros from <shlib-compat.h> rather than the underlying
54992         default_symbol_version and symbol_version macros, so that DEFAULT
54993         lines in shlib-versions are respected.
54994         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54996 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54998         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54999         Declare with warn_unused_result.
55000         (setgid, setregid, setegid, setresgid): Likewise.
55001         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55002         Likewise.
55003         * WUR-REPORT: Remove set*id functions.
55005 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55007         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55009 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55011         [BZ #10191]
55012         * include/sys/socket.h (__libc_accept, __libc_accept4):
55013         Add attribute_hidden.
55014         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55016         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55017         use of PTR_MANGLE.
55018         * inet/getnetgrent_r.c (setup): Likewise.
55020         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55022 2012-07-31  David S. Miller  <davem@davemloft.net>
55024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55026 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55028         [BZ #13629]
55029         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55030         value between 1.0 and 2.0 and smaller part has absolute value less
55031         than 1.0.
55032         * math/s_clog10.c (__clog10): Likewise.
55033         * math/s_clog10f.c (__clog10f): Likewise.
55034         * math/s_clog10l.c (__clog10l): Likewise.
55035         * math/s_clogf.c (__clogf): Likewise.
55036         * math/s_clogl.c (__clogl): Likewise.
55037         * math/libm-test.inc (clog_test): Add more tests.
55038         (clog10_test): Likewise.
55039         * sysdeps/i386/fpu/libm-test-ulps: Update.
55040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55042 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55044         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55045         Exit with zero in case no suitable GID is found, and write a
55046         message to standard error.
55048 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55050         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55051         rather than to 1.
55052         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55053         (MAXPATHLEN): Removed.
55054         (NOGROUP, NODEV): New macros.
55055         (setbit, clrbit, isset, isclr): New macros.
55056         (howmany, roundup, powerof2): New macros.
55057         (DEV_BSIZE): New macro.
55059         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55060         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55062         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55063         definition on [!__NO_LONG_DOUBLE_MATH].
55065         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55066         PTR_MANGLE and PTR_DEMANGLE.
55068         * socket/accept4.c (accept4): Rename to __libc_accept4.
55069         Define accept4 as a weak alias.
55071         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55072         on [_DIRENT_HAVE_D_TYPE].
55073         * io/ftw.c (ftw_dir): Likewise.
55075         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55077         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55079         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55080         Use the BSD numbers rather than the arbitrary ones we had.
55081         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55082         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55083         (SIGXCPU, SIGXFSZ): New macros.
55084         (_NSIG): Now 32.
55086         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55087         initializer on [_LIBC_REENTRANT].
55089         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55090         definitions inside [_POSIX_MAPPED_FILES].
55092         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55094         * dirent/opendir.c: Include <fcntl.h>.
55096         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55097         (__libc_getspecific): Likewise.
55098         (__libc_key_create): Likewise.
55100         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55101         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55102         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55103         (tmpfile64): Define as alias.
55104         * sysdeps/wordsize-64/tmpfile.c: File removed.
55105         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55106         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55107         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55109         * stdio-common/vfscanf.c: Include <stdbool.h>.
55110         * nss/makedb.c: Likewise.
55111         * stdio-common/_i18n_number.h: Likewise.
55112         * argp/argp-help.c: Likewise.
55113         * posix/wordexp.c: Likewise.
55114         * sysdeps/posix/spawni.c: Likewise.
55115         * nss/nss_files/files-initgroups.c: Likewise.
55116         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55117         * nss/nss_files/files-initgroups.c: Likewise.
55118         * nss/nss_db/db-netgrp.c: Likewise.
55119         * nss/nss_db/db-initgroups.c: Likewise.
55120         * io/fchmodat.c: Include <sys/stat.h>.
55122         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55123         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55125         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55126         [HAVE_MMAP].
55128         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55129         Add multiple inclusion protection.
55131 2012-07-27  David S. Miller  <davem@davemloft.net>
55133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55135 2012-07-27  Gary Benson  <gbenson@redhat.com>
55137         [BZ #14298]
55138         * elf/rtld.c: Include <stap-probe.h>.
55139         (dl_main): Added static probes "init_start" and "init_complete".
55140         * elf/dl-load.c: Include <stap-probe.h>.
55141         (lose): Take new parameter "nsid".
55142         Added static probe "map_failed".
55143         (_dl_map_object_from_fd): Pass namespace id to lose.
55144         Added static probe "map_start".
55145         (open_verify): Pass namespace id to lose.
55146         * elf/dl-open.c: Include <stap-probe.h>.
55147         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55148         and "reloc_complete".
55149         * elf/dl-close.c: Include <stap-probe.h>.
55150         (_dl_close_worker): Added static probes "unmap_start" and
55151         "unmap_complete".
55152         * elf/rtld-debugger-interface.txt: New file documenting the above.
55154 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55156         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55157         rather than a string variable.
55158         * sunrpc/rpc_main.c (h_output): Likewise.
55159         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55161 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55163         * inet/check_native.c: New file.
55165 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55167         [BZ #13629]
55168         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55169         if larger part has absolute value 1.0.
55170         * math/s_clog10.c (__clog10): Likewise.
55171         * math/s_clog10f.c (__clog10f): Likewise.
55172         * math/s_clog10l.c (__clog10l): Likewise.
55173         * math/s_clogf.c (__clogf): Likewise.
55174         * math/s_clogl.c (__clogl): Likewise.
55175         * math/libm-test.inc (clog_test): Add more tests.
55176         (clog10_test): Likewise.
55177         * sysdeps/i386/fpu/libm-test-ulps: Update.
55178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55180         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55181         (pltexit): Likewise.
55182         (La_regs): Likewise.
55183         (La_retval): Likewise.
55184         (int_retval): Likewise.
55185         Update #error for removed macros to refer only to definitions in
55186         tst-audit.h.
55187         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55188         macro.
55189         (pltexit): Likewise.
55190         (La_regs): Likewise.
55191         (La_retval): Likewise.
55192         (int_retval): Likewise.
55193         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55194         macro.
55195         (pltexit): Likewise.
55196         (La_regs): Likewise.
55197         (La_retval): Likewise.
55198         (int_retval): Likewise.
55199         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55200         macro.
55201         (pltexit): Likewise.
55202         (La_regs): Likewise.
55203         (La_retval): Likewise.
55204         (int_retval): Likewise.
55205         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55206         macro.
55207         (pltexit): Likewise.
55208         (La_regs): Likewise.
55209         (La_retval): Likewise.
55210         (int_retval): Likewise.
55211         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55212         macro.
55213         (pltexit): Likewise.
55214         (La_regs): Likewise.
55215         (La_retval): Likewise.
55216         (int_retval): Likewise.
55217         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55218         macro.
55219         (pltexit): Likewise.
55220         (La_regs): Likewise.
55221         (La_retval): Likewise.
55222         (int_retval): Likewise.
55223         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55224         macro definitions in tst-audit.h.
55225         * sysdeps/i386/tst-audit.h: New file.
55226         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55227         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55228         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55229         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55230         * sysdeps/sh/tst-audit.h: Likewise.
55231         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55232         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55233         * sysdeps/x86_64/tst-audit.h: Likewise.
55235 2012-07-26  Andreas Jaeger  <aj@suse.de>
55237         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55238         ptrace.
55240         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55241         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55242         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55243         PTRACE_O_MASK.
55244         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55245         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55246         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55248         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55249         value.
55251         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55252         _sigsys.
55253         (si_call_addr, si_syscall, si_arch): Define new macro.
55254         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55255         _sigsys.
55256         (si_call_addr, si_syscall, si_arch): Define new marcro.
55257         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55258         _sigsys.
55259         (si_call_addr, si_syscall, si_arch): Define new macro.
55260         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55261         _sigsys.
55262         (si_call_addr, si_syscall, si_arch): Define new macro.
55264 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #13717]
55267         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55268         Change to 2.4.21 where previously 2.4.1.
55269         * sysdeps/unix/sysv/linux/configure: Regenerated.
55270         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55271         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55272         Linux kernel version.
55273         (__ASSUME_STD_AUXV): Remove.
55274         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55275         kernel version.
55276         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55277         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55278         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55279         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55280         (__ASSUME_NETLINK_SUPPORT): Likewise.
55281         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55282         (__no_netlink_support): Remove conditional definition.
55283         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55284         Remove.
55285         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55286         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55287         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55288         (if_nameindex_ioctl): Remove.
55289         (if_nameindex_netlink): Do not handle __no_netlink_support.
55290         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55291         code.
55292         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55293         Remove conditional code.
55294         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55295         code.
55296         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55297         unconditional.
55298         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55299         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55300         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55301         Remove.
55302         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55303         [!__ASSUME_STD_AUXV]: Remove conditional code.
55304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55305         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55306         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55308         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55309         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55310         code.
55311         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55313         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55314         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55315         conditional code.
55316         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55318         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55319         code.
55320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55321         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55322         conditional code.
55323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55324         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55325         code unconditional.
55326         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55327         conditional code.
55328         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55329         unconditional.
55330         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55331         conditional code.
55332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55333         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55334         unconditional.
55335         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55336         conditional code.
55337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55338         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55339         code unconditional.
55340         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55341         conditional code.
55342         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55343         unconditional.
55344         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55345         conditional code.
55346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55347         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55348         code unconditional.
55349         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55350         conditional code.
55351         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55352         unconditional.
55353         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55354         conditional code.
55356 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55358         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55359         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55360         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55361         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55362         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55363         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55364         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55365         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55366         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55367         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55368         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55369         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55370         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55371         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55372         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55373         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55374         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55375         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55376         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55378         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55379         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55382 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55384         * Versions.def: Add GLIBC_2.17.
55385         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55386         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55387         Introduce __libc_secure_getenv.
55388         * stdlib/Versions (2.17): Add secure_getenv
55389         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55390         * stdlib/secure-getenv.c: Rename __secure_getenv to
55391         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55392         symbol __secure_getenv for GLIBC_2.0.
55393         * stdlib/tst-secure-getenv.c: New.
55394         * stdlib/Makefile (tests): Add testcase.
55395         * manual/startup.texi (Environment Access): Document
55396         secure_getenv.
55397         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55398         __libc_secure_getenv.
55399         * inet/ruserpass.c (ruserpass): Likewise.
55400         * malloc/mtrace.c (mtrace): Likewise.
55401         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55402         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55403         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55404         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55405         HAVE_SECURE_GETENV.
55406         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55407         __secure_getenv to __libc_secure_getenv.
55408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55410         Likewise.
55411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55412         Likewise.
55413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55415         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55421 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55423         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55424         (struct La_i86_retval): Likewise.
55425         (struct La_x86_64_regs): Likewise.
55426         (struct La_x86_64_retval): Likewise.
55427         (struct La_x32_regs): Likewise.
55428         (struct La_x32_retval): Likewise.
55429         (struct La_ppc32_regs): Likewise.
55430         (struct La_ppc32_retval): Likewise.
55431         (struct La_ppc64_regs): Likewise.
55432         (struct La_ppc64_retval): Likewise.
55433         (struct La_sh_regs): Likewise.
55434         (struct La_sh_retval): Likewise.
55435         (struct La_s390_32_regs): Likewise.
55436         (struct La_s390_32_retval): Likewise.
55437         (struct La_s390_64_regs): Likewise.
55438         (struct La_s390_64_retval): Likewise.
55439         (struct La_sparc32_regs): Likewise.
55440         (struct La_sparc32_retval): Likewise.
55441         (struct La_sparc64_regs): Likewise.
55442         (struct La_sparc64_retval): Likewise.
55443         (struct audit_ifaces): Remove architecture-specific pltenter and
55444         pltexit members.
55445         * sysdeps/i386/ldsodefs.h: New file.
55446         * sysdeps/powerpc/ldsodefs.h: Likewise.
55447         * sysdeps/s390/ldsodefs.h: Likewise.
55448         * sysdeps/sh/ldsodefs.h: Likewise.
55449         * sysdeps/sparc/ldsodefs.h: Likewise.
55450         * sysdeps/x86_64/ldsodefs.h: Likewise.
55452 2012-07-25  Marek Polacek  <polacek@redhat.com>
55454         [BZ #6808]
55455         * math/libm-test.inc (yn_test): Add another test.
55456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55457         to ERANGE when the result is +-Inf.
55458         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55459         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55460         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55461         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55463 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55465         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55466         equal to 0.
55467         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55468         clock_t.
55469         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55471 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55473         * configure.in <sysdeps resolving>: Correct printing
55474         Implies_before.
55475         * configure: Regenerate.
55477 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55479         * math/w_ilogb.c: Include <limits.h>.
55480         * math/w_ilogbl.c: Likewise.
55482 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55484         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55485         va_copy.  Document allowing for unavailable va_copy only as
55486         pre-C99 compatibility.
55487         * manual/string.texi (Copying and Concatenation): Use va_copy
55488         instead of __va_copy in concat example.
55490 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55492         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55493         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55494         it if not null.
55496         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55497         with O_NOLINK passed to __file_name_lookup.
55499         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55500         with O_NOLINK passed to __file_name_lookup.
55502         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55503         negative N or less than NGIDS.
55505         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55506         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55507         enough.  Use memcpy instead of strncpy.
55509 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55511         * elf/Makefile (check-data): Remove.
55512         (localplt.data): New vpath directive.
55513         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55514         instead of $(check-data).
55515         * scripts/data/localplt-generic.data: Move to ...
55516         * sysdeps/generic/localplt.data: ... here.
55517         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55518         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55519         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55521         ... here.
55522         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55524         ... here.
55525         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55527         ... here.
55528         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55530         ... here.
55531         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55533         ... here.
55534         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55536         ... here.
55538 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55540         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55541         PPC32 and PPC64 files.
55542         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55543         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55545 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55547         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55548         __makecontext_ret to ...
55549         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55550         ... here and call exit if uc_link is NULL.  New file.
55551         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55552         __makecontext_ret.S.
55553         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55554         __makecontext_ret to ...
55555         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55556         ... here and call exit if uc_link is NULL.  New file.
55557         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55558         __makecontext_ret.S.
55560 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55562         * elf/elf.h (R_390_IRELATIVE): New definition.
55563         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55564         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55565         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55567         (elf_machine_lazy_rel): Likewise.
55568         * sysdeps/s390/dl-irel.h: New file.
55569         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55570         * sysdeps/s390/s390-64/memset.S: New asm code.
55571         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55572         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55573         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55574         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55575         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55576         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55577         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55578         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55579         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55580         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55581         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55582         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55583         * sysdeps/s390/s390-32/memset.S: New asm code.
55584         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55586 2012-07-17  Marek Polacek  <polacek@redhat.com>
55588         [BZ #14349]
55589         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55590         * sysdeps/s390/s390-64/configure.in: Likewise.
55591         * sysdeps/sparc/configure.in: Likewise.
55592         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55593         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55594         * sysdeps/i386/configure.in: Likewise.
55595         * sysdeps/x86_64/configure.in: Likewise.
55596         * sysdeps/sh/configure.in: Likewise.
55597         * sysdeps/s390/s390-32/configure: Regenerated.
55598         * sysdeps/s390/s390-64/configure: Likewise.
55599         * sysdeps/x86_64/configure: Likewise.
55600         * sysdeps/sh/configure: Likewise.
55601         * sysdeps/powerpc/powerpc64/configure: Likewise.
55602         * sysdeps/powerpc/powerpc32/configure: Likewise.
55603         * sysdeps/sparc/configure: Likwise.
55604         * sysdeps/i386/configure: Likewise.
55606         * elf/dl-open.c: Comment fixes.
55608 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55610         * Makefile [CXX] (check-data): Remove.
55611         [CXX] (c++-types.data): New vpath directive.
55612         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55613         vpath.  Do not allow for C++ type data being missing.
55614         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55615         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55616         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55617         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55618         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55619         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55620         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55622         ... here.
55623         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55625         ... here.
55626         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55628         ... here.
55629         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55631         ... here.
55632         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55634         ... here.
55635         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55637         ... here.
55638         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55640         ... here.
55641         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55644         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55645         definitions to architecture-specific files.
55646         (TLS_IE): Likewise.
55647         (TLS_LD): Likewise.
55648         (TLS_GD): Likewise.
55649         * sysdeps/i386/tls-macros.h: New file.
55650         * sysdeps/powerpc/tls-macros.h: Likewise.
55651         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55652         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55653         * sysdeps/sh/tls-macros.h: Likewise.
55654         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55655         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55656         * sysdeps/x86_64/tls-macros.h: Likewise.
55658 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55660         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55661         zero value for regular exit case.
55663         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55664         (__start_context): Preserve zero value for regular exit case.
55666 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55667             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55669         * manual/setjmp.texi (setcontext): Clarify normal process
55670         termination when uc_link is the null pointer.
55671         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55672         exit call.
55674 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55676         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55677         preprocessor.  Test for each exception mask separately.
55679 2012-07-16  Andreas Jaeger  <aj@suse.de>
55681         * po/ru.po: Update from translation team.
55683 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55685         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55686         equal to 0.
55687         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55688         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55689         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55690         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55691         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55693 2012-07-13  Andreas Jaeger  <aj@suse.de>
55695         * po/fr.po: Update from translation team.
55697 2012-07-12  Marek Polacek  <polacek@redhat.com>
55699         [BZ #14173]
55700         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55701         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55702         loop condition.
55704 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55706         [BZ #13717]
55707         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55708         Change to 2.4.1 where previously 2.4.0.
55709         * sysdeps/unix/sysv/linux/configure: Regenerated.
55710         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55711         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55712         version.
55713         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55714         (__ASSUME_AT_CLKTCK): Remove.
55715         (__ASSUME_AT_PAGESIZE): Likewise.
55716         (__ASSUME_AT_XID): Likewise.
55717         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55718         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55719         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55720         unconditionally.
55721         (HAVE_AUX_PAGESIZE): Likewise.
55722         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55723         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55724         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55726 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55728         [BZ #14307]
55729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55730         the temporary buffer used to invoke __gethostbyname2_r,
55731         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55732         host_data / struct gaih_addrtuple.
55733         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55734         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55735         header file nss/nsswitch.h.
55736         * nss/nsswitch.h (global scope): Add definition of implementation
55737         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55738         resolv/nss_dns/dns-host.c).
55740 2012-07-11  Andreas Jaeger  <aj@suse.de>
55742         * po/fr.po: Update from translation team.
55744         * po/sv.po: Update from translation team
55745         * po/fr.po: Another update from translation team.
55747 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55749         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55750         for subnormals or multiply small sinh result by itself.
55751         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55754 2012-07-11  David S. Miller  <davem@davemloft.net>
55756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55758 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55760         [BZ #14347]
55761         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55762         (INTERNAL_MARK): Shift it here.
55764 2012-07-10  Marek Polacek  <polacek@redhat.com>
55766         [BZ #14151]
55767         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55768         libc_cv_asm_global_directive with .globl.
55769         * configure: Regenerated.
55770         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55771         with .globl.
55772         * sysdeps/i386/configure: Regenerated.
55773         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55774         with .globl.
55775         * sysdeps/x86_64/configure: Regenerated.
55776         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55777         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55778         * elf/tst-unique2mod2.c: Likewise.
55779         * elf/tst-unique2mod1.c: Likewise.
55780         * elf/tst-unique1mod2.c: Likewise.
55781         * elf/tst-unique1mod1.c: Likewise.
55782         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55783         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55784         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55785         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55786         * sysdeps/mach/sysdep.h: Likewise.
55787         * sysdeps/i386/sysdep.h: Likewise.
55788         * sysdeps/i386/i386-mcount.S: Likewise.
55789         * sysdeps/x86_64/_mcount.S: Likewise.
55790         * sysdeps/x86_64/sysdep.h: Likewise.
55791         * sysdeps/sh/_mcount.S: Likewise.
55792         * sysdeps/sh/sysdep.h: Likewise.
55793         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55794         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55795         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55796         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55797         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55798         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55799         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55800         * locale/localeinfo.h: Likewise.
55801         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55802         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55804 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55806         [BZ #14336]
55807         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55808         system".
55809         * manual/message.texi (The Uniforum approach): Likewise.
55810         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55811         (glibc iconv Implementation): Likewise.
55813 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55815         [BZ #14337]
55816         * math/s_clog.c (__clog): Avoid scaling a value down where that
55817         could result in underflow.
55818         * math/s_clog10.c (__clog10): Likewise.
55819         * math/s_clog10f.c (__clog10f): Likewise.
55820         * math/s_clog10l.c (__clog10l): Likewise.
55821         * math/s_clogf.c (__clogf): Likewise.
55822         * math/s_clogl.c (__clogl): Likewise.
55823         * math/libm-test.inc (clog_test): Add more tests.
55824         (clog10_test): Likewise.
55825         * sysdeps/i386/fpu/libm-test-ulps: Update.
55826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55828 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55830         [BZ #14283]
55831         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55832         by 7 not 8 to examine high bit of fractional part.
55834         [BZ #14042]
55835         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55836         for call to __mcount_internal.
55837         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55838         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55839         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55841 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55843         [BZ #14154]
55844         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55845         approximation for values within 0x1p-13f of an odd multiple of
55846         pi/4.
55847         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55848         exception.  Add more tests.
55849         * sysdeps/i386/fpu/libm-test-ulps: Update.
55851         [BZ #6778]
55852         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55853         inputs and return -1 for them.  Do not check for +Inf in case not
55854         reachable for +Inf.
55855         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55856         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55857         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55858         and return -1 for them.  Do not check for +Inf in case not
55859         reachable for +Inf.
55860         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55861         define.
55862         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55863         and return -1 for them.  Do not check for +Inf in case not
55864         reachable for +Inf.
55865         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55866         spurious underflow.
55867         * sysdeps/i386/fpu/libm-test-ulps: Update.
55868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55870 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55872         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55874 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55876         [BZ #14157]
55877         [BZ #14331]
55878         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55879         could result in spurious underflow.  Scale down values above
55880         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55881         * math/s_csqrtf.c (__csqrtf): Likewise.
55882         * math/s_csqrtl.c (__csqrtl): Likewise.
55883         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55884         spurious underflow.
55885         * sysdeps/i386/fpu/libm-test-ulps: Update.
55886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55888 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55890         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55891         xopen-msg.sed.
55892         * catgets/xopen-msg.awk: New file.
55893         * catgets/xopen-msg.sed: Removed.
55895         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55896         po2text.sed.
55897         * intl/po2test.awk: New file.
55898         * intl/po2test.sed: Removed.
55900 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55902         [BZ #14328]
55903         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55904         or multiply small sinh result by itself.
55905         * math/s_ctanf.c (__ctanf): Likewise.
55906         * math/s_ctanh.c (__ctanh): Likewise.
55907         * math/s_ctanhf.c (__ctanhf): Likewise.
55908         * math/s_ctanhl.c (__ctanhl): Likewise.
55909         * math/s_ctanl.c (__ctanl): Likewise.
55910         * math/libm-test.inc (ctan_test_tonearest): New function.
55911         (ctan_test_towardzero): Likewise.
55912         (ctan_test_downward): Likewise.
55913         (ctan_test_upward): Likewise.
55914         (ctanh_test_tonearest): Likewise.
55915         (ctanh_test_towardzero): Likewise.
55916         (ctanh_test_downward): Likewise.
55917         (ctanh_test_upward): Likewise.
55918         (main): Call these new functions.
55919         * sysdeps/i386/fpu/libm-test-ulps: Update.
55920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55922 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55924         * .gitignore: Delete /ports entry.
55926 2012-07-03  Andreas Jaeger  <aj@suse.de>
55928         * po/bg.po: Update from translation team.
55929         * po/cs.po: Likewise.
55930         * po/de.po: Likewise.
55931         * po/hr.po: Likewise.
55932         * po/nl.pl: Likewise.
55933         * po/pl.po: Likewise.
55934         * po/vi.po: Likewise.
55936 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55938         * Makeconfig [!+link] (+link-before-libc): New variable.
55939         [!+link] (+link-after-libc): Likewise.
55940         [!+link] (+link-tests): Likewise.
55941         [!+link] (+link): Define in terms of $(+link-before-libc) and
55942         $(+link-after-libc).
55943         [!+link-static] (+link-static-before-libc): New variable.
55944         [!+link-static] (+link-static-after-libc): Likewise.
55945         [!+link-static] (+link-static-tests): Likewise.
55946         [!+link-static] (+link-static): Define in terms of
55947         $(+link-static-before-libc) and $(+link-static-after-libc).
55948         [build-shared] (link-libc-before-gnulib): New variable.
55949         [build-shared] (link-libc-tests): Likewise.
55950         [build-shared] (link-libc): Define in terms of
55951         $(link-libc-before-gnulib).
55952         [!build-shared] (link-libc-tests): New variable.
55953         (link-libc-static-tests): New variable.
55954         [!gnulib] (gnulib-arch): New variable.
55955         [!gnulib] (gnulib-tests): Likewise.
55956         [!gnulib] (static-gnulib-arch): Likewise.
55957         [!gnulib] (static-gnulib-tests): Likewise.
55958         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55959         Define with "=" instead of ":=".
55960         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55961         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55962         * Rules (binaries-all-notests): New variable.
55963         (binaries-all-tests): Likewise.
55964         (binaries-static-notests): Likewise.
55965         (binaries-static-tests): Likewise.
55966         (binaries-all): Define using $(binaries-all-notests) and
55967         $(binaries-all-tests).
55968         (binaries-static): Define using $(binaries-static-notests) and
55969         $(binaries-static-tests).
55970         (binaries-shared-tests): New variable.
55971         (binaries-shared-notests): Likewise.
55972         (binaries-shared): Remove variable.
55973         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55974         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55975         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55976         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55977         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55978         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55979         * elf/Makefile (sln-modules): New variable.
55980         (extra-objs): Add $(sln-modules:=.o).
55981         (ldconfig-modules): Add static-stubs.
55982         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55983         * elf/static-stubs.c: New file.
55985         [BZ #14283]
55986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55987         by 7 not 8 to examine high bit of fractional part.  Use volatile
55988         variables when splitting into final array of floats if
55989         __FLT_EVAL_METHOD__ != 0.
55990         * math/libm-test.inc (cos_test): Add another test.
55991         (sin_test): Likewise.
55992         * sysdeps/i386/fpu/libm-test-ulps: Update.
55994         [BZ #14273]
55995         * math/libm-test.inc (cosh_test): Add more tests.
55997         * version.h (RELEASE): Set to "development".
55998         (VERSION): Set to "2.16.90".
56000 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56002         * NEWS: Update copyright. Remove last-updated date.
56003         Mention math library bug fixes and timezone data changes.
56004         * README: Mention GNU/Hurd, x32, and HPPA support status.
56006 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56008         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56010 2012-06-27  Andreas Jaeger  <aj@suse.de>
56012         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56014 2012-06-25  Andreas Jaeger  <aj@suse.de>
56016         * sysdeps/s390/fpu/libm-test-ulps: Update.
56018 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56019             Thomas Schwinge  <thomas@codesourcery.com>
56021         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56022         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56023         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56024         fanotify_mark.
56026 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56028         * sysdeps/mach/start.c: Remove file.
56029         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56030         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56031         * sysdeps/sh/init-first.c: Likewise.
56033         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56034         registers for frame unwinding purposes, add CFI directives.
56035         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56036         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56037         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56038         Likewise.
56040         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56041         __fortify_fail returning.
56042         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56044         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56045         sysdeps/sh/____longjmp_chk.S.
56046         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56047         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56048         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56049         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56051         * sysdeps/sh/abort-instr.h: New file.
56052         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56053         process in case exit returns.
56055         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56056         initialize the GOT register before use.
56058         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56059         calculation of ARGC > 4.
56061         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56062         meaningful names to some local labels.
56064 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56065             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56067         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56068         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56069         (__arch_compare_and_exchange_val_16_acq): Likewise.
56070         (__arch_compare_and_exchange_val_32_acq): Likewise.
56071         (atomic_exchange_and_add): Fix gUSA sequence.
56072         (atomic_add): Likewise.
56073         (atomic_add_negative): Likewise.
56074         (atomic_add_zero): Likewise.
56075         (atomic_bit_test_set): Likewise.
56077 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56079         [BZ #13579]
56080         * include/link.h (struct link_map): Add l_free_initfini.
56081         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56082         l_initfini.
56083         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56084         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56085         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56086         set.
56088 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56090         * configure.in: Use AC_LANG_SOURCE.
56091         * configure: Regenerate.
56093 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56095         * configure.in (libc_cv_localstatedir): New substituted variable.
56096         * configure: Regenerated.
56097         * config.make.in (localstatedir): New variable, substituted from
56098         libc_cv_localstatedir.
56099         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56100         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56101         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56102         * sysdeps/gnu/configure: Regenerated.
56104 2012-06-21  Jeff Law  <law@redhat.com>
56106         [BZ #14277]
56107         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56108         free.  Simplify list management for _LIBC case.
56110 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56112         [BZ #14273]
56113         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56114         Clear sign bit of 64-bit integer value before comparing against
56115         overflow value.
56117         * sysdeps/mach/configure: Regenerated.
56119 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56121         [BZ #14278]
56122         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56124 2012-06-21  Jeff Law  <law@redhat.com>
56126         [BZ #13882]
56127         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56128         uint16_t for elements in the "seen" array to avoid char overflows.
56129         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56130         * elf/dl-open.c (dl_open_worker): Likewise.
56132 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56134         * scripts/list-sources.sh: Scan PORTS for translations.
56135         * po/libc.pot: Regenerated.
56137 2012-06-21  Andreas Jaeger  <aj@suse.de>
56139         [BZ #12194]
56140         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56141         warning.
56142         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56143         * bits/byteswap-16.h (__bswap_16): Likewise.
56144         * bits/byteswap.h (__bswap_constant_16): Likewise.
56146 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56148         [BZ #14117]
56149         * sysdeps/i386/fpu_control.h: Removed.
56150         * sysdeps/x86_64/fpu_control.h: Moved to ...
56151         * sysdeps/x86/fpu_control.h: Here.
56153         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56154         (_FPU_SETCW): Likewise.
56156 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56158         [BZ #14117]
56159         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56160         * sysdeps/x86/fpu/bits/mathinline.h: This.
56161         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56163         [BZ #14050]
56164         [BZ #14117]
56165         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56166         functions if __x86_64__ is defined.
56168 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56170         * string/endian.h: Add !__ASSEMBLER__ condition for including
56171         conversion interfaces.
56173 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56175         [BZ #14241]
56176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56177         of ABS(x) in calculating zero to negative powers other than odd
56178         integers.
56179         * math/libm-test.inc (pow_test): Add more tests.
56181 2012-06-15  Andreas Jaeger  <aj@suse.de>
56183         * manual/contrib.texi (Contributors): Update entry of Liubov
56184         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56185         Machado Filho.
56187 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56189         * string/string.h: Add __wur to GNU version of strerror_r.
56191 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56193         [BZ #14229]
56194         * string/Makefile (tests): Add tst-strtok_r.
56195         * string/tst-strtok_r.c: New file.
56196         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56197         RAX_LP/RDX_LP on SAVE_PTR.
56199 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56201         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56203 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56205         * libm_test.inc (csqrt_test): Allow more spurious underflow
56206         exceptions.
56207         (j0_test): Likewise.
56208         (j1_test): Likewise.
56209         (y0_test): Likewise.
56210         (y1_test): Likewise.
56212 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56214         * po/Makefile (libc.pot): Use UTF-8 charset.
56216 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56218         [BZ #14210]
56219         Suppress sign-conversion warning from FD_SET.
56220         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56221         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56222         not unsigned long int.
56223         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56225 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56227         [BZ #14050]
56228         [BZ #14117]
56229         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56230         __extern_always_inline instead of __extern_inline.
56231         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56232         (__signbit): Likewise.
56233         (__signbitl): Support C++ namespace.
56234         (lrintf): New inline function.
56235         (lrint): Likewise.
56236         (llrintf): Likewise.
56237         (llrint): Likewise.
56238         (fmaxf): Likewise.
56239         (fmax): Likewise.
56240         (fminf): Likewise.
56241         (fmin): Likewise.
56242         (rint): Likewise.
56243         (rintf): Likewise.
56244         (ceil): Likewise.
56245         (ceilf): Likewise.
56246         (floor): Likewise.
56247         (floorf): Likewise.
56248         (nearbyint): Likewise.
56249         (nearbyintf): Likewise.
56251 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56253         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56254         non-default versions.
56256 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56258         [BZ #14218]
56259         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56261 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56263         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56264         (FE_UPWARD, FE_DOWNWARD): Don't define.
56265         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56266         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56268         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56269         reading it.
56270         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56271         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56273 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56275         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56277         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56278         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56280 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56282         [BZ #14117]
56283         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56284         * sysdeps/i386/fpu/Implies: New file.
56285         * sysdeps/x86_64/fpu/Implies: Likewise.
56286         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56287         * sysdeps/x86/fpu/bits/fenv.h: This.
56289         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56290         __SSE_MATH__.
56292 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56294         [BZ #14134]
56295         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56296         character 0xffff that matches the last element of the
56297         conversion table.
56299 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56301         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56302         fmodl commit.
56304 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56307         values higher than 25.6283.
56309 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56311         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56312         subnormal exponent extraction and add some __builtin_expect.
56313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56314         Fix for subnormal mantissa calculation.
56316 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56318         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56319         cpu2 is -1 and errno is not ENOSYS.
56321 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56323         [BZ #14117]
56324         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56325         * sysdeps/x86/bits/string.h: This.
56326         * sysdeps/x86_64/bits/string.h: Removed.
56328         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56329         if not compiling for x86-64, but compiling for >= i486.
56331         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56332         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56334         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56335         New macro from Linux kernel 3.4.0.
56336         (FP_XSTATE_MAGIC2): Likewise.
56337         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56338         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56339         (struct _fpx_sw_bytes): New struct.
56340         (struct _xsave_hdr): Likewise.
56341         (struct _ymmh_state): Likewise.
56342         (struct _xstate): Likewise.
56344         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56345         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56346         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56347         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56348         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56349         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56351         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56352         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56353         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56354         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56355         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56356         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56358 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56360         [BZ #13743]
56361         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56362         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56363         (sysdep_headers): Include sys/platform/ppc.h.
56364         * sysdeps/powerpc/test-gettimebase.c: Test for
56365         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56366         * manual/Makefile (appendices): Include platform.texi.
56367         * manual/contrib.texi (Contributors): Update @node pointers.
56368         * manual/maint.texi (Maintenance): Likewise.
56369         (Platform): New node.
56370         * manual/platform.texi: New file.  Document the new features.
56372 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56373             Jakub Jelinek  <jakub@redhat.com>
56375         [BZ #14188]
56376         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56377         where __builtin_expect is unavailable.
56379 2012-06-03  David S. Miller  <davem@davemloft.net>
56381         * stdlib/longlong.h: Updated from GCC.
56383 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56385         [BZ #14042]
56386         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56387         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56388         __mcount_internal.
56389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56390         (GLIBC_2.16): Likewise.
56392 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56394         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56396 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56399         (default-abi): New variable.
56400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56401         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56402         variable.
56403         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56404         Likewise.
56405         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56406         Likewise.
56407         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56408         Likewise.
56410         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56411         definition.  Document in comment.
56413 2012-06-01  David S. Miller  <davem@davemloft.net>
56415         * stdlib/longlong.h: Updated from GCC.
56417 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56419         [BZ #14117]
56420         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56421         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56422         sys/debugreg.h sys/io.h here.
56423         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56424         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56425         sys/io.h.
56426         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56427         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56428         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56429         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56430         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56431         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56433         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56434         Define only if __x86_64__ is defined.
56436 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56438         [BZ #14048]
56439         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56440         Use int64_t for variable i.
56441         * math/libm-test.inc (fmod_test): Add more tests.
56443         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56444         z computation is not scheduled after fetestexcept.
56445         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56446         Use math_force_eval instead of asm to ensure calculation scheduled
56447         before exception test.
56448         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56449         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56451 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56454         computation is not scheduled after fetestexcept.
56456 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56458         [BZ #14117]
56459         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56460         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56462 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56464         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56465         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56467 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56469         [BZ #14117]
56470         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56471         <bits/wordsize.h>.
56472         (__WCHAR_MIN): Support __WORDSIZE == 64.
56473         (__WCHAR_MAX): Likewise.
56475         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56476         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56478         [BZ #14183]
56479         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56480         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56482         [BZ #14117]
56483         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56484         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56486         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56487         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56489         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56490         Defined to 1 if __x86_64__ isn't defined.
56491         (_STAT_VER_LINUX_OLD): New.
56492         (st_atime): Remove duplicate.
56493         (st_mtime): Likewise.
56494         (st_ctime): Likewise.
56496 2012-05-31  David S. Miller  <davem@davemloft.net>
56498         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56499         entries.
56501 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56503         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56504         gen-libm-test.pl.
56506         [BZ #14132]
56507         * elf/dl-reloc.c: Include <_itoa.h>.
56508         (_dl_reloc_bad_type): Remove use of INTUSE.
56509         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56510         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56511         * stdio-common/psiginfo.c (psiginfo): Likewise.
56512         * stdio-common/psignal.c (psignal): Likewise.
56513         * string/strsignal.c (strsignal): Likewise.
56514         * include/signal.h (_sys_siglist): Declare hidden proto.
56515         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56516         INTVARDEF with libc_hidden_data_def.
56517         * stdio-common/itoa-udigits.c: Likewise.
56518         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56519         (_itoa_lower_digits_internal): Remove declaration.
56520         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56521         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56522         (_sys_sigabbrev_internal): Remove aliases.
56523         (_sys_siglist): Define hidden alias.
56525 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56528         bits/sysctl.h.
56530 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56532         [BZ #14117]
56533         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56534         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56536         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56537         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56538         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56539         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56541         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56543         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56544         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56545         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56547         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56548         with __addr.
56549         (insw): Likewise.
56550         (insl): Likewise.
56551         (outsb): Likewise.
56552         (outsw): Likewise.
56553         (outsl): Likewise.
56555         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56556         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56557         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56559         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56560         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56561         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56562         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56563         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56564         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56566         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56567         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56569         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56570         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56573         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56574         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56576         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56577         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56578         to ...
56579         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56581         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56582         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56583         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56585         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56586         for x86-64.
56587         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56589 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56591         * math/math.h (M_El): Use two more decimal places.
56592         (M_LOG2El): Likewise.
56593         (M_LOG10El): Likewise.
56594         (M_LN2l): Likewise.
56595         (M_LN10l): Likewise.
56596         (M_PIl): Likewise.
56597         (M_PI_2l): Likewise.
56598         (M_PI_4l): Likewise.
56599         (M_1_PIl): Likewise.
56600         (M_2_PIl): Likewise.
56601         (M_2_SQRTPIl): Likewise.
56602         (M_SQRT2l): Likewise.
56603         (M_SQRT1_2l): Likewise.
56605 2012-05-31  David S. Miller  <davem@davemloft.net>
56607         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56608         values between float registers.
56609         * sysdeps/sparc/sparc64/memset.S: Likewise.
56610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56612 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56614         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56615         -D_FORTIFY_SOURCE=1.
56616         (CPPFLAGS-tst-longjmp_chk.c): Define.
56617         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56618         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56619         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56620         CFLAGS-tst-wchar-h.c.
56622 2012-05-31  Marek Polacek  <polacek@redhat.com>
56624         [BZ #14132]
56625         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56626         __endmntent_internal): Remove declaration.
56627         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56628         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56629         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56631 2012-05-30  David S. Miller  <davem@davemloft.net>
56633         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56634         (___Q_simulate_exceptions): Use real FP ops rather than writing
56635         into the %fsr.
56636         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56637         Likewise.
56639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56641         [BZ #14117]
56642         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56643         * sysdeps/x86/bits/xtitypes.h: This.
56645         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56646         * sysdeps/x86/bits/wordsize.h: This.
56648         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56649         * sysdeps/x86/bits/huge_vall.h: This.
56651         * sysdeps/i386/bits/select.h: Removed.
56652         * sysdeps/x86_64/bits/select.h: Renamed to ...
56653         * sysdeps/x86/bits/select.h: This.
56655         * sysdeps/i386/bits/setjmp.h: Removed.
56656         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56657         * sysdeps/x86/bits/setjmp.h: This.
56659         * sysdeps/i386/bits/mathdef.h: Removed.
56660         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56661         * sysdeps/x86/bits/mathdef.h: This.
56663 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56665         [BZ #14132]
56666         * include/sys/socket.h (__connect_internal)
56667         (__libc_sa_len_internal): Remove declaration.
56668         (__connect, __libc_sa_len): Declare hidden_proto.
56669         (SA_LEN): Remove use of INTUSE.
56670         * socket/connect.c: Add libc_hidden_def.
56671         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56672         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56673         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56674         alias.
56675         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56676         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56677         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56678         of adding _internal alias.
56680 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56682         [BZ #14117]
56683         * sysdeps/i386/bits/link.h: Removed.
56684         * sysdeps/i386/bits/linkmap.h: Likewise.
56685         * sysdeps/x86_64/bits/link.h: Renamed to ...
56686         * sysdeps/x86/bits/link.h: This.
56687         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56688         * sysdeps/x86/bits/linkmap.h: This.
56690         * sysdeps/i386/bits/endian.h: Removed.
56691         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56692         * sysdeps/x86/bits/endian.h: This.
56694         * sysdeps/i386/bits/byteswap.h: Removed.
56695         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56696         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56697         * sysdeps/x86/bits/byteswap.h: This.
56698         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56699         * sysdeps/x86/bits/byteswap-16.h: This.
56700         * sysdeps/i386/Implies: Add x86.
56701         * sysdeps/x86_64/Implies: Likewise.
56703 2012-05-30  David S. Miller  <davem@davemloft.net>
56705         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56706         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56707         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56708         (FP_TRAPPING_EXCEPTIONS): Define.
56709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56710         (FP_TRAPPING_EXCEPTIONS): Define.
56711         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56712         subnormals only when inexact has been signalled or underflow
56713         exceptions are enabled.
56714         (_FP_PACK_CANONICAL): Likewise.
56716 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56718         [BZ #14183]
56719         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56720         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56722 2012-05-30  Richard Henderson  <rth@twiddle.net>
56724         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56725         with #ifndef NOT_IN_libc.
56727         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56728         marked to avoid plt entry.
56730 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56732         [BZ #14112]
56733         * Makeconfig (default-abi): New macro.
56734         (abi-includes): Likewise.
56735         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56736         $(abi-$(default-abi)-lib-soname) for soname if defined.
56737         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56738         abi-variants.
56739         * Makefile (installed-stubs): Likewise.
56740         * include/stubs-biarch.h: Removed.
56741         * scripts/lib-names.awk: Only handle one library at a time.
56742         * scripts/soversions.awk: Remove WORDSIZE support.
56743         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56744         entries.
56745         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56746         Removed.
56747         (syscall-list-default-condition): Likewise.
56748         (syscall-list-default-condition): Likewise.
56749         (syscall-list-includes): Likewise.
56750         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56751         syscall-list-* with abi-*.  Handle undefined abi-variants.
56752         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56753         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56754         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56755         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56756         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56757         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56758         Removed.
56759         (syscall-list-32-options): Likewise.
56760         (syscall-list-32-condition): Likewise.
56761         (syscall-list-64-options): Likewise.
56762         (syscall-list-64-condition): Likewise.
56763         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56764         macro.
56765         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56766         Renamed to ...
56767         (abi-*): This.
56768         (abi-64-ld-soname): New macro.
56769         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56770         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56771         Renamed to ...
56772         (abi-*): This.
56773         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56774         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56776 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56778         * sysdeps/unix/sysv/linux/kernel-features.h
56779         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56780         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56781         include <kernel-features.h>.
56782         [!__NR_ftruncate64]: Remove conditional code.
56783         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56784         [__NR_ftruncate64]: Make code unconditional.
56785         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56786         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56787         include <kernel-features.h>.
56788         [!__NR_ftruncate64]: Remove conditional code.
56789         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56790         [__NR_ftruncate64]: Make code unconditional.
56791         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56793         include <kernel-features.h>.
56794         [!__NR_ftruncate64]: Remove conditional code.
56795         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56796         [__NR_ftruncate64]: Make code unconditional.
56797         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56799         include <kernel-features.h>.
56800         [!__NR_ftruncate64]: Remove conditional code.
56801         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56802         [__NR_ftruncate64]: Make code unconditional.
56803         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56805         * configure.in (libc_cv_fpie): Weaken to a compile test using
56806         LIBC_TRY_CC_OPTION.
56807         * configure: Regenerated.
56809 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56815         Refreshed.
56816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56822         Refreshed.
56824 2012-05-27  David S. Miller  <davem@davemloft.net>
56826         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56827         (___Q_zero): New.
56828         (__Q_simulate_exceptions): Return void.  Change to simulate
56829         exceptions by writing into the %fsr.
56830         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56831         (__Qp_handle_exceptions): Likewise.
56832         (numbers): Delete.
56833         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56834         __Qp_handle_exceptions.
56835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56836         __Qp_handle_exceptions.
56837         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56838         as unused and give dummy FP_RND_NEAREST initializer.
56839         (FP_INHIBIT_RESULTS): Define.
56840         (___Q_simulate_exceptions): Update declaration.
56841         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56842         formatting.
56843         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56844         as unused and give dummy FP_RND_NEAREST initializer.
56845         (__Qp_handle_exceptions): Update declaration.
56846         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56847         formatting.
56849 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56851         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56852         the temporary FPU control word.
56853         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56854         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56855         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56856         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56857         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56858         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56859         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56860         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56862         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56863         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56865 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56867         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56868         fields.
56870 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56872         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56873         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56874         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56875         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56876         Likewise.
56877         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56878         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56879         Likewise.
56881 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56883         * po/h.po: Update from translation team.
56885 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56887         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56889         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56890         handling of denormals.
56891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56892         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56893         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56894         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56896         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56898         Likewise.
56900 2012-05-26  Marek Polacek  <polacek@redhat.com>
56902         [BZ #14152]
56903         * math/libm-test.inc (fma_test): Don't always expect underflow
56904         exception.
56906 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56908         [BZ #12416]
56909         * elf/tst-execstack.c: Include stackinfo.h.
56910         (do_test): Adjust test case to ensure that pthread_getattr_np
56911         behaviour remains the same after marking stack executable.
56913 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56915         * sysdeps/unix/sysv/linux/kernel-features.h
56916         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56917         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56918         kernel-features.h.
56919         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56920         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56921         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56922         kernel-features.h.
56923         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56924         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56926 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56928         * configure.in: Define the default includes to being none.
56929         * configure: Regenerated.
56931 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56933         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56934         * sysdeps/x86_64/setjmp.S: Likewise.
56935         * sysdeps/i386/bsd-setjmp.S: Likewise.
56936         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56937         * sysdeps/i386/setjmp.S: Likewise.
56938         * sysdeps/i386/__longjmp.S: Likewise.
56939         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56940         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56942         * include/stap-probe.h: New file.
56943         * configure.in: Handle --enable-systemtap.
56944         * configure: Regenerated.
56945         * config.h.in (USE_STAP_PROBE): New #undef.
56946         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56947         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56948         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56950 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56952         [BZ #13717]
56953         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56954         to 2.4.0 where earlier.
56955         * sysdeps/unix/sysv/linux/configure: Regenerated.
56956         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56957         <kernel-features.h>.
56958         [__ASSUME_32BITUIDS]: Make code unconditional.
56959         [!__ASSUME_32BITUIDS]: Remove conditional code.
56960         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56961         <kernel-features.h>.
56962         [__ASSUME_32BITUIDS]: Make code unconditional.
56963         [!__ASSUME_32BITUIDS]: Remove conditional code.
56964         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56965         [__ASSUME_32BITUIDS]: Make code unconditional.
56966         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56967         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56968         <kernel-features.h>.
56969         [__ASSUME_32BITUIDS]: Make code unconditional.
56970         [!__ASSUME_32BITUIDS]: Remove conditional code.
56971         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56972         <kernel-features.h>.
56973         [__ASSUME_32BITUIDS]: Make code unconditional.
56974         [!__ASSUME_32BITUIDS]: Remove conditional code.
56975         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56976         <kernel-features.h>.
56977         [__ASSUME_32BITUIDS]: Make code unconditional.
56978         [!__ASSUME_32BITUIDS]: Remove conditional code.
56979         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56980         <kernel-features.h>.
56981         [__ASSUME_32BITUIDS]: Make code unconditional.
56982         [!__ASSUME_32BITUIDS]: Remove conditional code.
56983         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56984         <kernel-features.h>.
56985         [__ASSUME_32BITUIDS]: Make code unconditional.
56986         [!__ASSUME_32BITUIDS]: Remove conditional code.
56987         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56988         <kernel-features.h>.
56989         [__ASSUME_32BITUIDS]: Make code unconditional.
56990         [!__ASSUME_32BITUIDS]: Remove conditional code.
56991         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56992         <kernel-features.h>.
56993         [__ASSUME_32BITUIDS]: Make code unconditional.
56994         [!__ASSUME_32BITUIDS]: Remove conditional code.
56995         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56996         <kernel-features.h>.
56997         [__ASSUME_32BITUIDS]: Make code unconditional.
56998         [!__ASSUME_32BITUIDS]: Remove conditional code.
56999         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57000         <kernel-features.h>.
57001         [__ASSUME_32BITUIDS]: Make code unconditional.
57002         [!__ASSUME_32BITUIDS]: Remove conditional code.
57003         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57004         <kernel-features.h>.
57005         [__ASSUME_32BITUIDS]: Make code unconditional.
57006         [!__ASSUME_32BITUIDS]: Remove conditional code.
57007         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57008         <kernel-features.h>.
57009         [__NR_setresgid] (__setresgid): Do not declare.
57010         [__ASSUME_32BITUIDS]: Make code unconditional.
57011         [!__ASSUME_32BITUIDS]: Remove conditional code.
57012         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57013         <kernel-features.h>.
57014         [__NR_setresuid] (__setresuid): Do not declare.
57015         [__ASSUME_32BITUIDS]: Make code unconditional.
57016         [!__ASSUME_32BITUIDS]: Remove conditional code.
57017         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57018         <kernel-features.h>.
57019         [__ASSUME_32BITUIDS]: Make code unconditional.
57020         [!__ASSUME_32BITUIDS]: Remove conditional code.
57021         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57022         <kernel-features.h>.
57023         [__ASSUME_32BITUIDS]: Make code unconditional.
57024         [!__ASSUME_32BITUIDS]: Remove conditional code.
57025         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57026         <kernel-features.h>.
57027         [__ASSUME_32BITUIDS]: Make code unconditional.
57028         [!__ASSUME_32BITUIDS]: Remove conditional code.
57029         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57030         <kernel-features.h>.
57031         [__ASSUME_32BITUIDS]: Make code unconditional.
57032         [!__ASSUME_32BITUIDS]: Remove conditional code.
57033         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57034         <kernel-features.h>.
57035         [__ASSUME_32BITUIDS]: Make code unconditional.
57036         [!__ASSUME_32BITUIDS]: Remove conditional code.
57037         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57038         <kernel-features.h>.
57039         [__ASSUME_32BITUIDS]: Make code unconditional.
57040         [!__ASSUME_32BITUIDS]: Remove conditional code.
57041         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57042         <kernel-features.h>.
57043         [__ASSUME_32BITUIDS]: Make code unconditional.
57044         [!__ASSUME_32BITUIDS]: Remove conditional code.
57045         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57046         <kernel-features.h>.
57047         [__ASSUME_32BITUIDS]: Make code unconditional.
57048         [!__ASSUME_32BITUIDS]: Remove conditional code.
57049         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57050         <kernel-features.h>.
57051         [__ASSUME_32BITUIDS]: Make code unconditional.
57052         [!__ASSUME_32BITUIDS]: Remove conditional code.
57053         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57054         <kernel-features.h>.
57055         [__ASSUME_32BITUIDS]: Make code unconditional.
57056         [!__ASSUME_32BITUIDS]: Remove conditional code.
57057         * sysdeps/unix/sysv/linux/kernel-features.h
57058         (__ASSUME_SETRESUID_SYSCALL): Remove.
57059         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57060         (__ASSUME_32BITUIDS): Likewise.
57061         (__ASSUME_LDT_WORKS): Likewise.
57062         (__ASSUME_O_DIRECTORY): Likewise.
57063         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57064         architecture but not kernel version.
57065         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57066         (__ASSUME_MMAP2_SYSCALL): Likewise.
57067         (__ASSUME_STAT64_SYSCALL): Likewise.
57068         (__ASSUME_IPC64): Likewise.
57069         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57070         <kernel-features.h>.
57071         [__ASSUME_32BITUIDS]: Make code unconditional.
57072         [!__ASSUME_32BITUIDS]: Remove conditional code.
57073         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57074         <kernel-features.h>.
57075         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57076         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57077         132096]: Remove conditional code.
57078         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57079         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57080         <kernel-features.h>.
57081         [__ASSUME_32BITUIDS]: Make code unconditional.
57082         [!__ASSUME_32BITUIDS]: Remove conditional code.
57083         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57084         <kernel-features.h>.
57085         [__ASSUME_32BITUIDS]: Make code unconditional.
57086         [!__ASSUME_32BITUIDS]: Remove conditional code.
57087         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57088         <kernel-features.h>.
57089         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57090         unconditional.
57091         (__setresgid): Do not declare.
57092         [__ASSUME_32BITUIDS]: Make code unconditional.
57093         [!__ASSUME_32BITUIDS]: Remove conditional code.
57094         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57095         <kernel-features.h>.
57096         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57097         unconditional.
57098         (__setresuid): Do not declare.
57099         [__ASSUME_32BITUIDS]: Make code unconditional.
57100         [!__ASSUME_32BITUIDS]: Remove conditional code.
57101         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57102         <kernel-features.h>.
57103         [__ASSUME_32BITUIDS]: Make code unconditional.
57104         [!__ASSUME_32BITUIDS]: Remove conditional code.
57105         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57106         <kernel-features.h>.
57107         [__ASSUME_32BITUIDS]: Make code unconditional.
57108         [!__ASSUME_32BITUIDS]: Remove conditional code.
57110 2012-05-25  Richard Henderson  <rth@twiddle.net>
57112         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57113         dl_hwcap to ifunc resolver.
57114         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57115         elf_ifunc_invoke.
57116         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57117         dl_hwcap to ifunc resolver.
57118         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57120 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57122         [BZ #14153]
57123         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57124         for |x| <= 2**-26, not 2**-57.
57125         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57126         exception.
57128 2012-05-24  Jeff Law  <law@redhat.com>
57130         * stdio-common/Makefile (tests): Add bug25.
57131         * stdio-common/bug25.c: New test.
57133 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57135         [BZ #13576]
57136         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57137         multiple of MALLOC_ALIGNMENT in size.
57138         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57140 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57142         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57143         Require >= 256.
57144         (FILENAME_MAX): Use macro-int-constant.
57145         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57146         (_IOFBF): Use macro-int-constant.
57147         (_IOLBF): Likewise.
57148         (_IONBF): Likewise.
57149         (SEEK_CUR): Likewise.
57150         (SEEK_END): Likewise.
57151         (SEEK_SET): Likewise.
57152         (TMP_MAX): Likewise.
57153         (EOF): Use macro-int-constant.  Require < 0.
57154         (NULL): Use macro-constant.  Require == 0.
57155         (stdin): Require type to be FILE *.
57156         (stdout): Likewise.
57157         (stderr): Likewise.
57158         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57159         macro-int-constant.
57160         (EXIT_SUCCESS): Likewise.
57161         (NULL): Use macro-constant.  Require == 0.
57162         (RAND_MAX): Use macro-int-constant.
57163         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57164         [C99-based standards] (strtof): Require function.
57165         [C99-based standards] (strtold): Likewise.
57166         [C99-based standards] (strtoll): Likewise.
57167         [C99-based standards] (strtoull): Likewise.
57168         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57169         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57170         [ISO || ISO99 || ISO11] (math.h): Likewise.
57171         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57172         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57175 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57177         [BZ #14132]
57178         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57179         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57180         * intl/dgettext.c (DCGETTEXT): Likewise.
57181         * intl/gettext.c (DCGETTEXT): Likewise.
57182         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57183         * posix/regex_internal.h (gettext): Likewise.
57184         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57185         Remove declaration.
57186         * include/argz.h (__argz_count_internal)
57187         (__argz_stringify_internal): Remove declaration.
57188         (__argz_count, __argz_stringify): Declare hidden proto.
57189         * intl/dcgettext.c: Remove use of INTDEF.
57190         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57191         * string/argz-stringify.c: Likewise.
57192         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57193         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57194         Declare hidden proto.
57195         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57196         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57197         Declare hidden proto.
57198         * include/stdio.h (__asprintf_internal): Don't declare.
57199         (__asprintf): Don't define as macro.  Declare hidden proto.
57200         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57201         (__fsetlocking): Declare hidden proto.
57202         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57203         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57204         hidden proto.
57205         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57206         (_IO_setlinebuf): Remove use of INTUSE.
57207         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57208         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57209         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57210         Remove declaration.
57211         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57212         (_IO_do_flush): Remove use of INTUSE.
57213         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57214         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57215         (_IO_adjust_column, _IO_least_wmarker)
57216         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57217         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57218         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57219         (_IO_default_doallocate, _IO_wdefault_doallocate)
57220         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57221         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57222         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57223         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57224         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57225         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57226         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57227         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57228         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57229         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57230         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57231         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57232         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57233         proto.
57234         (_IO_flush_all_internal, _IO_adjust_column_internal)
57235         (_IO_default_uflow_internal, _IO_default_finish_internal)
57236         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57237         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57238         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57239         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57240         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57241         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57242         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57243         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57244         (_IO_file_close_internal, _IO_file_close_it_internal)
57245         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57246         (_IO_file_init_internal, _IO_file_attach_internal)
57247         (_IO_file_fopen_internal, _IO_file_read_internal)
57248         (_IO_file_sync_internal, _IO_file_seek_internal)
57249         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57250         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57251         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57252         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57253         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57254         (_IO_list_all_internal, _IO_link_in_internal)
57255         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57256         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57257         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57258         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57259         (_IO_do_write_internal, _IO_padn_internal)
57260         (_IO_getline_info_internal, _IO_getline_internal)
57261         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57262         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57263         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57264         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57265         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57266         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57267         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57268         with libc_hidden_ver, remove use of INTUSE.
57269         * libio/genops.c: Likewise.
57270         * libio/freopen.c: Likewise.
57271         * libio/freopen64.c: Likewise.
57272         * libio/iofclose.c: Likewise.
57273         * libio/iofdopen.c: Likewise.
57274         * libio/iofflush.c: Likewise.
57275         * libio/iofflush_u.c: Likewise.
57276         * libio/iofgets.c: Likewise.
57277         * libio/iofgets_u.c: Likewise.
57278         * libio/iofopen.c: Likewise.
57279         * libio/iofopncook.c: Likewise.
57280         * libio/iofread.c: Likewise.
57281         * libio/iofread_u.c: Likewise.
57282         * libio/ioftell.c: Likewise.
57283         * libio/iofwrite.c: Likewise.
57284         * libio/iogetline.c: Likewise.
57285         * libio/iogets.c: Likewise.
57286         * libio/iogetwline.c: Likewise.
57287         * libio/iopadn.c: Likewise.
57288         * libio/iopopen.c: Likewise.
57289         * libio/ioseekoff.c: Likewise.
57290         * libio/ioseekpos.c: Likewise.
57291         * libio/iosetbuffer.c: Likewise.
57292         * libio/iosetvbuf.c: Likewise.
57293         * libio/ioungetc.c: Likewise.
57294         * libio/ioungetwc.c: Likewise.
57295         * libio/iovdprintf.c: Likewise.
57296         * libio/iovsprintf.c: Likewise.
57297         * libio/iovsscanf.c: Likewise.
57298         * libio/memstream.c: Likewise.
57299         * libio/obprintf.c: Likewise.
57300         * libio/oldfileops.c: Likewise.
57301         * libio/oldiofclose.c: Likewise.
57302         * libio/oldiofdopen.c: Likewise.
57303         * libio/oldiofopen.c: Likewise.
57304         * libio/oldiopopen.c: Likewise.
57305         * libio/oldstdfiles.c: Likewise.
57306         * libio/putc.c: Likewise.
57307         * libio/setbuf.c: Likewise.
57308         * libio/setlinebuf.c: Likewise.
57309         * libio/stdfiles.c: Likewise.
57310         * libio/strops.c: Likewise.
57311         * libio/vasprintf.c: Likewise.
57312         * libio/vscanf.c: Likewise.
57313         * libio/vsnprintf.c: Likewise.
57314         * libio/vswprintf.c: Likewise.
57315         * libio/wfiledoalloc.c: Likewise.
57316         * libio/wfileops.c: Likewise.
57317         * libio/wgenops.c: Likewise.
57318         * libio/wmemstream.c: Likewise.
57319         * libio/wstrops.c: Likewise.
57320         * libio/__fpurge.c: Likewise.
57321         * libio/__fsetlocking.c: Likewise.
57322         * assert/assert.c: Likewise.
57323         * debug/fgets_chk.c: Likewise.
57324         * debug/fgets_u_chk.c: Likewise.
57325         * debug/fread_chk.c: Likewise.
57326         * debug/fread_u_chk.c: Likewise.
57327         * debug/gets_chk.c: Likewise.
57328         * debug/obprintf_chk.c: Likewise.
57329         * debug/vasprintf_chk.c: Likewise.
57330         * debug/vdprintf_chk.c: Likewise.
57331         * debug/vsnprintf_chk.c: Likewise.
57332         * debug/vsprintf_chk.c: Likewise.
57333         * malloc/mtrace.c: Likewise.
57334         * misc/error.c: Likewise.
57335         * misc/syslog.c: Likewise.
57336         * stdio-common/asprintf.c: Likewise.
57337         * stdio-common/fxprintf.c: Likewise.
57338         * stdio-common/getw.c: Likewise.
57339         * stdio-common/isoc99_fscanf.c: Likewise.
57340         * stdio-common/isoc99_scanf.c: Likewise.
57341         * stdio-common/isoc99_vfscanf.c: Likewise.
57342         * stdio-common/isoc99_vscanf.c: Likewise.
57343         * stdio-common/isoc99_vsscanf.c: Likewise.
57344         * stdio-common/printf-prs.c: Likewise.
57345         * stdio-common/printf_fp.c: Likewise.
57346         * stdio-common/printf_fphex.c: Likewise.
57347         * stdio-common/printf_size.c: Likewise.
57348         * stdio-common/putw.c: Likewise.
57349         * stdio-common/scanf.c: Likewise.
57350         * stdio-common/sprintf.c: Likewise.
57351         * stdio-common/tmpfile.c: Likewise.
57352         * stdio-common/vfprintf.c: Likewise.
57353         * stdio-common/vfscanf.c: Likewise.
57354         * stdlib/strfmon_l.c: Likewise.
57355         * sunrpc/openchild.c: Likewise.
57356         * sunrpc/xdr_stdio.c: Likewise.
57357         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57358         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57360 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57362         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57364         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57365         in the third column, to generate for the shared library an IFUNC
57366         that uses _dl_vdso_vsym.
57367         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57368         * Makeconfig (object-suffixes-noshared): New variable.
57370         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57371         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57372         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57373         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57375         [BZ #14132]
57376         * include/sys/time.h (__gettimeofday): Remove macro.
57377         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57378         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57379         Remove INTDEF.
57380         (__gettimeofday): Add libc_hidden_def.
57381         (gettimeofday): Add libc_hidden_weak.
57382         * sysdeps/mach/gettimeofday.c: Likewise.
57383         * sysdeps/posix/gettimeofday.c: Likewise.
57384         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57385         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57387         (__gettimeofday_internal): Remove strong_alias.
57388         (__gettimeofday): Add libc_hidden_def.
57389         (gettimeofday): Add libc_hidden_weak.
57390         * sysdeps/unix/syscalls.list (gettimeofday):
57391         Remove __gettimeofday_internal alias.
57393 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57394             H.J. Lu  <hongjiu.lu@intel.com>
57396         [BZ #12495]
57397         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57398         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57399         (largebin_index_32_big): New.
57400         (largebin_index): Use it for 16-byte alignment.
57401         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57402         correction with front_misalign.
57404 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57408         Likewise.
57409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57410         Likewise.
57411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57412         Likewise.
57413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57414         Likewise.
57415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57416         Likewise.
57417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57418         Likewise.
57419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57420         Likewise.
57421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57422         Likewise.
57423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57424         Likewise.
57425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57426         Likewise.
57427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57428         Likewise.
57429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57430         Likewise.
57432         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57433         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57437         [BZ #10846]
57438         [BZ #14036]
57439         * math/libm-test.inc (exp_test): Add test from bug 14036.
57440         (pow_test): Add test from bug 10846.
57442         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57443         and other flags.
57444         (special_function): Do not include flags in test name.
57445         (parse_args): Likewise.
57446         * sysdeps/i386/fpu/libm-test-ulps: Update.
57447         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57448         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57452         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57453         exceptions.
57454         * math/libm-test.inc ("Philosophy"): Update comment about
57455         exception testing.
57456         (UNDERFLOW_EXCEPTION): New macro.
57457         (UNDERFLOW_EXCEPTION_OK): Likewise.
57458         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57459         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57460         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57461         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57462         (INVALID_EXCEPTION_OK): Update value.
57463         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57464         (OVERFLOW_EXCEPTION_OK): Likewise.
57465         (IGNORE_ZERO_INF_SIGN): Likewise.
57466         (test_exceptions): Handle underflow exceptions.
57467         (acos_test): Update for underflow exception expectations.
57468         (cexp_test): Likewise.
57469         (clog_test): Likewise.
57470         (clog10_test): Likewise.
57471         (csqrt_test): Likewise.
57472         (ctan_test): Likewise.
57473         (ctanh_test): Likewise.
57474         (exp_test): Likewise.
57475         (exp10_test): Likewise.
57476         (exp2_test): Likewise.
57477         (expm1_test): Likewise.
57478         (fma_test): Likewise.
57479         (j0_test): Likewise.
57480         (jn_test): Likewise.
57481         (nexttoward_test): Likewise.
57482         (pow_test): Likewise.
57483         (scalbn_test): Likewise.
57484         (scalbln_test): Likewise.
57485         (tan_test): Likewise.
57486         (y1_test): Likewise.
57487         * sysdeps/i386/fpu/libm-test-ulps: Update.
57488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57490 2012-05-23  David S. Miller  <davem@davemloft.net>
57492         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57493         (__libc_sigaction): Remove unused local variables.
57495 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57497         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57499 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57501         mktime: avoid signed integer overflow
57502         * time/mktime.c (__mktime_internal): Do not mishandle the case
57503         where diff == INT_MIN.
57505         mktime: simplify computation of average
57506         * time/mktime.c (ranged_convert): Use new time_t_avg function
57507         instead of rolling our own (probably-slower) code.
57509         mktime: do not assume signed right shift propagates sign bit
57510         * time/mktime.c (isdst_differ): New static function.
57511         (__mktime_internal): No need to normalize tm_isdst now.
57512         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57513         tm_isdst values.
57515         mktime: merge another wrapv change from gnulib
57516         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57517         from some compilers.
57519         mktime: remove incorrect attempt at unusual arithmetics
57520         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57521         The code didn't really work on such machines anyway.
57522         (TYPE_MINIMUM): Assume two's complement.
57523         (twos_complement_arithmetic): Verify that long_int and time_t
57524         are two's complement (or unsigned, in the latter case).
57526         mktime: check signed shifts on long_int and time_t, too
57527         * time/mktime.c (SHR): Check that shifts work as desired
57528         on the types long_int and time_t too, as SHR is used on
57529         such types.
57531         mktime: do not assume 'long' is wide enough
57532         * time/mktime.c (verify): Move decl up.
57533         (long_int): New type.
57534         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57535         to remove assumption in the code that 'long' is wide enough to
57536         store year values.  This assumption is not true on x32 and on
57537         some non-glibc platforms.
57539         mktime: merge wrapv change from gnulib
57540         * time/mktime.c (WRAPV): New macro.
57541         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57542         (guess_time_tm, __mktime_internal): Do not assume that signed
57543         integer overflow wraps around; modern compilers generate code
57544         where this assumption is no longer valid.
57546 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57548         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57549         Replace "jmp L(pseudo_end)" with "ret".
57550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57551         Likewise.
57553 2012-05-23  Andreas Jaeger  <aj@suse.de>
57555         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57556         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57558 2012-05-23  Andreas Jaeger  <aj@suse.de>
57559             Maximilian Attems  <max@stro.at>
57561         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57562         New macros.
57564 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57566         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57567         code so that pseudo_end is just ret and the stack pointer is
57568         correct also for static library in error case.
57570 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57572         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57573         move to syscalls.list.
57574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57579         * manual/install.texi (Running make install): Do not mention Linux
57580         kernel version for which pt_chown is not needed.
57581         (Linux): Do not mention problems with nscd with 2.0 kernels.
57582         * INSTALL: Regenerated.
57584 2012-05-23  Andreas Jaeger  <aj@suse.de>
57586         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57587         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57588         macro.
57589         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57590         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57591         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57592         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57593         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57594         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57595         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57596         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57597         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57598         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57599         * sysdeps/unix/sysv/linux/bits/in.h
57600         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57602 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57604         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57605         (PREPARE_VERSION): Just use assert instead, it will be elided
57606         under [NDEBUG] anyway.
57608 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57610         * sysdeps/unix/sysv/linux/Makefile: Include
57611         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57612         (sysdep_routines): Remove sysctl.
57613         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57614         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57615         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57616         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57617         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57619 2012-05-22  Andreas Jaeger  <aj@suse.de>
57621         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57622         that pseudo_end is just ret and the stack pointer is correct also
57623         for static library in error case.
57625 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57627         [BZ #14122]
57628         * nss/nsswitch.c (defconfig_entries): New variable.
57629         (__nss_database_lookup): Don't leak defconfig entries.
57630         (nss_parse_service_list): Don't leak on error paths.
57631         (free_database_entries): New function.
57632         (free_defconfig): New function.
57633         (free_mem): Move common code to free_database_entries.
57635 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57637         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57638         Add arch_prctl.
57639         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57641         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57642         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57644         New macro.
57645         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57646         (INTERNAL_SYSCALL_TYPES): Likewise.
57647         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57648         (LOAD_REGS_TYPES_[1-6]): Likewise.
57649         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57650         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57652 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57654         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57655         copysignl for GLIBC_2_0.
57656         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57657         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57659         logbl for GLIBC_2_0.
57660         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57661         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57663 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57666         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57668         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57669         Use "neg %eax".
57671         * time/mktime.c: Update copyright years.
57673 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57675         mktime: merge comment-quoting-style change from gnulib
57676         * time/mktime.c: Quote 'like this' in comments.
57677         The GNU coding standards suggest that we no longer quote `like this',
57678         as "`" and "'" are typically rendered asymmetrically nowadays.
57679         The typical gnulib style is to quote 'like this' when quoting
57680         code, and "like this" when quoting English.
57682         * time/mktime.c (compile-command): Add "-I.".
57684         mktime: merge mktime-internal.h change from gnulib
57685         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57687         mktime: merge time_r change from gnulib
57688         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57690         mktime: merge DEBUG change from gnulib
57691         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57692         case system <time.h> has a #define.
57694         mktime: merge <sys/types.h> change from gnulib
57695         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57696         since <time.t> is now guaranteed to define time_t.
57698         mktime: merge HAVE_CONFIG_H change from gnulib
57699         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57701 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57704         Use "neg %eax".
57706         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57707         __rlim_t cast.
57708         (struct rusage): Use anonymous union to pad each field to
57709         __syscall_slong_t.
57711 2012-05-21  David S. Miller  <davem@davemloft.net>
57713         * Makefules (o-iterator): Remove .s cases.
57714         (compile-command.s): Delete.
57715         (COMPILE.s): Delete.
57716         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57718 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57720         * configure.in (libc_cv_predef_stack_protector): Only consider
57721         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57722         * configure: Regenerated.
57724 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57727         New macro.  Use R*LP on int and pointer.
57728         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57729         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57730         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57731         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57733         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57734         [__WORDSIZE_TIME64_COMPAT32] instead of
57735         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57736         (struct utmp): Likewise.
57737         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57738         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57739         Renamed to ...
57740         (__WORDSIZE_TIME64_COMPAT32): This.
57741         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57742         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57743         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57744         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57745         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57746         (__WORDSIZE_TIME64_COMPAT32): New macro.
57748 2012-05-21  Andreas Jaeger  <aj@suse.de>
57750         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57751         only if [SHARED]. Add prototype for __wcschr_ia32.
57753 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57755         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57756         of %rbp unmolested in the jmp_buf while mangling the low bits.
57757         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57758         unmolested high bits of %rbp while demangling the low bits.
57759         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57761 2012-05-21  Andreas Jaeger  <aj@suse.de>
57763         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57764         * sunrpc/svc_simple.c: Use it for registerrpc.
57765         * sunrpc/xcrypt.c: Use it for passwd2des.
57767         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57769 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57771         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57772         Don't define if [__SYSCALL_WORDSIZE != 32].
57773         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57774         New macro.
57776 2012-05-21  Bruno Haible  <bruno@clisp.org>
57777             Andreas Jaeger  <aj@suse.de>
57779         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57780         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57781         inptr and inend for must_buffer_ch.
57782         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57783         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57784         * stdio-common/Makefile (tests): Remove bug15.
57785         (bug15-ENV): Remove macro.
57786         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57787         anymore.
57789 2012-05-19  Andreas Jaeger  <aj@suse.de>
57790             Roland McGrath  <roland@hack.frob.com>
57792         * manual/contrib.texi: Completely rewritten. It contains now an
57793         alphabetical list of contributors and their contributions.
57795 2012-05-21  Richard Henderson  <rth@twiddle.net>
57797         * misc/getauxval.c (__getauxval): Use unsigned long int.
57798         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57799         (getauxval): Use unsigned long int.
57801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57803         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57805 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57807         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57808         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57809         __alignof__ (long double).
57811 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57815 2012-05-20  Richard Henderson  <rth@twiddle.net>
57817         * misc/getauxval.c: New file.
57818         * misc/sys/auxv.h: New file.
57819         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57820         (routines): Add getauxval.
57821         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57822         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57823         * elf/dl-sysdep.c (_dl_auxv): Remove.
57824         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57825         * elf/dl-support.c (_dl_auxv): New variable.
57826         (_dl_aux_init): Initialize it.
57827         * manual/startup.texi (Auxiliary Vector): New node.
57828         * sysdeps/generic/bits/hwcap.h: New file.
57829         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57830         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57831         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57832         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57833         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57834         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57836         Update.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57846 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57850 2012-05-19  David S. Miller  <davem@davemloft.net>
57852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57854 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57856         [BZ #14123]
57857         * math/s_ccosh.c: Include <float.h>
57858         (__ccosh): Avoid internal overflow calculating sinh and cosh
57859         values before multiplying by sin and cos values.
57860         * math/s_ccoshf.c: Likewise.
57861         * math/s_ccoshl.c: Likewise.
57862         * math/s_csin.c: Likewise.
57863         * math/s_csinf.c: Likewise.
57864         * math/s_csinl.c: Likewise.
57865         * math/s_csinh.c: Likewise.
57866         * math/s_csinhf.c: Likewise.
57867         * math/s_csinhl.c: Likewise.
57868         * math/libm-test.inc (ccos_test): Add more tests.
57869         (ccosh_test): Likewise.
57870         (csin_test): Likewise.
57871         (csinh_test): Likewise.
57872         * sysdeps/i386/fpu/libm-test-ulps: Update.
57873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57875 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57877         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57878         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57880         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57882 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57884         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57885         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57886         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57887         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57888         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57889         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57890         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57891         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57892         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57893         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57894         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57895         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57896         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57897         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57898         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57899         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57900         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57901         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57902         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57903         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57904         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57905         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57906         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57907         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57908         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57909         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57910         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57911         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57912         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57913         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57914         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57916 2012-05-18  Andreas Jaeger  <aj@suse.de>
57918         * csu/.gitignore: Delete.
57920 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57922         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57923         (timex): Use __syscall_slong_t.
57925 2012-05-18  Andreas Jaeger  <aj@suse.de>
57926             Carlos O'Donell  <carlos_odonell@mentor.com>
57928         * manual/install.texi (Configuring and compiling): Update
57929         description about files modified in the source directory.
57930         * INSTALL: Regenerated.
57932 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57934         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57935         value.  Use "or" to set return value to -1.
57936         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57937         negate return value.
57939 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57941         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57942         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57943         failure if the compiler has Graphite support disabled.
57944         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57945         Likewise.
57946         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57947         (CFLAGS-memmove.c): Likewise.
57948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57949         Likewise.
57951 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57953         * sysdeps/x86_64/x32/_itoa.h: New file.
57955         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57956         getdents system call only if kernel and user dirents have the
57957         same d_ino and d_off.
57959         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57960         LLONG_MAX != LONG_MAX.
57961         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57962         (_fitoa_word): Likewise.
57964         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57965         years.
57966         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57967         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57968         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57970         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57971         include <bits/wordsize.h>.  Check __x86_64__ instead of
57972         __WORDSIZE.
57973         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57974         if __x86_64__ is defined.  Use anonymous union on fpstate.
57976         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57977         anonymous union.
57979 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57981         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57982         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57984         Refer to _rtld_local_ro instead of _rtld_global_ro.
57985         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57986         Likewise.
57987         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57988         Likewise.
57989         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57990         Likewise.
57991         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57992         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57993         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57995         [BZ #10882]
57996         * sysdeps/powerpc/powerpc32/dl-machine.c
57997         (__elf_machine_runtime_setup) [PROF]: Don't reference
57998         _dl_prof_resolve.
58000 2012-05-18  Andreas Jaeger  <aj@suse.de>
58002         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58003         function only available for GCCs before 3.4 since GCC 3.4
58004         introduced a builtin.
58005         (lrint): Likewise.
58006         (llrintf): Likewise.
58007         (llrint): Likewise.
58008         (fmaxf): Likewise.
58009         (fmax): Likewise.
58010         (fminf): Likewise.
58011         (fmin): Likewise.
58012         (rint): Likewise.
58013         (rintf): Likewise.
58014         (nearbyint): Likewise.
58015         (nearbyintf): Likewise.
58016         (ceil): Likewise.
58017         (ceilf): Likewise.
58018         (floor): Likewise.
58019         (floorf): Likewise.
58021 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58023         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58024         on both fields and cast pointer to __syscall_ulong_t.
58026         * bits/types.h (__fsword_t): New type.
58027         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58028         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58030         (__FSWORD_T_TYPE): Likewise.
58031         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58032         (__FSWORD_T_TYPE): Likewise.
58033         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58034         (__FSWORD_T_TYPE): Likewise.
58035         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58036         (__FSWORD_T_TYPE): Likewise.
58037         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58038         __SWORD_TYPE with __fsword_t.
58039         (statfs64): Likewise.
58041 2012-05-17  David S. Miller  <davem@davemloft.net>
58043         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58045 2012-05-17  Andreas Jaeger  <aj@suse.de>
58047         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58048         warning.
58050 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58052         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58054 2012-05-17  Andreas Jaeger  <aj@suse.de>
58056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58057         when it is used.
58059 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58061         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58063 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58065         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58066         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58068 2012-05-17  Andreas Jaeger  <aj@suse.de>
58069             Carlos O'Donell  <carlos_odonell@mentor.com>
58071         [BZ #14059]
58072         * sysdeps/x86_64/multiarch/init-arch.h
58073         (bit_YMM_Usable): Rename to...
58074         (bit_AVX_Usable): ... this.
58075         (bit_FMA4_Usable): New macro.
58076         (bit_XMM_state): New macro.
58077         (bit_YMM_state): New macro.
58078         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58079         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58080         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58081         (CPUID_OSXSAVE): New macro.
58082         (CPUID_AVX): New macro.
58083         (CPUID_FMA4): New macro.
58084         (index_YMM_Usable): Rename to...
58085         (index_AVX_Usable): ... this.
58086         (HAS_AVX): Use HAS_ARCH_FEATURE.
58087         (HAS_FMA4): Likewise.
58088         (HAS_YMM_USABLE): Remove.
58089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58090         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58091         are present.
58092         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58093         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58094         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58095         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58096         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58098 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58100         * math/libm-test.c: Support platforms without multiple rounding modes.
58101         * math/bug-nextafter.c: Support platforms without FP exceptions.
58102         * math/bug-nexttoward.c: Likewise.
58103         * math/test-fenv.c: Likewise.
58104         * math/test-misc.c: Likewise.
58105         * stdlib/bug-getcontext.c: Likewise.
58107 2012-05-17  Andreas Jaeger  <aj@suse.de>
58109         * manual/examples/search.c (critter_cmp): Change signature to
58110         avoid warnings.
58111         * manual/string.texi (Collation Functions): Likewise.
58113 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58115         * bits/types.h: Fold copyright years.
58116         * bits/typesizes.h: Likewise.
58117         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58118         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58120         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58121         * time/time.h: Likewise.
58123 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58125         [BZ #208]
58126         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58127         in instead of returning them.  Return void.
58128         (__libc_mallinfo): Accumulate over all arenas.
58129         (__malloc_stats): Adjust for change in int_mallinfo interface.
58131 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58133         [BZ #10375]
58134         * configure.in (NM): Add AC_CHECK_TOOL for it.
58135         (libc_extra_cflags): New substituted variable.
58136         Check for -fstack-protector being used implicitly.
58137         * configure: Regenerated.
58138         * config.make.in (config-extra-cflags): New variable,
58139         gets @libc_extra_cflags@.
58140         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58142         [BZ #10375]
58143         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58144         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58145         * configure: Regenerated.
58146         * config.make.in (CPPUNDEFS): New substituted variable.
58147         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58148         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58149         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58153         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58154         (mq_attr): Use __syscall_slong_t.
58156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58158         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58159         Check __x86_64__ instead of __WORDSIZE.
58160         (_STAT_VER_LINUX): Likewise.
58161         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58162         __syscall_ulong_t and __syscall_slong_t.
58163         (stat64): Likewise.
58165 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58167         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58169 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58171         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58173 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58175         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58176         __syscall_ulong_t.
58178         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58179         include <bits/wordsize.h>.  Check __x86_64__ instead of
58180         __WORDSIZE.
58181         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58182         defined.
58183         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58185         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58186         include <bits/wordsize.h>.  Check __x86_64__ instead of
58187         __WORDSIZE.
58188         (user_regs_struct): Use "__extension__ unsigned long long"
58189         instead of "unsigned long" if __x86_64__ is defined.
58190         (user): Likewise.  Pad after pointer field if __ILP32__ is
58191         defined.
58193 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58195         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58196         versions 5 to 9.
58197         * configure: Regenerated.
58198         * manual/install.texi (texinfo): Increase version requirement to
58199         4.5 or later.
58200         * INSTALL: Regenerated.
58202         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58206         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58208         * sysdeps/x86_64/x32/ffs.c: New file.
58210         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58211         __syscall_ulong_t.
58212         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58213         defined.  Use __syscall_ulong_t.
58214         (shminfo): Use __syscall_ulong_t.
58215         (shm_info): Likewise.
58217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58218         __syscall_ulong_t.
58220         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58221         <bits/wordsize.h>.
58222         (msgqnum_t): Use __syscall_ulong_t.
58223         (msglen_t): Likewise.
58224         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58225         __syscall_ulong_t.
58227         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58228         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58230         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58232         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58233         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58235         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58236         __syscall_slong_t.
58238         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58239         include <bits/wordsize.h>.  Check __x86_64__ instead of
58240         __WORDSIZE.
58242         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58243         "unsigned long long int" if __x86_64__ is defined.
58244         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58246         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58247         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58248         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58250         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58251         <stdint.h>.
58252         (GET_PC): Cast to uintptr_t first.
58253         (GET_FRAME): Likewise.
58254         (GET_STACK): Likewise.
58256         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58257         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58258         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58259         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58260         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58261         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58262         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58263         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58264         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58265         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58266         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58267         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58268         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58269         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58271         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58272         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58273         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58274         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58275         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58276         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58277         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58278         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58279         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58280         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58281         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58282         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58283         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58284         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58286 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58288         * Makerules (+depfiles): Also collect depfiles from .oS in
58289         $(extra-objs).
58290         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58291         .oS, $(libnldbl-routines)).
58293         * Makerules (native-compile-mkdep-flags): Define.
58294         * sunrpc/Makefile (extra-objs): Add $(addprefix
58295         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58296         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58297         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58298         calling $(make-target-directory).
58300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58302         * bits/types.h (__snseconds_t): Removed.
58303         * time/time.h (struct timespec): Replace __snseconds_t with
58304         __syscall_slong_t.
58305         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58306         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58307         Likewise.
58308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58309         (__SNSECONDS_T_TYPE): Likewise.
58310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58311         (__SNSECONDS_T_TYPE): Likewise.
58312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58313         (__SNSECONDS_T_TYPE): Likewise.
58315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58317         * sysdeps/mach/hurd/bits/typesizes.h
58318         (__SYSCALL_SLONG_TYPE): New macro.
58319         (__SYSCALL_ULONG_TYPE): Likewise.
58321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58323         * bits/types.h (__syscall_slong_t): New type.
58324         (__syscall_ulong_t): Likewise.
58326         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58327         (__SYSCALL_ULONG_TYPE): Likewise.
58328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58329         (__SYSCALL_SLONG_TYPE): Likewise.
58330         (__SYSCALL_ULONG_TYPE): Likewise.
58331         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58332         (__SYSCALL_SLONG_TYPE): Likewise.
58333         (__SYSCALL_ULONG_TYPE): Likewise.
58334         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58335         (__SYSCALL_SLONG_TYPE): Likewise.
58336         (__SYSCALL_ULONG_TYPE): Likewise.
58338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58340         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58341         Add sigaltstack-offsets.sym.
58342         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58343         <sigaltstack-offsets.h>.
58344         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58345         longjmp_msg pointer.
58346         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58347         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58348         signal stack.
58349         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58351 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58353         * elf/stackguard-macros.h: Remove file.
58354         * sysdeps/generic/stackguard-macros.h: New file.
58355         * sysdeps/i386/stackguard-macros.h: Likewise.
58356         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58357         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58358         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58359         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58360         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58361         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58362         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58363         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58364         <elf/stackguard-macros.h>.
58366         [BZ #14109]
58367         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58368         __aligned__ in attribute.
58369         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58370         (gregset_t): Likewise.
58372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58374         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58375         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58376         * sysdeps/x86_64/x32/Implies-after: New file.
58378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58380         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58381         and access return value for _dl_profile_fixup.  Use R10_LP to
58382         load frame size.
58384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58386         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58390         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58391         * sysdeps/x86_64/x32/sysdep.h: New file.
58393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58395         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58396         * sysdeps/x86_64/setjmp.S: Likewise.
58398 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58400         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58401         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58402         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58403         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58404         remove unused global constant.
58406 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58408         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58409         include of <not-cancel.h>.
58411 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58413         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58415 2012-05-15  Jeff Law  <law@redhat.com>
58416             Andreas Jaeger  <aj@suse.de>
58418         [BZ #13594]
58419         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58420         out from...
58421         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58422         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58423         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58424         code changing __hst_map_handle.map.
58426 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58428         * configure.in (sysnames): Look for Implies-before and Implies-after
58429         files.
58430         * configure: Regenerated.
58432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58435         8-byte data alignment with LP_SIZE alignment.
58437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58439         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58440         into R10_LP.
58442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58444         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58448         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58449         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58450         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58451         Likewise.
58452         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58456         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58457         (stackinfo_sub_sp): Likewise.
58459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58462         RAX_LP.
58464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58466         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58467         into R*_LP.
58469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58472         sizes into R*_LP.
58474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58476         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58480         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58481         into R11_LP and load __x86_64_shared_cache_size_half into
58482         R8_LP.
58484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58486         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58487         R8_LP.
58489 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58491         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58492         logb for POWER7.
58493         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58494         logbf for POWER7.
58495         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58496         logbl for POWER7.
58497         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58498         powerpc32/power7/fpu/s_logb.c via #include.
58499         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58500         powerpc32/power7/fpu/s_logbf.c via #include.
58501         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58502         powerpc32/power7/fpu/s_logbl.c via #include.
58504 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58506         * README.libm: Remove file.
58508 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58510         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58511         count for x32.  Use R*_LP and omit operand-size suffix.
58513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58515         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58516         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58517         * sysdeps/x86_64/x32/shlib-versions: New file.
58519 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58521         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58522         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58523         Use _dl_fatal_printf instead.
58525 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58527         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58528         set if not set by the user.  Do not allow for being unset.
58529         * sysdeps/unix/sysv/linux/configure: Regenerated.
58531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58533         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58534         the `q' suffix from lea and replace .quad with ASM_ADDR.
58536 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58539         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58540         instead of $17.
58541         (PTR_DEMANGLE): Likewise.
58543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58545         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58546         (LP_OP): Likewise.
58547         (ASM_ADDR): Likewise.
58548         (RAX_LP): Likewise.
58549         (RBP_LP): Likewise.
58550         (RBX_LP): Likewise.
58551         (RCX_LP): Likewise.
58552         (RDI_LP): Likewise.
58553         (RSI_LP): Likewise.
58554         (RSP_LP): Likewise.
58555         (R8_LP): Likewise.
58556         (R9_LP): Likewise.
58557         (R10_LP): Likewise.
58558         (R10_LP): Likewise.
58559         (R11_LP): Likewise.
58560         (R12_LP): Likewise.
58561         (R13_LP): Likewise.
58562         (R14_LP): Likewise.
58563         (R15_LP): Likewise.
58565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58567         * sysdeps/x86_64/x32/dl-machine.h: New file.
58569 2012-05-14  Andreas Jaeger  <aj@suse.de>
58571         * manual/Makefile (subdir): Remove export of subdir.
58572         (all): Remove target.
58573         (.PHONY): Remove all from list.
58574         (mkinstalldirs): Remove.
58575         (.PHONY): Remove installdirs from list.
58576         ($(inst_infodir)/libc.info): Use make-target-directory.
58577         (installdirs): Remove.
58578         (subdir_%): Remove.
58579         (glibc-targets): Remove.
58580         (lib): Remove.
58581         (stubs): Remove.
58582         ($(objpfx)stubs ../po/manual.pot): Remove.
58583         ($(objpfx)stamp%): Remove.
58584         (make-target-directory): Remove.
58585         (subdir_install): Remove.
58586         (routines): Remove.
58587         (aux): Remove.
58588         (sources): Remove.
58589         (objects): Remove.
58590         (headers): Remove.
58592         [BZ #13750]
58593         * manual/.gitignore: Remove, it's not needed anymore.
58594         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58595         all files in it.
58596         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58597         directory.
58598         (texis): Renamed to $(objpfx)texis.
58599         (texis-path): New, contains path to generated files.
58600         (chapters.%): Use texis-path for complete path, add extra argument
58601         libc-texinfo.sh.
58602         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58603         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58604         (summary,texi, stamp-summary): Use complete path of
58605         files. Generate files in build dir.
58606         (dir-add.texi): Build in build dir.
58607         (libm-err.texi,stamp-libm-err): Likewise.
58608         (version.texi, stamp-version): Likewise.
58609         (.%c.texi): Likewise.
58610         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58611         (mostlyclean): Remove target.
58612         (realclean): Remove target.
58613         (generated): Add new variable with contents from mostlyclean and
58614         realclean, remove entries duplicated in common-mostlyclean, add
58615         stamp-libm-err and stamp-version.
58616         (generated-dirs): Add libc directory.
58617         ($(inst_infodir)/libc.info): Install files from build dir.
58619         * manual/install.texi (Configuring and compiling): Adjust since
58620         the info files are not part of the tar ball anymore.
58622 2012-05-14  Andreas Jaeger  <aj@suse.de>
58624         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58625         variable.
58627 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58629         [BZ #13717]
58630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58631         to 2.2.0 where earlier.
58632         * sysdeps/unix/sysv/linux/configure: Regenerated.
58633         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58634         Remove conditional code.
58635         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58636         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58637         Remove conditional code.
58638         [!__NR_lchown]: Likewise.
58639         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58640         [__NR_lchown]: Likewise.
58641         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58642         comment referencing __ASSUME_LCHOWN_SYSCALL.
58643         * sysdeps/unix/sysv/linux/i386/sigaction.c
58644         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58645         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58646         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58647         Remove conditional code.
58648         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58649         (__protocol_available): Remove #if 0 code.
58650         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58651         conditional code.
58652         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58653         * sysdeps/unix/sysv/linux/kernel-features.h
58654         (__ASSUME_GETCWD_SYSCALL): Don't define.
58655         (__ASSUME_REALTIME_SIGNALS): Likewise.
58656         (__ASSUME_PREAD_SYSCALL): Likewise.
58657         (__ASSUME_PWRITE_SYSCALL): Likewise.
58658         (__ASSUME_POLL_SYSCALL): Likewise.
58659         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58660         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58661         non-SPARC.
58662         (__ASSUME_SIOCGIFNAME): Don't define.
58663         (__ASSUME_MSG_NOSIGNAL): Likewise.
58664         (__ASSUME_SENDFILE): Define unconditionally.
58665         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58666         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58667         conditional code.
58668         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58669         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58670         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58671         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58672         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58673         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58674         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58676         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58688         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58691         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58694         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58695         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58697         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58698         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58699         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58700         Remove conditional code.
58701         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58702         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58703         Remove conditional code.
58704         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58705         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58706         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58707         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58708         Remove conditional code.
58709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58710         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58711         Remove conditional code.
58712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58713         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58714         Remove conditional code.
58715         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58716         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58717         Remove conditional code.
58718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58719         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58720         Remove conditional code.
58721         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58722         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58723         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58725         * sysdeps/unix/sysv/linux/sigaction.c
58726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58728         * sysdeps/unix/sysv/linux/sigpending.c
58729         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58730         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58731         * sysdeps/unix/sysv/linux/sigprocmask.c
58732         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58733         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58734         * sysdeps/unix/sysv/linux/sigsuspend.c
58735         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58736         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58737         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58738         (__libc_missing_rt_sigs): Remove.
58739         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58740         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58741         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58742         Remove conditional code.
58743         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58744         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58745         return 1.
58746         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58747         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58748         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58749         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58751 2012-05-14  Andreas Jaeger  <aj@suse.de>
58753         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58754         it's not used in glibc.
58755         (__coshm1): Likewise.
58756         (__acosh1p): Likewise.
58757         (__sgn): Likewise.
58759         * manual/string.texi (Copying and Concatenation): Add missing
58760         variable in concat example.
58761         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58765         [BZ #14103]
58766         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58767         __builtin_clzl with __builtin_clzll.
58769 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58771         [BZ #14104]
58772         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58773         libc_freeres_ptr.
58775 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58777         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58778         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58779         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58780         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58782 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58784         * NEWS: Update ia64 info.
58786 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58788         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58789         used as bcopy.
58791 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58793         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58794         * sysdeps/unix/syscalls.list (dup3): Likewise.
58795         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58796         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58798 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58800         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58801         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58803 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58805         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58806         thread pointer.
58807         (TLS_IE): Use mov/add instead of movq/addq to load thread
58808         pointer.
58809         (TLS_GD_PREFIX): New.
58810         (TLS_GD): Use it.
58812 2012-05-11  David S. Miller  <davem@davemloft.net>
58814         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58815         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58816         (_FPU_SETCW): Likewise.
58818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58820         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58821         is 32-byte aligned.
58823 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58825         [BZ #11837]
58826         * iconvdata/gb18030.c: Update tables.
58827         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58828         characters specially.
58829         (BODY for TO_LOOP): Add encoding of missing ranges.
58831 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58833         [BZ #13673]
58834         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58835         * sysdeps/mach/hurd/dup3.c: Likewise.
58836         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58837         * sysdeps/powerpc/memmove.c:: Likewise.
58839 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58842         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58844 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58846         * elf/elf.h (R_X86_64_RELATIVE64): New.
58847         (R_X86_64_NUM): Updated.
58848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58849         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58850         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58851         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58852         tst-quad1pie tst-quad2pie
58853         (modules-names): Add tst-quadmod1 tst-quadmod2.
58854         ($(objpfx)tst-quad1): New dependency.
58855         ($(objpfx)tst-quad2): Likewise.
58856         ($(objpfx)tst-quad1pie): Likewise.
58857         ($(objpfx)tst-quad2pie): Likewise.
58858         * sysdeps/x86_64/tst-quad1.c: New file.
58859         * sysdeps/x86_64/tst-quad1pie.c: New file.
58860         * sysdeps/x86_64/tst-quad2.c: Likewise.
58861         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58862         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58863         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58864         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58865         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58869         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58870         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58871         * streams/stropts.h (t_scalar_t): Define type.
58873         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58874         (_PATH_PRESERVE): Set to "/var/lib".
58875         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58877         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58878         instead of int.
58880         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58881         if __dir_mkfile succeeded.
58883         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58884         checking for _hurd_dtablesize.  Unlock it right after having
58885         finished _hurd_dtable allocation.
58887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58889         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58890         * sysdeps/mach/hurd/configure: Regenerated.
58891         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58892         special-casing to...
58893         * sysdeps/gnu/configure.in: ... this new file.
58894         * sysdeps/unix/sysv/linux/configure: Regenerated.
58895         * sysdeps/gnu/configure: New generated file.
58897         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58898         for Linux: use nsec instead of usec, as well as:
58899         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58900         members of type struct timespec.
58901         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58902         New macros.
58903         (struct stat64): Likewise.
58904         (_STATBUF_ST_NSEC): New macro.
58905         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58907         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58908         __strtoul_internal rather than strtoul.
58910 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58912         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58913         and reject them.
58915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58917         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58918         which preserves existing values.
58919         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58921 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58923         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58924         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58925         greater than FD_SETSIZE.
58927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58929         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58930         allocated, call __vm_protect to finish enabling the existing space, and
58931         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58932         allocate the remainder.
58934 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58936         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58937         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58941         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58942         sysdeps/mach/hurd/readlink.c.
58944         * posix/tst-sysconf.c (posix_options): Only use
58945         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58946         _POSIX_SYNCHRONIZED_IO when they are defined
58947         * sysdeps/mach/hurd/bits/posix_opt.h:
58948         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58949         (_XOPEN_REALTIME): Undefine macro.
58950         (_XOPEN_REALTIME_THREADS): Undefine macro.
58951         (_XOPEN_SHM): Undefine macro.
58952         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58953         macro to -1.
58954         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58955         macro to -1.
58956         (_POSIX_ASYNC_IO): Undefine macro.
58957         (_POSIX_PRIORITIZED_IO): Undefine macro.
58958         (_POSIX_SPIN_LOCKS): Define macro to -1.
58960         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58961         SA_NODEFER, SA_RESETHAND.
58962         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58963         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58964         F_DUPFD_CLOEXEC.
58966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58968         * elf/Makefile (pldd-modules): Define unconditionally.
58970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58972         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58976         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58977         Return ENOENT when name is empty.
58978         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58980 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58982         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58984         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58988         Fix mlock in all cases except non-readable pages.
58989         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58990         instead of VM_PROT_ALL as parameter to __vm_wire function.
58992         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58993         (__mkdir): When path is `/', just fail with EEXIST.
58994         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58998         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58999         <sys/uio.h> (for writev).
59000         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59001         and <sys/param.h> (for MIN).
59003 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59005         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59006         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59007         if interrupted.
59009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59011         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59012         Depend on against $(link-rpcuserlibs).
59014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59016         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59017         (__libc_stack_end): Do not use attribute_relro.
59018         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59019         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59020         to libthread-provided value.
59021         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59022         attribute_relro.
59024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59026         [BZ #3748]
59027         * bits/libc-lock.h (__libc_once_get): New macro.
59028         * sysdeps/mach/bits/libc-lock.h: Likewise.
59029         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59031         instead of using implementation details.
59033         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59034         * libio/freopen.c: Likewise.
59035         * libio/freopen64.c: Likewise.
59036         * misc/syslog.c: Likewise.
59037         * nscd/connections.c: Likewise.
59038         * nscd/netgroupcache.c: Likewise.
59039         * sysdeps/posix/getcwd.c: Likewise.
59041 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59043         * math/w_ilogbf.c: Add #include <limits.h>.
59045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59047         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59048         path instead of returning without unlocking.
59050         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59051         immediate-write ioctls.
59052         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59056         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59057         __builtin_frame_address instead of making assumptions about the
59058         location of the return address relative to DATA.  Force early load of
59059         the return address.
59060         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59061         __builtin_frame_address.
59063         dup3 for GNU Hurd.
59064         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59065         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59066         implement dup3 and do some further code clean-ups.
59067         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59068         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59072         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59074         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59075         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59076         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59077         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59078         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59079         d->port.lock.
59081         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59082         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59083         when handler == SIG_ERR, not when handler != SIG_ERR.
59085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59087         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59088         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59089         definitions.
59091         accept4 for GNU Hurd.
59092         * include/sys/socket.h (__libc_accept4): New prototype.
59093         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59094         to implement __libc_accept4.
59095         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59096         __libc_accept4.
59097         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59099         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59100         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59101         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59102         signal-defines.sym.
59104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59106         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59108 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59110         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59111         assertion on O_CLOEXEC flag.
59112         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59113         * hurd/intern-fd.c: Likewise.
59114         * hurd/port2fd.c: Likewise.
59116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59118         [BZ #3906]
59119         * bits/in.h (IPV6_PKTINFO): Define new macro.
59120         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59122 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59124         [BZ #13954]
59125         [BZ #13955]
59126         [BZ #13956]
59127         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59129         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59130         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59131         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59132         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59133         * math/libm-test.inc (logb_test) : Additional logb tests.
59135 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59136             Andreas Jaeger  <aj@suse.de>
59138         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59139         * configure: Regenerated.
59140         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59141         * config.make.in (link-obsolete-rpc): New substituted variable.
59142         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59143         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59144         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59145         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59146         so that libc.a contains the symbols.
59147         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59148         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59149         * sunrpc/auth_none.c: Likewise.
59150         * sunrpc/auth_unix.c: Likewise.
59151         * sunrpc/authdes_prot.c: Likewise.
59152         * sunrpc/authuxprot.c: Likewise.
59153         * sunrpc/clnt_gen.c: Likewise.
59154         * sunrpc/clnt_perr.c: Likewise.
59155         * sunrpc/clnt_raw.c: Likewise.
59156         * sunrpc/clnt_simp.c: Likewise.
59157         * sunrpc/clnt_tcp.c: Likewise.
59158         * sunrpc/clnt_udp.c: Likewise.
59159         * sunrpc/clnt_unix.c: Likewise.
59160         * sunrpc/des_crypt.c: Likewise.
59161         * sunrpc/des_soft.c: Likewise.
59162         * sunrpc/get_myaddr.c: Likewise.
59163         * sunrpc/key_call.c: Likewise.
59164         * sunrpc/key_prot.c: Likewise.
59165         * sunrpc/netname.c: Likewise.
59166         * sunrpc/pm_getmaps.c: Likewise.
59167         * sunrpc/pm_getport.c: Likewise.
59168         * sunrpc/pmap_clnt.c: Likewise.
59169         * sunrpc/pmap_prot.c: Likewise.
59170         * sunrpc/pmap_prot2.c: Likewise.
59171         * sunrpc/pmap_rmt.c: Likewise.
59172         * sunrpc/publickey.c: Likewise.
59173         * sunrpc/rpc_cmsg.c: Likewise.
59174         * sunrpc/rpc_common.c: Likewise.
59175         * sunrpc/rpc_dtable.c: Likewise.
59176         * sunrpc/rpc_prot.c: Likewise.
59177         * sunrpc/rpc_thread.c: Likewise.
59178         * sunrpc/rtime.c: Likewise.
59179         * sunrpc/svc.c: Likewise.
59180         * sunrpc/svc_auth.c: Likewise.
59181         * sunrpc/svc_raw.c: Likewise.
59182         * sunrpc/svc_run.c: Likewise.
59183         * sunrpc/svc_tcp.c: Likewise.
59184         * sunrpc/svc_udp.c: Likewise.
59185         * sunrpc/svc_unix.c: Likewise.
59186         * sunrpc/svcauth_des.c: Likewise.
59187         * sunrpc/xcrypt.c: Likewise.
59188         * sunrpc/xdr.c: Likewise.
59189         * sunrpc/xdr_array.c: Likewise.
59190         * sunrpc/xdr_float.c: Likewise.
59191         * sunrpc/xdr_intXX_t.c: Likewise.
59192         * sunrpc/xdr_mem.c: Likewise.
59193         * sunrpc/xdr_rec.c: Likewise.
59194         * sunrpc/xdr_ref.c: Likewise.
59195         * sunrpc/xdr_sizeof.c: Likewise.
59196         * sunrpc/xdr_stdio.c: Likewise.
59198 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59201         change.  Update copyright years.
59203 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59205         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59207 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59208             Joseph Myers  <joseph@codesourcery.com>
59209             Paul Pluzhnikov  <ppluzhnikov@google.com>
59211         [BZ #14012]
59212         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59213         requiring rpcgen.
59214         [cross-compiling] (extra-libs): Likewise.
59215         [cross-compiling] (extra-libs-others): Likewise.
59216         [cross-compiling] (librpcsvc-routines): Likewise.
59217         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59218         [cross-compiling] (omit-deps): Likewise.
59219         (sunrpc-CPPFLAGS): New variable.
59220         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59221         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59222         (cross-rpcgen-objs): New variable.
59223         (extra-objs): Append $(cross-rpcgen-objs).
59224         ($(cross-rpcgen-objs)): New rule.
59225         ($(objpfx)cross-rpcgen): Likewise.
59226         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59227         comment.
59228         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59229         ($(objpfx)x%.stmp): Likewise.
59230         * sunrpc/proto.h [IS_IN_build] (_): Define.
59231         [IS_IN_build] (_libc_intl_domainname): Likewise.
59233 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59235         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59236         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59237         and R_X86_64_TPOFF64.
59239 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59241         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59242         sysdeps/unix/sysv/syscalls.list.
59243         (stime): Likewise.
59244         (utime): Likewise.
59245         * sysdeps/unix/sysv/syscalls.list: Remove file.
59247 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59249         [BZ #3440]
59250         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59251         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59252         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59253         (__LC_IDENTIFICATION): Make these macros useful in #if
59254         expressions, as required by C99.
59256 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59258         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59259         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59260         after this.
59262 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59264         * stdlib/longlong.h: Updated from GCC.
59266 2012-05-09  Andreas Jaeger  <aj@suse.de>
59268         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59269         default is first entry.
59270         (run_mode): Set type.
59271         (main): Remove informal message about syslog.
59272         (options): Fix typo.
59274         [BZ #14053]
59275         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59276         to asm.
59277         (lrint): Likewise.
59278         (llrintf): Likewise.
59279         (llrint): Likewise.
59280         (rint): Likewise.
59281         (rintf): Likewise.
59282         (nearbyint): Likewise.
59283         (nearbyintf): Likewise.
59285 2012-05-09  Andreas Jaeger  <aj@suse.de>
59286             Pedro Alves  <palves@redhat.com>
59288         * nscd/nscd.c (run_mode): Use enum.
59289         (main): Cleanup coding style issue.
59291 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59292             Andreas Jaeger  <aj@suse.de>
59294         * nscd/nscd.c (go_background): Replaced with...
59295         (run_mode): ... this.
59296         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59297         (options): Add -F --foreground.
59298         (main): Implement it.
59299         (parse_opt): Parse it.
59301 2012-05-09  Andreas Jaeger  <aj@suse.de>
59303         [BZ #14083]
59304         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59305         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59306         -Wconversion warning.
59307         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59308         Likewise.
59310 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59312         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59313         == 0.
59314         (LC_ALL): Use macro-int-constant.
59315         (LC_COLLATE): Likewise.
59316         (LC_CTYPE): Likewise.
59317         (LC_MESSAGES): Likewise.
59318         (LC_MONETARY): Likewise.
59319         (LC_NUMERIC): Likewise.
59320         (LC_TIME): Likewise.
59321         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59322         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59323         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59324         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59325         Specify type.
59326         [C99-based standards] (float_t): Expect type.
59327         [C99-based standards] (double_t): Expect type.
59328         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59329         type.
59330         [C99-based standards] (HUGE_VALL): Likewise.
59331         [C99-based standards] (INFINITY): Likewise.
59332         [C99-based standards] (NAN): Likewise.
59333         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59334         [C99-based standards] (FP_NAN): Likewise.
59335         [C99-based standards] (FP_NORMAL): Likewise.
59336         [C99-based standards] (FP_SUBNORMAL): Likewise.
59337         [C99-based standards] (FP_ZERO): Likewise.
59338         [C99-based standards] (FP_FAST_FMA): Use
59339         optional-macro-int-constant.  Specify type.  Require == 1.
59340         [C99-based standards] (FP_FAST_FMAF): Likewise.
59341         [C99-based standards] (FP_FAST_FMAL): Likewise.
59342         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59343         [C99-based standards] (FP_ILOGBNAN): Likewise.
59344         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59345         Specify type.
59346         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59347         [C99-based standards] (math_errhandling): Specify type.
59348         [ISO99 || ISO11] (signgam): Do not allow.
59349         [non-C99-based standards] (copysignf): Do not allow.
59350         [non-C99-based standards] (exp2f): Likewise.
59351         [non-C99-based standards] (log2f): Likewise.
59352         [non-C99-based standards] (modff): Allow.
59353         [non-C99-based standards] (erff): Do not allow.
59354         [non-C99-based standards] (erfcf): Likewise.
59355         [non-C99-based standards] (gammaf): Likewise.
59356         [non-C99-based standards] (hypotf): Likewise.
59357         [non-C99-based standards] (j0f): Likewise.
59358         [non-C99-based standards] (j1f): Likewise.
59359         [non-C99-based standards] (jnf): Likewise.
59360         [non-C99-based standards] (lgammaf): Likewise.
59361         [non-C99-based standards] (tgammaf): Likewise.
59362         [non-C99-based standards] (y0f): Likewise.
59363         [non-C99-based standards] (y1f): Likewise.
59364         [non-C99-based standards] (ynf): Likewise.
59365         [non-C99-based standards] (isnanf): Likewise.
59366         [non-C99-based standards] (acoshf): Likewise.
59367         [non-C99-based standards] (asinhf): Likewise.
59368         [non-C99-based standards] (atanhf): Likewise.
59369         [non-C99-based standards] (cbrtf): Likewise.
59370         [non-C99-based standards] (expm1f): Likewise.
59371         [non-C99-based standards] (ilogbf): Likewise.
59372         [non-C99-based standards] (log1pf): Likewise.
59373         [non-C99-based standards] (logbf): Likewise.
59374         [non-C99-based standards] (nextafterf): Likewise.
59375         [non-C99-based standards] (remainderf): Likewise.
59376         [non-C99-based standards] (rintf): Likewise.
59377         [non-C99-based standards] (scalbf): Likewise.
59378         [non-C99-based standards] (copysignl): Likewise.
59379         [non-C99-based standards] (exp2l): Likewise.
59380         [non-C99-based standards] (log2l): Likewise.
59381         [non-C99-based standards] (modfl): Allow.
59382         [non-C99-based standards] (erfl): Do not allow.
59383         [non-C99-based standards] (erfcl): Likewise.
59384         [non-C99-based standards] (gammal): Likewise.
59385         [non-C99-based standards] (hypotl): Likewise.
59386         [non-C99-based standards] (j0l): Likewise.
59387         [non-C99-based standards] (j1l): Likewise.
59388         [non-C99-based standards] (jnl): Likewise.
59389         [non-C99-based standards] (lgammal): Likewise.
59390         [non-C99-based standards] (tgammal): Likewise.
59391         [non-C99-based standards] (y0l): Likewise.
59392         [non-C99-based standards] (y1l): Likewise.
59393         [non-C99-based standards] (ynl): Likewise.
59394         [non-C99-based standards] (isnanl): Likewise.
59395         [non-C99-based standards] (acoshl): Likewise.
59396         [non-C99-based standards] (asinhl): Likewise.
59397         [non-C99-based standards] (atanhl): Likewise.
59398         [non-C99-based standards] (cbrtl): Likewise.
59399         [non-C99-based standards] (expm1l): Likewise.
59400         [non-C99-based standards] (ilogbl): Likewise.
59401         [non-C99-based standards] (log1pl): Likewise.
59402         [non-C99-based standards] (logbl): Likewise.
59403         [non-C99-based standards] (nextafterl): Likewise.
59404         [non-C99-based standards] (remainderl): Likewise.
59405         [non-C99-based standards] (rintl): Likewise.
59406         [non-C99-based standards] (scalbl): Likewise.
59407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59408         [non-C99-based standards] (FP_*): Do not allow.
59409         [C99-based standards] (FP_*): Change to
59410         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59411         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59412         allow.
59413         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59414         (SIG_ERR): Likewise.
59415         [X/Open-based standards] (SIG_HOLD): Likewise.
59416         (SIG_IGN): Likewise.
59417         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59418         positive value.
59419         (SIGFPE): Likewise.
59420         (SIGILL): Likewise.
59421         (SIGINT): Likewise.
59422         (SIGSEGV): Likewise.
59423         (SIGTER): Likewise.
59424         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59425         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59426         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59427         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59428         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59429         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59430         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59431         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59432         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59433         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59434         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59435         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59436         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59437         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59438         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59439         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59440         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59441         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59442         [X/Open-based standards] (SIGTRAP): Likewise.
59443         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59444         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59445         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59446         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59447         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59448         allow.
59450 2012-05-08  Ian Wienand  <ianw@vmware.com>
59452         [BZ #14080]
59453         * time/tzset.c (__tzset_parse_tz): Update default rules for
59454         daylight time changes in the Energy Policy Act of 2005.
59456 2012-05-09  Andreas Jaeger  <aj@suse.de>
59458         [BZ #13983]
59459         * elf/ldconfig.c (parse_conf): Change string to make clear that
59460         ldconfig only issued a warning if ld.so.conf does not exist.
59462 2012-05-08  David S. Miller  <davem@davemloft.net>
59464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59465         movxtod instead of popping the value on the stack.
59467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59469 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59471         * config.h.in: Add HAVE_ARM_PCS_VFP.
59473 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59475         [BZ #13979]
59476         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59477         checking but the checks are disabled for any reason.
59479 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59481         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59482         and ELF64_R_TYPE with ELFW(R_TYPE).
59484 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59486         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59487         (ulimit): Likewise.
59489         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59490         (settimeofday): Likewise.
59492 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59494         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59495         a struct th_u2 inside the union, and move tu_block/tu_code into
59496         a new th_u3 union of tu_block/tu_code inside of that.  Move
59497         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59498         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59499         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59500         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59501         (th_stuff): Change to th_u1.tu_stuff.
59502         (th_data): Define.
59503         (th_msg): Change to th_u1.th_u2.tu_data.
59505 2012-05-07  David S. Miller  <davem@davemloft.net>
59507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59509         [BZ #14074]
59510         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59511         (SETUP_PIC_REG): Use it.
59512         (SETUP_PIC_REG_LEAF): Use it.
59514 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59516         [BZ #13885]
59517         [BZ #13923]
59518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59519         USE_AS_EXPM1L.
59520         (EXPL_FINITE): Likewise.
59521         (FLDLOG): Likewise.
59522         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59523         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59524         e_expl.S.
59525         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59526         USE_AS_EXPM1L.
59527         (EXPL_FINITE): Likewise.
59528         (FLDLOG): Likewise.
59529         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59530         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59531         e_expl.S.
59532         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59533         test of -max_value argument for long double.
59534         * sysdeps/i386/fpu/libm-test-ulps: Update.
59535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59537 2012-05-06  David S. Miller  <davem@davemloft.net>
59539         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59540         quad soft-float symbols whose references which are compiler
59541         generated.
59542         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59544 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59546         [BZ #13884]
59547         [BZ #13914]
59548         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59549         USE_AS_EXP10L.
59550         (EXPL_FINITE): Likewise.
59551         (FLDLOG): Likewise.
59552         (c0): Likewise.
59553         (c1): Likewise.
59554         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59555         Adjust comments for base varying.
59556         (__expl_finite): Change alias to EXPL_FINITE.
59557         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59558         e_expl.S.
59559         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59560         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59561         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59562         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59564         USE_AS_EXP10L.
59565         (EXPL_FINITE): Likewise.
59566         (FLDLOG): Likewise.
59567         (c0): Likewise.
59568         (c1): Likewise.
59569         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59570         Adjust comments for base varying.
59571         (__expl_finite): Change alias to EXPL_FINITE.
59572         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59573         tests for bugs.
59574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59576         [BZ #14064]
59577         * math/libm-test.inc (check_float_internal): Correct ulp
59578         calculation for subnormal expected results.
59580 2012-05-06  Andreas Jaeger  <aj@suse.de>
59582         * Makeconfig (+math-flags): New, set to -frounding-math.
59583         (+cflags): Add +math-flags so that all of glibc gets compiled with
59584         it.
59586         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59588 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59590         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59591         Disable one test.
59593         [BZ #13787]
59594         [BZ #13922]
59595         [BZ #14036]
59596         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59597         (__ieee754_expl): Allow for and saturate large arguments.
59598         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59599         (u_threshold): Likewise.
59600         (__exp): Call __ieee754_exp before checking for overflow and
59601         underflow.
59602         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59603         (u_threshold): Likewise.
59604         (__expf): Call __ieee754_expf before checking for overflow and
59605         underflow.
59606         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59607         (u_threshold): Likewise.
59608         (__expl): Call __ieee754_expl before checking for overflow and
59609         underflow.
59610         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59611         (__ieee754_expl): Allow for and saturate large arguments.
59612         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59613         missing overflow exception on overflow.
59614         (expm1_test): Do not allow missing overflow exception on overflow.
59616         * sysdeps/i386/fpu/e_expl.c: Move to ...
59617         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59618         rather than using inline asm.
59619         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59620         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59621         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59623         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59624         (nice): Likewise.
59625         (poll): Likewise.
59626         (signal): Likewise.
59627         (time): Likewise.
59628         (times): Likewise.
59630 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59632         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59633         sysdeps/unix/common/syscalls.list.
59634         (fchmod): Likewise.
59635         (fchown): Likewise.
59636         (ftruncate): Likewise.
59637         (getrusage): Likewise.
59638         (gettimeofday): Likewise.
59639         (setpgid): Likewise.
59640         (setregid): Likewise.
59641         (setreuid): Likewise.
59642         (sigaction): Likewise.
59643         (truncate): Likewise.
59644         (vhangup): Likewise.
59645         * sysdeps/unix/common/syscalls.list: Remove file.
59646         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59647         * sysdeps/unix/sysv/linux/Implies: Likewise.
59649 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59651         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59653         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59654         Moved to ...
59655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59656         Here.
59657         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59658         to ...
59659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59660         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59661         to ...
59662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59663         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59664         to ...
59665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59666         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59667         to ...
59668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59669         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59670         to ...
59671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59672         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59673         to ...
59674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59675         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59676         to ...
59677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59678         Here.
59679         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59680         to ...
59681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59682         Here.
59683         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59684         to ...
59685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59686         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59687         Moved to ...
59688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59689         Here.
59690         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59691         to ...
59692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59694 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59696         * sysdeps/unix/common/bits/dirent.h: Remove file.
59697         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59699         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59700         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59701         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59702         * sysdeps/unix/bsd/isatty.c: Likewise.
59703         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59704         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59705         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59707 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59709         [BZ #13563]
59710         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59711         long double comparison inaccuracies.
59712         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59715 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59717         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59720 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59722         [BZ #14049]
59723         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59724         nonzero digits before rounding a hex value.
59725         * stdlib/tst-strtod.c (tests): Add another test.
59727 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59729         * sysdeps/s390/fpu/libm-test-ulps: Update.
59731 2012-05-03  Andreas Jaeger  <aj@suse.de>
59733         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59734         does not get optimized out.
59735         (malloc_opt_barrier): New.
59737 2012-05-03  Andreas Jaeger  <aj@suse.de>
59738             Roland McGrath  <roland@hack.frob.com>
59740         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59741         intermediate file deletion.
59742         (generated): Add .symlist files.
59744 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59746         [BZ #13775]
59747         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59748         Redirect under this condition.
59749         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59750         [__USE_GNU] (__dprintf_chk): Not under this condition.
59751         [__USE_GNU] (__vdprintf_chk): Likewise.
59752         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59753         under this condition.
59754         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59755         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59756         [__USE_XOPEN2K8] (vdprintf): Likewise.
59757         [__USE_GNU] (__dprintf_chk): Not under this condition.
59758         [__USE_GNU] (__vdprintf_chk): Likewise.
59759         [__USE_GNU] (dprintf): Likewise.
59760         [__USE_GNU] (vdprintf): Likewise.
59762 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59764         * elf/Makefile (common-generated): Set this instead of generated for
59765         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59766         $(all-built-dso)-derived lists.
59768 2012-05-03  Andreas Jaeger  <aj@suse.de>
59770         * sysdeps/i386/fpu/libm-test-ulps: Update.
59772         * FAQ: Removed.
59773         * FAQ.in: Likewise.
59774         * scripts/gen-FAQ.pl: Likewise.
59775         * manual/install.texi (Installation): Point to online location of
59776         FAQ.
59777         * Makefile (files-for-dist): Remove FAQ.
59778         (FAQ): Remove.
59780 2012-05-02  Allan McRae  <allan@archlinux.org>
59782         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59783         (LDFLAGS-reldepmod5.so): Likewise.
59784         (LDFLAGS-reldep6mod1.so): Likewise.
59785         (LDFLAGS-reldep6mod4.so): Likewise.
59786         (LDFLAGS-reldep8mod3.so): Likewise.
59787         (LDFLAGS-unload4mod1.so): Likewise.
59788         (LDFLAGS-unload4mod2.so): Likewise.
59789         (LDFLAGS-tst-initorder): Likewise.
59790         (LDFLAGS-tst-initordera2.so): Likewise.
59791         (LDFLAGS-tst-initordera3.so): Likewise.
59792         (LDFLAGS-tst-initordera4.so): Likewise.
59793         (LDFLAGS-tst-initorderb2.so): Likewise.
59794         (LDFLAGS-noload): Likewise.
59795         (LDFLAGS-next): Likewise.
59796         (LDFLAGS-order2mod1.so): Likewise.
59797         (LDFLAGS-order2mod2.so): Likewise.
59798         (LDFLAGS-tst-initorder2): Likewise.
59799         (LDFLAGS-tst-initorder2a.so): Likewise.
59800         (LDFLAGS-tst-initorder2b.so): Likewise.
59801         (LDFLAGS-tst-initorder2c.so): Likewise.
59802         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59804 2012-05-02  David S. Miller  <davem@davemloft.net>
59806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59808 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59810         [BZ #14055]
59811         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59813 2012-05-02  Andreas Jaeger  <aj@suse.de>
59815         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59816         since we manipulate rounding mode.
59817         (CPPFLAGS-test-idouble.c): Likewise.
59818         (CPPFLAGS-test-ifloat.c): Likewise.
59819         (CFLAGS-test-ldouble.c): Likewise.
59820         (CFLAGS-test-double.c): Likewise.
59821         (CFLAGS-test-float.c): Likewise.
59822         (CFLAGS-test-misc.c): Likewise.
59823         (CFLAGS-test-test-fenv.c): Likewise.
59825 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59827         [BZ #2550]
59828         [BZ #2570]
59829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59830         comparisons to determine direction to adjust input.
59832 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59834         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59835         output to the target.
59837         * scripts/localplt.awk: New file.
59838         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59839         (check-localplt-CFLAGS): Variable removed.
59840         ($(all-built-dso:=.jmprel)): New static pattern rule.
59841         (generated): Add those targets.
59842         (localplt-built-dso): New variable.
59843         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59845         * elf/check-localplt.c: File removed.
59847         * scripts/check-execstack.awk: New file.
59848         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59849         (check-execstack-CFLAGS): Variable removed.
59850         ($(objpfx)check-execstack.h): Target removed.
59851         ($(objpfx)execstack-default): New target.
59852         (generated): Add that instead of check-execstack.h.
59853         ($(all-built-dso:=.phdr)): New static pattern rule.
59854         (generated): Add those targets.
59855         * elf/check-execstack.c: File removed.
59857         * scripts/check-textrel.awk: New file.
59858         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59859         (check-textrel-CFLAGS): Variable removed.
59860         (all-built-dso): Use := to define.o
59861         ($(all-built-dso:=.dyn)): New static pattern rule.
59862         (generated): Add those targets.
59863         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59864         * config.make.in (READELF): New substituted variable.
59865         * elf/check-textrel.c: File removed.
59867 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59869         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59870         allow.
59871         * conform/data/ctype.h-data [C99-based standards] (isblank):
59872         Expect function.
59873         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59874         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59875         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59876         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59877         Specify type.  Require positive value.
59878         (EILSEQ): Likewise.
59879         (ERANGE): Likewise.
59880         [ISO || POSIX] (EILSEQ): Do not expect.
59881         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59882         Specify type.  Require positive value.
59883         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59884         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59885         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59886         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59887         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59888         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59889         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59890         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59891         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59892         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59893         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59894         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59895         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59896         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59897         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59898         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59899         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59900         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59901         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59902         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59903         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59904         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59905         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59906         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59907         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59908         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59909         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59910         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59911         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59912         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59913         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59914         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59915         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59916         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59917         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59918         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59919         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59920         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59921         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59922         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59923         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59924         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59925         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59926         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59927         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59928         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59929         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59930         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59931         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59932         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59933         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59934         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59935         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59936         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59937         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59938         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59939         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59940         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59941         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59942         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59943         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59944         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59945         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59946         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59947         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59948         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59949         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59950         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59951         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59952         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59953         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59954         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59955         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59956         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59957         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59958         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59959         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59960         Require >= 2.
59961         (FLT_ROUNDS): Expect as macro, not constant.
59962         (FLT_MANT_DIG): Use macro-int-constant.
59963         (DBL_MANT_DIG): Likewise.
59964         (LDBL_MANT_DIG): Likewise.
59965         (FLT_DIG): Likewise.
59966         (DBL_DIG): Likewise.
59967         (LDBL_DIG): Likewise.
59968         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59969         (DBL_MIN_EXP): Likewise.
59970         (LDBL_MIN_EXP): Likewise.
59971         (FLT_MAX_EXP): Use macro-int-constant.
59972         (DBL_MAX_EXP): Likewise.
59973         (LDBL_MAX_EXP): Likewise.
59974         (FLT_MAX_10_EXP): Likewise.
59975         (DBL_MAX_10_EXP): Likewise.
59976         (LDBL_MAX_10_EXP): Likewise.
59977         (FLT_MAX): Use macro-constant.
59978         (DBL_MAX): Likewise.
59979         (LDBL_MAX): Likewise.
59980         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59981         (DBL_EPSILON): Likewise.
59982         (LDBL_EPSILON): Likewise.
59983         (FLT_MIN): Likewise.
59984         (DBL_MIN): Likewise.
59985         (LDBL_MIN): Likewise.
59986         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59987         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59988         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59989         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59990         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59991         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59992         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59993         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59994         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59995         [ISO11] (FLT_TRUE_MIN): Likewise.
59996         [ISO11] (LDBL_TRUE_MIN): Likewise.
59997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59998         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59999         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60000         (SCHAR_MAX): Likewise.
60001         (UCHAR_MAX): Likewise.
60002         (CHAR_MIN): Likewise.
60003         (CHAR_MAX): Likewise.
60004         (MB_LEN_MAX): Use macro-int-constant.
60005         (SHRT_MIN): Use macro-int-constant.  Specify type.
60006         (SHRT_MAX): Likewise.
60007         (USHRT_MAX): Likewise.
60008         (INT_MAX): Likewise.
60009         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60010         bound negative.
60011         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60012         bound with "U".
60013         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60014         bound with "L".
60015         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60016         bound negative.  Suffix upper bound with "L".
60017         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60018         bound with "UL".
60019         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60020         Specify type.
60021         [C99-based standards] (LLONG_MAX): Likewise.
60022         [C99-based standards] (ULLONG_MAX): Likewise.
60023         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60024         == 0.
60025         [ISO11] (max_align_t): Require type.
60026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60028         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60029         from $CFLAGS, without defining away __attribute__ calls.
60030         (checknamespace): Use $CFLAGS_namespace.
60032         * conform/conformtest.pl (@keywords): Only include C99 keywords
60033         for standards based on C99 or C11.
60035         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60036         Disable tests.
60037         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60038         UNIX98]: Likewise.
60040         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60041         usability of symbols in #if.
60043         * conform/conformtest.pl: If macro or constant types start
60044         "promoted:", expect the symbol to be of the following type
60045         promoted by the integer promotions.
60047         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60048         in one place.  Also handle "macro-constant".
60050         * conform/conformtest.pl: Only accept expected macro values with
60051         "==".  Parse all "macro" lines in one place.
60052         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60054         * conform/conformtest.pl: Handle braced types on "constant" lines
60055         instead of handling "typed-constant".
60056         * conform/data/signal.h-data: Use "constant" instead of
60057         "typed-constant".
60059         * conform/conformtest.pl: Handle "optional-" at start of lines in
60060         one place rather than duplicating several cases.  Handle each
60061         format of "macro" line with initial "optional-".
60063         * conform/conformtest.pl: Only accept expected constant or
60064         optional-constant values with "==".  Parse all "constant" lines in
60065         one place.  Parse all "optional-constant" lines in one place.
60066         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60067         * conform/data/fmtmsg.h-data: Likewise.
60068         * conform/data/netinet/in.h-data: Likewise.
60069         * conform/data/tar.h-data: Likewise.
60070         * conform/data/limits.h-data: Use "==" form on "constant" and
60071         "optional-constant" lines.
60073         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60074         Use -std=c99 for XOPEN2K.
60075         (@knownproblems): Remove.
60076         (newtoken): Don't check %isknown.
60078         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60079         Do not expect macro.
60080         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60081         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60082         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60083         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60084         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60085         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60086         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60087         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60088         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60089         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60090         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60091         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60092         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60093         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60094         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60095         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60096         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60097         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60098         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60099         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60100         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60101         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60102         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60103         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60104         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60105         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60106         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60107         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60108         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60109         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60110         [XPG3] (acosh): Likewise.
60111         [XPG3] (asinh): Likewise.
60112         [XPG3] (atanh): Likewise.
60113         [XPG3] (cbrt): Likewise.
60114         [XPG3] (expm1): Likewise.
60115         [XPG3] (ilogb): Likewise.
60116         [XPG3] (log1p): Likewise.
60117         [XPG3] (logb): Likewise.
60118         [XPG3] (nextafter): Likewise.
60119         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60120         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60121         [XPG3] (remainder): Likewise.
60122         [XPG3] (rint): Likewise.
60123         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60124         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60125         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60126         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60127         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60128         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60129         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60130         [UNIX98 || XOPEN2K] (scalb): Expect.
60131         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60132         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60133         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60134         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60135         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60136         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60137         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60138         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60139         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60140         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60141         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60142         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60143         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60144         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60145         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60146         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60147         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60148         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60149         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60150         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60151         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60152         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60153         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60154         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60155         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60156         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60157         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60158         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60159         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60160         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60161         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60162         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60163         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60164         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60165         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60166         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60167         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60168         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60169         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60170         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60171         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60172         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60173         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60174         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60175         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60176         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60177         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60178         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60179         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60180         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60181         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60182         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60183         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60184         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60185         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60186         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60187         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60188         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60189         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60190         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60191         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60192         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60193         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60194         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60195         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60196         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60197         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60198         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60199         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60200         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60201         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60202         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60203         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60204         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60205         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60206         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60207         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60208         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60209         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60210         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60211         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60212         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60213         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60214         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60215         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60216         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60217         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60218         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60219         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60220         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60221         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60222         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60223         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60224         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60225         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60226         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60227         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60228         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60229         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60230         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60231         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60232         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60233         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60234         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60235         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60236         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60237         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60238         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60239         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60240         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60241         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60242         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60243         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60244         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60245         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60246         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60247         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60248         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60249         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60250         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60251         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60252         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60253         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60254         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60255         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60256         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60257         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60258         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60259         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60260         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60261         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60262         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60263         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60264         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60265         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60266         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60267         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60269         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60270         _XOPEN_SOURCE_EXTENDED for XPG4.
60272         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60274         * Makeconfig (localtime): Remove variable.
60275         (inst_localtime-file): Likewise.
60277 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60280         Update.
60281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60282         Update.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60284         Update.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60286         Update.
60287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60288         Update.
60289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60290         Update.
60291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60292         Update.
60293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60294         Update.
60295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60296         Update.
60298 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60300         [BZ #2550]
60301         [BZ #2570]
60302         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60303         comparisons to determine direction to adjust input.
60304         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60305         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60306         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60307         Likewise.
60308         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60309         Likewise.
60310         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60311         Likewise.
60312         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60313         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60314         Likewise.
60315         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60316         Likewise.
60317         * math/libm-test.inc (nexttoward_test): Add more tests.
60319 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60321         [BZ #14040]
60322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60323         in version GLIBC_2.1, not GLIBC_2.0.
60324         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60325         Likewise.
60327 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60329         [BZ #13942]
60330         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60331         (1 - x) * (1 + x).
60332         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60333         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60334         * math/libm-test.inc (acos_test): Add more tests.
60335         (asin_test): Likewise.
60336         * sysdeps/i386/fpu/libm-test-ulps: Update.
60337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60339         [BZ #14034]
60340         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60341         of square root.
60342         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60343         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60344         * math/libm-test.inc (acos_test_tonearest): New function.
60345         (acos_test_towardzero): Likewise.
60346         (acos_test_downward): Likewise.
60347         (acos_test_upward): Likewise.
60348         (asin_test_tonearest): Likewise.
60349         (asin_test_towardzero): Likewise.
60350         (asin_test_downward): Likewise.
60351         (asin_test_upward): Likewise.
60352         (main): Call the new functions.
60353         * sysdeps/i386/fpu/libm-test-ulps: Update.
60354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60356         [BZ #13884]
60357         [BZ #13924]
60358         * math/e_exp10.c: Include <float.h>.
60359         (__ieee754_exp10): Handle underflow here rather than multiplying
60360         large negative argument by M_LN10.
60361         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60362         of __ieee754_expf.
60363         * math/e_exp10l.c: Include <float.h>.
60364         (__ieee754_exp10l): Handle underflow here rather than multiplying
60365         large negative argument by M_LN10l.
60366         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60367         spurious overflow exception on underflow.
60369 2012-04-29  Marek Polacek  <polacek@redhat.com>
60371         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60372         (__fortify_function): New macro.
60373         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60374         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60375         __extern_always_inline.
60376         * libio/bits/stdio2.h: Likewise.
60377         * libio/bits/stdio.h: Likewise.
60378         * string/string.h: Likewise.
60379         * string/bits/string3.h: Likewise.
60380         * include/stdio.h: Likewise.
60381         * stdlib/bits/stdlib.h: Likewise.
60382         * stdlib/stdlib.h: Likewise.
60383         * rt/bits/mqueue2.h: Likewise.
60384         * rt/mqueue.h: Likewise.
60385         * posix/bits/unistd.h: Likewise.
60386         * posix/unistd.h: Likewise.
60387         * io/bits/poll2.h: Likewise.
60388         * io/bits/fcntl2.h: Likewise.
60389         * io/fcntl.h: Likewise.
60390         * io/sys/poll.h: Likewise.
60391         * misc/bits/syslog.h: Likewise.
60392         * misc/bits/syslog-ldbl.h: Likewise.
60393         * misc/sys/syslog.h: Likewise.
60394         * socket/bits/socket2.h: Likewise.
60395         * socket/sys/socket.h: Likewise.
60396         * debug/tst-chk1.c: Likewise.
60397         * wcsmbs/bits/wchar2.h: Likewise.
60398         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60399         * wcsmbs/wchar.h: Likewise.
60401 2012-04-29  Andreas Jaeger  <aj@suse.de>
60403         * Makerules (tests): Remove enable-check-abi protection.
60404         (check-abi-warn): Remove.
60405         (check-abi-%): Remove check-abi-warn usage.
60407         * configure.in: Remove check-abi configure option.
60408         * configure: Regenerated.
60409         * config.make.in (enable-check-abi): Remove.
60411 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60413         [BZ #14033]
60414         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60415         double functions to double *_finite functions.
60417         [BZ #13941]
60418         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60419         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60420         LDBL_MIN_EXP.
60421         * stdio-common/Makefile (tests): Add tst-sprintf3.
60422         * stdio-common/tst-sprintf3.c: New file.
60424         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60425         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60427 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60429         * conform/conformtest.pl: Remove duplicate typed-constant
60430         handling.
60432 2012-04-28  David S. Miller  <davem@davemloft.net>
60434         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60435         (check-abi-%): Remove AWK script prerequisite and explicit
60436         abilist directory.
60437         (check-abi): Rewrite to just diff the symlist with the abilist.
60438         (config-tls, config-abi-config): Delete, no longer used.
60439         (update-abi-%): Remove AWK script and explicit abilist directory.
60440         (update-abi): Rewrite to simply compare and conditionally copy the
60441         symlist and the sysdep abilist file.  Remove update-abi-config
60442         checks.
60443         * abilist/ld.abilist: Remove.
60444         * abilist/libBrokenLocale.abilist: Remove.
60445         * abilist/libanl.abilist: Remove.
60446         * abilist/libcrypt.abilist: Remove.
60447         * abilist/libdl.abilist: Remove.
60448         * abilist/librt.abilist: Remove.
60449         * abilist/libthread_db.abilist: Remove.
60450         * abilist/libutil.abilist: Remove.
60451         * scripts/extract-abilist.awk: Remove.
60452         * scripts/merge-abilist.awk: Remove.
60453         * sysdeps/generic/libcidn.abilist: New file.
60454         * sysdeps/generic/libnss_compat.abilist: New file.
60455         * sysdeps/generic/libnss_db.abilist: New file.
60456         * sysdeps/generic/libnss_dns.abilist: New file.
60457         * sysdeps/generic/libnss_files.abilist: New file.
60458         * sysdeps/generic/libnss_hesiod.abilist: New file.
60459         * sysdeps/generic/libnss_nis.abilist: New file.
60460         * sysdeps/generic/libnss_nisplus.abilist: New file.
60461         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60462         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60463         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60464         file.
60465         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60466         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60467         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60468         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60469         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60470         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60471         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60472         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60473         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60474         file.
60475         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60476         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60477         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60478         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60479         file.
60480         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60481         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60482         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60483         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60484         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60485         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60486         file.
60487         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60488         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60489         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60490         file.
60491         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60493         New file.
60494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60495         New file.
60496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60497         New file.
60498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60499         New file.
60500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60501         New file.
60502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60503         New file.
60504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60505         New file.
60506         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60507         New file.
60508         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60509         New file.
60510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60511         New file.
60512         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60513         New file.
60514         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60515         New file.
60516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60517         New file.
60518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60519         file.
60520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60521         New file.
60522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60523         New file.
60524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60525         file.
60526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60527         New file.
60528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60529         New file.
60530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60531         file.
60532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60533         New file.
60534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60535         New file.
60536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60537         New file.
60538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60539         New file.
60540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60541         New file.
60542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60543         New file.
60544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60546         file.
60547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60548         New file.
60549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60550         file.
60551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60552         file.
60553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60554         file.
60555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60556         file.
60557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60558         file.
60559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60560         New file.
60561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60562         file.
60563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60564         file.
60565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60566         New file.
60567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60568         file.
60569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60571         file.
60572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60573         New file.
60574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60575         file.
60576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60577         file.
60578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60579         file.
60580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60581         file.
60582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60583         file.
60584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60585         New file.
60586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60587         file.
60588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60589         file.
60590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60591         New file.
60592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60593         file.
60594         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60595         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60596         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60597         file.
60598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60599         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60600         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60601         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60602         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60603         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60604         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60605         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60606         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60607         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60610         file.
60611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60612         New file.
60613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60614         file.
60615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60616         file.
60617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60618         file.
60619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60620         file.
60621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60622         file.
60623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60624         New file.
60625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60626         New file.
60627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60628         file.
60629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60630         New file.
60631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60632         file.
60633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60635         file.
60636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60637         New file.
60638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60639         file.
60640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60641         file.
60642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60643         file.
60644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60645         file.
60646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60647         file.
60648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60649         New file.
60650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60651         New file.
60652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60653         file.
60654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60655         New file.
60656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60657         file.
60659 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60661         * conform/conformtest.pl: Fix typo in handling typed-constant from
60662         allow-header.
60664 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60666         * README: Cut down references to pre-2.6 Linux kernels and
60667         Linuxthreads.  Update lists of configurations in libc and ports
60668         and sort alphabetically.  Say "or newer" with Linux kernel version
60669         requirements.
60671         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60673 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60675         [BZ #887]
60676         * math/libm-test.inc (logb_test_downward): New test to expose
60677         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60678         rounding mode.
60680 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60682         [BZ #14027]
60683         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60684         to be done.
60685         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60686         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60688 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60690         * sysdeps/unix/i386/brk.S: Remove file.
60691         * sysdeps/unix/i386/dl-brk.S: Likewise.
60692         * sysdeps/unix/i386/pipe.S: Likewise.
60693         * sysdeps/unix/i386/sigreturn.S: Likewise.
60694         * sysdeps/unix/i386/syscall.S: Likewise.
60695         * sysdeps/unix/i386/vfork.S: Likewise.
60696         * sysdeps/unix/i386/wait.S: Likewise.
60698         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60699         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60701         * configure.in (arm*-none*): Do not allow without
60702         --enable-hacker-mode.
60703         (netbsd*): Remove case setting base_os.
60704         (386bsd*): Likewise.
60705         (freebsd*): Likewise.
60706         (bsdi*): Likewise.
60707         (osf*): Likewise.
60708         (sunos*): Likewise.
60709         (ultrix*): Likewise.
60710         (newsos*): Likewise.
60711         (dynix*): Likewise.
60712         (*bsd*): Likewise.
60713         (sysv*): Likewise.
60714         (isc*): Likewise.
60715         (esix*): Likewise.
60716         (sco*): Likewise.
60717         (minix*): Likewise.
60718         (irix4*): Likewise.
60719         (irix6*): Likewise.
60720         (solaris[2-9]*): Likewise.
60721         (none): Likewise.
60722         * configure: Regenerated.
60724 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60726         [BZ #11521]
60727         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60728         overflow or cancellation in calculating denominator.
60729         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60731         down expression to avoid unexpected rounding in newer GCCs.
60732         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60734 2012-04-26  David S. Miller  <davem@davemloft.net>
60736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60737         long-double compat symbols.
60738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60752 2012-04-25  David S. Miller  <davem@davemloft.net>
60754         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60755         HWCAP_* values only after the memory barriers have been defined.
60756         (atomic_full_barrier): Define.
60757         (atomic_read_barrier): Define.
60758         (atomic_write_barrier): Define.
60760 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60762         * shlib-versions: Add libgcc_s version information.
60763         * sysdeps/generic/libgcc_s.h: Remove.
60764         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60765         libgcc_s.h.
60766         * sysdeps/gnu/unwind-resume.c: Likewise.
60767         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60769 2012-04-25  David S. Miller  <davem@davemloft.net>
60771         * sysdeps/unix/sparc/brk.S: Delete.
60772         * sysdeps/unix/sparc/dl-brk.S: Delete.
60773         * sysdeps/unix/sparc/pipe.S: Delete.
60774         * sysdeps/unix/sparc/sysdep.S: Delete.
60775         * sysdeps/unix/sparc/sysdep.h: Delete.
60776         * sysdeps/unix/sparc/vfork.S: Delete.
60777         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60778         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60779         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60780         (ret_ERRVAL, r0, r1, MOVE): Define.
60781         (JUMPTARGET): Remove.
60782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60783         sysdeps/unix/sparc/sysdep.h
60784         (ENTRY, END): Remove.
60785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60787 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60789         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60790         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60791         -DIS_IN_build.
60793         * timezone/README: Update upstream location and email address for
60794         tzcode and tzdata.
60795         * timezone/zdump.c: Update from tzcode 2012b.
60796         * timezone/zic.c: Likewise.
60798         * configure.in (libc_cv_as_needed): Remove test.
60799         * configure: Regenerated.
60800         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60801         conditional definition.
60802         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60803         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60804         * config.make.in (have-as-needed): Remove variable.
60806 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60807             Paul Pluzhnikov  <ppluzhnikov@google.com>
60809         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60810         strings correctly.
60812 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60814         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60815         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60816         * sysdeps/sh/strlen.S: Likewise.
60818 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60820         * sysdeps/unix/fork.S: Remove file.
60821         * sysdeps/unix/i386/fork.S: Likewise.
60822         * sysdeps/unix/sparc/fork.S: Likewise.
60824         * sysdeps/unix/system.c: Remove file.
60825         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60827         * sysdeps/unix/getegid.S: Remove file.
60828         * sysdeps/unix/geteuid.S: Likewise.
60830 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60832         * scripts/check-localplt.awk: New file.
60833         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60834         of diff.
60835         * scripts/data/localplt-generic.data: Add a comment.
60837         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60838         NODE when __dir_mkfile failed.
60839         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60840         Reported by Ludovic Courtès <ludo@gnu.org>.
60842 2012-04-24  Andreas Jaeger  <aj@suse.de>
60844         * Makerules (common-clean): Also remove gen-as-const-headers
60845         files.
60847 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60849         * Makerules (native-compile): Do not change working directory for
60850         build.  Use $(OUTPUT_OPTION) in command.
60851         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60853 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60855         [BZ #13886]
60856         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60857         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60858         * math/libm-test.inc (floor_test): Add more tests.
60859         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60861 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60863         * sysdeps/unix/getdents.c: Remove file.
60864         * sysdeps/unix/sysv/getdents.c: Likewise.
60865         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60867         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60868         sysdeps/unix/mman/syscalls.list.
60869         (mmap): Likewise.
60870         (mprotect): Likewise.
60871         (msync): Likewise.
60872         (munmap): Likewise.
60873         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60874         * sysdeps/unix/mman/syscalls.list: Remove.
60875         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60877         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60878         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60879         * configure: Regenerated.
60880         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60881         $(libgcc_s_suffix).
60882         * config.make.in (libgcc_s_suffix): Remove variable.
60884 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60886         * sysdeps/unix/sysv/gethostname.c: Move to ...
60887         * sysdeps/posix/gethostname.c: ... here.
60889         * sysdeps/unix/execve.S: Remove file.
60891         * sysdeps/unix/_exit.S: Remove file.
60893 2012-04-23  Andreas Jaeger  <aj@suse.de>
60895         [BZ #13739]
60896         * manual/Makefile: Remove make dist support, there's no
60897         need for a stand-alone documentation tar ball.
60898         (TEXI2DVI): Define always, it's not in Makeconfig.
60899         (dist): Removed.
60900         (tar-it): Removed.
60901         (edition): Removed.
60902         (glibc-doc-$(edition).tar): Removed
60903         (%.Z): Removed.
60904         (%.gz): Removed.
60905         (%.uu): Removed.
60906         (ETAGS): Remove, it's in Makeconfig.
60907         (move-if-change): Remove, it's in Makeconfig.
60909 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60911         [BZ #13970]
60912         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60913         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60914         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60915         (strtod_l, strtof_l, strtold_l): Remove __wur.
60916         It is not necessarily an error to ignore strtol's return value.
60917         One can reliably look at the stored endptr to decide whether
60918         the number had valid syntax.
60920 2012-04-21  Andreas Jaeger  <aj@suse.de>
60922         [BZ #13739]
60923         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60925 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60927         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60928         * sysdeps/unix/sysv/Versions: Remove file.
60930 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60932         [BZ #13927]
60933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60935 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60937         [BZ #7064]
60938         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60939         version from __vm86.
60941 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60943         * sysdeps/unix/common/lxstat.c: Remove file.
60944         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60946         * sysdeps/unix/sysv/Makefile: Remove file.
60948         * sysdeps/unix/sysv/direct.h: Remove file.
60950         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60951         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60952         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60953         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60954         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60955         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60956         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60958         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60960         * sysdeps/unix/xmknod.c: Remove file.
60961         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60963         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60965         * sysdeps/unix/sysv/i386/time.S: Remove file.
60967         * sysdeps/unix/fxstat.c: Remove file.
60968         * sysdeps/unix/xstat.c: Likewise.
60969         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60971         * sysdeps/unix/sysv/sigaction.c: Remove file.
60973         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60974         (sysdep_headers): Remove variable.
60975         [termio.h not in sysdep_headers] (generated): Likewise.
60976         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60977         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60978         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60979         * sysdeps/unix/sysv/tcflow.c: Likewise.
60980         * sysdeps/unix/sysv/tcflush.c: Likewise.
60981         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60982         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60983         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60984         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60985         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60987         * sysdeps/unix/siglist.c: Remove file.
60989         * sysdeps/unix/getppid.S: Remove file.
60991         * sysdeps/unix/mkdir.c: Remove file.
60992         * sysdeps/unix/rmdir.c: Likewise.
60994 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60996         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60997         ERR_MAX value.
60998         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60999         errlist-compat value.
61001 2012-04-18  David S. Miller  <davem@davemloft.net>
61003         * sysdeps/generic/memcopy.h (reg_char): Delete.
61004         * debug/strcat_chk.c: Use char, not reg_char.
61005         * debug/strcpy_chk.c: Likewise.
61006         * debug/strncat_chk.c: Likewise.
61007         * debug/strncpy_chk.c: Likewise.
61008         * string/memchr.c: Likewise.
61009         * string/memrchr.c: Likewise.
61010         * string/rawmemchr.c: Likewise.
61011         * string/strcat.c: Likewise.
61012         * string/strchr.c: Likewise.
61013         * string/strchrnul.c: Likewise.
61014         * string/strcmp.c: Likewise.
61015         * string/strcpy.c: Likewise.
61016         * string/strncat.c: Likewise.
61017         * string/strncmp.c: Likewise.
61018         * string/strncpy.c: Likewise.
61020 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61022         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61023         __builtin_memcopy is called when src and dest ranges are known to not
61024         overlap.
61026 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61028         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61029         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61030         fwd_align_merge macro call.
61031         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61032         bwd_align_merge macro call.
61033         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61035 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61037         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61038         bwd_align_merge macros.
61039         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61040         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61041         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61043 2012-04-18  David S. Miller  <davem@davemloft.net>
61045         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61047 2012-04-18  Andreas Jaeger  <aj@suse.de>
61049         [BZ# 6794]
61050         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61051         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61052         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61054         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61055         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61056         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61058         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61059         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61060         Adjust for changed ldbl-128 files.
61062         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61063         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61064         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61066 2012-04-17  David S. Miller  <davem@davemloft.net>
61068         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61070 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61072         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61073         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61074         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61075         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61076         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61077         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61079 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61081         [BZ #6794]
61082         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61083         * math/libm-test.inc: Add ilogb errno and exception tests.
61084         * math/w_ilogb.c: New file: ilogb wrapper.
61085         * math/w_ilogbf.c: New file: ilogbf wrapper.
61086         * math/w_ilogbl.c: New file: ilogbl wrapper.
61087         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61088         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61089         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61090         exception being thrown with 0.0 as argument.
61091         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61092         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61093         exception being thrown with 0.0 as argument.
61094         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61095         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61096         exception being thrown with 0.0 as argument.
61097         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61098         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61099         exception being thrown with 0.0 as argument.
61100         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61101         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61102         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61103         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61104         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61105         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61106         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61107         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61108         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61110 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61112         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61113         with altivec.
61115 2012-04-16  Marek Polacek  <polacek@redhat.com>
61117         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61119 2012-04-16  Marek Polacek  <polacek@redhat.com>
61121         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61122         operands of fdivp instruction.
61124 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61126         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61127         * elf/tst-auditmod3b.c: Likewise.
61128         * elf/tst-auditmod4b.c: Likewise.
61129         * elf/tst-auditmod5b.c: Likewise.
61130         * elf/tst-auditmod6b.c: Likewise.
61131         * elf/tst-auditmod6c.c: Likewise.
61132         * elf/tst-auditmod7b.c: Likewise.
61133         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61134         * sysdeps/x86_64/preconfigure.in: Likewise.
61135         * sysdeps/x86_64/preconfigure: Regenerated.
61137 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61139         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61140         __ILP32__.
61142 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61144         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61145         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61147 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61149         [BZ #13973]
61150         * locale/iso-639.def: Fix gl language name. Spotted by
61151         Yaron Shahrabani.
61153 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61155         [BZ #2074]
61156         * libio/libio.h (__io_write_fn): Update comment.
61158 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61160         [BZ #2074]
61161         * stdio.texi (Hook Functions): The user provided writer function
61162         is not allowed to return -1.
61164 2012-04-11  David S. Miller  <davem@davemloft.net>
61166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61168 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61170         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61171         Add a leading slash to rtkaio.
61173 2012-04-11  Jim Meyering  <meyering@redhat.com>
61175         [BZ #11959]
61176         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61177         It is not necessarily an error to ignore fwrite's return
61178         value.  One can reliably use ferror to test for errors after
61179         the fact.
61181 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61183         * bits/types.h (__snseconds_t): New type.
61184         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61186         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61188         (__SNSECONDS_T_TYPE): Likewise.
61189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61190         (__SNSECONDS_T_TYPE): Likewise.
61191         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61192         (__SNSECONDS_T_TYPE): Likewise.
61194 2012-04-10  Andreas Jaeger  <aj@suse.de>
61196         [BZ #2636]
61197         * manual/time.texi (Processor Time): Return type of times is
61198         elapsed real time since an arbitrary point in the past.
61199         (CPU Time): Move CLK_TCK from here...
61200         (Processor Time): ...to here.  Correct description.
61201         * manual/conf.texi (Constants for Sysconf): Correct description of
61202         _SC_CLK_TCK.
61204 2012-04-10  David S. Miller  <davem@davemloft.net>
61206         [BZ #13967]
61207         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61208         where the is a gap between DT_REL(A) and DT_JMPREL.
61210 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61212         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61213         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61214         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61216 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61218         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61219         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61220         (dl_main): Handle --inhibit-cache.
61221         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61222         _dl_inhibit_cache.
61223         * elf/dl-load.c (_dl_map_object): Use it.
61224         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61226 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61228         [BZ #13872]
61229         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61230         (__ieee754_powl): Saturate large exponents rather than testing for
61231         overflow of y*log2(x).
61232         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61233         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61234         exceptions.
61236         [BZ #11521]
61237         * math/s_ctan.c: Include <float.h>.
61238         (__ctan): Avoid internal overflow or cancellation in calculating
61239         denominator.
61240         * math/s_ctanf.c: Likewise.
61241         * math/s_ctanl.c: Likewise.
61242         * math/s_ctanh.c: Likewise.
61243         * math/s_ctanhf.c: Likewise.
61244         * math/s_ctanhl.c: Likewise.
61245         * math/libm-test.inc (ctan_test): Add more tests.
61246         (ctanh_test): Likewise.
61247         * sysdeps/i386/fpu/libm-test-ulps: Update.
61248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61250 2012-04-09  Andreas Jaeger  <aj@suse.de>
61252         [BZ #6894]
61253         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61254         is an optional BSD extension.
61256         [BZ #10254]
61257         * manual/stdio.texi (Opening Streams): Document additional fopen
61258         parameters.
61260 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61262         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61263         %eax without telling the compiler.
61265 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61267         [BZ # 13963]
61268         * manual/install.texi: Use sourceware.org.
61270 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61272         [BZ #13873]
61273         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61274         (__ieee754_pow): Generate overflow and underflow using huge*huge
61275         and tiny*tiny rather than just returning constant infinity or zero
61276         for large exponents.
61277         * math/libm-test.inc (pow_test): Require overflow exceptions for
61278         applicable cases of large exponents.
61280         [BZ #706]
61281         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61282         (__ieee754_pow): Use iterative multiplication algorithm only for
61283         integer exponents with absolute value below 1024.  Check for odd
61284         integer exponents when using algorithm for real exponents.
61285         * math/libm-test.inc (pow_test): Add more tests.
61286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61288 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61290         [BZ #13705]
61291         * math/libm-test.inc (exp_test): Do not allow overflow exception
61292         on underflow test.
61294 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61296         [BZ #13705]
61297         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61298         instead of __kernel_standard_f.
61300 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61302         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61303         * sysdeps/x86_64/memset_chk.S: Likewise.
61305 2012-04-08  Andreas Jaeger  <aj@suse.de>
61307         [BZ #10153]
61308         * manual/startup.texi (Environment Access): Describe return value
61309         for putenv and setenv.
61311         [BZ #6895]
61312         * manual/filesys.texi (Directory Entries): Add description for
61313         DT_LNK.
61315         [BZ #6890]
61316         * manual/filesys.texi (Directory Entries): Clarify that it's file
61317         system not operating system in the description of DT_UNKNOWN.
61319         [BZ #6578]
61320         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61322 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61324         [BZ #6649]
61325         * manual/llio.texi (Opening and Closing Files): Add cross
61326         reference to explain mode argument.
61328 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61330         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61331         * sysdeps/x86_64/memset_chk.S: Likewise.
61333 2012-04-07  David S. Miller  <davem@davemloft.net>
61335         * elf/elf.h (R_SPARC_WDISP10): Define.
61336         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61337         R_SPARC_SIZE32.
61338         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61339         R_SPARC_SIZE64 and R_SPARC_H34.
61341 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61343         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61344         conditions and remove no longer applicable assertion.
61346 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61348         * bits/byteswap.h: Include <features.h>.
61349         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61350         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61352 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61354         * bits/byteswap.h (__bswap_16): Removed.
61355         Include <bits/byteswap-16.h> to get __bswap_16.
61356         * sysdeps/i386/bits/byteswap.h: Likewise.
61357         * sysdeps/s390/bits/byteswap.h: Likewise.
61358         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61359         * bits/byteswap-16.h: New file.
61360         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61361         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61362         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61363         * string/Makefile (headers): Add bits/byteswap-16.h.
61365 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61367         [BZ #13895]
61368         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61369         extra indirection.
61370         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61371         * nss/tst-nss-static.c: New.
61373 2012-04-06  Robert Millan  <rmh@gnu.org>
61375         [BZ #6486]
61376         * manual/llio.texi (File Position Primitive): lseek
61377         refers to WHENCE when it really means OFFSET.
61379 2012-04-06  Andreas Jaeger  <aj@suse.de>
61381         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61382         strncmp declarations.
61384         * abilist/libc.abilist: Add __poll and __ppoll.
61386 2012-04-05  David S. Miller  <davem@davemloft.net>
61388         * scripts/check-local-headers.sh: Accept a host triplet in the
61389         path matched by the exclude regexp.
61391         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61392         definition.
61393         * sysdeps/powerpc/powerpc32/dl-machine.h
61394         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61395         * sysdeps/s390/s390-32/dl-machine.h
61396         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61397         * sysdeps/sparc/sparc32/dl-machine.h
61398         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61399         * sysdeps/sparc/sparc64/dl-machine.h
61400         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61402         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61403         lazy binding.
61404         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61405         undefined symbol errors.
61407         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61408         DT_NEEDED entries.
61410 2012-04-05  Michael Matz  <matz@suse.de>
61412         [BZ #13592]
61413         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61415 2012-04-05  Andreas Jaeger  <aj@suse.de>
61417         [BZ #13908]
61418         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61419         comment.
61421 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61423         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61424         which ROUND is no valid rounding mode.
61426 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61428         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61429         read again.
61430         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61432 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61434         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61435         an exception using FPU order intentionally.
61437 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61439         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61440         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61441         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61442         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61444 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61446         [BZ #12340]
61447         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61448         EINVAL when BUFLEN is too smal.
61450 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61452         [BZ #13553]
61453         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61454         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61456 2012-04-03  Andreas Jaeger  <aj@suse.de>
61458         [BZ #13938]
61459         * manual/setjmp.texi (System V contexts): Fix sentence.
61461         [BZ #13926]
61462         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61463         New macro for this case.
61464         [!__GNUC__] (__bswap_64): New inline function for this case.
61465         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61466         * bits/byteswap.h: Likewise.
61467         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61468         ull, guard with __GLIBC_HAVE_LONG_LONG.
61470         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61471         __GLIBC_HAVE_LONG_LONG.
61473         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61474         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61476 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61478         [BZ #13691]
61479         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61480         inptr and inend, rather than using last_ch.
61482 2012-04-02  David S. Miller  <davem@davemloft.net>
61484         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61485         * stdio-common/printf-parse.h (read_int): Change return type to
61486         'int', return -1 on INT_MAX overflow.
61487         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61488         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61489         overflows INT_MAX.  Check for overflow of in-format-string precision
61490         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61491         SIZE_MAX not INT_MAX for integer overflow test.
61492         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61493         skip the construct in the format string but do not record anything.
61494         * stdio-common/bug22.c: Adjust to test both width/prevision
61495         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61496         explicitly for proper errno values.
61498 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61500         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61501         CHAR_MAX.
61502         * string/test-strcmp.c [! WIDE]: Likewise.
61503         * time/tst-mktime2.c: Likewise for INT_MAX.
61504         * string/test-string.h: #include <sys/param.h> for MIN.
61506         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61507         * sysdeps/i386/init-first.c (init): Likewise.
61508         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61509         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61510         * sysdeps/sh/init-first.c (init): Likewise.
61512 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61514         * po/ru.po: Update from translation team.
61515         * po/vi.po: Likewise.
61517 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61519         * resolv/nss_dns/dns-host.c: Merge copyright years.
61521 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61523         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61524         Optimize memcpy with prefetch if
61525         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61526         src, dst pointers have unequal 16 byte alignments.
61528 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61530         [BZ #13928]
61531         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61532         from a CNAME entry and return the minimum ttl for the query.
61533         (gaih_getanswer_slice): Likewise.
61535 2012-03-30  Jeff Law  <law@redhat.com>
61537         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61538         due to long keys.
61539         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61540         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61542         * resolv/nss_dns/dns-host.c: Update copyright year.
61544 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61546         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61547         requests to save a system call.  Fix check that all bytes are sent.
61549         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61550         comments for sendmmsg.
61552 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61554         [BZ #13691]
61555         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61556         with only 1 character between 0x0041 and 0x01b0.
61557         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61558         * wcsmbs/tst-mbsnrtowcs.c: New file.
61560 2012-03-29  David S. Miller  <davem@davemloft.net>
61562         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61563         small copies by hand.
61565 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61567         [BZ #13761]
61568         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61569         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61570         group memberships.
61572 2012-03-28  David S. Miller  <davem@davemloft.net>
61574         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61575         that branches into memcpy.
61576         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61577         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61578         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61579         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61581         bits.
61582         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61583         implementation too.
61584         * sysdeps/sparc/mempcpy.S: New file.
61586         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61587         the IFUNC routine in the libc case.
61588         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61590         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61591         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61592         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61593         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61594         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61595         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61596         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61597         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61599         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61600         loop to 256 bytes instead of 64 bytes and fix test signedness.
61602         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61603         * sysdeps/sparc/sparc32/Makefile: rather than here...
61604         * sysdeps/sparc/sparc64/Makefile: and here.
61606 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61608         * malloc/mallocbug.c: Avoid warnings about unused variables.
61610 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61612         [BZ #13760]
61613         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61614         in the right place. Discard and retry query if response is
61615         larger than input buffer size.
61617 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61619         [BZ #369]
61620         [BZ #2678]
61621         [BZ #3866]
61622         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61623         x for large integer exponent.
61624         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61625         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61626         sign of result as needed afterwards.
61627         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61628         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61629         result for underflowing pow the same as for overflow.
61630         (__kernel_standard_l): Handle powl overflow and underflow here
61631         rather than calling __kernel_standard.
61632         * math/libm-test.inc (pow_test): Add more tests.
61634         [BZ #3868]
61635         [BZ #13879]
61636         [BZ #13910]
61637         [BZ #13911]
61638         [BZ #13912]
61639         [BZ #13913]
61640         [BZ #13915]
61641         [BZ #13916]
61642         [BZ #13917]
61643         [BZ #13918]
61644         [BZ #13919]
61645         [BZ #13920]
61646         [BZ #13921]
61647         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61648         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61649         (__kernel_standard_l): New function.
61650         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61651         __kernel_standard.
61652         * math/w_acosl.c (__acosl): Likewise.
61653         * math/w_asinl.c (__asinl): Likewise.
61654         * math/w_atan2l.c (__atan2l): Likewise.
61655         * math/w_atanhl.c (__atanhl): Likewise.
61656         * math/w_coshl.c (__coshl): Likewise.
61657         * math/w_exp10l.c (__exp10l): Likewise.
61658         * math/w_exp2l.c (__exp2l): Likewise.
61659         * math/w_fmodl.c (__fmodl): Likewise.
61660         * math/w_hypotl.c (__hypotl): Likewise.
61661         * math/w_j0l.c (__j0l, __y0l): Likewise.
61662         * math/w_j1l.c (__j1l, __y1l): Likewise.
61663         * math/w_jnl.c (__jnl, __ynl): Likewise.
61664         * math/w_lgammal.c (__lgammal): Likewise.
61665         * math/w_log10l.c (__log10l): Likewise.
61666         * math/w_log2l.c (__log2l): Likewise.
61667         * math/w_logl.c (__logl): Likewise.
61668         * math/w_powl.c (__powl): Likewise.
61669         * math/w_remainderl.c (__remainderl): Likewise.
61670         * math/w_scalbl.c (sysv_scalbl): Likewise.
61671         * math/w_sinhl.c (__sinhl): Likewise.
61672         * math/w_sqrtl.c (__sqrtl): Likewise.
61673         * math/w_tgammal.c (__tgammal): Likewise.
61674         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61675         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61676         * math/libm-test.inc (acos_test): Add more tests.
61677         (acosh_test): Likewise.
61678         (asin_test): Likewise.
61679         (atanh_test): Likewise.
61680         (exp_test): Likewise.
61681         (exp10_test): Likewise.
61682         (exp2_test): Likewise.
61683         (expm1_test): Likewise.
61684         (lgamma_test): Likewise.
61685         (log_test): Likewise.
61686         (log10_test): Likewise.
61687         (log1p_test): Likewise.
61688         (log2_test): Likewise.
61689         (pow_test): Do not allow some spurious overflow exceptions.
61690         (sqrt_test): Add more tests.
61691         (tgamma_test): Likewise.
61692         (y0_test): Likewise.
61693         (y1_test): Likewise.
61694         (yn_test): Likewise.
61696 2012-03-27  Anton Blanchard  <anton@samba.org>
61698         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61699         MAP_HUGETLB.
61700         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61701         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61702         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61704 2012-03-27  David S. Miller  <davem@davemloft.net>
61706         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61708         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61709         have-as-vis3 check.
61711 2012-03-27  Andreas Jaeger  <aj@suse.de>
61713         * sysdeps/x86_64/elf/configure.in: Moved to ...
61714         * sysdeps/x86_64/configure.in: ... here.
61715         * sysdeps/x86_64/elf/start.S: Moved to ...
61716         * sysdeps/x86_64/start.S: ... here.
61717         * sysdeps/x86_64/elf/configure: Delete.
61719         * sysdeps/x86_64/configure.in: Merge contents from
61720         sysdeps/i386/configure.in (without i686 check).
61722         * sysdeps/i386/elf/Versions: Merge into ...
61723         * sysdeps/i386/Versions: ... this.
61724         * sysdeps/i386/elf/Versions: Delete file.
61725         * sysdeps/i386/elf/start.S: Moved to ...
61726         * sysdeps/i386/start.S: ...here.
61727         * sysdeps/i386/elf/configure.in: Merge into...
61728         * sysdeps/i386/configure.in: ...here.
61729         * sysdeps/i386/elf/configure.in: Delete file.
61730         * sysdeps/i386/elf/configure: Delete file.
61732         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61733         * debug/backtracesyms.c: ... here.
61734         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61735         * debug/backtracesymsfd.c: ... here.
61736         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61737         * sysdeps/generic/ifunc-sel.h: ... here.
61739         * sysdeps/unix/i386/start.c: Delete file.
61740         * sysdeps/unix/sparc/start.c: Delete file.
61741         * sysdeps/unix/start.c: Delete file.
61743         * sysdeps/sh/elf/configure.in: Moved to ...
61744         * sysdeps/sh/configure.in: ... here.
61745         * sysdeps/sh/elf/start.S: Moved to ...
61746         * sysdeps/sh/start.S: ... here.
61747         * sysdeps/sh/elf/configure: Delete file.
61749         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61750         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61751         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61752         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61753         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61754         * sysdeps/powerpc/powerpc64/start.S: here.
61755         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61756         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61757         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61758         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61759         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61761         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61762         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61763         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61764         * sysdeps/powerpc/powerpc32/start.S: ... here.
61765         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61766         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61767         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61769         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61770         * sysdeps/powerpc/ifunc-sel.h: ... here.
61771         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61772         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61774         * sysdeps/sparc/elf/configure.in: Moved to ...
61775         * sysdeps/sparc/configure.in: ... here.
61776         * sysdeps/sparc/elf/configure: Delete file.
61777         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61778         * sysdeps/sparc/sparc32/start.S: ... here.
61779         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61780         * sysdeps/sparc/sparc64/start.S: ... here.
61781         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61782         * sysdeps/sparc/sparc32/Makefile: ... this.
61783         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61784         * sysdeps/sparc/sparc64/Makefile: ... this.
61786         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61787         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61788         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61789         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61790         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61791         * sysdeps/s390/s390-32/setjmp.S: ... here.
61792         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61793         * sysdeps/s390/s390-32/configure.in: ... here.
61794         * sysdeps/s390/s390-32/elf/configure: Delete file.
61795         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61796         * sysdeps/s390/s390-32/start.S: ... here.
61798         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61799         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61800         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61801         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61802         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61803         * sysdeps/s390/s390-64/setjmp.S: ... here.
61804         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61805         * sysdeps/s390/s390-64/configure.in: ... here
61806         * sysdeps/s390/s390-64/elf/configure: Delete file.
61807         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61808         * sysdeps/s390/s390-64/start.S: ... here.
61809         * sysdeps/s390/s390-64/elf/configure: Delete.
61811         * configure.in: Remove support for elf directories in sysdeps.
61813         * configure: Regenerated.
61814         * sysdeps/i386/configure: Regenerated.
61815         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61816         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61817         * sysdeps/s390/s390-32/configure: Regenerated.
61818         * sysdeps/s390/s390-64/configure: Regenerated.
61819         * sysdeps/sh/configure: Regenerated.
61820         * sysdeps/sparc/configure: Regenerated.
61821         * sysdeps/x86_64/configure: Regenerated.
61823 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61827         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61828         denormal result into account.
61830 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61832         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61833         Reported by Allan McRae <allan@archlinux.org>.
61835 2012-03-23  Jeff Law  <law@redhat.com>
61837         * nss/getnssent.c (__nss_getent): Fix typo.
61839 2012-03-23  David S. Miller  <davem@davemloft.net>
61841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61843 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61845         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61846         to pad to uint64_t for each field.
61847         (dl_tls_index): Replace unsigned long with uint64_t.
61849 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61850         Paul Pluzhnikov  <ppluzhnikov@google.com>
61852         [BZ #6528]
61853         * grp/Makefile (otherlibs): Don't set it.
61854         * inet/Makefile (otherlibs): Likewise.
61855         * login/Makefile (otherlibs): Likewise.
61856         * nscd/Makefile (otherlibs): Likewise.
61857         * posix/Makefile (otherlibs): Likewise.
61858         * pwd/Makefile (otherlibs): Likewise.
61859         * rt/Makefile (otherlibs): Likewise.
61860         * sunrpc/Makefile (otherlibs): Likewise.
61861         * nss/Makefile (otherlibs): Likewise.
61862         Add libnss_files to routines and static-only-routines.
61863         ($(objpfx)getent): Remove rule.
61864         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61865         static-only-routines.
61867 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61869         [BZ #13892]
61870         * math/s_cexp.c: Include <float.h>.
61871         (__cexp): Handle exp result overflowing not necessarily
61872         overflowing both real and imaginary parts of result.
61873         * math/s_cexpf.c: Likewise.
61874         * math/s_cexpl.c: Likewise.
61875         * math/libm-test.inc (cexp_test): Add more tests.
61876         * sysdeps/i386/fpu/libm-test-ulps: Update.
61877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61879 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61881         * include/link.h (ELFW): New macro.
61882         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61883         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61885 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61887         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61888         with uint64_t.
61890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61892         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61893         declaration.
61894         (struct La_x32_retval): Likewise.
61896 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61898         * sysdeps/x86_64/preconfigure.in: New file.
61899         * sysdeps/x86_64/preconfigure: New generated file.
61901 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61903         [BZ #13824]
61904         * math/e_exp2l.c: Include <float.h>.
61905         (__ieee754_exp2l): Handle overflow and underflow cases
61906         separately.  Only pass fractional part of argument to
61907         __ieee754_expl.
61908         * math/libm-test.inc (exp2_test): Add more tests.
61910         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61911         negating x to take absolute value.
61912         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61913         Likewise.
61914         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61915         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61916         Likewise.
61917         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61918         computing low part if x was negated.
61919         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61921 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61923         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61924         la_x32_gnu_pltexit.
61925         (pltexit): Cast int_retval to ptrdiff_t.
61926         * elf/tst-auditmod3b.c: Likewise.
61927         * elf/tst-auditmod4b.c: Likewise.
61928         * elf/tst-auditmod5b.c: Likewise.
61929         * elf/tst-auditmod6b.c: Likewise.
61930         * elf/tst-auditmod6c.c: Likewise.
61931         * elf/tst-auditmod7b.c: Likewise.
61933         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61934         and x32_gnu_pltexit.
61936         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61937         __ELF_NATIVE_CLASS.
61938         (La_x32_regs): New macro.
61939         (La_x32_retval): Likewise.
61940         (la_x32_gnu_pltenter): New function prototype.
61941         (la_x32_gnu_pltexit): Likewise.
61943 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61946         exponent.
61948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61950         * configure.in (libc_cv_cc_nofma): Check for option to disable
61951         generation of FMA instructions.
61952         * configure: Regenerate.
61953         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61954         * sysdeps/ieee754/dbl-64/Makefile: New file.
61955         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61956         Remove brandred-fma4.
61957         (CFLAGS-brandred-fma4.c): Remove.
61958         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61959         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61960         define.
61961         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61962         define.
61964 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61966         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61967         LLONG_MAX != LONG_MAX.
61968         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61969         (_fitoa_word): Likewise.
61970         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61971         LLONG_MAX != LONG_MAX.
61972         * stdio-common/_itowa.h: Include <_itoa.h>.
61973         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61974         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61975         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61976         only if not defined.
61977         (_ITOA_WORD_TYPE): Likewise.
61978         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61979         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61981 2012-03-21  David S. Miller  <davem@davemloft.net>
61983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61985 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61987         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61988         of x86_64 when setting libc_cv_slibdir, libdir and
61989         libc_cv_localedir.
61990         * sysdeps/unix/sysv/linux/configure: Regenerated.
61992 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61994         * manual/lang.texi (Old Varargs): Remove section.
61995         (How Variadic): Update menu.
61996         (va_start): Do not mention varargs.h.
61998 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61999             Joseph Myers  <joseph@codesourcery.com>
62001         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62002         link test.
62003         * configure: Regenerated.
62005 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62007         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62008         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62009         conformtest.pl
62011 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62013         * NOTES: Remove.
62014         * Makefile (files-for-dist): Remove NOTES.
62015         (NOTES): Remove rule.
62016         * README: Don't refer to NOTES.
62017         * manual/creature.texi: Don't include macros.texi.
62018         * manual/intro.texi (creature.texi): Remove comment referring to
62019         NOTES.
62021         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62022         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62023         * configure: Regenerated.
62024         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62025         LIBC_TRY_CC_OPTION.
62026         (libc_cv_as_i686): Likewise.
62027         (libc_cv_cc_avx): Likewise.
62028         (libc_cv_cc_sse2avx): Likewise.
62029         (libc_cv_cc_fma4): Likewise.
62030         (libc_cv_cc_novzeroupper): Likewise.
62031         * sysdeps/i386/configure: Regenerated.
62033         [BZ #13883]
62034         * sysdeps/i386/fpu/s_cexp.S: Remove.
62035         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62036         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62037         * math/libm-test.inc (cexp_test): Add more tests.
62038         * sysdeps/i386/fpu/libm-test-ulps: Update.
62039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62041 2012-03-21  Allan McRae  <allan@archlinux.org>
62043         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62045 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62047         [BZ #13871]
62048         * math/w_exp2.c: Do not include <float.h>.
62049         (o_threshold, u_threshold): Remove.
62050         (__exp2): Calculate result before checking finiteness and calling
62051         __kernel_standard.
62052         * math/w_exp2f.c: Likewise.
62053         * math/w_exp2l.c: Likewise.
62054         * math/libm-test.inc (exp2_test): Require overflow exception for
62055         1e6 input.
62057         [BZ #3866]
62058         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62059         range of signed 64-bit integers before using fistpll.  Remove
62060         checks for whether integers fit in mantissa bits.
62061         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62062         the range of signed 32-bit integers before using fistpl.  Remove
62063         checks for whether integers fit in mantissa bits.
62064         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62065         (__ieee754_powl): Test for y outside the range of signed 64-bit
62066         integers before using fistpll.  Reduce 64-bit values to 63-bit
62067         ones as needed.
62068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62069         divide-by-zero is raised for zero to large negative powers.
62070         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62071         (__ieee754_powl): Test for y outside the range of signed 64-bit
62072         integers before using fistpll.  Reduce 64-bit values to 63-bit
62073         ones as needed.
62074         * math/libm-test.inc (pow_test): Add more tests.
62076 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62078         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62079         <stdio-common/_itoa.h>.
62080         * debug/segfault.c: Likewise.
62081         * elf/dl-cache.c: Likewise.
62082         * elf/dl-minimal.c: Likewise.
62083         * elf/dl-misc.c: Likewise.
62084         * elf/dl-sysdep.c: Likewise.
62085         * elf/dl-version.c: Likewise.
62086         * elf/rtld.c: Likewise.
62087         * hurd/hurdsock.c: Likewise.
62088         * hurd/lookup-retry.c: Likewise.
62089         * malloc/malloc.c: Likewise.
62090         * malloc/mtrace.c: Likewise.
62091         * nscd/nscd_getgr_r.c: Likewise.
62092         * nscd/nscd_getpw_r.c: Likewise.
62093         * nscd/nscd_getserv_r.c: Likewise.
62094         * posix/getopt_init.c: Likewise.
62095         * posix/wordexp.c: Likewise.
62096         * stdio-common/_itoa.c: Likewise.
62097         * stdio-common/printf_fphex.c: Likewise.
62098         * stdio-common/vfprintf.c: Likewise.
62099         * string/_strerror.c: Likewise.
62100         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62101         * sysdeps/i386/i686/hp-timing.h: Likewise.
62102         * sysdeps/mach/_strerror.c: Likewise.
62103         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62104         * sysdeps/mach/hurd/sethostid.c: Likewise.
62105         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62106         * sysdeps/mach/xpg-strerror.c: Likewise.
62107         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62109         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62110         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62111         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62112         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62114         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62115         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62116         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62117         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62118         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62119         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62120         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62121         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62122         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62123         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62124         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62125         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62126         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62127         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62129         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62131         * stdio-common/_itoa.h: Moved to ...
62132         * sysdeps/generic/_itoa.h: Here.
62134         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62136         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62137         instead of "_itoa.h" and "_itowa.h".
62138         * stdio-common/vfprintf.: Likewise.
62140 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62142         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62143         <bits/wordsize.h>.
62144         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62145         (__signbit): Likwise.
62146         (llrintf): Likwise.
62147         (llrint): Likwise.
62149 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62151         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62152         __WORDSIZE != 64.
62154 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62156         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62157         OVERFLOW_EXCEPTION_OK.
62158         * math/libm-test.inc ("Philosophy"): Update comment about
62159         exception testing.
62160         (OVERFLOW_EXCEPTION): Define.
62161         (OVERFLOW_EXCEPTION_OK): Likewise.
62162         (INVALID_EXCEPTION_OK): Renumber.
62163         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62164         (IGNORE_ZERO_INF_SIGN): Likewise.
62165         (test_exceptions): Handle FE_OVERFLOW.
62166         (exp10_test): Expect overflow exceptions.
62167         (exp2_test): Likewise.
62168         (expm1_test): Likewise.
62169         (nextafter_test): Likewise.
62170         (pow_test): Likewise.
62171         (scalbn_test): Likewise.
62172         (scalbln_test): Likewise.
62174 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62176         * sysdeps/x86_64/bits/atomic.h
62177         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62178         64bit integer.
62179         (atomic_exchange_acq): Likewise.
62180         (__arch_exchange_and_add_body): Likewise.
62181         (__arch_add_body): Likewise.
62182         (atomic_add_negative): Likewise.
62183         (atomic_add_zero): Likewise.
62185 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62187         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62188         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62192         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62193         Check __x86_64__ instead of __WORDSIZE.
62195 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62197         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62199 2012-03-19  David S. Miller  <davem@davemloft.net>
62201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62203         * sysdeps/sparc/fpu/fenv_private.h: New file.
62204         * sysdeps/sparc/fpu/math_private.h: Use it.
62205         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62206         Remove.
62207         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62208         (libc_feholdexcept_setroundl): Remove.
62209         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62210         Remove.
62211         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62212         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62216         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62217         int64_t instead of long int.
62218         (INSERT_WORDS64): Likwise.
62220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62222         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62223         _Unwind_GetCFA return to _Unwind_Ptr first.
62225 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62227         [BZ #13629]
62228         * math/s_clog.c: Include <float.h>.
62229         (__clog): Scale large or subnormal inputs.
62230         * math/s_clogf.c: Likewise.
62231         * math/s_clogl.c: Likewise.
62232         * math/s_clog10.c: Include <float.h>.
62233         (M_LOG10_2): Define.
62234         (__clog10): Scale large or subnormal inputs.
62235         * math/s_clog10f.c: Likewise.
62236         * math/s_clog10l.c: Likewise.
62237         * math/libm-test.inc (clog_test): Add more tests.
62238         (clog10_test): Likewise.
62239         * sysdeps/i386/fpu/libm-test-ulps: Update.
62240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62242         [BZ #11451]
62243         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62244         x and y.
62245         * math/libm-test.inc (atan2_test): Add another test.
62247         * Makerules (common-objdir-compile): Remove.
62248         * sysdeps/unix/Makefile (config-generated): Do not add
62249         $(unix-generated) to variable.
62250         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62251         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62252         Remove rule.
62253         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62254         Likewise.
62255         [generic bits/local_lim.h] (before-compile): Do not append to
62256         variable.
62257         [generic bits/local_lim.h] (common-generated): Likewise.
62258         [generic sys/param.h] (before-compile): Do not append to variable.
62259         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62260         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62261         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62262         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62263         include.
62264         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62265         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62266         [generic sys/param.h] ($(addprefix
62267         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62268         [generic sys/param.h] (common-generated): Do not append to
62269         variable.
62270         [generic sys/param.h] (sysdep_headers): Likewise.
62271         [generic bits/errno.h] (before-compile): Do not append to
62272         variable.
62273         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62274         rule.
62275         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62276         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62277         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62278         [generic bits/errno.h] (common-generated): Do not append to
62279         variable.
62280         [generic bits/ioctls.h] (before-compile): Do not append to
62281         variable.
62282         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62283         rule.
62284         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62285         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62286         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62287         rule.
62288         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62289         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62290         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62291         [generic bits/ioctls.h] (common-generated): Do not append to
62292         variable.
62293         [generic sys/syscall.h] (syscall.h): Remove variable.
62294         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62295         rule.
62296         [generic sys/syscall.h] (before-compile): Do not append to
62297         variable.
62298         [generic sys/syscall.h] (common-generated): Likewise.
62299         * sysdeps/unix/errnos-tmpl.c: Remove file.
62300         * sysdeps/unix/errnos.awk: Likewise.
62301         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62302         * sysdeps/unix/ioctls.awk: Likewise.
62303         * sysdeps/unix/mk-local_lim.c: Likewise.
62304         * sysdeps/unix/snarf-ioctls: Likewise.
62306 2012-03-19  Richard Henderson  <rth@twiddle.net>
62308         * sysdeps/i386/fpu/fenv_private.h: New file.
62309         * sysdeps/i386/fpu/math_private.h: Use it.
62310         (math_opt_barrier, math_force_eval): Remove.
62311         (libc_feholdexcept_setround_53bit): Remove.
62312         (libc_feupdateenv_53bit): Remove.
62313         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62314         (math_opt_barrier, math_force_eval): Remove.
62315         (libc_feholdexcept): Remove.
62316         (libc_feholdexcept_setround): Remove.
62317         (libc_fetestexcept, libc_fesetenv): Remove.
62318         (libc_feupdateenv_test): Remove.
62319         (libc_feupdateenv, libc_feholdsetround): Remove.
62320         (libc_feresetround): Remove.
62322         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62323         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62325         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62326         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62327         (libc_feupdateenv_testl): New.
62328         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62329         (libc_feupdateenv_testf): New.
62330         (libc_feupdateenv): Use libc_feupdateenv_test.
62331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62332         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62334         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62335         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62336         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62337         (libc_feresetround_noex): New.
62338         (libc_feresetround_noexf): New.
62339         (libc_feresetround_noexl): New.
62340         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62341         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62342         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62343         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62344         SET_RESTORE_ROUND.
62345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62347         (__cos): Likewise.
62348         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62349         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62350         SET_RESTORE_ROUND_NOEX.
62351         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62352         SET_RESTORE_ROUND_NOEXF.
62353         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62354         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62355         (libc_feholdsetroundf): New.
62356         (libc_feresetround, libc_feresetroundf): New.
62358         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62359         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62360         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62362         * sysdeps/generic/math_private.h: Include <fenv.h>.
62363         (default_libc_feholdexcept): New.
62364         (default_libc_feholdexcept_setround): New.
62365         (default_libc_fesetenv, default_libc_feupdateenv): New.
62366         (libc_feholdexcept): Only define if undefined.
62367         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62368         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62369         (libc_feholdexcept_setroundl): Likewise.
62370         (libc_feholdexcept_setround_53bit): Likewise.
62371         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62372         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62373         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62374         (libc_feupdateenv_53bit): Likewise.
62375         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62376         (libc_feholdexcept): Convert from macro to inline function.
62377         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62378         (libc_fesetenv, libc_feupdateenv): Likewise.
62380         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62381         not previously defined.
62382         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62383         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62384         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62385         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62386         * sysdeps/ieee754/flt-32/math_private.h: New file.
62387         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62388         math_private.h below SET_FLOAT_WORD.
62389         (__isnan, __isinf_ns, __finite): Remove.
62390         (__isnanf, __isinf_nsf, __finitef): Remove.
62392 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62396 2012-03-17  David S. Miller  <davem@davemloft.net>
62398         [BZ #6471]
62399         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62400         for 2.16.
62402 2012-03-16  David S. Miller  <davem@davemloft.net>
62404         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62405         warnings.
62407         [BZ #6471]
62408         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62409         properly.
62410         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62411         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62412         sysdep_routines when subdir is sysvipc.
62413         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62414         __getshmlba helper.
62416         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62420         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62421         [__LP64__].
62423 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62425         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62426         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62427         (__lround): Renamed to ...
62428         (__llround): This.  Replace long int with long long int.
62429         Define lround functions as aliases of llround functions.
62430         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62432 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62434         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62435         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62436         adresses to uintptr_t.  Replace "long int" and "unsigned long
62437         int" with "greg_t" on va_arg.
62439 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62441         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62442         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62444         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62445         Move e_machine check before EI_CLASS check.  Handle x32
62446         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62447         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62448         SKIP_EM_IA_64 and include
62449         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62451         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62452         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62453         (add_system_dir): New macro.
62455         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62456         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62458 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62460         [BZ #2551]
62461         [BZ #2552]
62462         [BZ #2553]
62463         [BZ #2554]
62464         [BZ #2562]
62465         [BZ #2563]
62466         [BZ #2565]
62467         [BZ #2566]
62468         [BZ #2576]
62469         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62470         (y0): Likewise.
62471         * math/w_j0f.c (j0f): Likewise.
62472         (y0f): Likewise.
62473         * math/w_j0l.c (__j0l): Likewise.
62474         (__y0l): Likewise.
62475         * math/w_j1.c (j1): Likewise.
62476         (y1): Likewise.
62477         * math/w_j1f.c (j1f): Likewise.
62478         (y1f): Likewise.
62479         * math/w_j1l.c (__j1l): Likewise.
62480         (__y1l): Likewise.
62481         * math/w_jn.c (jn): Likewise.
62482         (yn): Likewise.
62483         * math/w_jnf.c (jnf): Likewise.
62484         (ynf): Likewise.
62485         * math/w_jnl.c (__jnl): Likewise.
62486         (__ynl): Likewise.
62487         * math/libm-test.inc (j0_test): Add more tests.
62488         (j1_test): Likewise.
62489         (jn_test): Likewise.  Add trailing semicolon to existing test.
62490         (y0_test): Likewise.
62491         (y1_test): Likewise.
62492         * sysdeps/i386/fpu/libm-test-ulps: Update.
62493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62495         [BZ #13851]
62496         [BZ #13854]
62497         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62498         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62499         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62500         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62501         (__tanl): Set errno for infinite argument.
62502         * sysdeps/i386/fpu/mptan.c: Remove.
62503         * sysdeps/i386/fpu/s_tan.S: Likewise.
62504         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62505         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62506         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62507         * math/libm-test.inc (tan_test): Add more tests and enable more
62508         tests for double and long double.
62509         * sysdeps/i386/fpu/libm-test-ulps: Update.
62510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62512 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62514         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62515         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62517 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62519         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62520         * configure.in: Use it for both main tree and add-ons.
62521         * configure: Regenerated.
62523 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62525         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62527 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62529         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62530         in comment.
62532         [BZ #13851]
62533         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62534         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62535         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62536         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62537         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62538         infinite argument.
62539         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62540         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62541         != 0 for prec == 2.
62542         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62543         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62544         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62545         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62546         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62547         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62548         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62549         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62550         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62551         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62552         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62553         * math/libm-test.inc (cos_test): Add more tests and enable more
62554         tests for long double.
62555         (sin_test): Likewise.
62556         (sincos_test): Likewise.
62557         * sysdeps/i386/fpu/libm-test-ulps: Update.
62558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62560 2012-03-16  David S. Miller  <davem@davemloft.net>
62562         * sysdeps/sparc/fpu/math_private.h: New file.
62564 2012-03-15  David S. Miller  <davem@davemloft.net>
62566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62567         file.
62568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62570         file.
62571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62576         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62577         sysdep routines.
62578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62580         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62581         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62583         * sysdeps/sparc/sparc-ifunc.h: New file.
62584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62585         sparc-ifunc.h
62586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62588         Likewise.
62589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62590         Likewise.
62591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62595         Likewise.
62596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62601         Likewise.
62602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62603         Likewise.
62604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62610         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62611         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62622         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62624         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62626         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62627         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62629 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62631         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62632         scaling.
62633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62635 2012-03-15  Andreas Jaeger  <aj@suse.de>
62637         [BZ #13852]
62638         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62639         ieee754/flt-32 implementation for sin, cos and sincos.
62640         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62641         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62642         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62643         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62644         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62645         ieee754/flt-32 implementation for tan.
62647         * math/libm-test.inc (cos_test): Enable some large input tests for
62648         float as well
62649         (sin_test): Likewise.
62650         (sincos_test): Likewise.
62651         (tan_test): Add tests for large input.
62653         * sysdeps/i386/fpu/libm-test-ulps: Update.
62655 2012-03-15  Andreas Jaeger  <aj@suse.de>
62657         [BZ #13658]
62658         * math/libm-test.inc (cos_test): Add more test cases.
62659         (sin_test): Likewise.
62660         (sincos_test): Likewise.
62662 2012-03-15  Andreas Jaeger  <aj@suse.de>
62664         [BZ #13837]
62665         * math/libm-test.inc (cos_test): Add a test case for large input
62666         value.
62667         (sin_test): Likewise.
62668         (sincos_test): Likewise.
62670 2012-03-15  Andreas Jaeger  <aj@suse.de>
62671             Joseph Myers  <joseph@codesourcery.com>
62673         [BZ #13658]
62674         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62675         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62676         * sysdeps/i386/fpu/branred.c: Likewise.
62677         * sysdeps/i386/fpu/dosincos.c: Likewise.
62678         * sysdeps/i386/fpu/mpa.c: Likewise.
62679         * sysdeps/i386/fpu/s_cos.S: Likewise.
62680         * sysdeps/i386/fpu/s_sin.S: Likewise.
62681         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62682         * sysdeps/i386/fpu/sincos32.c: Likewise.
62684         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62685         Define.
62686         (libc_feupdateenv_53bit): Define.
62687         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62688         Define.
62689         (libc_feupdateenv_53bit): Define.
62691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62692         53 bit (without extend i386 double precision).
62694         * math/libm-test.inc (sincos_test): Add tests for large input.
62695         (sin): Likewise.
62696         (cos): Likewise.
62698         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62700 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62704 2012-03-15  David S. Miller  <davem@davemloft.net>
62706         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62707         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62708         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62709         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62722         file.
62723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62725         file.
62726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62728         file.
62729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62731         file.
62732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62734         fmin/fmax sysdep routines.
62735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62737 2012-03-14  David S. Miller  <davem@davemloft.net>
62739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62743         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62744         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62745         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62746         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62759         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62760         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62761         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62762         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62763         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62764         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62765         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62766         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62767         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62768         routines.
62769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62770         file.
62771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62773         file.
62774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62776         file.
62777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62779         file.
62780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62782         file.
62783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62785         file.
62786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62787         file.
62788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62789         file.
62790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62791         file.
62792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62793         New file.
62794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62795         file.
62796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62797         file.
62798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62800         file.
62801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62803         file.
62804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62806         file.
62807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62809         VIS3 routines.
62811         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62812         New file.
62814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62816         * sysdeps/sparc/configure.in: New file.
62817         * sysdeps/sparc/configure: Generate.
62818         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62819         * configure: Regenerate.
62820         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62821         * config.make.in (have-as-vis3): New.
62822         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62823         available use -Av9d instead of -Av9a.
62824         * sysdeps/sparc/sparc64/Makefile: Likewise.
62825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62827         New file.
62828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62829         file.
62830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62831         New file.
62832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62833         file.
62834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62835         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62836         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62837         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62838         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62840         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62841         fzeros/fnegs to load 0x80000000 into a float register instead of
62842         using the stack.
62843         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62845 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62848         bits/syscall.h.
62849         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62850         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62851         ($(inst_includedir)/bits/syscall.h): Remove rule.
62852         ($(objpfx)bits/syscall.d): Include instead of
62853         $(objpfx)syscall-list.d.
62854         (generated): Change syscall-list.h and syscall-list.d to
62855         bits/syscall.h and bits/syscall.d.
62857 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62859         [BZ #13846]
62860         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62862 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62864         [BZ #13841]
62865         * math/s_csqrt.c: Include <float.h>.
62866         (__csqrt): Scale large or subnormal inputs.
62867         * math/s_csqrtf.c: Likewise.
62868         * math/s_csqrtl.c: Likewise.
62869         * math/libm-test.inc (csqrt_test): Add more tests.
62870         * sysdeps/i386/fpu/libm-test-ulps: Update.
62871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62873         [BZ #13840]
62874         * math/libm-test.inc (hypot_test): Add more tests.
62876 2012-03-13  David S. Miller  <davem@davemloft.net>
62878         [BZ #13840]
62879         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62880         double-precision for the calculation instead of scaling.
62882 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62884         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62885         manipulate bits before adding and subtracting TWO52[sx].
62886         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62887         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62888         Likewise.
62889         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62891 2012-03-13  David S. Miller  <davem@davemloft.net>
62893         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62894         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62895         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62896         rtld-global-offsets.h
62897         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62899         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62900         large parameters.
62902         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62904         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62905         'err' in the ifdef scope in which it is actually used.
62907         * nss/nss_db/db-init.c: Include string.h
62909 2012-03-12  David S. Miller  <davem@davemloft.net>
62911         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62912         masking out of the most significant byte of random value used.
62913         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62914         Fix coding style in previous change.
62916         * sysdeps/unix/sysv/linux/kernel-features.h
62917         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62918         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62919         expression.
62920         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62921         later.
62923 2012-03-11  David S. Miller  <davem@davemloft.net>
62925         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62926         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62927         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62928         for 'resultvar' otherwise things get truncated on 64-bit.
62930         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62931         Fix masking out of the most significant byte of random value used.
62933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62935 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62939 2012-03-09  David S. Miller  <davem@davemloft.net>
62941         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62942         variables with appropriate CPP guards.
62943         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62944         from the frame pointer, not the stack pointer.  Correct layout
62945         comments.  Fix test on resulting framesize and the management of
62946         the outregs buffer for pltexit.  Preserve floating point return
62947         values across _dl_call_pltexit call.
62948         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62949         framesize and the management of the outregs buffer for pltexit.
62950         Preserve floating point return values across _dl_call_pltexit
62951         call.
62952         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62953         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62954         (la_sparc64_gnu_pltexit): New functions.
62955         (print_exit): Fix format string for return register value.
62957 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62959         * sunrpc/Makefile (others): Add rpcgen.
62960         ($(objpfx)rpcgen): Remove special build rule and dependency on
62961         libc.
62962         * sunrpc/rpcgen.c: New file.
62964 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62966         [BZ #13673]
62967         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62968         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62969         * sysdeps/i386/crti.S: Likewise.
62970         * sysdeps/i386/crtn.S: Likewise.
62971         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62972         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62973         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62974         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62975         * sysdeps/sh/crti.S: Likewise.
62976         * sysdeps/sh/crtn.S: Likewise.
62977         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62979         [BZ #13673]
62980         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62981         with URL.
62982         * locale/programs/locfile-kw.gperf: Likewise.
62983         * locale/programs/charmap-kw.h: Regenerated.
62984         * locale/programs/locfile-kw.h: Likewise.
62986         [BZ #13673]
62987         * intl/plural.y: Replace FSF snail mail address with URL.
62988         * intl/plural.c: Regenerated.
62990 2012-03-09  Richard Henderson  <rth@twiddle.net>
62992         * include/math_private.h: Remove file.
62993         * math/math_private.h: Move file ...
62994         * sysdeps/generic/math_private.h: ... here.
62996         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62997         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62998         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63000         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63001         and <math_private.h>.
63002         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63003         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63004         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63005         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63006         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63007         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63008         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63010         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63011         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63013         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63014         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63015         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63016         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63017         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63018         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63019         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63020         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63021         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63022         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63023         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63024         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63026         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63027         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63028         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63029         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63031         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63032         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63033         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63034         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63035         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63036         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63037         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63038         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63039         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63041         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63042         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63043         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63044         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63045         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63046         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63047         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63048         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63049         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63050         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63051         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63052         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63053         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63054         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63055         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63056         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63057         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63058         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63059         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63060         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63061         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63062         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63063         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63065         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63066         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63067         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63068         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63069         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63070         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63071         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63072         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63074         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63075         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63076         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63077         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63078         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63079         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63080         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63081         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63082         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63083         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63084         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63085         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63086         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63087         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63089         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63090         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63091         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63092         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63093         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63094         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63095         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63096         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63097         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63098         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63099         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63100         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63101         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63102         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63103         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63104         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63105         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63106         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63107         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63108         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63109         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63110         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63111         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63112         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63113         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63114         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63115         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63116         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63117         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63118         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63119         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63120         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63121         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63122         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63123         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63124         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63125         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63126         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63127         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63128         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63129         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63130         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63131         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63132         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63133         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63134         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63135         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63136         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63137         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63138         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63139         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63140         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63141         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63142         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63143         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63144         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63145         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63146         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63147         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63148         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63149         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63150         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63151         * sysdeps/ieee754/k_standard.c: Likewise.
63152         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63153         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63154         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63155         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63156         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63157         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63158         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63159         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63160         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63161         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63162         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63164         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63165         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63166         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63167         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63168         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63169         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63170         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63171         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63172         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63173         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63174         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63175         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63176         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63177         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63178         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63179         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63180         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63181         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63182         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63183         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63184         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63185         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63186         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63187         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63188         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63189         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63190         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63191         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63192         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63193         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63194         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63195         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63196         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63197         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63198         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63199         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63200         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63201         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63202         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63203         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63204         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63205         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63208         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63209         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63210         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63211         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63212         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63213         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63214         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63218         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63219         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63220         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63221         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63222         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63223         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63224         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63225         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63226         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63227         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63228         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63229         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63230         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63231         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63232         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63235         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63236         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63240         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63242         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63243         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63244         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63245         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63247         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63248         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63249         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63250         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63251         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63253         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63255         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63256         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63257         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63259         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63260         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63261         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63262         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63263         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63264         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63265         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63266         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63267         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63268         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63269         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63270         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63271         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63272         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63273         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63274         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63275         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63276         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63277         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63278         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63279         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63280         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63281         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63282         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63283         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63284         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63285         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63286         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63287         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63288         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63289         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63290         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63291         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63292         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63293         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63294         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63295         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63296         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63297         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63298         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63299         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63300         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63301         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63302         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63303         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63304         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63305         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63306         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63307         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63308         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63309         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63310         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63311         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63312         * sysdeps/ieee754/s_lib_version.c: Likewise.
63313         * sysdeps/ieee754/s_matherr.c: Likewise.
63314         * sysdeps/ieee754/s_signgam.c: Likewise.
63315         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63316         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63317         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63318         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63319         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63320         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63321         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63322         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63323         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63324         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63325         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63326         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63327         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63328         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63329         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63330         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63331         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63332         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63333         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63334         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63337 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63339         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63340         * sunrpc/rpc_main.c: Likewise.
63341         * sunrpc/rpc_svcout.c: Likewise.
63343 2012-03-09  David S. Miller  <davem@davemloft.net>
63345         * include/math_private.h: New file.
63347 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63349         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63350         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63351         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63352         from <bits/socket_type.h>.
63353         (enum __socket_type): Don't define here.
63354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63356         bits/socket_type.h.
63358         [BZ #13566]
63359         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63360         checking __USE_GNU.
63362         * Makerules ($(inst_includedir)/%.h): New rule.
63363         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63364         (install-others): Remove variable setting.
63365         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63367 2012-03-08  Richard Henderson  <rth@twiddle.net>
63369         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63370         from macro to inline function; merge with the
63371         !__LIBC_INTERNAL_MATH_INLINES version.
63372         (__ieee754_sqrtf): Likewise.
63374         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63375         to inline function.
63376         (__rintf, __floor, __floorf): Likewise.
63378         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63379         macro to inline function.
63380         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63382         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63383         not <math/math_private.h>.
63385 2012-03-08  David S. Miller  <davem@davemloft.net>
63387         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63388         copyright year.
63389         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63391 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63393         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63394         normalization.
63395         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63396         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63398 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63400         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63401         be defined individually, they must be defined as a block.  Define
63402         S for printing a string instead of hidint the different by using a
63403         macro for adding the 'l'.
63404         * stdio-common/tst-fphex-wide.c: Adjust.
63406 2012-03-07  Marek Polacek  <polacek@redhat.com>
63408         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63410 2012-03-08  Marek Polacek  <polacek@redhat.com>
63412         [BZ #13806]
63413         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63414         * stdio-common/tst-fphex.c: Define a few macros to make the
63415         test reusable.  Use them.
63416         * stdio-common/tst-fphex-wide.c: New file.
63418 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63420         [BZ #6911]
63421         * manual/macros.texi (gnusystems): New macro.
63422         (nongnusystems): Likewise.
63423         (gnulinuxhurdsystems): Likewise.
63424         (gnuhurdsystems): Likewise..
63425         (gnulinuxsystems): Likewise.
63426         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63427         variants of the GNU system, not "GNU system".
63428         * manual/conf.texi: Likewise.
63429         * manual/errno.texi: Likewise.  Update example of errno macro
63430         expansion.
63431         * manual/filesys.texi: Likewise.
63432         (getumask): Document as specific to GNU/Hurd.
63433         * manual/install.texi: Likewise.  Reword some references to
63434         GNU/Linux.
63435         * manual/intro.texi: Likewise.
63436         * manual/io.texi: Likewise.
63437         (File Name Portability): Detail which constraints are inapplicable
63438         to all GNU systems and which are only inapplicable to GNU/Hurd.
63439         * manual/job.texi: Likewise.
63440         * manual/llio.texi: Likewise.
63441         (O_NOCTTY): Document as present on GNU/Linux.
63442         * manual/maint.texi: Likewise.
63443         * manual/memory.texi: Likewise.
63444         * manual/pattern.texi: Likewise.
63445         * manual/pipe.texi: Likewise.
63446         * manual/process.texi: Likewise.
63447         * manual/resource.texi: Likewise.
63448         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63449         child on GNU/Hurd.
63450         * manual/setjmp.texi: Likewise.
63451         * manual/signal.texi: Likewise.
63452         * manual/startup.texi: Likewise.
63453         * manual/stdio.texi: Likewise.
63454         * manual/terminal.texi: Likewise.
63455         (ONLCR): Document as POSIX.
63456         (OXTABS): Document availability on GNU/Linux as XTABS.
63457         (ONOEOT): Document availability separately from other bits.
63458         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63459         * manual/time.texi: Likewise.
63460         * manual/users.texi: Likewise.
63461         * INSTALL: Regenerated.
63462         * sysdeps/gnu/errlist.c: Regenerated.
63464         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63465         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63466         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63467         puts.
63468         * configure: Regenerated.
63470 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63472         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63473         default includes instead of AC_HEADER_CHECK.
63474         * sysdeps/i386/configure: Regenerated.
63476         [BZ #10716]
63477         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63478         * math/s_cacoshf.c (__cacoshf): Likewise.
63479         * math/s_cacoshl.c (__cacoshl): Likewise.
63480         * math/s_casinh.c (__casinh): Set signs of result from argument.
63481         * math/s_casinhf.c (__casinhf): Likewise.
63482         * math/s_casinhl.c (__casinhl): Likewise.
63483         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63484         (casinh_test): Add more tests.
63485         * sysdeps/i386/fpu/libm-test-ulps: Update.
63486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63488 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63490         * po/zh_TW.po: Update from translation team.
63492         * login/Makefile (distribute): Remove variable.
63493         * catgets/Makefile: Likewise.
63494         * mach/Makefile: Likewise.
63495         * malloc/Makefile: Likewise.
63496         * misc/Makefile: Likewise.
63497         * iconv/Makefile: Likewise.
63498         * nscd/Makefile: Likewise.
63499         * hurd/Makefile: Likewise.
63500         * manual/Makefile: Likewise.
63501         * locale/Makefile: Likewise.
63502         * intl/Makefile: Likewise.
63503         * conform/Makefile: Likewise.
63504         * nss/Makefile: Likewise.
63505         * time/Makefile: Likewise.
63506         * soft-fp/Makefile: Likewise.
63507         * dirent/Makefile: Likewise.
63508         * gmon/Makefile: Likewise.
63509         * po/Makefile: Likewise.
63510         * rt/Makefile: Likewise.
63511         * socket/Makefile: Likewise.
63512         * math/Makefile: Likewise.
63513         * signal/Makefile: Likewise.
63514         * debug/Makefile: Likewise.
63515         * elf/Makefile: Likewise.
63516         * timezone/Makefile: Likewise.
63517         * stdlib/Makefile: Likewise.
63518         * iconvdata/Makefile: Likewise.
63519         * sunrpc/Makefile: Likewise.
63520         * io/Makefile: Likewise.
63521         * argp/Makefile: Likewise.
63522         * inet/Makefile: Likewise.
63523         * hesiod/Makefile: Likewise.
63524         * grp/Makefile: Likewise.
63525         * csu/Makefile: Likewise.
63526         * wctype/Makefile: Likewise.
63527         * crypt/Makefile: Likewise.
63528         * libio/Makefile: Likewise.
63529         * string/Makefile: Likewise.
63530         * nis/Makefile: Likewise.
63531         * resolv/Makefile: Likewise.
63532         * stdio-common/Makefile: Likewise.
63533         * wcsmbs/Makefile: Likewise.
63534         * dlfcn/Makefile: Likewise.
63535         * posix/Makefile: Likewise.
63537         [BZ #6959]
63538         * timezone/Makefile: Don't install timezone files, just the programs
63539         and scripts.
63541 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63543         * nss/databases.def: Add missing gshadow entry.
63545         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63547 2012-03-06  Marek Polacek  <polacek@redhat.com>
63549         [BZ #13726]
63550         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63551         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63552         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63553         * stdio-common/tst-long-dbl-fphex.c: New file.
63555 2012-03-06  David S. Miller  <davem@davemloft.net>
63557         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63558         (set_obp_int): New function.
63559         (get_obp_int): New function.
63560         (__get_clockfreq_via_dev_openprom): Likewise.
63561         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63562         Avoid unused variable warnings on 'val' and use builtin_expect.
63563         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63564         __builtin_expect.
63565         (INLINE_CLONE_SYSCALL): Likewise.
63567 2012-03-05  David S. Miller  <davem@davemloft.net>
63569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63571 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63576         only for |x| >= 40.
63577         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63579 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63582         Replace gettimeofday with __vdso_gettimeofday.
63584         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63585         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63586         __vdso_clock_gettime and __vdso_getcpu.
63588         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63589         time with __vdso_time.
63591 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63593         * manual/lang.texi (size_t): Note types to which size_t may be
63594         equivalent with the GNU C Library, but do not describe when
63595         differences between them are significant.
63597 2012-03-05  Andreas Jaeger  <aj@suse.de>
63599         * sysdeps/i386/fpu/libm-test-ulps: Update.
63601 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63603         [BZ #3976]
63604         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63605         (__ieee754_pow): Save and restore rounding mode and use
63606         round-to-nearest for main computations.
63607         * math/libm-test.inc (pow_test_tonearest): New function.
63608         (pow_test_towardzero): Likewise.
63609         (pow_test_downward): Likewise.
63610         (pow_test_upward): Likewise.
63611         (main): Call the new functions.
63612         * sysdeps/i386/fpu/libm-test-ulps: Update.
63613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63615         [BZ #3976]
63616         * math/libm-test.inc (cosh_test_tonearest): New function.
63617         (cosh_test_towardzero): Likewise.
63618         (cosh_test_downward): Likewise.
63619         (cosh_test_upward): Likewise.
63620         (sinh_test_tonearest): Likewise.
63621         (sinh_test_towardzero): Likewise.
63622         (sinh_test_downward): Likewise.
63623         (sinh_test_upward): Likewise.
63624         (main): Call the new functions.
63625         * sysdeps/i386/fpu/libm-test-ulps: Update.
63626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63628 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63630         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63631         default stack guard is set in last bytes.
63632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63634 2012-03-05  Kees Cook  <keescook@chromium.org>
63636         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63638         [BZ #13656]
63639         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63640         possibly allocate from heap instead of stack.
63641         * stdio-common/bug-vfprintf-nargs.c: New file.
63642         * stdio-common/Makefile (tests): Add nargs overflow test.
63644 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63648 2012-03-03  Marek Polacek  <polacek@redhat.com>
63650         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63651         * math/math_private.h: Likewise.
63652         * stdlib/tst-strtod.c: Likewise.
63653         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63654         * sysdeps/x86_64/bits/atomic.h: Likewise.
63656 2012-03-02  David S. Miller  <davem@davemloft.net>
63658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63662         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63663         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63664         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63665         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63667 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63669         [BZ #13792]
63670         * manual/examples/README: New file, says the example source files
63671         can be used under GPL>=2.
63672         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63673         line containing just "*/".
63674         * manual/examples/add.c: Add copyright header (GPL>=2).
63675         * manual/examples/argp-ex1.c: Likewise.
63676         * manual/examples/argp-ex2.c: Likewise.
63677         * manual/examples/argp-ex3.c: Likewise.
63678         * manual/examples/argp-ex4.c: Likewise.
63679         * manual/examples/atexit.c: Likewise.
63680         * manual/examples/db.c: Likewise.
63681         * manual/examples/dir.c: Likewise.
63682         * manual/examples/dir2.c: Likewise.
63683         * manual/examples/execinfo.c: Likewise.
63684         * manual/examples/filecli.c: Likewise.
63685         * manual/examples/filesrv.c: Likewise.
63686         * manual/examples/fmtmsgexpl.c: Likewise.
63687         * manual/examples/genpass.c: Likewise.
63688         * manual/examples/inetcli.c: Likewise.
63689         * manual/examples/inetsrv.c: Likewise.
63690         * manual/examples/isockad.c: Likewise.
63691         * manual/examples/longopt.c: Likewise.
63692         * manual/examples/memopen.c: Likewise.
63693         * manual/examples/memstrm.c: Likewise.
63694         * manual/examples/mkfsock.c: Likewise.
63695         * manual/examples/mkisock.c: Likewise.
63696         * manual/examples/mygetpass.c: Likewise.
63697         * manual/examples/pipe.c: Likewise.
63698         * manual/examples/popen.c: Likewise.
63699         * manual/examples/rprintf.c: Likewise.
63700         * manual/examples/search.c: Likewise.
63701         * manual/examples/select.c: Likewise.
63702         * manual/examples/setjmp.c: Likewise.
63703         * manual/examples/sigh1.c: Likewise.
63704         * manual/examples/sigusr.c: Likewise.
63705         * manual/examples/stpcpy.c: Likewise.
63706         * manual/examples/strdupa.c: Likewise.
63707         * manual/examples/strftim.c: Likewise.
63708         * manual/examples/strncat.c: Likewise.
63709         * manual/examples/subopt.c: Likewise.
63710         * manual/examples/swapcontext.c: Likewise.
63711         * manual/examples/termios.c: Likewise.
63712         * manual/examples/testopt.c: Likewise.
63713         * manual/examples/testpass.c: Likewise.
63714         * manual/examples/timeval_subtract.c: Likewise.
63716         [BZ #13792]
63717         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63718         function to ...
63719         * manual/timeval_subtract.c.texi: ... here, new file.
63721 2012-03-02  David S. Miller  <davem@davemloft.net>
63723         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63725 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63727         [BZ #3976]
63728         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63729         (__sin): Save and restore rounding mode and use round-to-nearest
63730         for all computations.
63731         (__cos): Save and restore rounding mode and use round-to-nearest
63732         for all computations.
63733         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63734         <fenv.h>.
63735         (tan): Save and restore rounding mode and use round-to-nearest for
63736         all computations.
63737         * math/libm-test.inc (cos_test_tonearest): New function.
63738         (cos_test_towardzero): Likewise.
63739         (cos_test_downward): Likewise.
63740         (cos_test_upward): Likewise.
63741         (sin_test_tonearest): Likewise.
63742         (sin_test_towardzero): Likewise.
63743         (sin_test_downward): Likewise.
63744         (sin_test_upward): Likewise.
63745         (tan_test_tonearest): Likewise.
63746         (tan_test_towardzero): Likewise.
63747         (tan_test_downward): Likewise.
63748         (tan_test_upward): Likewise.
63749         (main): Call the new functions.
63750         * sysdeps/i386/fpu/libm-test-ulps: Update.
63751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63753         [BZ #10135]
63754         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63755         small n, then large n, before computing and testing k+n.
63756         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63757         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63758         Likewise.
63759         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63760         Likewise.
63761         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63762         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63763         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63764         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63765         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63766         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63767         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63768         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63769         * math/libm-test.inc (scalbn_test): Add more tests.
63770         (scalbln_test): Likewise.
63772         * manual/filesys.texi (mode_t): Describe constraints on size and
63773         signedness, not exact equivalence to a particular type.
63774         (ino_t): Likewise.
63775         (ino64_t): Likewise.
63776         (dev_t): Likewise.
63777         (nlink_t): Likewise.
63778         (blkcnt_t): Likewise.
63779         (blkcnt64_t): Likewise.
63780         * manual/llio.texi (off_t): Likewise.
63782         [BZ #3976]
63783         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63784         (__ieee754_exp): Save and restore rounding mode and use
63785         round-to-nearest for all computations.
63786         * math/libm-test.inc (exp_test_tonearest): New function.
63787         (exp_test_towardzero): Likewise.
63788         (exp_test_downward): Likewise.
63789         (exp_test_upward): Likewise.
63790         (main): Call the new functions.
63791         * sysdeps/i386/fpu/libm-test-ulps: Update.
63792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63794 2012-03-01  Chris Demetriou  <cgd@google.com>
63796         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63797         have predictable order.
63799 2012-03-01  David S. Miller  <davem@davemloft.net>
63801         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63803         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63804         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63805         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63806         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63808         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63809         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63810         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63812         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63813         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63814         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63815         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63816         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63820         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63821         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63822         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63824         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63825         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63826         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63827         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63828         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63829         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63830         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63831         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63832         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63833         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63834         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63835         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63837         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63838         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63839         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63840         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63841         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63842         * sysdeps/sparc/elf/configure: Regenerated.
63844 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63846         * configure.in (AS, LD): Require binutils 2.20 or later.
63847         * configure: Regenerated.
63848         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63849         as required minimum version.
63850         * INSTALL: Regenerated.
63852         [BZ #2541]
63853         [BZ #4108]
63854         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63855         before squaring exponent.
63856         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63857         bottom long double and 27 bits of top long double before squaring
63858         exponent.
63859         * math/libm-test.inc (erfc_test): Add more tests.
63860         * sysdeps/i386/fpu/libm-test-ulps: Update.
63861         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63864 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63866         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63867         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63868         containing bit-fields.
63869         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63870         * soft-fp/single.h (_FP_UNION_S): Likewise.
63871         * soft-fp/double.h (_FP_UNION_D): Likewise.
63873 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63875         [BZ #13786]
63876         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63877         not include ../strcmp.S.
63878         [USE_AS_STRNCASECMP_L]: Likewise.
63879         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63880         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63881         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63882         (__strncasecmp_l_ia32): Define as alias to
63883         __strncasecmp_l_nonascii.
63885         [BZ #5794]
63886         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63887         * sysdeps/i386/fpu/libm-test-ulps: Update.
63888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63890         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63893 2012-02-29  Jeff Law  <law@redhat.com>
63895         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63896         out of bounds read.
63898 2012-02-29  Marek Polacek  <polacek@redhat.com>
63900         [BZ #13706]
63901         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63902         * elf/Makefile: Add rules to run tst-unused-dep.out.
63904 2012-02-28  David S. Miller  <davem@davemloft.net>
63906         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63907         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63908         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63909         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63910         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63911         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63913 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63915         * math/libm-test.inc (llround_test): Move one test from
63916         lround_test.  Use TEST_f_L in moved test.
63917         (lround_test): Move misplaced test to llround_test.  Add testcase
63918         from bug 2561.
63920 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63922         * sysdeps/x86_64/fpu/e_expf.S: New file.
63923         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63925 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63927         [BZ #13637]
63928         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63929         of remain_len that may cause incomplete multi-byte character and
63930         false match.
63931         * posix/bug-regex33.c: New file.
63932         * posix/Makefile (tests): Add bug-regex33.
63934 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63936         * manual/macros.texi: New file.
63937         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63938         * manual/libc.texinfo: Include macros.texi.
63939         * manual/creatute.texi: Likewise.
63940         * manual/install.texi: Likewise.
63941         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63942         @glibcadj{} in references to the GNU C Library.
63943         * manual/charset.texi: Likewise.
63944         * manual/conf.texi: Likewise.
63945         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63946         when not using those macros.
63947         * manual/creature.texi: Likewise.
63948         * manual/crypt.texi: Likewise.
63949         * manual/errno.texi: Likewise.
63950         * manual/filesys.texi: Likewise.
63951         * manual/header.texi: Likewise.
63952         * manual/install.texi: Likewise.
63953         * manual/intro.texi: Likewise.
63954         * manual/io.texi: Likewise.
63955         * manual/job.texi: Likewise.
63956         * manual/lang.texi: Likewise.
63957         * manual/libc.texiinfo: Likewise.
63958         * manual/llio.texi: Likewise.
63959         * manual/locale.texi: Likewise.
63960         * manual/maint.texi: Likewise.
63961         * manual/math.texi: Likewise.
63962         * manual/memory.texi: Likewise.
63963         * manual/message.texi: Likewise.
63964         * manual/nss.texi: Likewise.
63965         * manual/pattern.texi: Likewise.
63966         * manual/process.texi: Likewise.
63967         * manual/resource.texi: Likewise.
63968         * manual/search.texi: Likewise.
63969         * manual/setjmp.texi: Likewise.
63970         * manual/signal.texi: Likewise.
63971         * manual/socket.texi: Likewise.
63972         * manual/startup.texi: Likewise.
63973         * manual/stdio.texi: Likewise.
63974         * manual/string.texi: Likewise.
63975         * manual/sysinfo.texi: Likewise.
63976         * manual/syslog.texi: Likewise.
63977         * manual/terminal.texi: Likewise.
63978         * manual/time.texi: Likewise.
63979         * manual/users.texi: Likewise.
63980         * INSTALL: Regenerated.
63981         * NOTES: Regenerated.
63982         * sysdeps/gnu/errlist.c: Regenerated.
63984 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63986         * include/dirent.h: Include <dirstream.h> before
63987         <dirent/dirent.h>.
63989 2012-02-28  David S. Miller  <davem@davemloft.net>
63991         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63992         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63993         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63994         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63996 2012-02-27  David S. Miller  <davem@davemloft.net>
63998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64000         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64001         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64004         frame pointer instead of stack pointer relative arg slot.
64005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64006         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64007         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64009 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64011         [BZ #3992]
64012         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64014 2012-02-27  David S. Miller  <davem@davemloft.net>
64016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64020         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64021         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64022         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64023         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64025 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64027         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64028         later.  Allow versions 5-9.
64029         * configure: Regenerated.
64030         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64031         required minimum version and 4.6 as recommended version.  Do not
64032         mention bugs in GCC 2.7 and 2.8.
64033         * INSTALL: Regenerated.
64035 2012-02-27  David S. Miller  <davem@davemloft.net>
64037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64041         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64042         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64043         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64044         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64046         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64047         manipulate bits before adding and subtracting TWO112[sx].
64048         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64050 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64052         [BZ #13775]
64053         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64054         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64055         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64056         being in POSIX, because they are in 1003.1-2008.
64058         * rt/tst-aio.c: Include <fcntl.h>.
64059         * rt/tst-aio7.c: Likewise.
64060         * rt/tst-aio64.c: Likewise.
64062         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64064 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64066         * manual/install.texi (--with-headers): Describe headers as
64067         interface headers, not private headers.
64068         (Specific advice for GNU/Linux systems): Describe use of headers
64069         from "make headers_install", not private headers from older
64070         kernels.
64071         * INSTALL: Regenerated.
64072         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64073         Change to 2.6.19.
64074         * sysdeps/unix/sysv/linux/configure: Regenerated.
64076         * manual/llio.texi (fclean): Remove documentation.
64078         * manual/Makefile (libc-texi-generated): New variable.  Include
64079         version.texi.
64080         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64081         $(libc-texi-generated), not duplicated list of files.
64082         (version.texi, stamp-version): New rules.
64083         (realclean): Remove $(libc-texi-generated), not individual files
64084         from that list.  Do not remove dir-add.texinfo.
64085         * manual/libc.texinfo: Comment out uses of edition numbers and
64086         references to printed manual.  Remove last-updated dates.
64087         (EDITION): Comment out.
64088         (ISBN): Likewise.
64089         (VERSION, UPDATED): Remove.
64090         (version.texi): Include.
64092 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64094         * sysdeps/posix/spawni.c: Include <signal.h>.
64095         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64096         * sysdeps/pthread/aio_fsync.c: Likewise.
64098 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64100         * conform/Makefile (tests): Run only when not cross-compiling and
64101         when fast-check is not defined.
64103         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64104         * conform/data/limits.h-data: Fixes for POSIX2008.
64105         * conform/run-conformtest.sh: Run all tests.
64106         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64107         headers.
64108         * include/bits/dlfcn.h: Likewise.
64109         * include/langinfo.h: Likewise.
64110         * include/monetary.h: Likewise.
64111         * include/sys/poll.h: Likewise.
64113         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64114         for __USE_GNU.
64115         * posix/spawn.h: Define __need_sigset_t.
64116         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64117         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64118         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64119         to get sigevent_t only.
64120         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64121         only for __USE_GNU.
64122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64123         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64124         process_vm_writev only for __USE_GNU.
64125         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64127         * conform/Makefile: For now ignore errors from run-conformtest.
64128         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64129         POSIX to avoid namespace pollution.  Don't prepend headers.
64130         * conform/data/aio.h-data: Fixes for POSIX testing.
64131         * conform/data/fcntl.h-data: Likewise.
64132         * conform/data/glob.h-data: Likewise.
64133         * conform/data/grp.h-data: Likewise.
64134         * conform/data/pthread.h-data: Likewise.
64135         * conform/data/pwd.h-data: Likewise.
64136         * conform/data/signal.h-data: Likewise.
64137         * conform/data/spawn.h-data: Likewise.
64138         * conform/data/stdio.h-data: Likewise.
64139         * conform/data/stdlib.h-data: Likewise.
64140         * conform/data/stropts.h-data: Likewise.
64141         * conform/data/sys/mman.h-data: Likewise.
64142         * conform/data/sys/stat.h-data: Likewise.
64143         * conform/data/sys/types.h-data: Likewise.
64144         * conform/data/sys/wait.h-data: Likewise.
64145         * conform/data/time.h-data: Likewise.
64146         * conform/data/unistd.h-data: Likewise.
64147         * conform/data/utime.h-data: Likewise.
64149         * io/sys/stat.h: fchmod was always in POSIX.
64150         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64151         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64152         * rt/aio.h: Define __need_timespec before including <time.h>.
64153         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64154         struct.  Add forward declaration of pthread_attr_t and use it in
64155         sigevent.
64156         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64157         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64158         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64159         always remove CLK_TCK definition.
64161 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64163         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64165 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64167         * conform/run-conformtest.sh: New file.
64168         * conform/Makefile: Run run-conformtest for tests.
64169         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64170         support.
64172         * conform/data/uchar.h-data: New file.
64173         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64174         * conform/data/arpa/inet.h-data: Likewise.
64175         * conform/data/assert.h-data: Likewise.
64176         * conform/data/complex.h-data: Likewise.
64177         * conform/data/cpio.h-data: Likewise.
64178         * conform/data/ctype.h-data: Likewise.
64179         * conform/data/dirent.h-data: Likewise.
64180         * conform/data/dlfcn.h-data: Likewise.
64181         * conform/data/errno.h-data: Likewise.
64182         * conform/data/fcntl.h-data: Likewise.
64183         * conform/data/float.h-data: Likewise.
64184         * conform/data/fmtmsg.h-data: Likewise.
64185         * conform/data/fnmatch.h-data: Likewise.
64186         * conform/data/ftw.h-data: Likewise.
64187         * conform/data/glob.h-data: Likewise.
64188         * conform/data/grp.h-data: Likewise.
64189         * conform/data/iconv.h-data: Likewise.
64190         * conform/data/inttypes.h-data: Likewise.
64191         * conform/data/langinfo.h-data: Likewise.
64192         * conform/data/libgen.h-data: Likewise.
64193         * conform/data/limits.h-data: Likewise.
64194         * conform/data/locale.h-data: Likewise.
64195         * conform/data/math.h-data: Likewise.
64196         * conform/data/monetary.h-data: Likewise.
64197         * conform/data/mqueue.h-data: Likewise.
64198         * conform/data/ndbm.h-data: Likewise.
64199         * conform/data/net/if.h-data: Likewise.
64200         * conform/data/netdb.h-data: Likewise.
64201         * conform/data/netinet/in.h-data: Likewise.
64202         * conform/data/nl_types.h-data: Likewise.
64203         * conform/data/poll.h-data: Likewise.
64204         * conform/data/pthread.h-data: Likewise.
64205         * conform/data/pwd.h-data: Likewise.
64206         * conform/data/regex.h-data: Likewise.
64207         * conform/data/sched.h-data: Likewise.
64208         * conform/data/search.h-data: Likewise.
64209         * conform/data/semaphore.h-data: Likewise.
64210         * conform/data/setjmp.h-data: Likewise.
64211         * conform/data/signal.h-data: Likewise.
64212         * conform/data/spawn.h-data: Likewise.
64213         * conform/data/stdarg.h-data: Likewise.
64214         * conform/data/stdio.h-data: Likewise.
64215         * conform/data/stdlib.h-data: Likewise.
64216         * conform/data/string.h-data: Likewise.
64217         * conform/data/strings.h-data: Likewise.
64218         * conform/data/stropts.h-data: Likewise.
64219         * conform/data/sys/ipc.h-data: Likewise.
64220         * conform/data/sys/mman.h-data: Likewise.
64221         * conform/data/sys/msg.h-data: Likewise.
64222         * conform/data/sys/resource.h-data: Likewise.
64223         * conform/data/sys/select.h-data: Likewise.
64224         * conform/data/sys/sem.h-data: Likewise.
64225         * conform/data/sys/shm.h-data: Likewise.
64226         * conform/data/sys/socket.h-data: Likewise.
64227         * conform/data/sys/stat.h-data: Likewise.
64228         * conform/data/sys/statvfs.h-data: Likewise.
64229         * conform/data/sys/time.h-data: Likewise.
64230         * conform/data/sys/timeb.h-data: Likewise.
64231         * conform/data/sys/times.h-data: Likewise.
64232         * conform/data/sys/types.h-data: Likewise.
64233         * conform/data/sys/uio.h-data: Likewise.
64234         * conform/data/sys/un.h-data: Likewise.
64235         * conform/data/sys/utsname.h-data: Likewise.
64236         * conform/data/sys/wait.h-data: Likewise.
64237         * conform/data/syslog.h-data: Likewise.
64238         * conform/data/tar.h-data: Likewise.
64239         * conform/data/termios.h-data: Likewise.
64240         * conform/data/utime.h-data: Likewise.
64241         * conform/data/utmpx.h-data: Likewise.
64242         * conform/data/varargs.h-data: Likewise.
64243         * conform/data/wchar.h-data: Likewise.
64244         * conform/data/wctype.h-data: Likewise.
64245         * conform/data/wordexp.h-data: Likewise.
64247         * include/stropts.h: New file.
64248         * include/uchar.h: New file.
64249         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64250         * include/assert.h: Likewise.
64251         * include/ctype.h: Likewise.
64252         * include/dirent.h: Likewise.
64253         * include/dlfcn.h: Likewise.
64254         * include/fcntl.h: Likewise.
64255         * include/fnmatch.h: Likewise.
64256         * include/glob.h: Likewise.
64257         * include/grp.h: Likewise.
64258         * include/libio.h: Likewise.
64259         * include/locale.h: Likewise.
64260         * include/math.h: Likewise.
64261         * include/net/if.h: Likewise.
64262         * include/netdb.h: Likewise.
64263         * include/netinet/in.h: Likewise.
64264         * include/pthread.h: Likewise.
64265         * include/pwd.h: Likewise.
64266         * include/regex.h: Likewise.
64267         * include/sched.h: Likewise.
64268         * include/search.h: Likewise.
64269         * include/setjmp.h: Likewise.
64270         * include/signal.h: Likewise.
64271         * include/stdio.h: Likewise.
64272         * include/stdlib.h: Likewise.
64273         * include/string.h: Likewise.
64274         * include/sys/cdefs.h: Likewise.
64275         * include/sys/mman.h: Likewise.
64276         * include/sys/msg.h: Likewise.
64277         * include/sys/resource.h: Likewise.
64278         * include/sys/select.h: Likewise.
64279         * include/sys/socket.h: Likewise.
64280         * include/sys/stat.h: Likewise.
64281         * include/sys/statvfs.h: Likewise.
64282         * include/sys/time.h: Likewise.
64283         * include/sys/times.h: Likewise.
64284         * include/sys/uio.h: Likewise.
64285         * include/sys/utsname.h: Likewise.
64286         * include/sys/wait.h: Likewise.
64287         * include/termios.h: Likewise.
64288         * include/time.h: Likewise.
64289         * include/ulimit.h: Likewise.
64290         * include/unistd.h: Likewise.
64291         * include/utime.h: Likewise.
64292         * include/wchar.h: Likewise.
64293         * include/wctype.h: Likewise.
64294         * include/wordexp.h: Likewise.
64296         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64298         * time/time.h: TIME_UTC must be a macro.
64299         Make timespec_get available for ISO C11 only as well.
64301 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64303         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64304         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64306 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64308         * configure.in: Use -o not -a in test for unsupported multi-arch.
64310 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64312         * manual/texinfo.tex: Update to version 2012-01-19.16.
64314 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64316         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64318 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64320         [BZ #13738]
64321         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64322         * manual/fdl-1.3.texi: New file.
64323         * manual/fdl-1.1.texi: File removed.
64325         [BZ #13738]
64326         * manual/libc.texinfo (FDL_VERSION): New @set.
64327         Use it for mention of FDL in cover text.
64328         (Documentation License): Use it in @include file name.
64330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64331             Roland McGrath  <roland@hack.frob.com>
64333         [BZ #5461]
64334         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64335         (not LONG_LONG_MAX and LONG_LONG_MIN.
64336         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64337         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64338         name.
64339         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64341 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64343         [BZ #2547]
64344         [BZ #11365]
64345         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64346         manipulate bits before adding and subtracting TWO23[sx].
64347         * math/libm-test.inc (nearbyint_test): Add more tests.
64349 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64351         [BZ #2548]
64352         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64353         bits before adding and subtracting TWO23[sx].
64354         * math/libm-test.inc (rint_test): Add more tests.
64355         (rint_test_tonearest): Likewise.
64356         (rint_test_towardzero): Likewise.
64357         (rint_test_downward): Likewise.
64358         (rint_test_upward: Likewise.
64360 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64362         [BZ #10110]
64363         * include/stdc-predef.h: New file.  Extracted from features.h.
64364         * include/features.h: Include stdc-predef.h.
64365         * Makefile (headers): Add stdc-predef.h.
64366         * CONFORMANCE (Compiler limitations): Update.
64368 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64370         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64372 2012-02-21  David S. Miller  <davem@davemloft.net>
64374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64377 2012-02-20  David S. Miller  <davem@davemloft.net>
64379         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64380         using a normal save/restore sequence, rather than allocating a
64381         dummy stack frame just to store a frame pointer and restore.
64382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64384 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64386         * manual/install.texi: Fix stray word in line-wrapped comment.
64388 2012-02-20  David S. Miller  <davem@davemloft.net>
64390         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64391         both binutils and gcc support GOTDATA.
64393         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64394         "rd %pc" in the PIC register setup sequences.
64396         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64397         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64398         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64399         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64400         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64401         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64402         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64403         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64404         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64405         (SYSCALL_ERROR_HANDLER): Likewise.
64406         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64407         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64409         (SYSCALL_ERROR_HANDLER): Likewise.
64411         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64412         (HAVE_GCC_GOTDATA): New.
64413         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64414         relocation support in both binutils and gcc.
64415         * sysdeps/sparc/elf/configure: Regenerate.
64417         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64418         * sysdeps/sparc/sparc32/elf/configure: Delete.
64419         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64420         * sysdeps/sparc/sparc64/elf/configure: Delete.
64421         * sysdeps/sparc/elf/configure.in: New file.
64422         * sysdeps/sparc/elf/configure: Generate.
64424         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64425         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64426         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64427         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64428         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64430 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64432         * manual/install.texi: Do not mention specific glibc version
64433         numbers.
64434         * manual/libc.texinfo (VERSION, UPDATED): Update.
64435         (@copying): Use @copyright{} and range of years.
64437 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64439         [BZ #13695]
64440         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64441         [crti.S not in sysdirs] (generated): Do not append.
64442         [crti.S not in sysdirs] (omit-deps): Likewise.
64443         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64444         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64445         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64446         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64447         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64448         Likewise.
64449         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64450         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64451         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64452         * csu/defs.awk: Remove file.
64453         * sysdeps/generic/initfini.c: Likewise.
64454         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64455         variable.
64456         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64457         Likewise.
64459 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64461         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64462         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64463         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64464         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64465         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64466         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64467         <bits/epoll.h>.
64468         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64469         (__EPOLL_PACKED): Define to empty if not defined by
64470         <bits/epoll.h>.
64471         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64473         bits/epoll.h.
64475 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64477         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64478         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64479         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64480         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64481         <bits/timerfd.h>.
64482         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64484         bits/timerfd.h.
64486 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64488         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64489         in C locale.
64490         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64491         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64495 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64497         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64498         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64500 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64502         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64503         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64504         defined.
64505         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64506         Likewise.
64507         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64508         entry for 2.16.
64510 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64512         * math/w_acos.c: Use non-signaling floating-point comparisons.
64513         * math/w_acosf.c: Likewise.
64514         * math/w_acosh.c: Likewise.
64515         * math/w_acoshf.c: Likewise.
64516         * math/w_acoshl.c: Likewise.
64517         * math/w_acosl.c: Likewise.
64518         * math/w_asin.c: Likewise.
64519         * math/w_asinf.c: Likewise.
64520         * math/w_asinl.c: Likewise.
64521         * math/w_atanh.c: Likewise.
64522         * math/w_atanhf.c: Likewise.
64523         * math/w_atanhl.c: Likewise.
64524         * math/w_exp2.c: Likewise.
64525         * math/w_exp2f.c: Likewise.
64526         * math/w_exp2l.c: Likewise.
64527         * math/w_j0.c: Likewise.
64528         * math/w_j0f.c: Likewise.
64529         * math/w_j0l.c: Likewise.
64530         * math/w_j1.c: Likewise.
64531         * math/w_j1f.c: Likewise.
64532         * math/w_j1l.c: Likewise.
64533         * math/w_jn.c: Likewise.
64534         * math/w_jnf.c: Likewise.
64535         * math/w_log.c: Likewise.
64536         * math/w_log10.c: Likewise.
64537         * math/w_log10f.c: Likewise.
64538         * math/w_log10l.c: Likewise.
64539         * math/w_log2.c: Likewise.
64540         * math/w_log2f.c: Likewise.
64541         * math/w_log2l.c: Likewise.
64542         * math/w_logf.c: Likewise.
64543         * math/w_logl.c: Likewise.
64544         * math/w_sqrt.c: Likewise.
64545         * math/w_sqrtf.c: Likewise.
64546         * math/w_sqrtl.c: Likewise.
64547         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64548         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64549         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64550         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64551         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64553 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64555         [BZ #9739]
64556         * manual/string.texi (strnlen): Use correct parameter name in
64557         equivalent expression.
64559 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64561         [BZ #11174]
64562         * manual/users.texi (seteuid): Consistently use neweuid for
64563         argument name.
64565 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64567         [BZ #13704]
64568         * manual/nss.texi (Services in the NSS configuration): Correct
64569         list of services in example configuration file.
64571 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64573         [BZ #11322]
64574         * manual/arith.texi: Remove statements about negative zero
64575         behaving identically to zero.
64577 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64579         [BZ #5993]
64580         * manual/install.texi: Do not document upgrading from libc5.
64582 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64584         [BZ #4596]
64585         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64587 2012-02-18  David S. Miller  <davem@davemloft.net>
64589         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64590         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64591         %o7 across the call.
64592         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64593         instead.
64594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64595         SETUP_PIC_REG_LEAF.
64596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64597         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64598         * sysdeps/sparc/crtn.S: Likewise.
64600 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64602         * aout/Makefile: Remove.
64604 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64606         [BZ #13058]
64607         * manual/examples/argp-ex1.c (main): Format definition in GNU
64608         style.
64609         * manual/examples/argp-ex2.c (main): Likewise.
64610         * manual/examples/argp-ex3.c (main): Likewise.
64611         * manual/examples/argp-ex4.c (main): Likewise.
64612         * manual/examples/longopt.c (main): Use new-style prototype
64613         definition.
64614         * manual/examples/strncat.c (main): Specify return type and use
64615         (void) for arguments.
64616         * manual/examples/subopt.c (main): Use char **argv argument.
64618 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64620         [BZ #5077]
64621         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64622         rounding modes.
64624 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64626         [BZ #6907]
64627         * manual/string.texi (strchr): Change when strchrnul is
64628         recommended.
64630 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64632         [BZ #174]
64633         * manual/locale.texi (setlocale): Document LOCPATH.
64635 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64637         [BZ #10210]
64638         * manual/process.texi (execle): Move @dots{} before last argument.
64640 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64642         [BZ #12047]
64643         * manual/charset.texi (Generic Charset Conversion): Fix typo
64644         (LC_TYPE -> LC_CTYPE).
64646 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64648         [BZ #5805]
64649         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64650         (scalbnf): Likewise.
64651         (scalbnl): Likewise.
64652         (scalbln): Likewise.
64653         (scalblnf): Likewise.
64654         (scalblnl): Likewise.
64655         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64656         (vwarnx): Likewise.
64657         (verr): Likewise.
64658         (verrx): Likewise.
64659         * manual/filesys.texi (telldir): Use braces around return type.
64660         * manual/llio.texi (mmap): Add space after comma.
64661         (mmap64): Likewise.
64662         * manual/math.texi (jn): Use @var{} on parameter names.
64663         (jnf): Likewise.
64664         (jnl): Likewise.
64665         (yn): Likewise.
64666         (ynf): Likewise.
64667         (ynl): Likewise.
64668         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64669         line.
64670         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64671         "...".
64672         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64673         (sched_get_priority_max): Likewise.
64674         * manual/signal.texi (sigvec): Add space after comma.
64675         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64676         names.
64677         (if_indextoname): Likewise.
64678         (if_freenameindex): Likewise.
64679         (sendto): Use ',' instead of '.' in prototype.
64680         * manual/startup.texi (syscall): Use @dots{} instead of literal
64681         "...".
64682         * manual/stdio.texi (__fpending): Separate initial words of
64683         paragraph from @deftypefun line.
64684         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64685         "...".
64686         (vsyslog): Use @var{} on parameter names.
64687         * manual/terminal.texi (stty): Use @var{} on parameter names.
64688         * manual/users.texi (getutmp): Use @var{} on parameter names.
64689         (getutmpx): Likewise.
64691 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64693         [BZ #6884]
64694         * manual/stdio.texi (fopen): Fix typos in description of
64695         ",ccs=STRING".
64697 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64699         [BZ #4026]
64700         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64701         get clock_id definition.
64703 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64705         [BZ #4822]
64706         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64707         (madvise): Cast every argument to void on its own.
64709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64711         [BZ #9902]
64712         * manual/startup.texi (Exit Status): Fix typo.
64714 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64716         [BZ #10140]
64717         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64718         * manual/examples/argp-ex2.c: Likewise.
64719         * manual/examples/argp-ex3.c: Likewise.
64721 2012-02-16  Richard Henderson  <rth@redhat.com>
64723         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64724         * sysdeps/s390/s390-32/initfini.c: Remove.
64725         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64726         * sysdeps/s390/s390-64/initfini.c: Remove.
64728 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64730         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64731         compiler output for sysdeps/generic/initfini.c.
64732         * sysdeps/sh/elf/initfini.c: Remove file.
64734 2012-02-16  David S. Miller  <davem@davemloft.net>
64736         [BZ #11494]
64737         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64739         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64740         * sysdeps/sparc/crti.S: New file.
64741         * sysdeps/sparc/crtn.S: New file.
64742         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64743         * sysdeps/sparc/sparc64/Makefile: Likewise.
64745 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64747         [BZ #3335]
64748         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64750 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64752         [BZ #4822]
64753         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64755         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64756         (write, read, close): Likewise.
64757         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64759 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64761         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64762         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64763         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64764         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64765         <bits/signalfd.h>.
64766         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64768         bits/signalfd.h.
64770 2012-02-14  Marek Polacek  <polacek@redhat.com>
64772         * sysdeps/x86_64/crti.S: New file.
64773         * sysdeps/x86_64/crtn.S: New file.
64774         * sysdeps/x86_64/elf/initfini.c: Remove file.
64776 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64778         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64779         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64780         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64781         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64782         <bits/inotify.h>.
64783         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64785         bits/inotify.h.
64787 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64789         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64790         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64791         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64792         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64793         <bits/eventfd.h>.
64794         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64796         bits/eventfd.h.
64798 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64800         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64801         __feraiseexcept instead of feraiseexcept.
64803         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64804         nanosleep invocations.
64805         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64806         strings, and add error checking for a nanosleep invocations.
64808 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64810         Replace FSF snail mail address with URLs, as per GNU coding standards.
64811         Most of the snail mail addresses were wrong anyway, and omitting
64812         them makes the source code easier to maintain.  Almost all of the
64813         changes are to license notices and to locale LC_IDENTIFICATION
64814         addresses, except for this one:
64815         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64816         not its snail mail address.
64818 2012-02-09  Richard Henderson  <rth@twiddle.net>
64820         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64821         of kernel-features.h.
64823         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64825 2012-02-08  Marek Polacek  <polacek@redhat.com>
64827         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64828         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64829         * sysdeps/gnu/_G_config.h: Likewise.
64830         * sysdeps/generic/_G_config.h: Likewise.
64832 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64834         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64835         tests.
64836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64838         * sysdeps/powerpc/powerpc32/crti.S: New file.
64839         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64840         * sysdeps/powerpc/powerpc64/crti.S: New file.
64841         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64843         * Makeconfig (have-initfini): Don't set.
64844         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64845         * configure.in (nopic_initfini): Don't substitute.
64846         * config.h.in (HAVE_INITFINI): Don't #undef.
64847         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64848         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64850 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64852         Support crti.S and crtn.S provided directly by architectures.
64853         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64854         [crti.S in sysdirs] (omit-deps): Likewise.
64855         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64856         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64857         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64858         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64859         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64860         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64861         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64862         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64863         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64864         compiler output for sysdeps/generic/initfini.c.
64865         * sysdeps/i386/elf/Makefile: Remove file.
64866         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64868 2012-02-07  Marek Polacek  <polacek@redhat.com>
64870         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64871         * sysdeps/gnu/_G_config.h: Likewise.
64872         * sysdeps/mach/hurd/_G_config.h: Likewise.
64874 2012-02-07  Marek Polacek  <polacek@redhat.com>
64876         * math/Makefile (tests): Add tst-CMPLX2.
64877         * math/tst-CMPLX2.c: New file.
64879 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64881         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64883         * math/libm-test.inc (jn_test): Add missing L suffix.
64885 2012-02-06  Marek Polacek  <polacek@redhat.com>
64887         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64888         * sysdeps/i386/fpu/e_powf.S: Likewise.
64889         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64890         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64891         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64892         * sysdeps/i386/fpu/e_pow.S: Likewise.
64893         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64894         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64895         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64896         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64897         * sysdeps/i386/fpu/e_log2.S: Likewise.
64898         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64899         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64900         * sysdeps/i386/fpu/e_powl.S: Likewise.
64901         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64902         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64903         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64904         * sysdeps/i386/fpu/e_logl.S: Likewise.
64905         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64906         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64907         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64908         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64909         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64910         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64911         * sysdeps/i386/fpu/e_log.S: Likewise.
64912         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64913         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64914         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64915         * sysdeps/i386/fpu/e_logf.S: Likewise.
64916         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64917         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64918         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64919         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64920         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64921         * sysdeps/i386/fpu/e_log10.S: Likewise.
64922         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64923         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64924         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64925         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64926         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64927         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64928         * sysdeps/i386/asm-syntax.h: Likewise.
64929         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64930         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64931         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64932         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64933         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64934         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64935         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64936         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64937         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64938         * sysdeps/powerpc/sysdep.h: Likewise.
64939         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64940         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64942 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64944         [BZ #411]
64945         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64947 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64949         * sysdeps/i386/sysdep.h: Include <features.h>.
64950         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64951         version.
64953 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64955         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64956         Define.
64957         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64958         LOAD_PIC_REG_STR.
64960 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64962         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64963         (SETUP_PIC_REG): Use GET_PC_THUNK.
64964         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64965         macro.
64967 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64969         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64970         for non-PIC compilation.
64971         (SETUP_PIC_REG): Add .p2align directive.
64972         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64973         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64974         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64975         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64976         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64977         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64978         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64979         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64980         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64981         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64982         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64983         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64984         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64985         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64986         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64987         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64988         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64989         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64990         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64991         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64992         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64993         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64994         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64995         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64996         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64999         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65000         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65001         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65002         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65003         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65004         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65005         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65006         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65007         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65008         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65009         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65010         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65011         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65012         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65014 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65016         * math/tst-CMPLX.c: Include <stdio.h>.
65018 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65020         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65021         float.
65022         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65023         * sysdeps/sparc/bits/mathdef.h: Likewise.
65025 2012-01-31  Marek Polacek  <polacek@redhat.com>
65027         * libio/libio.h: Don't define _PARAMS.
65028         * locale/programs/config.h: Don't define PARAMS.
65029         * stdlib/strtol_l.c: Likewise.
65030         (__strtol_l): Remove PARAMS from the prototype.
65032 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65034         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65035         names.  Just use the correct names.  Remove unnecessary wrapper
65036         functions.
65037         * malloc/arena.c: Likewise.
65038         * malloc/hooks.c: Likewise.
65040         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65041         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65042         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65044 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65046         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65047         into tail calls.
65048         (update_get_addr): New function.
65049         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65050         GET_ADDR_MODULE parameter.
65052 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65054         * crypt/cert.c: Remove __STDC__ conditionals.
65055         * crypt/crypt-entry.c: Likewise.
65056         * crypt/crypt_util.c: Likewise.
65057         * libio/filedoalloc.c: Likewise.
65058         * libio/fileops.c: Likewise.
65059         * libio/genops.c: Likewise.
65060         * libio/iofclose.c: Likewise.
65061         * libio/iofdopen.c: Likewise.
65062         * libio/iofopen.c: Likewise.
65063         * libio/iofopen64.c: Likewise.
65064         * libio/iogetdelim.c: Likewise.
65065         * libio/iopopen.c: Likewise.
65066         * libio/obprintf.c: Likewise.
65067         * libio/oldfileops.c: Likewise.
65068         * libio/oldiofclose.c: Likewise.
65069         * libio/oldiofdopen.c: Likewise.
65070         * libio/oldiofopen.c: Likewise.
65071         * libio/oldiopopen.c: Likewise.
65072         * libio/wfiledoalloc.c: Likewise.
65073         * libio/wgenops.c: Likewise.
65074         * locale/programs/xmalloc.c: Likewise.
65075         * misc/syslog.c: Likewise.
65076         * stdio-common/xbug.c: Likewise.
65077         * string/memchr.c: Likewise.
65078         * string/memcmp.c: Likewise.
65079         * string/memrchr.c: Likewise.
65080         * string/rawmemchr.c: Likewise.
65081         * sysdeps/posix/getcwd.c: Likewise.
65082         * time/strftime_l.c: Likewise.
65084 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65086         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65087         * config.make.in (config-cflags-sse2avx): Define.
65088         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65089         Fix typo.
65091 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65093         * scripts/config.guess: Update from upstream config git repository.
65094         * scripts/config.sub: Likewise.
65096 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65098         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65099         (EM_NUM): Update.
65100         (R_TILEPRO_*, R_TILEGX_*): New macros.
65102         * scripts/firstversions.awk: Fix bug in version range handling.
65104         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65106         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65108         * include/sys/epoll.h: New file.
65109         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65110         libc_hidden_def.
65112 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65114         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65115         Avoid unnecessary __WORDSIZE == 64 test.
65116         (fmaxf): Use VEX format if possible.
65117         (fmax): Likewise.
65118         (fminf): Likewise.
65119         (fmin): Likewise.
65121         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65122         * math/math_private.h: Remove libc_fegetround* and
65123         libc_fesetround*.
65124         * sysdeps/i386/configure.in: Check for -msse2avx.
65125         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65126         also if SSE2AVX is defined.
65127         Remove libc_fegetround* and libc_fesetround*.
65128         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65129         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65131         of HAS_YMM_USABLE.
65132         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65133         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65134         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65135         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65136         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65138         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65140 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65142         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65143         size is not set.
65144         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65146 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65148         [BZ #13618]
65149         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65150         relocation.
65151         * Makeconfig (libm): Define.
65152         * elf/Makefile: Add rules to build and run tst-relsort1.
65153         * elf/tst-relsort1.c: New file.
65154         * elf/tst-relsort1mod1.c: New file.
65155         * elf/tst-relsort1mod2.c: New file.
65157 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65159         * math/s_ldexp.c: Remove __STDC__ conditionals.
65160         * math/s_ldexpf.c: Likewise.
65161         * math/s_ldexpl.c: Likewise.
65162         * math/s_nextafter.c: Likewise.
65163         * math/s_nexttowardf.c: Likewise.
65164         * math/s_significand.c: Likewise.
65165         * math/s_significandf.c: Likewise.
65166         * math/s_significandl.c: Likewise.
65167         * math/w_jnl.c: Likewise.
65168         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65169         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65170         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65171         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65172         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65173         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65174         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65175         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65176         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65177         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65178         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65179         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65180         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65181         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65182         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65183         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65184         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65185         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65187         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65188         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65189         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65190         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65191         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65192         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65193         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65194         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65195         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65196         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65197         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65198         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65199         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65200         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65201         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65202         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65203         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65204         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65205         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65206         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65207         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65208         * sysdeps/ieee754/k_standard.c: Likewise.
65209         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65210         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65211         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65212         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65213         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65214         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65215         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65216         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65217         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65218         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65219         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65220         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65221         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65222         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65228         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65229         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65230         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65231         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65232         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65233         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65234         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65236         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65237         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65238         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65239         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65240         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65241         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65242         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65243         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65244         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65245         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65247         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65248         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65249         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65250         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65251         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65252         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65253         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65254         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65255         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65257         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65258         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65259         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65260         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65261         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65262         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65263         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65264         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65265         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65266         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65267         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65268         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65269         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65270         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65271         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65273         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65274         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65275         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65276         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65277         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65278         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65279         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65280         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65281         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65282         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65283         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65284         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65285         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65286         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65287         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65288         * sysdeps/ieee754/s_matherr.c: Likewise.
65289         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65290         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65291         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65294 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65296         * crypt/md5.h: Remove __STDC__ conditionals.
65297         * libio/libioP.h: Likewise.
65298         * locale/programs/config.h: Likewise.
65299         * sysdeps/generic/sysdep.h: Likewise.
65300         * sysdeps/i386/asm-syntax.h: Likewise.
65301         * sysdeps/s390/asm-syntax.h: Likewise.
65302         * sysdeps/unix/sysdep.h: Likewise.
65303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65306 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65308         * libio/libio.h: Remove __STDC__ conditionals.
65309         * malloc/obstack.h: Likewise.
65310         * math/complex.h: Likewise.
65311         * math/math.h: Likewise.
65312         * sysdeps/generic/_G_config.h: Likewise.
65313         * sysdeps/gnu/_G_config.h: Likewise.
65314         * sysdeps/mach/hurd/_G_config.h: Likewise.
65315         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65317         * sysdeps/sparc/bits/mathdef.h: Likewise.
65319 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65321         [BZ #13583]
65322         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65323         Clean up HAS_* macros.
65324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65325         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65326         possible.
65327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65328         HAS_AVX.
65329         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65330         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65331         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65332         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65333         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65335 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65337         * elf/tst-unique3.cc (gets): Remove declaration.
65338         * elf/tst-unique3lib.cc (gets): Likewise.
65339         * elf/tst-unique3lib2.cc (gets): Likewise.
65340         * elf/tst-unique4.cc (gets): Likewise.
65342 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65344         * include/stdio.h: Add C++ protection.  Add gets declarations and
65345         definitions.
65346         * debug/tst-chk1.c: Don't declare gets here.
65347         * stdio-common/tst-gets.c: Likewise.
65349 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65351         * posix/glob: Remove directory.
65353 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65355         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65357 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65359         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65360         of the non-standard EPFNOSUPPORT.
65362 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65364         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65365         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65366         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65368 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65370         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65372 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65374         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65375         transient errors.
65376         * nscd/grpcache.c (cache_addgr): Likewise.
65377         * nscd/hstcache.c (cache_addhst): Likewise.
65378         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65379         * nscd/pwdcache.c (cache_addpw): Likewise.
65380         * nscd/servicescache.c (cache_addserv): Likewise.
65382 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65384         * malloc/malloc.c: Various cleanups.
65385         * malloc/hooks.c: Likewise.
65387         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65388         * stdlib/bug-fmtmsg1.c: New file.
65390         * stdlib/fmtmsg.c (init): Add missing unlock.
65391         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65393 2012-01-12  Marek Polacek  <polacek@redhat.com>
65395         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65396         and _GNU_SOURCE.
65398 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65400         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65401         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65402         macro to ensure uniqueness of label name.
65403         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65404         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65406 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65408         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65410         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65411         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65412         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65415 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65417         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65419         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65420         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65421         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65423         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65425         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65426         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65427         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65428         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65430         * math/bits/math-finite.h: Add ldexp support.
65432 2012-01-10  Marek Polacek  <polacek@redhat.com>
65434         * locale/programs/localedef.h (show_archive_content): Add noreturn
65435         attribute.
65437 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65439         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65441 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65443         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65445         * io/Makefile (headers): Add bits/poll2.h.
65447 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65450         typo #include statement.
65452 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65454         * include/sys/cdefs.h: Define __attribute_alloc_size.
65455         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65456         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65457         * elf/pldd.c: Likewise.
65458         * iconv/iconv_charmap.c: Likewise.
65459         * iconv/iconvconfig.c: Likewise.
65460         * iconv/strtab.c: Likewise.
65461         * locale/programs/locale.c: Likewise.
65462         * locale/programs/localedef.h: Likewise.
65463         * locale/programs/simple-hash.c: Likewise.
65464         * nscd/nscd.h: Likewise.
65465         * nss/makedb.c: Likewise.
65466         * sysdeps/generic/ldconfig.h: Likewise.
65467         * locale/programs/localedef.c: Remove xmalloc prototype.
65468         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65470 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65472         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65473         appropriate.
65475 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65477         * math/Makefile (tests): Add tst-CMPLX.
65478         * math/tst-CMPLX.c: New file.
65480         * math/complex.h (CMPLXL): Fix typo.
65482         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65483         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65484         GLIBC_2.16.
65485         * debug/tst-chk1.c: Add poll and ppoll tests.
65486         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65487         * include/sys/poll.h: Add hidden proto for ppoll.
65488         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65489         * sysdeps/mach/hurd/ppoll.c: Likewise.
65490         * io/ppoll.c: Likewise.
65491         * debug/poll_chk.c: New file.
65492         * debug/ppoll_chk.c: New file.
65493         * include/bits/poll2.h: New file.
65494         * io/bits/poll2.h: New file.
65496         [BZ #1350]
65497         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65499         * configure.in: static is always set to yes.  Remove.
65500         * config.make.in: Don't set build-static.
65501         * Makeconfig: Remove use of build-static.
65502         * dlfcn/Makefile: Likewise.
65503         * elf/Makefile: Likewise.
65504         * math/Makefile: Likewise.
65505         * misc/Makefile: Likewise.
65506         * nptl/Makefile: Likewise.
65507         * sysdeps/mach/hurd/Makefile: Likewise.
65509         * configure.in: PWD_P is not used anymore.
65510         * config.make.in: Remove PWD_P entry.
65512         * configure.in: Remove last remnants of RANLIB.
65513         No need to check for signed size_t anymore.
65514         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65515         and IA-64.
65516         Remove __builtin_expect test because we require at least gcc 3.4.
65517         * aclocal.m4: Likewise.
65519         * wcsmbs/mbrtoc16.c: Implement using towc function.
65520         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65521         * wcsmbs/wcsmbsload.c: Likewise.
65522         * iconv/gconv_simple.c: Likewise.
65523         * iconv/gconv_int.h: Likewise.
65524         * iconv/gconv_builtin.h: Likewise.
65525         * iconv/iconv_prog.c: Remove CHAR16 handling.
65527         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65529         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65531         * configure.in: Remove --with-elf and --enable-bounded options.
65532         Dont set base_machine for ia64.  More non-ELF conditions removed.
65533         Remove testing and setting of leading underscore information.
65534         * config.make.in (build-bounded): Set to no.
65535         * config.h.in: Remove NO_UNDERSCORES entry.
65536         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65537         them.
65538         * csu/start.c: Remove !NO_UNDERSCORE code.
65539         * locale/localeinfo.h: Likewise.
65540         * sysdeps/generic/machine-gmon.h: Likewise.
65541         * sysdeps/generic/sysdep.h: Likewise.
65542         * sysdeps/i386/sysdep.h: Likewise.
65543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65544         * sysdeps/mach/sysdep.h: Likewise.
65545         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65546         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65547         * sysdeps/sh/sysdep.h: Likewise.
65548         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65549         * sysdeps/unix/i386/sysdep.S: Likewise.
65550         * sysdeps/unix/sparc/start.c: Likewise.
65551         * sysdeps/unix/sparc/sysdep.S: Likewise.
65552         * sysdeps/unix/sparc/sysdep.h: Likewise.
65553         * sysdeps/unix/start.c: Likewise.
65554         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65555         * sysdeps/x86_64/sysdep.h: Likewise.
65557 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65559         [BZ #13553]
65560         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65561         for non-gcc.
65562         * argp/argp-fmtstream.h: Use const instead __const.
65563         * argp/argp.h: Likewise.
65564         * assert/assert.h: Likewise.
65565         * bits/fenv.h: Likewise.
65566         * bits/sched.h: Likewise.
65567         * bits/sigset.h: Likewise.
65568         * bits/sigthread.h: Likewise.
65569         * catgets/nl_types.h: Likewise.
65570         * conform/data/pthread.h-data: Likewise.
65571         * crypt/crypt-private.h: Likewise.
65572         * crypt/crypt.h: Likewise.
65573         * crypt/crypt_util.c: Likewise.
65574         * ctype/ctype.h: Likewise.
65575         * debug/execinfo.h: Likewise.
65576         * debug/mbsnrtowcs_chk.c: Likewise.
65577         * debug/mbsrtowcs_chk.c: Likewise.
65578         * debug/wcsnrtombs_chk.c: Likewise.
65579         * debug/wcsrtombs_chk.c: Likewise.
65580         * debug/wcstombs_chk.c: Likewise.
65581         * dirent/dirent.h: Likewise.
65582         * dlfcn/dlfcn.h: Likewise.
65583         * elf/neededtest4.c: Likewise.
65584         * grp/grp.h: Likewise.
65585         * gshadow/gshadow.h: Likewise.
65586         * iconv/gconv.h: Likewise.
65587         * iconv/gconv_int.h: Likewise.
65588         * iconv/gconv_simple.c: Likewise.
65589         * iconv/iconv.h: Likewise.
65590         * iconv/loop.c: Likewise.
65591         * iconv/skeleton.c: Likewise.
65592         * include/aio.h: Likewise.
65593         * include/aliases.h: Likewise.
65594         * include/argz.h: Likewise.
65595         * include/arpa/inet.h: Likewise.
65596         * include/assert.h: Likewise.
65597         * include/dirent.h: Likewise.
65598         * include/dlfcn.h: Likewise.
65599         * include/execinfo.h: Likewise.
65600         * include/fcntl.h: Likewise.
65601         * include/fenv.h: Likewise.
65602         * include/glob.h: Likewise.
65603         * include/grp.h: Likewise.
65604         * include/libintl.h: Likewise.
65605         * include/mntent.h: Likewise.
65606         * include/netdb.h: Likewise.
65607         * include/pwd.h: Likewise.
65608         * include/rpc/netdb.h: Likewise.
65609         * include/sched.h: Likewise.
65610         * include/search.h: Likewise.
65611         * include/shadow.h: Likewise.
65612         * include/signal.h: Likewise.
65613         * include/stdio.h: Likewise.
65614         * include/stdlib.h: Likewise.
65615         * include/string.h: Likewise.
65616         * include/sys/socket.h: Likewise.
65617         * include/sys/stat.h: Likewise.
65618         * include/sys/statfs.h: Likewise.
65619         * include/sys/statvfs.h: Likewise.
65620         * include/sys/syslog.h: Likewise.
65621         * include/sys/time.h: Likewise.
65622         * include/sys/uio.h: Likewise.
65623         * include/time.h: Likewise.
65624         * include/unistd.h: Likewise.
65625         * include/utmp.h: Likewise.
65626         * include/wchar.h: Likewise.
65627         * include/wctype.h: Likewise.
65628         * inet/aliases.h: Likewise.
65629         * inet/arpa/inet.h: Likewise.
65630         * inet/netinet/ether.h: Likewise.
65631         * inet/netinet/in.h: Likewise.
65632         * intl/libintl.h: Likewise.
65633         * io/bits/fcntl2.h: Likewise.
65634         * io/fcntl.h: Likewise.
65635         * io/ftw.h: Likewise.
65636         * io/sys/poll.h: Likewise.
65637         * io/sys/stat.h: Likewise.
65638         * io/sys/statfs.h: Likewise.
65639         * io/sys/statvfs.h: Likewise.
65640         * io/utime.h: Likewise.
65641         * libio/bits/stdio.h: Likewise.
65642         * libio/bits/stdio2.h: Likewise.
65643         * libio/libio.h: Likewise.
65644         * libio/libioP.h: Likewise.
65645         * libio/stdio.h: Likewise.
65646         * locale/lc-ctype.c: Likewise.
65647         * locale/locale.h: Likewise.
65648         * login/utmp.h: Likewise.
65649         * malloc/arena.c: Likewise.
65650         * malloc/malloc.c: Likewise.
65651         * malloc/malloc.h: Likewise.
65652         * malloc/mcheck.c: Likewise.
65653         * malloc/mtrace.c: Likewise.
65654         * math/bits/mathcalls.h: Likewise.
65655         * math/fenv.h: Likewise.
65656         * math/math_private.h: Likewise.
65657         * misc/bits/error.h: Likewise.
65658         * misc/bits/syslog.h: Likewise.
65659         * misc/err.h: Likewise.
65660         * misc/error.h: Likewise.
65661         * misc/fstab.h: Likewise.
65662         * misc/mntent.h: Likewise.
65663         * misc/regexp.h: Likewise.
65664         * misc/search.h: Likewise.
65665         * misc/sgtty.h: Likewise.
65666         * misc/sys/mman.h: Likewise.
65667         * misc/sys/syslog.h: Likewise.
65668         * misc/sys/uio.h: Likewise.
65669         * misc/sys/xattr.h: Likewise.
65670         * misc/ttyent.h: Likewise.
65671         * nis/rpcsvc/ypclnt.h: Likewise.
65672         * nss/nss.h: Likewise.
65673         * posix/bits/unistd.h: Likewise.
65674         * posix/fnmatch.h: Likewise.
65675         * posix/glob.h: Likewise.
65676         * posix/sched.h: Likewise.
65677         * posix/spawn.h: Likewise.
65678         * posix/sys/wait.h: Likewise.
65679         * posix/unistd.h: Likewise.
65680         * posix/wordexp.h: Likewise.
65681         * pwd/pwd.h: Likewise.
65682         * resolv/netdb.h: Likewise.
65683         * resource/sys/resource.h: Likewise.
65684         * rt/aio.h: Likewise.
65685         * rt/bits/mqueue2.h: Likewise.
65686         * rt/mqueue.h: Likewise.
65687         * shadow/shadow.h: Likewise.
65688         * signal/signal.h: Likewise.
65689         * socket/send.c: Likewise.
65690         * socket/sendto.c: Likewise.
65691         * socket/sys/socket.h: Likewise.
65692         * stdio-common/printf.h: Likewise.
65693         * stdlib/bits/stdlib.h: Likewise.
65694         * stdlib/fmtmsg.h: Likewise.
65695         * stdlib/monetary.h: Likewise.
65696         * stdlib/stdlib.h: Likewise.
65697         * stdlib/ucontext.h: Likewise.
65698         * streams/stropts.h: Likewise.
65699         * string/argz.h: Likewise.
65700         * string/bits/string2.h: Likewise.
65701         * string/string.h: Likewise.
65702         * string/strings.h: Likewise.
65703         * sunrpc/rpc/auth.h: Likewise.
65704         * sunrpc/rpc/auth_des.h: Likewise.
65705         * sunrpc/rpc/clnt.h: Likewise.
65706         * sunrpc/rpc/netdb.h: Likewise.
65707         * sunrpc/rpc/pmap_clnt.h: Likewise.
65708         * sunrpc/rpc/xdr.h: Likewise.
65709         * sysdeps/generic/inttypes.h: Likewise.
65710         * sysdeps/generic/net/if.h: Likewise.
65711         * sysdeps/generic/sys/swap.h: Likewise.
65712         * sysdeps/gnu/net/if.h: Likewise.
65713         * sysdeps/gnu/utmpx.h: Likewise.
65714         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65715         * sysdeps/i386/i486/bits/string.h: Likewise.
65716         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65717         * sysdeps/s390/bits/string.h: Likewise.
65718         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65719         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65720         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65721         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65722         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65723         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65724         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65725         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65726         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65727         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65728         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65729         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65730         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65731         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65732         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65733         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65734         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65736         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65737         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65738         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65739         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65740         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65741         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65742         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65743         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65744         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65745         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65746         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65747         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65748         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65749         * sysvipc/sys/ipc.h: Likewise.
65750         * sysvipc/sys/msg.h: Likewise.
65751         * sysvipc/sys/sem.h: Likewise.
65752         * sysvipc/sys/shm.h: Likewise.
65753         * termios/termios.h: Likewise.
65754         * time/sys/time.h: Likewise.
65755         * time/time.h: Likewise.
65756         * wcsmbs/bits/wchar2.h: Likewise.
65757         * wcsmbs/uchar.h: Likewise.
65758         * wcsmbs/wchar.h: Likewise.
65759         * wctype/wctype.h: Likewise.
65761         [BZ #13551]
65762         * Makeconfig: Remove all but ELF support including AIX support.
65763         * Makerules: Likewise.
65764         * config.h.in: Likewise.
65765         * config.make.in: Likewise.
65766         * configure: Likewise.
65767         * configure.in: Likewise.
65768         * csu/Makefile: Likewise.
65769         * csu/version.c: Likewise.
65770         * debug/Makefile: Likewise.
65771         * dlfcn/Makefile: Likewise.
65772         * elf/Makefile: Likewise.
65773         * extra-lib.mk: Likewise.
65774         * iconv/Makefile: Likewise.
65775         * include/libc-symbols.h: Likewise.
65776         * include/shlib-compat.h: Likewise.
65777         * resolv/Makefile: Likewise.
65778         * resolv/res_libc.c: Likewise.
65779         * rt/Makefile: Likewise.
65780         * sysdeps/i386/asm-syntax.h: Likewise.
65781         * sysdeps/i386/sysdep.h: Likewise.
65782         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65783         * sysdeps/mach/sysdep.h: Likewise.
65784         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65785         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65786         * sysdeps/s390/asm-syntax.h: Likewise.
65787         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65788         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65789         * sysdeps/sh/sysdep.h: Likewise.
65790         * sysdeps/unix/sparc/sysdep.h: Likewise.
65791         * sysdeps/wordsize-32/divdi3.c: Likewise.
65792         * sysdeps/x86_64/sysdep.h: Likewise.
65794         * argp/Versions: Remove _argp_unlock_xxx.
65796         [BZ #13559]
65797         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65798         * abilist/libBrokenLocale.abilist: Likewise.
65799         * abilist/libanl.abilist: Likewise.
65800         * abilist/libc.abilist: Likewise.
65801         * abilist/libcrypt.abilist: Likewise.
65802         * abilist/libdl.abilist: Likewise.
65803         * abilist/libm.abilist: Likewise.
65804         * abilist/libnsl.abilist: Likewise.
65805         * abilist/libpthread.abilist: Likewise.
65806         * abilist/libresolv.abilist: Likewise.
65807         * abilist/librt.abilist: Likewise.
65808         * abilist/libthread_db.abilist: Likewise.
65809         * abilist/libutil.abilist: Likewise.
65810         * abilist/libnss_db.abilist: New file.
65812         * scripts/abilist.awk: Add support for indirect functions.
65814         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65816         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65818         * shlib-versions: Remove entries for ports architectures.
65820         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65821         files in ports.
65822         * elf/stackguard-macros.h: Remove support for IA-64.
65823         * elf/tst-auditmod1.c: Likewise.
65824         * sysdeps/generic/ldsodefs.h: Likewise.
65826         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65827         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65828         configure files.
65830         [BZ #13552]
65831         * configure.in: Remove --enable-omitfp support.
65832         * FAQ.in: Adjust.
65833         * config.make.in: Likewise.
65834         * Makeconfig: Likewise.
65835         * manual/install.texi: Likewise.
65837         In case anyone cares, the IA-64 architecture could move to ports.
65838         * sysdeps/ia64/*: Removed.
65839         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65840         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65842         [BZ #13555]
65843         * configure.in: Remove entries for unsupported architectures.
65845         [BZ #13533]
65846         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65847         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65848         routines.
65849         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65850         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65851         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65852         fall back to using wcrtomb.
65853         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65854         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65855         renaming.
65856         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65857         * wcsmbs/tst-c16c32-1.c: New file.
65859         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65860         local variable.
65862         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65864         * elf/tst-unique3.cc: Add explicit declaration of gets.
65865         * elf/tst-unique3lib.cc: Likewise.
65866         * elf/tst-unique3lib2.cc: Likewise.
65867         * elf/tst-unique4.cc: Likewise.
65869         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65871 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65873         [BZ #13566]
65874         * assert/assert.h (static_assert): Don't define for C++.
65875         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65876         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65878 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65880         * iconv/loop.c (single loop): Fix assertion in storing of
65881         remaining bytes.
65883         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65885 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65887         * posix/getconf.c: Update copyright year.
65888         * nss/getent.c: Likewise.
65889         * nss/makedb.c: Likewise.
65890         * iconv/iconvconfig.c: Likewise.
65891         * iconv/iconv_prog.c: Likewise.
65892         * elf/ldconfig.c: Likewise.
65893         * elf/pldd.c: Likewise.
65894         * elf/sotruss.ksh: Likewise.
65895         * catgets/gencat.c: Likewise.
65896         * csu/version.c: Likewise.
65897         * elf/ldd.bash.in: Likewise.
65898         * elf/sprof.c (print_version): Likewise.
65899         * locale/programs/locale.c: Likewise.
65900         * locale/programs/localedef.c: Likewise.
65901         * login/programs/pt_chown.c: Likewise.
65902         * nscd/nscd.c (print_version): Likewise.
65903         * debug/xtrace.sh: Likewise.
65904         * malloc/memusage.sh: Likewise.
65905         * malloc/mtrace.pl: Likewise.
65906         * debug/catchsegv.sh: Likewise.
65908 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65910         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65911         pure attribute.
65913 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65915         [BZ #13533]
65916         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65917         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65918         transformations.
65919         * iconv/gconv_int.h: Likewise.
65920         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65921         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65922         from libc for GLIBC_2.16.
65923         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65924         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65925         * wcsmbs/uchar.h: Really define mbstate_t.
65926         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65927         * wcsmbs/c16rtomb.c: New file.
65928         * wcsmbs/mbrtoc16.c: New file.
65929         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65930         for C/POSIX locale.
65931         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65932         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65934         * wcsmbs/wchar.h: Add missing __restrict.
65936 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65938         [BZ #13532]
65939         * time/Makefile (routines): Add timespec_get.
65940         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65941         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65942         timespec for ISO C11.
65943         * time/timespec_get.c: New file.
65944         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65945         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65947         [BZ #13531]
65948         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65949         * stdlib/stdlib.h: Declare aligned_alloc.
65950         * Versions.def: Add GLIBC_2.16 for libc.
65951         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65953         [BZ 13527]
65954         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65955         ISO C11.
65957         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65958         code.
65960         [BZ #13528]
65961         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65963         [BZ #13529]
65964         * assert/assert.h (static_assert): Define.
65966         * version.h: Update for 2.16 development version.
65968         [BZ #13526]
65969         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65970         _ISOC11_SOURCE.
65972         * version.h (RELEASE): Bump for 2.15 release.
65973         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65975         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65976         Patch by Marek Polacek <mpolacek@redhat.com>.
65978         * bits/byteswap.h: Protect long long constants with __extension__.
65979         * sysdeps/i386/bits/byteswap.h: Likewise.
65980         * sysdeps/ia64/bits/byteswap.h: Likewise.
65981         * sysdeps/s390/bits/byteswap.h: Likewise.
65982         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65984 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65986         [BZ #13540]
65987         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65988         destination buffer.
65989         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65991 2011-12-23  Marek Polacek  <polacek@redhat.com>
65993         * elf/dl-addr.c (determine_info): Add inline keyword.
65994         * elf/tst-auditmod4b.c (check_avx): Likewise.
65995         * elf/tst-auditmod6b.c (check_avx): Likewise.
65996         * elf/tst-auditmod6c.c (check_avx): Likewise.
65997         * elf/tst-auditmod7b.c (check_avx): Likewise.
65999 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66001         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66002         !__SSE_MATH__.
66004 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66006         [BZ #13540]
66007         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66008         processing for last bytes.
66010 2011-08-06  Bruno Haible  <bruno@clisp.org>
66012         [BZ #13061]
66013         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66014         U+0385, not to U+1FEE.
66016         [BZ #13062]
66017         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66018         entry for U+00A5 U+0301.
66020 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66022         [BZ #13166]
66023         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66024         buffer for the output is too small.
66026         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66027         optimization.
66029         [BZ #13185]
66030         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66031         SSE flags if possible.
66033 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66035         [BZ #13540]
66036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66037         processing for last bytes.
66039 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66041         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66042         (syscall-list-default-options, syscall-list-default-condition)
66043         (syscall-list-includes): Define.
66044         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66045         list of ABIs and options and #if conditions for each ABI.  Do not
66046         handle common syscalls between ABIs specially.
66047         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66048         Remove.
66049         (syscall-list-variants, syscall-list-32bit-options)
66050         (syscall-list-32bit-condition, syscall-list-64bit-options)
66051         (syscall-list-64bit-condition): Define.
66052         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66053         (syscall-list-variants, syscall-list-32bit-options)
66054         (syscall-list-32bit-condition, syscall-list-64bit-options)
66055         (syscall-list-64bit-condition): Define.
66056         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66057         Remove.
66058         (syscall-list-variants, syscall-list-32bit-options)
66059         (syscall-list-32bit-condition, syscall-list-64bit-options)
66060         (syscall-list-64bit-condition): Define.
66061         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66062         Remove.
66063         (syscall-list-variants, syscall-list-32bit-options)
66064         (syscall-list-32bit-condition, syscall-list-64bit-options)
66065         (syscall-list-64bit-condition): Define.
66067 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66069         * locale/iso-639.def: Add brx entry.
66071         [BZ #13328]
66072         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66073         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66075         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66076         __feraiseexcept_renamed.
66078 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66080         [BZ #13538]
66081         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66082         EPOLLET with unsigned values.
66083         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66084         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66086         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66087         to large cancellation.
66088         * math/s_cacoshf.c: Likewise.
66089         * math/s_cacoshl.c: Likewise.
66091 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66093         [BZ #13305]
66094         [BZ #12786]
66095         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66096         * math/s_cacoshf.c: Likewise.
66097         * math/s_cacoshl.c: Likewise.
66099 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66101         [BZ #13439]
66102         * iconv/gconv.h: Define __GCONV_SWAP.
66103         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66104         * iconvdata/utf-16.c: Likewise.
66105         * iconvdata/utf-32.c: Likewise.
66107 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66109         [BZ #13524]
66110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66111         numerator after shifting it by one limb.
66113 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66115         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66116         under [__USE_EXTERN_INLINES].
66118 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66120         [BZ #13446]
66121         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66123 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66125         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66126         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66127         optimized code.
66128         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66129         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66130         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66131         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66132         for strncasecmp/strncasecmp_l compilation.
66133         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66134         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66136 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66138         [BZ #13484]
66139         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66140         of __asm__.
66142 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66144         [BZ #13506]
66145         * time/tzfile.c (__tzfile_read): Check values from file header.
66147 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66149         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66150         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66151         * powerpc/powerpc32/dl-start.S: Likewise.
66152         * powerpc/powerpc32/elf/start.S: Likewise.
66153         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66154         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66155         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66156         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66157         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66158         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66159         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66160         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66161         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66162         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66163         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66164         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66165         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66166         * powerpc/powerpc32/memset.S: Likewise.
66167         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66168         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66169         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66170         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66171         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66172         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66173         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66174         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66175         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66176         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66177         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66178         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66179         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66181 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66183         * math/libm-test.inc: Added more nearbyint tests.
66184         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66185         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66189 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66191         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66192         FD_CLOEXEC.
66194 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66196         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66197         Add wcscpy-ssse3 wcscpy-c.
66198         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66199         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66200         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66201         * sysdeps/x86_64/wcschr.S: New file.
66202         * sysdeps/x86_64/wcsrchr.S: New file.
66203         * string/test-strcmp.c: Remove checking of wcscmp function for
66204         wrong alignments.
66205         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66206         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66207         wcsrchr-sse2 wcsrchr-c.
66208         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66209         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66210         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66211         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66212         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66213         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66214         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66215         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66216         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66217         * wcsmbc/wcschr.c (WCSCHR): New macro.
66219 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66221         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66222         * wcsmbs/test-wcsrchr.c: New file.
66223         * string/test-strrchr.c: Add wcsrchr support.
66224         (WIDE): New macro.
66225         * wcsmbs/test-wcscpy.c: New file.
66226         * string/test-strcpy.c: Add wcscpy support.
66227         (WIDE): New macro.
66229 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66231         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66232         the inner loop.
66234 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66236         [BZ #13472]
66237         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66239 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66241         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66242         Minor optimizations.
66244         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66245         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66246         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66248 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66250         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66251         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66252         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66253         for gcc to avoid warnings.
66254         * inet/Makefile (tests): Add tst-checks.
66255         * inet/tst-checks.c: New file.
66257         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66258         warning.
66260         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66261         __wmemcmp_sse2.
66263         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66264         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66266         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66268 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66270         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66271         problem.
66273         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66275 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66277         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66278         conditional on GCC version.
66279         (__arch_compare_and_exchange_val_8_acq)
66280         (__arch_compare_and_exchange_val_16_acq)
66281         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66282         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66283         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66285 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66287         * sysdeps/sh/backtrace.c: New file.
66289 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66291         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66292         parenthesis.
66294 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66296         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66297         falling back to utime.
66299 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66301         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66302         expectations for float.
66304 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66306         * locale/weight.h (findidx): Add parameter len.
66307         * locale/weightwc.h (findidx): Likewise.
66308         * posix/fnmatch_loop.c (FCT): Adjust caller.
66309         * posix/regcomp.c (build_equiv_class): Likewise.
66310         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66311         * posix/regexec.c (check_node_accept_bytes): Likewise.
66312         * string/strcoll_l.c (STRCOLL): Likewise.
66313         * string/strxfrm_l.c (STRXFRM): Likewise.
66315 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66317         * Makefile.in: Remove CVSOPT handling.
66318         * configure.in: Remove use of AC_REVISION.
66319         * iconvdata/Makefile (distribute): No need to filter out CVS.
66320         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66321         handling.
66323 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66326         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66327         [USE_AS_STRNCASECMP_L]: Likewise.
66328         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66329         NO_TLS_DIRECT_SEG_REFS.
66330         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66331         Fix argument offsets for non-PIC.
66332         [USE_AS_STRNCASECMP_L]: Likewise.
66333         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66334         NO_TLS_DIRECT_SEG_REFS.
66336 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66338         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66339         O_CLOEXEC.
66340         * locale/loadlocale.c (_nl_load_locale): Likewise.
66342 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66344         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66345         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66346         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66347         (SYSCALL_GETTIME): Set errno on error.
66349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66350         count references to noai6ai_cached.
66352 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66354         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66356         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66357         FD_CLOEXEC for /proc/self/maps.
66359         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66360         FD_CLOEXEC for /proc/meminfo.
66362         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66363         gai.conf.
66365         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66366         FD_CLOEXEC for given file.
66368         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66370         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66371         FD_CLOEXEC for /etc/hosts.
66372         (_gethtent): Likewise.
66374         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66376         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66377         cancellation and set FD_CLOEXEC for /etc/netgroup.
66379         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66380         reading /etc/publickey.
66382         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66383         allow cancellation when reading /etc/group.
66385         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66386         cancellation.
66387         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66389         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66390         when using data file.
66392         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66394         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66395         (write_nis_obj): Use "c" and "e" in fopen.
66397         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66399         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66401         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66403         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66405         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66406         locale.alias.
66408         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66410         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66412         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66414         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66415         file parsing and set FD_CLOEXEC.
66417 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66419         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66421 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66423         * malloc/arena.c (arena_get2): Don't call reused_arena when
66424         _int_new_arena failed.
66426 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66428         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66429         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66430         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66431         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66432         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66433         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66434         to compile strcasecmp and strncasecmp.
66435         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66436         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66440 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66442         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66443         locale-defines.sym to gen-as-const-headers.
66444         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66445         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66446         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66447         to compile strcasecmp and strncasecmp.
66448         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66449         strcasecmp_l and strncasecmp_l.
66450         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66451         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66452         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66453         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66454         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66455         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66456         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66457         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66458         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66459         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66460         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66462 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66464         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66465         result of SYSDEP_GETTIME_CPU to retval.
66466         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66467         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66469         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66470         variable.
66472         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66473         mantissa words.
66474         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66476         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66477         from unused variable.
66479         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66480         DWARF definitions.
66481         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66482         for assembling.
66484         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66485         over namespaces.
66487         * sunrpc/rpc_prot.c (rejected): Fix case value.
66489         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66490         unsigned long long int to avoid warnings in shift.
66492         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66493         of use of trans.
66494         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66495         variable tmp.
66497         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66498         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66499         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66501         * nis/nis_table.c (nis_list): Use variable of correct type for
66502         result of __follow_path call.
66504 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66506         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66507         of math functions ceil, trunc, floor, round, and sqrt, when
66508         avaliable on the platform.
66509         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66510         name clash.
66511         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66512         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66513         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66515 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66517         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66518         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66520 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66522         * include/unistd.h: Fix __readlink return type.
66523         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66525 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66527         * stdlib/ucontext.h: Undo last change for makecontext.
66529 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66531         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66533         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66534         * setjmp/setjmp.h: Mark functions as non-leaf.
66535         * setjmp/bits/setjmp2.h: Likewise.
66536         * stdlib/ucontext.h: Likewise.
66538 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66540         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66541         (reused_arena): Don't check arena limit.
66542         (arena_get2): Atomically check arena limit.
66544 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66546         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66547         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66550         instructions.
66552 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66554         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66555         handler when locking.
66557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66558         Fix size of allocated buffer.
66560 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66562         [BZ #10103]
66563         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66564         declarations for long double functions.
66565         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66567         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66569 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66571         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66572         installed.
66574         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66575         is disabled.
66577 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66579         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66581 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66583         * include/alloca.h (stackinfo_alloca_round): Define.
66584         (extend_alloca): Use it.
66585         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66586         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66587         here.
66589         * scripts/check-local-headers.sh: Ignore libaudit.h.
66591         * nscd/Makefile (extra-objs): Make recursively expanded.
66593 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66595         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66596         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66598         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66599         * posix/tst-rfc3484-2.c: Likewise.
66600         * posix/tst-rfc3484-3.c: Likewise.
66602         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66603         process_vm_writev.
66604         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66605         process_vm_writev.
66606         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66607         process_vm_writev from libc using GLIBC_2.15 version.
66609         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66611 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66613         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66614         stack usage.
66616 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66618         [BZ #13367]
66619         * nss/getent.c (initgroups_keys): Show error message in case no group
66620         names are given.
66622         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66623         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66624         __bump_nl_timestamp.
66625         * nscd/connections (nscd_init): When host database is served open
66626         netlink socket and request notification about configuration changes.
66627         (main_loop_poll): Track netlink file descriptor and bump timestamp
66628         in case data becomes available.
66629         (main_loop_epoll): Likewise.
66630         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66631         (database_pers_head): Add extra_data fileds.
66632         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66633         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66634         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66635         Adjust caller.
66636         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66637         in6ai data, call __free_in6ai.
66638         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66639         Add -DHAVE_NETLINK.
66640         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66641         interface information.  Reuse previous data if netlink timestamp
66642         is not changed.
66643         (__bump_nl_timestamp): New function.
66644         (__free_in6ai): New function.
66646 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66648         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66649         close_not_cancel_no_status here.
66650         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66652 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66654         [BZ #13276]
66655         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66656         return value.
66658         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66659         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66660         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66662 2011-07-03  Andreas Jaeger  <aj@suse.de>
66664         [BZ #10709]
66665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66666         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66667         * math/libm-test.inc (sin_test): Add test case.
66669 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66671         [BZ #13337]
66672         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66673         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66675         * elf/chroot_canon.c (chroot_canon): Cleanups.
66677         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66679         [BZ #13335]
66680         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66681         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66683         * string/test-strchr.c: Make usable for strchrnul testing.
66684         * string/test-strchrnul.c: New file.
66685         * string/Makefile (strop-tests): Add strchrnul.
66687         * po/it.po: Update from translation team.
66688         * po/es.po: Likewise.
66690 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66692         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66693         the three constants needed as parameters.  Drop the others.
66694         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66695         __m128i_strloadu_tolower.
66696         Create and initialize variable zero and use it in all the places
66697         where _mm_setzero_si128 was used.
66699         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66700         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66701         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66702         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66703         anymore.
66704         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66705         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66706         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66707         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66708         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66709         __mpranred, __mptan.
66710         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66711         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66712         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66713         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66714         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66715         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66716         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66717         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66718         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66720 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66722         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66723         redefine if SHARED.
66724         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66727         wide char related routines to wcsmbs subdir.
66729 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66731         [BZ #13344]
66732         * misc/sys/cdefs.h (__THROWNL): Define.
66733         * posix/unistd.h: Use __THREADNL instead of __THREAD
66734         for memory synchronization functions.
66736 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66738         [BZ #13349]
66739         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66740         doesn't exist.
66741         * manual/stdio.texi (Obstack Streams): Node removed.
66743 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66745         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66746         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66747         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66749         * math/math_private.h (math_force_eval): Allow non-addressable
66750         arguments.
66751         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66753 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66755         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66756         file is not needed.
66758         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66759         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66760         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66761         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66762         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66763         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66764         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66765         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66766         Add AVX variants.
66767         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66768         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66769         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66770         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66771         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66772         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66773         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66774         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66775         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66776         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66777         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66778         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66780         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66781         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66782         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66783         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66784         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66785         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66787         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66788         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66790         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66791         place.  Use VEX encoding when compiling for AVX.
66793 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66795         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66796         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66798         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66800 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66802         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66803         useless if() expression.
66804         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66805         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66806         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66808         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66809         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66810         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66811         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66812         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66813         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66814         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66815         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66816         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66817         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66818         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66819         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66820         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66822         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66824         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66826 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66828         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66829         condition.
66830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66832 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66834         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66835         .text section.  Avoid duplicate constants.
66836         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66837         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66838         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66840         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66841         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66842         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66844         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66845         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66846         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66847         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66848         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66849         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66850         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66851         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66852         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66853         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66854         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66855         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66856         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66857         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66858         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66859         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66860         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66861         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66862         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66863         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66864         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66865         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66866         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66867         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66868         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66869         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66870         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66871         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66872         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66873         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66874         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66875         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66876         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66877         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66878         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66879         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66880         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66882 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66884         * sysdeps/x86_64/dla.h: Move to ...
66885         * sysdeps/x86_64/fpu/dla.h: ...here.
66886         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66887         situations.  Use __builtin_fma only for gcc 4.6 and up.
66889         * config.make.in: Add have-mfma4 entry.
66890         * configure.in: Substitute libc_cv_cc_fma4.
66891         * math/Makefile (dbl-only-routines): Add sincostab.
66892         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66893         Use __sincostab not sincos.
66894         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66895         name is a macro.
66896         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66900         using __copysign.
66901         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66902         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66903         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66904         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66905         and __inv.
66906         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66907         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66908         __copysign.
66909         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66910         define aliases when function name is a macro.
66911         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66912         sysdeps/ieee754/dbl-64/sincos.tbl.
66913         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66914         fma4-enabled routines.
66915         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66916         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66917         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66918         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66919         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66920         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66921         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66922         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66923         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66924         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66925         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66926         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66927         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66928         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66929         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66930         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66931         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66932         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66933         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66934         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66935         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66936         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66937         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66939         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66941         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66942         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66943         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66944         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66946         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66947         rename.
66948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66951         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66957 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66959         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66961 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66963         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66965         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66966         prediction.
66967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66969         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66970         Remove unused variable magic_bits.
66971         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66973         * string/strnlen.c: Define and use STRNLEN macro.
66974         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66975         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66976         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66977         * wcsmbs/wcslen.c: Define and use WCSLEN.
66978         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66979         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66980         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66981         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66982         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66983         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66984         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66986 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66989         strnlen-sse2-no-bsf.
66990         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66991         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66992         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66993         Add strnlen support.
66994         (USE_AS_STRNLEN): New macro.
66995         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66996         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66997         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66998         * sysdeps/x86_64/wcslen.S: New file.
67000 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67002         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67003         XMM-moves are used for copying on small sizes.
67005 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67007         * wcsmbs/Makefile (strop-tests): Add wcschr.
67008         * wcsmbs/test-wcschr.c: New file.
67009         * string/test-strchr.c: Update.
67010         Add wcschr support.
67011         (WIDE): New macro.
67013 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67015         * wcsmbs/Makefile (strop-tests): Add wcslen.
67016         * wcsmbs/test-wcslen.c: New file.
67017         * string/test-strlen.c: Update.
67018         Add wcslen support.
67019         (WIDE): New macro.
67021 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67023         * po/it.po: Update from translation team.
67025 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67027         * sysdeps/x86_64/wcscmp.S: Update.
67028         Fix wrong comparison semantics.
67029         wcscmp shall use signed comparison not unsigned.
67030         Don't use substraction to avoid overflow bug.
67031         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67032         * wcsmbc/wcscmp.c: Likewise.
67033         * string/test-strcmp.c: Likewise.
67034         Add new tests to check cases with negative values.
67036 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67038         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67039         * sysdeps/x86_64/dla.h: ...here.  New file.
67040         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67041         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67043         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67044         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67047         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67050 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67053         __ynl_finite aliases.
67055 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67059         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67060         define DLA_FMA.
67061         [DLA_FMA] (EMULV): Use DLA_FMA.
67062         [DLA_FMA] (MUL12): Use EMULV.
67063         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67064         that are not needed.
67065         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67069         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67070         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67071         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67073 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67075         * math/s_nan.c: Undef __nan.
67076         * math/s_nanf.c: Undef __nanf.
67077         * math/s_nanl.c: Undef __nanl.
67078         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67079         "math_private.h".
67081 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67083         * math/s_catan.c: Add branch predictions.
67084         * math/s_catanf.c: Likewise.
67085         * math/s_catanh.c: Likewise.
67086         * math/s_catanhf.c: Likewise.
67087         * math/s_catanhl.c: Likewise.
67088         * math/s_catanl.c: Likewise.
67089         * math/s_cexp.c: Likewise.
67090         * math/s_cexpf.c: Likewise.
67091         * math/s_cexpl.c: Likewise.
67092         * math/s_clog.c: Likewise.
67093         * math/s_clog10.c: Likewise.
67094         * math/s_clog10f.c: Likewise.
67095         * math/s_clog10l.c: Likewise.
67096         * math/s_clogf.c: Likewise.
67097         * math/s_clogl.c: Likewise.
67098         * math/s_csqrt.c: Likewise.
67099         * math/s_csqrtf.c: Likewise.
67100         * math/s_csqrtl.c: Likewise.
67101         * math/s_ctanf.c: Likewise.
67102         * math/s_ctanh.c: Likewise.
67103         * math/s_ctanhf.c: Likewise.
67104         * math/s_ctanhl.c: Likewise.
67105         * math/s_ctanl.c: Likewise.
67107         * math/math_private.h: Define __nan, __nanf, __nanl.
67108         * math/s_cacosh.c: Include <math_private.h>.
67109         * math/s_cacoshl.c: Likewise.
67110         * math/s_casinh.c: Likewise.
67111         * math/s_casinhf.c: Likewise.
67112         * math/s_casinhl.c: Likewise.
67113         * math/s_ccos.c: Rely entire on ccosh.
67114         * math/s_ccosf.c: Rely entire on ccoshf.
67115         * math/s_ccosl.c: Rely entirely on ccoshl.
67116         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67117         Remove tests for FE_INVALID.
67118         * math/s_ccoshf.c: Likewise.
67119         * math/s_ccoshl.c: Likewise.
67120         * math/s_csin.c: Likewise.
67121         * math/s_csinf.c: Likewise.
67122         * math/s_csinh.c Likewise.
67123         * math/s_csinhf.c: Likewise.
67124         * math/s_csinhl.c: Likewise.
67125         * math/s_csinl.c: Likewise.
67126         * math/s_ctan.c: Likewise.
67127         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67128         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67129         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67131 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67134         compilation problems.
67136         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67137         __builtin_expect.
67139 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67141         * sysdeps/i386/configure.in: Test for -mfma4 option.
67142         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67143         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67144         COMMON_CPUID_INDEX_80000001.
67145         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67146         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67147         use it if FMA3 is not supported.
67148         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67150         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67151         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67153 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67155         [BZ #12892]
67156         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67157         it would create a cycle with a link time dependency.
67159 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67161         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67162         instruction.
67163         * string/Makefile (strop-tests): Add rawmemchr.
67164         * string/test-rawmemchr.c: New file.
67166         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67168         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67169         when compiling str{,n}casecmp and when AVX is available.  Hook up
67170         new optimized code in initializers.
67172 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67174         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67175         __feraiseexcept instead of feraiseexcept.
67177 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67179         * math/math_private.h: Define defaults for libc_fetestexcept and
67180         libc_feupdateenv.
67181         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67182         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67183         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67184         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67185         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67186         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67187         libc_fetestexcept and libc_feupdateenv.
67189         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67190         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67191         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67192         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67193         libc_feholdexcept_setround.
67195         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67196         Add s_nearbyint-c and s_nearbyintf-c.
67197         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67198         nearbyintf inlines.
67199         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67200         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67201         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67202         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67204         * math/math_private.h: Define defaults for libc_fegetround,
67205         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67206         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67207         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67208         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67209         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67210         standard functions.
67211         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67212         Remove comments and hacks for old compiler versions.
67213         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67214         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67215         libc_feholdexceptl.
67217 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67219         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67220         (__feraiseexcept_renamed): Add __NTH.
67221         (feraiseexcept): Add __NTH.  Rename local variables to fix
67222         namespace violations.
67224 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67228         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67230         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67231         recently added interfaces.
67232         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67234         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67235         about macro parameter expansion.
67237         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67238         __NO_MATH_INLINES is defined.  Cleanups.
67240         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67241         and __floorf is target has SSE4.1.
67242         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67243         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67244         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67245         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67247         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67248         name.
67249         (floorf): Likewise.
67251         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67253 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67255         * misc/sys/cdefs.h: Fix last change.
67257         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67258         database lookup.
67260 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67262         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67264         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67265         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67266         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67267         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67269         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67270         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67271         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67272         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67273         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67274         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67275         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67276         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67277         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67278         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67279         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67280         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67281         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67282         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67283         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67284         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67285         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67287         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67288         ceil, ceilf, floor, floorf.
67290         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67291         Perform IRELATIVE relocations last.
67293         * elf/do-rel.h: Add another parameter nrelative, replacing the
67294         local variable with the same name.  Change name of the function
67295         to end in Rel or Rela (uppercase).
67296         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67297         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67298         elf_dynamic_do_##reloc function.
67300 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67302         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67303         is sufficient, at least on modern CPUs.
67305         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67307         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67308         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67310         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67311         __expl_finite.
67312         * math/bits/math-finite.h: Add entries for exp.
67313         * math/e_expl.c: Add __*_finite alias.
67314         * sysdeps/i386/fpu/e_exp.S: Likewise.
67315         * sysdeps/i386/fpu/e_expf.S: Likewise.
67316         * sysdeps/i386/fpu/e_expl.c: Likewise.
67317         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67318         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67319         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67320         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67321         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67322         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67323         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67325         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67326         is sufficient, at least on modern CPUs.
67328         * ctype/ctype-info.c (__ctype_init): Define.
67329         * include/ctype.h (__ctype_init): Declare.
67330         (__ctype_b_loc): The variable is always initialized.
67331         (__ctype_toupper_loc): Likewise.
67332         (__ctype_tolower_loc): Likewise.
67333         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67334         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67336 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67338         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67340         * configure.in: Also look in $cxxmachine/include for C++ system
67341         headers.
67343 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67345         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67346         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67347         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67348         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67349         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67350         (USE_AS_WMEMCMP): New macro.
67351         Fixing indents.
67352         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67353         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67354         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67355         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67357         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67358         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67359         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67360         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67361         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67362         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67363         (USE_AS_WMEMCMP): New macro.
67364         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67365         * sysdeps/string/test-memcmp.c: Update.
67366         Fix simple_wmemcmp.
67367         Add new tests.
67368         * wcsmbs/wmemcmp.c: Update.
67369         (WMEMCMP): New macro.
67370         Fix overflow bug.
67372 2011-10-12  Andreas Jaeger  <aj@suse.de>
67374         [BZ #13268]
67375         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67377 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67379         * libio/iofwide.c (do_length): Avoid warning.
67381         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67383 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67385         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67387         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67388         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67389         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67390         * sysdeps/i386/i686/fpu/e_log.S: New file.
67391         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67392         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67394         * ctype/ctype.h: Add support for inlined isXXX functions when
67395         compiling C++ code.
67397 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67399         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67401         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67403 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67405         [BZ #13291]
67406         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67408 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67410         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67411         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67412         feraiseexcept.
67414         * sysdeps/x86_64/memrchr.S: Check for zero size.
67416         * string/stratcliff.c: Add memrchr tests.
67418 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67421         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67422         rawmemchr-sse2 rawmemchr-sse2-bsf.
67423         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67424         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67425         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67426         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67427         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67428         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67429         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67430         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67431         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67432         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67433         * string/memrchr.c (MEMRCHR): New macro.
67435 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67437         Add integration with gcc's -ffinite-math-only and optimize wrapper
67438         functions in libm.
67439         * Versions.def: Define GLIBC_2.15 version for libm.
67440         * math/Makefile (headers): Add bits/math-finite.h.
67441         * math/bits/math-finite.h: New file.
67442         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67443         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67444         * math/e_acoshl.c: Add __*_finite alias.
67445         * math/e_acosl.c: Likewise.
67446         * math/e_asinl.c: Likewise.
67447         * math/e_atan2l.c: Likewise.
67448         * math/e_atanhl.c: Likewise.
67449         * math/e_coshl.c: Likewise.
67450         * math/e_exp10.c: Likewise.
67451         * math/e_exp10f.c: Likewise.
67452         * math/e_exp10l.c: Likewise.
67453         * math/e_exp2l.c: Likewise.
67454         * math/e_fmodl.c: Likewise.
67455         * math/e_gammal_r.c: Likewise.
67456         * math/e_hypotl.c: Likewise.
67457         * math/e_j0l.c: Likewise.
67458         * math/e_j1l.c: Likewise.
67459         * math/e_jnl.c: Likewise.
67460         * math/e_lgammal_r.c: Likewise.
67461         * math/e_log10l.c: Likewise.
67462         * math/e_log2l.c: Likewise.
67463         * math/e_logl.c: Likewise.
67464         * math/e_powl.c: Likewise.
67465         * math/e_sinhl.c: Likewise.
67466         * math/e_sqrtl.c: Likewise.
67467         * math/e_scalb.c: Completely rewritten and optimized.
67468         * math/e_scalbf.c: Likewise.
67469         * math/e_scalbl.c: Likewise.
67470         * math/w_acos.c: Likewise.
67471         * math/w_acosf.c: Likewise.
67472         * math/w_acosl.c: Likewise.
67473         * math/w_acosh.c: Likewise.
67474         * math/w_acoshf.c: Likewise.
67475         * math/w_acoshl.c: Likewise.
67476         * math/w_asin.c: Likewise.
67477         * math/w_asinf.c: Likewise.
67478         * math/w_asinl.c: Likewise.
67479         * math/w_atan2.c: Likewise.
67480         * math/w_atan2f.c: Likewise.
67481         * math/w_atan2l.c: Likewise.
67482         * math/w_atanh.c: Likewise.
67483         * math/w_atanhf.c: Likewise.
67484         * math/w_atanhl.c: Likewise.
67485         * math/w_exp10.c: Likewise.
67486         * math/w_exp10f.c: Likewise.
67487         * math/w_exp10l.c: Likewise.
67488         * math/w_fmod.c: Likewise.
67489         * math/w_fmodf.c: Likewise.
67490         * math/w_fmodl.c: Likewise.
67491         * math/w_j0.c: Likewise.
67492         * math/w_j0f.c: Likewise.
67493         * math/w_j0l.c: Likewise.
67494         * math/w_j1.c: Likewise.
67495         * math/w_j1f.c: Likewise.
67496         * math/w_j1l.c: Likewise.
67497         * math/w_jn.c: Likewise.
67498         * math/w_jnf.c: Likewise.
67499         * math/w_log.c: Likewise.
67500         * math/w_logf.c: Likewise.
67501         * math/w_logl.c: Likewise.
67502         * math/w_log10.c: Likewise.
67503         * math/w_log10f.c: Likewise.
67504         * math/w_log10l.c: Likewise.
67505         * math/w_log2.c: Likewise.
67506         * math/w_log2f.c: Likewise.
67507         * math/w_log2l.c: Likewise.
67508         * math/w_pow.c: Likewise.
67509         * math/w_powf.c: Likewise.
67510         * math/w_powl.c: Likewise.
67511         * math/w_remainder.c: Likewise.
67512         * math/w_remainderf.c: Likewise.
67513         * math/w_remainderl.c: Likewise.
67514         * math/w_scalb.c: Likewise.
67515         * math/w_scalbf.c: Likewise.
67516         * math/w_scalbl.c: Likewise.
67517         * math/w_sqrt.c: Likewise.
67518         * math/w_sqrtf.c: Likewise.
67519         * math/w_sqrtl.c: Likewise.
67520         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67521         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67522         used.
67523         * math/math_private.h: Declare __kernel_standard_f.
67524         * math/w_cosh.c: Remove cruft and optimize a bit.
67525         * math/w_coshf.c: Likewise.
67526         * math/w_coshl.c: Likewise.
67527         * math/w_exp2.c: Likewise.
67528         * math/w_exp2f.c: Likewise.
67529         * math/w_exp2l.c: Likewise.
67530         * math/w_hypot.c: Likewise.
67531         * math/w_hypotf.c: Likewise.
67532         * math/w_hypotl.c: Likewise.
67533         * math/w_lgamma.c: Likewise.
67534         * math/w_lgamma_r.c: Likewise.
67535         * math/w_lgammaf.c: Likewise.
67536         * math/w_lgammaf_r.c: Likewise.
67537         * math/w_lgammal.c: Likewise.
67538         * math/w_lgammal_r.c: Likewise.
67539         * math/w_sinh.c: Likewise.
67540         * math/w_sinhf.c: Likewise.
67541         * math/w_sinhl.c: Likewise.
67542         * math/w_tgamma.c: Likewise.
67543         * math/w_tgammaf.c: Likewise.
67544         * math/w_tgammal.c: Likewise.
67545         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67546         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67547         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67548         Minor optimizations.  Pretty printing.  Remove cruft.
67549         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67550         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67551         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67552         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67553         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67554         * sysdeps/i386/fpu/e_asin.S: Likewise.
67555         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67556         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67557         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67558         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67559         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67560         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67561         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67562         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67563         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67564         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67565         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67566         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67567         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67568         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67569         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67570         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67571         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67572         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67573         * sysdeps/i386/fpu/e_log.S: Likewise.
67574         * sysdeps/i386/fpu/e_log10.S: Likewise.
67575         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67576         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67577         * sysdeps/i386/fpu/e_log2.S: Likewise.
67578         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67579         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67580         * sysdeps/i386/fpu/e_logf.S: Likewise.
67581         * sysdeps/i386/fpu/e_logl.S: Likewise.
67582         * sysdeps/i386/fpu/e_pow.S: Likewise.
67583         * sysdeps/i386/fpu/e_powf.S: Likewise.
67584         * sysdeps/i386/fpu/e_powl.S: Likewise.
67585         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67586         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67587         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67588         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67589         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67590         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67591         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67592         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67593         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67594         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67595         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67615         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67616         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67617         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67618         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67619         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67620         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67621         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67622         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67623         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67624         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67625         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67628         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67629         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67630         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67631         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67632         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67633         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67634         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67635         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67636         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67638         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67639         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67640         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67641         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67642         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67643         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67644         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67649         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67650         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67651         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67652         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67653         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67657         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67658         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67663         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67679         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67682         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67685         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67686         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67687         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67688         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67689         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67690         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67691         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67692         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67693         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67694         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67695         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67696         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67697         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67698         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67700         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67701         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67702         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67703         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67704         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67705         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67706         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67707         (__isnanf): Likewise.
67708         (__isinf_ns): Likewise.
67709         (__isinf_nsf): Likewise.
67710         (__finite): Likewise.
67711         (__finitef): Likewise.
67712         (__ieee754_sqrt): Define as macro.
67713         (__ieee754_sqrtf): Define as macro.
67714         (__ieee754_sqrtl): Define as macro.
67715         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67716         inlined copy.
67717         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67718         __FINITE_MATH_ONLY__ consistent.
67719         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67721 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67723         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67724         of rawmemchr.
67726         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67728 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67730         * po/ja.po: Update from translation team.
67732 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67734         * locale/programs/locarchive.c (prepare_address_space): New function.
67735         (create_archive, enlarge_archive, open_archive): Use it.
67737         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67738         inside [SHARED], where it is used.
67740         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67742         * nss/getent.c (netgroup_keys): Remove unused variable.
67743         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67745 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67747         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67748         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67750         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67751         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67752         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67753         * math/Makefile (libm-calls): Add s_isinf_ns.
67754         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67755         * math/multc3.c: Likewise.
67756         * math/s_casin.c: Likewise.
67757         * math/s_casinf.c: Likewise.
67758         * math/s_casinl.c: Likewise.
67759         * math/s_ccos.c: Likewise.
67760         * math/s_ccosf.c: Likewise.
67761         * math/s_ccosl.c: Likewise.
67762         * math/s_ctan.c: Likewise.
67763         * math/s_ctanf.c: Likewise.
67764         * math/s_ctanh.c: Likewise.
67765         * math/s_ctanhf.c: Likewise.
67766         * math/s_ctanhl.c: Likewise.
67767         * math/s_ctanl.c: Likewise.
67768         * math/w_fmod.c: Likewise.
67769         * math/w_fmodf.c: Likewise.
67770         * math/w_fmodl.c: Likewise.
67771         * math/w_remainder.c: Likewise.
67772         * math/w_remainderf.c: Likewise.
67773         * math/w_remainderl.c: Likewise.
67774         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67775         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67776         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67778         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67779         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67780         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67781         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67783         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67784         of the number.
67785         * stdio-common/printf_fphex.c: Likewise.
67786         * stdio-common/printf_size.c: Likewise.
67788         * math/e_exp10.c: Include math_private.h using <...> not "...".
67789         * math/e_exp10f.c: Likewise.
67790         * math/e_exp10l.c: Likewise.
67791         * math/e_exp2l.c: Likewise.
67792         * math/e_j0l.c: Likewise.
67793         * math/e_j1l.c: Likewise.
67794         * math/e_jnl.c: Likewise.
67795         * math/e_lgammal_r.c: Likewise.
67796         * math/e_rem_pio2l.c: Likewise.
67797         * math/e_scalb.c: Likewise.
67798         * math/e_scalbf.c: Likewise.
67799         * math/e_scalbl.c: Likewise.
67800         * math/k_cosl.c: Likewise.
67801         * math/k_sinl.c: Likewise.
67802         * math/k_tanl.c: Likewise.
67803         * math/s_cacoshf.c: Likewise.
67804         * math/s_catan.c: Likewise.
67805         * math/s_catanf.c: Likewise.
67806         * math/s_catanh.c: Likewise.
67807         * math/s_catanhf.c: Likewise.
67808         * math/s_catanhl.c: Likewise.
67809         * math/s_catanl.c: Likewise.
67810         * math/s_ccosh.c: Likewise.
67811         * math/s_ccoshf.c: Likewise.
67812         * math/s_ccoshl.c: Likewise.
67813         * math/s_cexp.c: Likewise.
67814         * math/s_cexpf.c: Likewise.
67815         * math/s_cexpl.c: Likewise.
67816         * math/s_clog.c: Likewise.
67817         * math/s_clog10.c: Likewise.
67818         * math/s_clog10f.c: Likewise.
67819         * math/s_clog10l.c: Likewise.
67820         * math/s_clogf.c: Likewise.
67821         * math/s_clogl.c: Likewise.
67822         * math/s_csin.c: Likewise.
67823         * math/s_csinf.c: Likewise.
67824         * math/s_csinh.c: Likewise.
67825         * math/s_csinhf.c: Likewise.
67826         * math/s_csinhl.c: Likewise.
67827         * math/s_csinl.c: Likewise.
67828         * math/s_csqrt.c: Likewise.
67829         * math/s_csqrtf.c: Likewise.
67830         * math/s_csqrtl.c: Likewise.
67831         * math/s_ctan.c: Likewise.
67832         * math/s_ctanf.c: Likewise.
67833         * math/s_ctanh.c: Likewise.
67834         * math/s_ctanhf.c: Likewise.
67835         * math/s_ctanhl.c: Likewise.
67836         * math/s_ctanl.c: Likewise.
67837         * math/s_ldexp.c: Likewise.
67838         * math/s_ldexpf.c: Likewise.
67839         * math/s_ldexpl.c: Likewise.
67840         * math/s_significand.c: Likewise.
67841         * math/s_significandf.c: Likewise.
67842         * math/s_significandl.c: Likewise.
67843         * math/w_acos.c: Likewise.
67844         * math/w_acosf.c: Likewise.
67845         * math/w_acosh.c: Likewise.
67846         * math/w_acoshf.c: Likewise.
67847         * math/w_acoshl.c: Likewise.
67848         * math/w_acosl.c: Likewise.
67849         * math/w_asin.c: Likewise.
67850         * math/w_asinf.c: Likewise.
67851         * math/w_asinl.c: Likewise.
67852         * math/w_atan2.c: Likewise.
67853         * math/w_atan2f.c: Likewise.
67854         * math/w_atan2l.c: Likewise.
67855         * math/w_atanh.c: Likewise.
67856         * math/w_atanhf.c: Likewise.
67857         * math/w_atanhl.c: Likewise.
67858         * math/w_cosh.c: Likewise.
67859         * math/w_coshf.c: Likewise.
67860         * math/w_coshl.c: Likewise.
67861         * math/w_dremf.c: Likewise.
67862         * math/w_exp10.c: Likewise.
67863         * math/w_exp10f.c: Likewise.
67864         * math/w_exp10l.c: Likewise.
67865         * math/w_exp2.c: Likewise.
67866         * math/w_exp2f.c: Likewise.
67867         * math/w_fmod.c: Likewise.
67868         * math/w_fmodf.c: Likewise.
67869         * math/w_fmodl.c: Likewise.
67870         * math/w_hypot.c: Likewise.
67871         * math/w_hypotf.c: Likewise.
67872         * math/w_hypotl.c: Likewise.
67873         * math/w_j0.c: Likewise.
67874         * math/w_j0f.c: Likewise.
67875         * math/w_j0l.c: Likewise.
67876         * math/w_j1.c: Likewise.
67877         * math/w_j1f.c: Likewise.
67878         * math/w_j1l.c: Likewise.
67879         * math/w_jn.c: Likewise.
67880         * math/w_jnf.c: Likewise.
67881         * math/w_jnl.c: Likewise.
67882         * math/w_lgamma.c: Likewise.
67883         * math/w_lgamma_r.c: Likewise.
67884         * math/w_lgammaf.c: Likewise.
67885         * math/w_lgammaf_r.c: Likewise.
67886         * math/w_lgammal.c: Likewise.
67887         * math/w_lgammal_r.c: Likewise.
67888         * math/w_log.c: Likewise.
67889         * math/w_log10.c: Likewise.
67890         * math/w_log10f.c: Likewise.
67891         * math/w_log10l.c: Likewise.
67892         * math/w_log2.c: Likewise.
67893         * math/w_log2f.c: Likewise.
67894         * math/w_log2l.c: Likewise.
67895         * math/w_logf.c: Likewise.
67896         * math/w_logl.c: Likewise.
67897         * math/w_pow.c: Likewise.
67898         * math/w_powf.c: Likewise.
67899         * math/w_powl.c: Likewise.
67900         * math/w_remainder.c: Likewise.
67901         * math/w_remainderf.c: Likewise.
67902         * math/w_remainderl.c: Likewise.
67903         * math/w_scalb.c: Likewise.
67904         * math/w_scalbf.c: Likewise.
67905         * math/w_scalbl.c: Likewise.
67906         * math/w_sinh.c: Likewise.
67907         * math/w_sinhf.c: Likewise.
67908         * math/w_sinhl.c: Likewise.
67909         * math/w_sqrt.c: Likewise.
67910         * math/w_sqrtf.c: Likewise.
67911         * math/w_sqrtl.c: Likewise.
67912         * math/w_tgamma.c: Likewise.
67913         * math/w_tgammaf.c: Likewise.
67914         * math/w_tgammal.c: Likewise.
67916         * po/ja.po: Update from translation team.
67918 2011-09-29  Andreas Jaeger  <aj@suse.de>
67920         [BZ #13179]
67921         * sunrpc/netname.c (netname2host): Fix logic.
67923         [BZ #6779]
67924         [BZ #6783]
67925         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67926         correctly.
67927         * math/w_remainder.c (__remainder): Likewise.
67928         * math/w_remainderf.c (__remainderf): Likewise.
67929         * math/libm-test.inc (remainder_test): Add test cases.
67931 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67933         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67934         sdiv_qrnnd.
67936 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67938         * string/test-memcmp.c: Avoid unncessary #defines.
67939         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67941 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67943         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67944         Use new sse2 version for core i3 - i7 as it's faster
67945         than sse42 version.
67946         (bit_Prefer_PMINUB_for_stringop): New.
67947         * sysdeps/x86_64/rawmemchr.S: Update.
67948         Replace with faster SSE2 version.
67949         * sysdeps/x86_64/memrchr.S: New file.
67950         * sysdeps/x86_64/memchr.S: Update.
67951         Replace with faster SSE2 version.
67953 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67955         * elf/dl-load.c (lose): Add cast to avoid warning.
67957 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67959         * po/ca.po: Update from translation team.
67961         * inet/getnetgrent_r.c: Hook up nscd.
67962         * nscd/Makefile (routines): Add nscd_netgroup.
67963         (nscd-modules): Add netgroupcache.
67964         (CFLAGS-netgroupcache.c): Define.
67965         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67966         (cache_search): Add const to second parameter.
67967         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67968         INNETGR.
67969         (dbs): Add netgrdb entry.
67970         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67971         (verify_persistent_db): Handle netgrdb.
67972         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67973         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67974         GETFDNETGR.
67975         (netgroup_response_header): Define.
67976         (innetgroup_response_header): Define.
67977         (datahead): Add netgroup_response_header and innetgroup_response_header
67978         elements.
67979         * nscd/nscd.conf: Add entries for netgroup cache.
67980         * nscd/nscd.h (dbtype): Add netgrdb.
67981         (_PATH_NSCD_NETGROUP_DB): Define.
67982         (netgroup_iov_disabled): Declare.
67983         (xmalloc, xcalloc, xrealloc): Move declarations here.
67984         (cache_search): Adjust prototype.
67985         Add netgroup-related prototypes.
67986         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67987         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67988         (__nscd_innetgr): Declare.
67989         * nscd/selinux.c (perms): Use access_vector_t as element type and
67990         add netgroup-related initializers.
67991         * nscd/netgroupcache.c: New file.
67992         * nscd/nscd_netgroup.c: New file.
67993         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67994         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67995         For four parameters use innetgr.
67996         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67997         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67998         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67999         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68001         * nscd/connections.c (register_traced_file): Don't register file
68002         for disabled databases.
68004 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68006         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68008         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68009         from tree and freeing node.
68011 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68013         * nss/nsswitch.c (__nss_database_lookup): Handle
68014         nss_parse_service_list out of memory case.
68016 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68018         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68019         out of memory case.
68021 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68023         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68024         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68025         pass it down.
68026         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68027         elf_machine_rela, elf_machine_lazy_rel.
68028         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68029         (ELF_DYNAMIC_DO_REL): Likewise.
68030         (ELF_DYNAMIC_DO_RELA): Likewise.
68031         (ELF_DYNAMIC_RELOCATE): Likewise.
68032         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68033         to ELF_DYNAMIC_DO_REL.
68034         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68035         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68036         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68037         elf_machine_rela.
68038         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68039         skip_ifunc, don't call ifunc function if non-zero.
68040         (elf_machine_rela): Likewise.
68041         (elf_machine_lazy_rel): Likewise.
68042         (elf_machine_lazy_rela): Likewise.
68043         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68044         (elf_machine_lazy_rel): Likewise.
68045         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68046         Likewise.
68047         (elf_machine_lazy_rel): Likewise.
68048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68049         Likewise.
68050         (elf_machine_lazy_rel): Likewise.
68051         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68052         (elf_machine_lazy_rel): Likewise.
68053         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68054         (elf_machine_lazy_rel): Likewise.
68055         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68056         (elf_machine_lazy_rel): Likewise.
68057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68058         (elf_machine_lazy_rel): Likewise.
68059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68060         (elf_machine_lazy_rel): Likewise.
68061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68062         (elf_machine_lazy_rel): Likewise.
68064 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68066         * nss/nss_files/files-init.c (_nss_files_init): Use static
68067         initialization for all the *_traced_file variables.
68069 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68071         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68073 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68075         [BZ #13226]
68076         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68078 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68080         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68081         Reread the line before reparsing it.
68083 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68085         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68087 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68088             Maxim Kuvyrkov  <maxim@codesourcery.com>
68089             Joseph Myers  <joseph@codesourcery.com>
68091         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68092         if needed for __stack_chk_guard.
68094 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68096         * sysdeps/posix/spawni.c (script_execute): Always define it.
68097         It will be optimized away if unused.
68098         (maybe_script_execute): New function.
68099         (__spawni): Call it.
68101         * Makerules: Don't include tls.make.
68102         (config-tls): Always set to thread.
68103         * tls.make.c: File removed.
68105 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68107         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68108         * config.make.in (CPPFLAGS-config): New substituted variable.
68110 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68112         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68114         [BZ #13192]
68115         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68116         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68118 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68120         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68121         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68122         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68123         (CALL_FAIL): Likewise.
68124         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68125         (CALL_FAIL): Macro removed.
68126         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68128 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68130         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68131         for __FINITE_MATH_ONLY__ == 1.
68133 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68135         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68136         __ieee754_sqrt instead of sqrt.
68137         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68138         __ieee754_sqrtf instead of sqrtf.
68139         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68140         __floorf instead of floorf.
68141         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68142         __floorf, __truncf instead of floorf, truncf.
68144 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68146         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68148         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68149         __extern_always_inline.
68150         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68151         32-bit.
68153 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68155         * elf/rtld.c (dl_main): Also relocate in dependency order when
68156         doing symbol dependency testing.
68158 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68161         Always define `refsym'.
68163 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68165         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68166         (__FD_ELT): Renamed from __FDELT.
68167         * misc/bits/select2.h (__FD_ELT): Likewise.
68168         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68169         __FD_MASK instead of __FDELT, __FDMASK.
68170         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68171         Likewise.
68172         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68173         Likewise.
68175         * elf/Makefile (gen-ldd): Fix pattern.
68177         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68178         (init_tls): Likewise.
68180 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68182         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68184 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68186         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68187         `struct cmsghdr *' instead of `void *'.
68188         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68189         Likewise.
68191 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68193         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68194         if non-absolute.
68195         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68196         ldd_rewrite_script.
68198 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68200         * configure.in: Remove --with-tls option.
68201         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68202         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68203         out in case it is missing.
68204         * sysdeps/ia64/elf/configure.in: Likewise.
68205         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68206         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68207         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68208         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68209         * sysdeps/sh/elf/configure.in: Likewise.
68210         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68211         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68212         * sysdeps/x86_64/elf/configure.in: Likewise.
68213         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68214         * sysdeps/mach/hurd/tls.h: Likewise.
68216         [BZ #13067]
68217         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68219         [BZ #13090]
68220         * configure.in: Fix use of AC_INIT.
68222         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68224 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68226         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68227         __set_errno.
68228         * malloc/hooks.c: Likewise.
68230         [BZ #11929]
68231         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68232         variables statically.
68233         (narenas): Initialize.
68234         (list_lock): Initialize.
68235         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68236         initializtion of main_arena and list_lock.  Small cleanups.
68237         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68238         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68239         Add initializers to main_arena and mp_.
68240         (malloc_state): Remove pagesize member.  Change all users to use
68241         GLRO(dl_pagesize).
68243         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68244         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68245         is always initialized.
68247         * malloc/malloc.c: Removed unused configurations and dead code.
68248         * malloc/arena.c: Likewise.
68249         * malloc/hooks.c: Likewise.
68250         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68252         * include/tls.h: Removed.  USE___THREAD must always be defined.
68253         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68254         * elf/dl-libc.c: Likewise.
68255         * elf/dl-tsd.c: Likewise.
68256         * include/errno.h: Likewise.
68257         * include/netdb.h: Likewise.
68258         * include/resolv.h: Likewise.
68259         * inet/herrno-loc.c: Likewise.
68260         * inet/herrno.c: Likewise.
68261         * malloc/arena.c: Likewise.
68262         * malloc/hooks.c: Likewise.
68263         * malloc/malloc.c: Likewise.
68264         * resolv/res-state.c: Likewise.
68265         * resolv/res_libc.c: Likewise.
68266         * sysdeps/i386/dl-machine.h: Likewise.
68267         * sysdeps/ia64/dl-machine.h: Likewise.
68268         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68269         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68270         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68271         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68272         * sysdeps/sh/dl-machine.h: Likewise.
68273         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68274         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68275         * sysdeps/unix/i386/sysdep.S: Likewise.
68276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68277         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68280         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68282         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68286         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68287         * sysdeps/x86_64/dl-machine.h: Likewise.
68288         * tls.make.c: Likewise.
68290         * configure.in: Remove --with-__thread option.  Make tests for
68291         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68292         tls_model attribute fail if no support is available.  Remove
68293         USE_IN_LIBIO.
68294         * Makeconfig: Adjust for dropped configure option.  All features are
68295         now mandatory.
68296         * Makerules: Likewise.
68297         * Versions.def: Likewise.
68298         * argp/argp-fmtstream.c: Likewise.
68299         * argp/argp-fmtstream.h: Likewise.
68300         * argp/argp-help.c: Likewise.
68301         * assert/assert.c: Likewise.
68302         * config.h.in: Likewise.
68303         * config.make.in: Likewise.
68304         * configure: Likewise.
68305         * configure.in: Likewise.
68306         * csu/Versions: Likewise.
68307         * csu/init.c: Likewise.
68308         * elf/tst-audit2.c: Likewise.
68309         * elf/tst-tls10.c: Likewise.
68310         * elf/tst-tls10.h: Likewise.
68311         * elf/tst-tls11.c: Likewise.
68312         * elf/tst-tls12.c: Likewise.
68313         * elf/tst-tls14.c: Likewise.
68314         * elf/tst-tlsmod11.c: Likewise.
68315         * elf/tst-tlsmod12.c: Likewise.
68316         * elf/tst-tlsmod13.c: Likewise.
68317         * elf/tst-tlsmod13a.c: Likewise.
68318         * elf/tst-tlsmod14a.c: Likewise.
68319         * elf/tst-tlsmod15b.c: Likewise.
68320         * elf/tst-tlsmod16a.c: Likewise.
68321         * elf/tst-tlsmod16b.c: Likewise.
68322         * elf/tst-tlsmod7.c: Likewise.
68323         * elf/tst-tlsmod8.c: Likewise.
68324         * elf/tst-tlsmod9.c: Likewise.
68325         * gmon/gmon.c: Likewise.
68326         * grp/fgetgrent_r.c: Likewise.
68327         * grp/putgrent.c: Likewise.
68328         * hurd/fopenport.c: Likewise.
68329         * include/libc-symbols.h: Likewise.
68330         * include/tls.h: Likewise.
68331         * intl/gettextP.h: Likewise.
68332         * intl/loadinfo.h: Likewise.
68333         * locale/global-locale.c: Likewise.
68334         * locale/localeinfo.h: Likewise.
68335         * mach/devstream.c: Likewise.
68336         * malloc/arena.c: Likewise.
68337         * malloc/set-freeres.c: Likewise.
68338         * misc/err.c: Likewise.
68339         * misc/getttyent.c: Likewise.
68340         * misc/mntent_r.c: Likewise.
68341         * posix/getopt.c: Likewise.
68342         * posix/wordexp.c: Likewise.
68343         * pwd/fgetpwent_r.c: Likewise.
68344         * resolv/Versions: Likewise.
68345         * resolv/res_hconf.c: Likewise.
68346         * shadow/fgetspent_r.c: Likewise.
68347         * shadow/putspent.c: Likewise.
68348         * stdio-common/printf_fphex.c: Likewise.
68349         * stdio-common/tmpfile.c: Likewise.
68350         * stdlib/abort.c: Likewise.
68351         * stdlib/fmtmsg.c: Likewise.
68352         * sunrpc/auth_unix.c: Likewise.
68353         * sunrpc/clnt_perr.c: Likewise.
68354         * sunrpc/clnt_tcp.c: Likewise.
68355         * sunrpc/clnt_udp.c: Likewise.
68356         * sunrpc/clnt_unix.c: Likewise.
68357         * sunrpc/openchild.c: Likewise.
68358         * sunrpc/svc_simple.c: Likewise.
68359         * sunrpc/svc_tcp.c: Likewise.
68360         * sunrpc/svc_udp.c: Likewise.
68361         * sunrpc/svc_unix.c: Likewise.
68362         * sunrpc/xdr.c: Likewise.
68363         * sunrpc/xdr_array.c: Likewise.
68364         * sunrpc/xdr_rec.c: Likewise.
68365         * sunrpc/xdr_ref.c: Likewise.
68366         * sunrpc/xdr_stdio.c: Likewise.
68368 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68370         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68372 2011-07-03  Andreas Jaeger  <aj@suse.de>
68374         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68375         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68376         regenerate with gen-libm-tests.pl.
68378 2010-05-12  Petr Baudis  <pasky@suse.cz>
68380         [BZ #11589]
68381         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68382         around j0() zero points by switching to j1().
68383         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68386         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68388 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68390         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68391         instead of 0.
68392         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68393         instead of 0.
68394         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68395         Patch in part by Pavel Roskin <proski@gnu.org>.
68397         [BZ #13138]
68398         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68399         realloc.
68400         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68401         Free memory block if necessary.
68403         [BZ #12847]
68404         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68405         be NULL.  Don't lock in this case.
68407 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68409         * elf/elf.h (ELFOSABI_GNU): New macro.
68410         (ELFOSABI_LINUX): Define to that.
68412 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68414         * string/strncat.c (strncat): Undef the symbol in case it has been
68415         defined in bits/string.h.
68417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68419         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68421         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68422         link map.
68424 2011-08-17  Andreas Jaeger  <aj@suse.de>
68426         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68428 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68429             Ian Lance Taylor  <iant@google.com>
68431         * math/libm-test.inc (lround_test): New testcase.
68432         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68434 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68436         * Makefile: Remove support for automatic cvs check-ins.
68437         * Makerules: Likewise.
68438         * config.make.in: Likewise.
68439         * configure.in: Likewise.
68440         * intl/Makefile: Likewise.
68441         * locale/Makefile: Likewise.
68442         * po/Makefile: Likewise.
68443         * posix/Makefile: Likewise.
68444         * sysdeps/gnu/Makefile: Likewise.
68445         * sysdeps/mach/hurd/Makefile: Likewise.
68446         * sysdeps/sparc/sparc32/Makefile: Likewise.
68448         [BZ #13118]
68449         * posix/Makefile (bug-regex32-ENV): Define.
68450         Patch by John Stanley <jpsinthemix@verizon.net>.
68452         * misc/Makefile (headers): Add bits/select2.h.
68453         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68454         * misc/bits/select2.h: New file.
68455         * include/bits/select2.h: New file.
68456         * debug/Makefile (routines): Add fdelt_chk.
68457         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68458         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68459         FD_ISSET.
68460         * debug/fdelt_chk.c: New file.
68462         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68463         * wcsmbs/test-wmemcmp.c: Likewise.
68464         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68465         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68467 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68469         * string/Makefile (strop-tests): Add memcmp.
68470         * string/test-wmemcmp.c: New file.
68471         * string/test-memcmp.c: Add wmemcmp support.
68473 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68475         [BZ #13153]
68476         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68477         2011-07-19 change.
68479         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68480         garbage value in a __mach_port_mod_refs call in the cases of the
68481         task-self and thread-self ports.
68483 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68485         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68487 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68489         * elf/dl-load.c (lose): Check for non-null L.
68491 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68493         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68495         * elf/dl-libc.c (dlerror_run): Pass back error code from
68496         dl_catch_error.
68498         [BZ #13123]
68499         * elf/dl-load.c (lose): Free l_origin if it is valid.
68501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68502         names.
68503         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68504         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68505         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68506         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68507         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68508         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68510 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68512         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68513         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68514         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68515         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68516         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68517         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68518         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68519         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68520         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68521         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68523 2011-08-15  Alan Modra  <amodra@gmail.com>
68525         [BZ #13092]
68526         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68527         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68528         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68529         ppc_mcount to static-only-routines.
68530         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68531         __mcount_internal.
68532         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68533         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68535 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68537         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68538         for finite and infinity parameters.
68540 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68542         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68543         and add nop instructions for throughput optimization.
68544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68546 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68548         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68549         aligned copy for power7 with vector-scalar instructions.
68550         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68552 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68554         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68555         AVX check.
68557 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68559         [BZ #13144]
68560         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68561         last change.
68563 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68565         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68566         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68567         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68568         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68569         clock_gettime.
68571 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68573         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68574         Forgot to demangle the pointer.
68576         * sysdeps/i386/sysdep.h: Define atom_text_section.
68577         * sysdeps/x86_64/sysdep.h: Likewise.
68578         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68579         section with atom_text_section.
68580         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68581         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68582         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68583         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68584         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68586         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68587         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68588         already be defined.  Change to take two parameters and don't assign
68589         result to variable.  Adjust all users.
68590         Define INTERNAL_GETTIME if not already defined.
68591         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68592         call.
68593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68594         HAVE_CLOCK_GETTIME_VSYSCALL.
68595         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68597         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68598         gettimeofday vsyscall, just use time.
68600 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68602         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68603         <errno.h>.
68605 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68607         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68608         syscall on x86-64.
68609         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68610         syscall.
68611         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68612         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68613         syscall if possible.
68615 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68617         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68618         e_ident.  Don't pass to find_mapsXX.
68619         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68621 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68624         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68625         * sysdeps/x86_64/multiarch/strchr.S: Update.
68626         Check bit_slow_BSF bit.
68627         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68628         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68629         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68631 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68633         [BZ #13134]
68634         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68635         before glibc 2.15.
68636         (tryshell): Define.
68637         (__spawni): Change last parameter to be flag.  Test
68638         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68639         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68640         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68641         * posix/spawni.c: Likewise.
68642         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68643         * posix/spawnp.c: Likewise.  Change normal version to use
68644         SPAWN_XFLAGS_USE_PATH.
68645         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68646         SPAWN_XFLAGS_TRY_SHELL.
68648         [BZ #13150]
68649         * posix/glob.h: Remove gcc 1.x support.
68651         [BZ #13068]
68652         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68654 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68656         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68657         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68658         strrchr-sse2-bsf
68659         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68660         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68661         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68662         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68663         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68664         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68666 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68668         * sysdeps/x86_64/wcscmp.S: New file.
68670         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68671         wcscmp-c wcscmp-sse2
68672         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68673         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68674         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68675         * wcsmbs/wcscmp.c: Allow renaming.
68677 2011-09-05  David S. Miller  <davem@davemloft.net>
68679         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68680         stack slot, rather than the struct return pointer slot.
68681         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68682         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68684         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68686 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68688         * po/ja.po: Update from translation team.
68690         [BZ #13144]
68691         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68692         kernel in 64-bit binaries.
68694 2011-09-01  David S. Miller  <davem@davemloft.net>
68696         * elf/elf.h (HWCAP_SPARC_*): Move to..
68697         * sysdeps/sparc/sysdep.h: this new file and add new values.
68698         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68699         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68700         _DL_HWCAP_COUNT to 24.
68701         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68702         entries.
68703         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68704         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68705         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68707         instead of magic constants.
68708         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68710 2011-08-31  David S. Miller  <davem@davemloft.net>
68712         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68714         Reimplement to do errno handling inline.
68715         (SYSCALL_ERROR_HANDLER): New macro.
68716         (__SYSCALL_STRING): Do not do errno handling in asm.
68717         (__CLONE_SYSCALL_STRING): Delete.
68718         (__INTERNAL_SYSCALL_STRING): Delete.
68719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68720         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68721         (PSEUDO): Reimplement to do errno handling inline.
68722         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68723         (SYSCALL_ERROR_HANDLER): New macro.
68724         (__SYSCALL_STRING): Do not do errno handling in asm.
68725         (__CLONE_SYSCALL_STRING): Delete.
68726         (__INTERNAL_SYSCALL_STRING): Delete.
68727         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68728         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68729         i386.
68730         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68731         (inline_syscall*): Add 'err' argument.
68732         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68733         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68734         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68735         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68737         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68738         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68740 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68742         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68744 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68746         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68747         directive.
68749 2011-08-24  David S. Miller  <davem@davemloft.net>
68751         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68753 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68755         * elf/Makefile: Add rules to build and run unload8 test.
68756         * elf/unload8.c: New file.
68757         * elf/unload8mod1.c: New file.
68758         * elf/unload8mod1x.c: New file.
68759         * elf/unload8mod2.c: New file.
68760         * elf/unload8mod3.c: New file.
68762         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68763         it wasn't used.
68765 2011-08-23  David S. Miller  <davem@davemloft.net>
68767         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68768         subtract stack bias.
68769         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68770         %sp not %fp in calculations.
68771         (_JMPBUF_UNWINDS_ADJ): Likewise.
68773         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68774         (aio_suspend): Call it to force an exception region around the
68775         AIO_MISC_WAIT() invocation.
68777 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68779         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68780         backslash.
68782 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68784         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68785         protection macro.
68786         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68787         and <dl-machine.h>.
68788         (Elf64_FuncDesc): Remove.
68790 2011-08-22  David S. Miller  <davem@davemloft.net>
68792         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68793         sigaltstack check, add missing cfi directives.
68794         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68795         missing cfi directives, and sigaltstack handling.
68797 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68799         [BZ #11724]
68800         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68801         object is seen twice.
68802         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68804         * elf/Makefile (distribute): Add tst-initorder2.c.
68805         (tests): Add tst-initorder2.
68806         (modules-names): Add tst-initorder2a tst-initorder2b
68807         tst-initorder2c tst-initorder2d.  Add rules to build them.
68808         ($(objpfx)tst-initorder2.out): New rule.
68809         * elf/tst-initorder2.c: New file.
68810         * elf/tst-initorder2.exp: New file.
68812 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68814         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68816         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68817         dependencies back to end of function.
68819         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68820         $(elfobjdir)/ld.so.
68822 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68824         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68825         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68827         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68828         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68829         of __vdso_gettimeofday.
68830         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68831         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68832         attribute_hidden.
68833         (_libc_vdso_platform_setup): Remove initialization of
68834         __vdso_gettimeofday and __vdso_time.
68836 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68838         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68839         and fgetc_unlocked.
68840         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68841         getc_unlocked.
68843         * elf/dl-open.c (add_to_global): Report additions to the global scope
68844         for LD_DEBUG=scopes.
68845         (dl_open_worker): Also print scope of newly loaded dependencies.
68846         (_dl_show_scope): Indicate if there is no scope.
68848         [BZ #13114]
68849         * stdio-common/Makefile (tests): Add bug24.
68850         * stdio-common/bug24.c: New file.
68852 2011-08-19  Andreas Jaeger  <aj@suse.de>
68854         [BZ #13114]
68855         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68856         non-existant file when using close-on-exec mode.
68858 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68861         the very first instruction.
68863         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68864         the CFI state in the end.
68865         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68866         inclusion of dl-trampoline.h.
68867         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68869 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68871         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68872         expectations for long double.
68874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68875         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68877 2011-08-14  David S. Miller  <davem@davemloft.net>
68879         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68880         artificual limit depends upon the system page size.
68882 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68884         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68885         * resolv/Makefile: Define CFLAGS-libresolv.
68887 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68889         * nss/makedb.c (compute_tables): Make variables used in nested
68890         function static.
68892 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68894         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68895         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68896         if buffer was too small.
68898         * elf/pldd.c (main): Attach to all threads in the process.
68899         Rewrite /proc handling to use *at functions.
68901 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68903         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68904         specifies first scope to show.
68905         (dl_open_worker): Update callers.  Move printing scope of new
68906         object to before the relocation.
68907         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68908         * sysdeps/generic/ldsodefs.h: Update declaration.
68910         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68911         string for the scope number.
68913 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68915         * nscd/servicescache.c (cache_addserv): Make sure written is always
68916         initialized.
68918 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68920         * sysdeps/i386/i486/bits/atomic.h
68921         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68922         statement expression, so as to suppress "set but not used" warning.
68923         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68925         * string/strncat.c (STRNCAT): Use prototype definition.
68927         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68928         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68929         -Iprograms here.
68930         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68931         (localedef-modules): Add localedef.
68932         (locale-modules): Add locale.
68934         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68935         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68936         to avoid a warning.
68938 2011-08-14  David S. Miller  <davem@davemloft.net>
68940         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68941         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68943 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68945         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68946         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68947         * elf/rtld.c (dl_main): Set l_name of vDSO.
68948         Call _dl_show_scope when DL_DEBUG_SCOPES.
68949         (process_dl_debug): Recognize scopes flag and also set it for all.
68950         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68951         Declare _dl_show_scope.
68953         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68954         (do_dlopen): Pass caller_dlopen to dl_open.
68955         (__libc_dlopen_mode): Initialize caller_dlopen.
68957         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68958         of libc.  Make tolower call locale-independent.  Optimize a bit by
68959         using isdigit instead of isalnum.
68960         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68962 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68964         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68965         was a dependency or dynamically loaded.
68967 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68969         * intl/l10nflist.c: Allow architecture-specific pop function.
68970         * sysdeps/x86_64/l10nflist.c: New file.
68972         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68973         classification.
68975 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68977         * include/dirent.h: Add libc_hidden_proto for scandirat and
68978         scandirat64.  Don't declare __scandirat64.
68979         * dirent/scandirat.c: Add libc_hidden_def.
68980         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68981         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68983 2011-08-10  David S. Miller  <davem@davemloft.net>
68985         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68986         enum.
68987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68991 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68993         * Versions.def [libc]: Add GLIBC_2.15.
68994         * dirent/Makefile (routines): Add scandirat and scandirat64.
68995         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68996         GLIBC_2.15.
68997         * dirent/dirent.h: Declare scandirat and scandirat64.
68998         * dirent/scandirat.c: New file.
68999         * dirent/scandirat64.c: New file.
69000         * sysdeps/wordsize-64/scandirat.c: New file.
69001         * sysdeps/wordsize-64/scandirat64.c: New file.
69002         * dirent/opendir.c: Define opendirat.
69003         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69004         using scandirat.
69005         * dirent/scandir64.c: Adjust for scandir.c change.
69006         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69007         __scandirat64, and __scandir_cancel_handler.
69008         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69009         additional parameter and use openat instead of open (outside of ld.so).
69010         Add new __opendir as wrapper around __opendirat.
69011         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69012         here without requiring old scandirat implementation.
69014 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69016         * dirent/scandir.c (cancel_handler): Renamed to
69017         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69018         defined.  Adjust users.
69019         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69020         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69022 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69024         * string/test-string.h (IMPL): Use __STRING to expand name and then
69025         stringify it.
69027         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69028         of cleanups.
69030 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69032         * string/Makefile: Update.
69033         (strop-tests): Append strncat.
69034         * string/test-wcscmp.c: New file.
69035         New comprehensive test for wcscmp.
69036         * string/test-strcmp.c: Update.
69037         (WIDE): New define.
69039 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69041         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69042         line.
69044 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69047         encoding to ACE if AI_IDN.
69049 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69051         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69052         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69054 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69056         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69057         Fix overflow bug in strncat.
69058         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69060         * string/test-strncat.c: Update.
69061         Add new tests for checking overflow bugs.
69063 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69066         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69067         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69068         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69069         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69070         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69071         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69072         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69073         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69076         (USE_AS_STRCAT): Define.
69077         Add strcat and strncat support.
69078         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69080 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69082         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69083         __n bigger than INT_MAX+1.
69084         (__strncmp_g): Likewise.
69086 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69088         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69089         * libio/stido.h: Likewise.
69091         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69092         (AF_NFC): Define.
69093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69094         (AF_NFC): Define.
69096         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69097         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69098         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69099         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69100         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69102         [BZ #13021]
69103         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69104         installed.
69106         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69107         typo.
69108         (_dl_x86_64_save_sse): Likewise.
69110 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69113         OSXSAVE.
69114         (_dl_x86_64_save_sse): Likewise.
69116         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69118         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69120 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69123         change.
69124         (_dl_x86_64_save_sse): Use correct AVX check.
69126 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69128         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69129         bug in strncpy/strncat.
69130         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69132 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69134         * string/tester.c (test_strcat): Add tests for different alignments
69135         of source and destination.
69136         (test_strncat): Likewise.
69138 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69140         [BZ #12852]
69141         * posix/glob.c (glob): Check passed in values before using them in
69142         expressions to avoid some overflows.
69143         (glob_in_dir): Likewise.
69145         [BZ #13007]
69146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69147         check for AVX enablement so that we don't crash with old kernels and
69148         new hardware.
69149         * elf/tst-audit4.c: Add same checks here.
69150         * elf/tst-audit6.c: Likewise.
69152         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69154 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69156         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69158 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69160         * po/cs.po: Update from translation team.
69161         * po/bg.po: Likewise.
69163 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69165         * misc/sys/cdefs.h: Add support for const attribute.
69166         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69167         to gnu_dev_{major,minor,makedev} functions.
69169 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69171         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69173 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69175         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69176         strlen results.
69178 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69181         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69182         register in order to avoid conflicts with the soft frame pointer
69183         being held in r11 when necessary.
69184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69185         (INTERNAL_VSYSCALL_NCS): Likewise.
69187 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69189         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69190         * elf/dl-fini.c (_dl_fini): Adjust caller.
69191         * elf/dl-close.c (_dl_close_worker): Likewise.
69192         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69194 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69196         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69197         "aux_cache->nlibs < 0".
69199         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69200         in the reload-count case.
69202 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69205         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69206         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69207         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69208         * sysdeps/x86_64/multiarch/strcat.S: New file.
69209         * sysdeps/x86_64/multiarch/strncat.S: New file.
69210         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69211         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69212         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69213         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69214         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69215         (USE_AS_STRCAT): Define.
69216         Add strcat and strncat support.
69217         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69218         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69219         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69220         * string/strncat.c: Update.
69221         (USE_AS_STRNCAT): Define.
69222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69223         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69224         and i7.
69225         * sysdeps/x86_64/multiarch/init-arch.h
69226         (bit_Prefer_PMINUB_for_stringop): New.
69227         (index_Prefer_PMINUB_for_stringop): Likewise.
69228         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69229         bit_Prefer_PMINUB_for_stringop.
69231 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69233         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69234         buffer64.
69235         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69236         of casting of buffer.
69237         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69238         buffer32 and buffer64.
69239         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69240         writes instead of casting of buffer.
69241         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69242         buffer32.
69243         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69244         casting of buffer.
69246 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69248         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69250 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69252         * nscd/nscd.c (termination_handler): Don't do anything for a database
69253         if it has not yet been initialized.
69255 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69257         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69259 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69261         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69263 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69265         * po/nl.po: Update from translation team.
69266         * po/sv.po: Likewise.
69268 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69270         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69271         now disallowed by GCC.
69273         * configure.in (use-default-link): Default to yes if a test -shared
69274         link meets our qualifications.
69275         * configure: Regenerated.
69277         * config.make.in (output-format): New variable.
69278         * configure.in: Check for ld --print-output-format support.
69279         * configure: Regenerated.
69280         * Makerules ($(common-objpfx)format.lds)
69281         [$(output-format) != unknown]: Just use $(output-format),
69282         instead of the linker-script munging.
69284 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69286         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69287         of $(common-objpfx)shlib.lds.
69288         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69290         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69291         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69293         * configure.in (-z relro check): Adjust test code to add a large
69294         writable data section after it.
69295         * configure: Regenerated.
69297 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69299         * configure.in (-z relro check): Fix test code to make the variable
69300         truly const.
69301         * configure: Regenerated.
69303 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69305         * nscd/nscd.h (struct traced_file): Define.
69306         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69307         elements.  Add traced_files.
69308         (inotify_fd): Declare.
69309         (register_traced_file): Declare.
69310         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69311         (inotify_fd): Export.
69312         (resolv_conf_descr): Remove.
69313         (nscd_init): Move inotify descriptor creation to main.
69314         Don't register files for notification here.
69315         (register_traced_file): New function.
69316         (invalidate_cache): Don't use reset_res to determine whether to call
69317         res_init, go through the list of registered files.
69318         (main_loop_poll): The inotify descriptors are now stored in the
69319         structures for the traced files.
69320         (main_loop_epoll): Likewise.
69321         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69322         to __nss_disable_nscd.
69323         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69324         for a database anymore.  Check the records for all the registered
69325         files instead.
69326         * nss/Makefile (libnss_files-routines): Add files-init.
69327         (libnss_db-routines): Add db-init.
69328         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69329         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69330         * nss/nss_db/db-init.c: New file.
69331         * nss/nss_files/files-init.c: New file.
69332         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69333         __nss_lookup_function.
69334         (__nss_lookup_function): Call nss_load_library.
69335         (nss_load_all_libraries): New function.
69336         (__nss_disable_nscd): Take parameter with callback function for files
69337         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69338         used for the cached services.
69339         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69340         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69341         options for features to all the files in nscd.
69343         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69345 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69347         * csu/elf-init.c (__libc_csu_init): Comment typo.
69349 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69351         * po/pl.po: Update from translation team.
69352         * po/ja.po: Likewise.
69353         * po/ru.po: Likewise.
69354         * po/ko.po: Likewise.
69355         * po/fr.po: Likewise.
69357 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69359         * configure.in (.ctors/.dtors header and trailer check):
69360         Use an empirical test on a built program.
69361         * configure: Regenerated.
69363         * configure.in (-z relro check): Use an empirical test on a built DSO.
69364         Detect, but do not require, on ia64.
69365         * configure: Regenerated.
69367         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69368         Update tests that use readelf to use $READELF instead.
69369         * configure: Regenerated.
69371 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69373         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69374         if the result is not used.
69376 2011-07-05  Andreas Jaeger  <aj@suse.de>
69378         [BZ#9696]
69379         * stdlib/tst-strtod.c: Add testcase.
69381 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69383         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69384         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69385         The latter has a higher limit.  Take additional parameter to pass to
69386         the new function.
69387         (__pathconf): Pass file to __statfs_link_max.
69388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69389         __statfs_link_max.
69390         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69391         __statfs_link_max.
69393         [BZ #12868]
69394         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69395         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69396         Handle Lustre.
69397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69398         (__statfs_filesize_max): Likewise.
69399         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69401 2011-07-05  Andreas Jaeger  <aj@suse.de>
69403         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69405 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69407         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69408         `status' variable.
69409         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69410         Likewise.
69412 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69414         * Makefile (strop-tests): Add strncat.
69415         * string/test-strncat.c: New file.
69417 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69419         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69421 2011-06-21  Andreas Jaeger  <aj@suse.de>
69423         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69424         Copy rule from iconvdata/Makefile.
69426 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69428         [BZ #12922]
69429         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69430         but no long options are defined, just return 'W'.
69432 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69434         [BZ #9696]
69435         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69437 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69439         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69440         netgroups to read.
69441         (innetgr): Likewise.
69443 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69445         * config.make.in (install_root): Default to $(DESTDIR).
69447 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69449         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69451 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69453         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69455         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69456         containing directory rather than embedding absolute directory names.
69458         * scripts/check-local-headers.sh: Rewritten using awk.
69459         Match by word, not by line.  Print error messages for matches.
69460         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69462         * Makerules [shlib-lds-flags empty]:
69463         ($(common-objpfx)libc_pic.opts): New target.
69464         ($(common-objpfx)libc_pic.os.clean): New target.
69465         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69467         * config.make.in (OBJCOPY): New variable.
69468         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69469         * configure: Regenerated.
69471         * config.make.in (use-default-link): New variable.
69472         * configure.in (use_default_link): Grok --with-default-link to set it.
69473         * configure: Regenerated.
69474         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69475         (shlib-lds, shlib-lds-flags): Define to empty.
69477         * Makerules (shlib-lds): New variable.
69478         (shlib-lds-flags): New variable.
69479         (build-shlib, build-moduile, build-module-asneeded): Use it.
69480         ($(common-objpfx)libc.so): Use $(shlib-lds).
69481         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69482         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69484         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69485         DT_FLAGS/DT_FLAGS_1 with zero flags.
69487         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69488         linker script munging.
69490 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69492         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69493         as 128-bit value.
69494         * crypt/sha512.c (sha512_process_block): Perform total addition using
69495         128-bit if possible.
69496         (__sha512_finish_ctx): Likewise.
69497         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69498         as 64-bit value.
69499         * crypt/sha256.c (SWAP64): Define.
69500         (sha256_process_block): Perform total addition using 64-bit if
69501         possible.
69502         (__sha256_finish_ctx): Likewise.
69504 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69506         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69508         * nscd/hstcache.c (cache_addhst): Likewise.
69509         * nscd/grpcache.c (cache_addgr): Likewise.
69510         * nscd/aicache.c (addhstaiX): Likewise.
69511         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69513 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69515         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69516         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69517         * nscd/hstcache.c (cache_addhst): Likewise.
69518         * nscd/grpcache.c (cache_addgr): Likewise.
69519         * nscd/aicache.c (addhstaiX): Likewise.
69521 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69523         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69524         domain only when needed.
69526 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69529         is always restored.
69531 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69533         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69534         are re-adding the entry.
69535         * nscd/servicescache.c (cache_addserv): Likewise.
69537 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69539         * sysdeps/generic/dl-irel.h: fix protection against multiple
69540         inclusions.
69541         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69543 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69545         [BZ #12935]
69546         * malloc/memusage.sh: Fix quoting in message.
69547         * debug/xtrace.sh: Likewise.
69549         * configure.in: Remove support for --experimental-malloc option, make
69550         it the default.
69551         * config.make.in: Likewise.
69552         * malloc/Makefile: Likewise.
69554 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69556         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69557         two-byte characters.
69559 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69561         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69562         AC_CACHE_CHECK invocation.
69563         * configure: Regenerated.
69565         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69567 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69569         [BZ #12350]
69570         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69571         bit from old_res_options.
69573         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69575         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69576         value type for setfct.
69578 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69580         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69581         __gettimeofday instead of gettimeofday.
69583 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69585         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69587 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69589         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69592         info.
69594 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69597         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69598         strcpy-sse2-unaligned strncpy-sse2-unaligned
69599         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69600         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69601         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69602         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69603         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69604         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69605         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69606         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69607         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69608         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69609         (STRCPY): Support SSE2 and SSSE3 versions.
69611 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69613         [BZ #12874]
69614         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69615         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69616         kernels which artificially limit size of requests.
69618 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69621         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69622         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69623         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69624         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69625         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69626         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69627         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69628         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69630         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69631         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69632         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69633         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69634         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69636         Enable unaligned load optimization for Intel Core i3, i5 and i7
69637         processors.
69638         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69639         Define.
69640         (index_Fast_Unaligned_Load): Define.
69641         (HAS_FAST_UNALIGNED_LOAD): Define.
69643 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69645         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69647 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69649         [BZ #12907]
69650         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69651         until it is clear that the information is realy needed.
69652         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69654 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69658 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69661         /sys/devices/system/cpu/online if it is usable.
69663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69664         reading the information from the /proc filesystem to once a second.
69666 2011-06-21  Andreas Jaeger  <aj@suse.de>
69668         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69669         NULL after inclusion of kernel headers.
69671 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69673         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69674         calls to internal_setent.
69676         [BZ #12885]
69677         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69678         addresses using gethostbyname4_r ignore IPv4 addresses.
69680         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69681         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69683         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69685 2011-06-20  David S. Miller  <davem@davemloft.net>
69687         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69688         inclusions.
69689         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69691         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69692         (elf_irel): Use it.
69693         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69694         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69695         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69696         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69697         * sysdeps/x86_64/dl-irel.h: Likewise.
69699         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69700         * elf/dl-sym.c: Likewise.
69702 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69704         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69705         need to dereference resplen2.
69707 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69709         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69711 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69713         * Makeconfig: Define vardbdir and inst_vardbdir.
69714         * nss/Makefile: Add rules to install db-Makefile.
69716         * nss/nss_db/db-XXX.c: Cleanup.
69718         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69719         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69720         GLIBC_PRIVATE.
69721         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69722         * nss/makedb.c: Implement -g option to specify that value strings
69723         are generated and should not be added to table iterated over for
69724         get*ent calls.
69725         * nss/nss_db/db-initgroups.c: New file.
69727         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69728         interface.
69730         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69731         (internal_getgrouplist): Adjust to name change.
69732         Update use_initgroups_entry if this is not the first call.
69733         * nss/databases.def: Add initgroups entry.
69735         * nss/makedb.c (compute_tables): Check result of multiple hash table
69736         sizes to minimize maximum chain length.
69738 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69740         * Versions.def: Add entry for libnss_db.
69741         * shlib-versions: Likewise.
69742         * nss/Makefile: Add rules to build libnss_db.
69743         * nss/Versions: Add libnss_db information.  Organize libnss_files
69744         entries better.
69745         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69746         makedb progra.  Some minor improvements to generate smaller files.
69747         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69748         here from...
69749         * nss/makedb.c: ...here.
69750         Improve database format to be smaller and require less memory at
69751         runtime.
69752         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69753         db anymore.
69754         * nss/nss_db/db-netgrp.c: Likewise.
69755         * nss/nss_db/db-open.c: Likewise.
69756         * nss/nss_files/flies-XXX.x: Adjust comments.
69757         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69758         * nss/nss_files/files-grp.c: Likewise.
69759         * nss/nss_files/files-hosts.c: Likewise.
69760         * nss/nss_files/files-network.c: Likewise.
69761         * nss/nss_files/files-proto.c: Likewise.
69762         * nss/nss_files/files-pwd.c: Likewise.
69763         * nss/nss_files/files-rpc.c: Likewise.
69764         * nss/nss_files/files-service.c: Likewise.
69765         * nss/nss_files/files-sgrp.c: Likewise.
69766         * nss/nss_files/files-spwd.c: Likewise.
69767         * nss/nss_db/db-alias.c: Removed.
69768         * nss/nss_db/dummy-db.h: Removed.
69770 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69772         * nss/makedb.c: Rewritten to not use database library.
69773         * nss/Makefile: Update to build new makedb program.
69775 2011-06-14  Andreas Jaeger  <aj@suse.de>
69777         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69778         memset declaration.
69780 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69783         tmpbuf.
69785 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69787         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69788         * elf/Makefile ($(objpfx)ld.so): Likewise.
69790         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69791         Don't list ld.so twice in dependencies.
69793         * posix/bug-regex31.c: Include <stdlib.h>.
69795         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69797         * nis/nss_compat/compat-spwd.c
69798         (getspent_next_nss_netgr): Remove unused variable.
69799         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69801         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69802         nonmembers" output to use the right array.
69804         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69806         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69808         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69809         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69810         * catgets/gencat.c (read_input_file): Likewise.
69811         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69813         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69814         variable definition inside #if's controlling its use.
69816         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69818         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69820         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69822         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69823         unreachable code.
69825         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69827         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69828         * configure: Regenerated.
69830         * Makerules: Revert last change.
69831         * elf/Makefile: Likewise.
69833 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69835         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69836         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69837         (reloc-link): Likewise.
69839 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69841         * elf/Makefile: Add rules to build pldd.
69842         * elf/pldd.c: New file.
69843         * elf/pldd-xx.c: New file.
69845 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69847         * version.h: Update for 2.15 development version.
69849 2011-06-07  David S. Miller  <davem@davemloft.net>
69851         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69852         ifuncs.
69853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69854         elf_machine_lazy_rel): Likewise.
69855         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69857         elf_machine_lazy_rel): Likewise.
69858         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69859         dl_hwcap via passed in argument.
69860         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69861         Likewise.
69863 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69865         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69867 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69869         [BZ #12849]
69870         * manual/fdl-1.1.texi: New file, verbatim from:
69871         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69872         * manual/lgpl-2.1.texi: New file, verbatim from:
69873         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69874         * manual/Makefile (licenses): New variable, list those new file names.
69875         (texis): Use it.
69876         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69878         * manual/fdl.texi: File removed.
69879         * manual/lesser.texi: File removed.
69880         * manual/libc.texinfo (Copying, Documentation License):
69881         Use new @include file names, put @appendix directive before @include.
69883 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69885         [BZ #12841]
69886         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69887         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69888         (mq_open): Add __NTH.
69890 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69893         Assume Intel Core i3/i5/i7 processor if AVX is available.
69895 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69897         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69898         typo.
69900 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69902         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69903         memory.  Use alloca_account.  Fix memory leak when retrying.
69905 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69907         * version.h (RELEASE): Bump for 2.14 release.
69908         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69910         * config.make.in (RANLIB): Remove entry.
69912 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69914         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69915         (libc.pot): Work around missing support for .ksh extension in xgettext.
69917         [BZ #12684]
69918         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69919         if both request failed.
69920         (send_dg): In case of server errors clear resplen or *resplen2.
69922         [BZ #12454]
69923         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69924         when there are multiple maps.
69925         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69926         (_dl_fini): Remove test here.
69928         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69930 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69932         [BZ #12350]
69933         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69934         bit from old_res_options.
69935         (gaih_inet): Likewise.
69937         [BZ #11099]
69938         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69939         as signed.
69941         * resolv/res_init.c (res_setoptions): Make the code more compact.
69943         [BZ #11558]
69944         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69945         set RES_USEVC.
69947         [BZ #11634]
69948         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69950         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69952         [BZ #11781]
69953         * malloc/malloc.h: Declare malloc hook variables as volatile.
69955         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69956         in last patch.
69958         [BZ #11799]
69959         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69960         raise in the comment.
69961         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69963         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69965 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69967         [BZ #12811]
69968         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69969         grow the buffers more if it already has to be sufficient.
69970         (build_wcs_upper_buffer): Likewise.
69971         * posix/regexec.c (check_matching): Likewise.
69972         (clean_state_log_if_needed): Likewise.
69973         (extend_buffers): Don't enlarge buffers beyond size of the input
69974         buffer.
69975         Patches mostly by Emil Wojak <emil@wojak.eu>.
69976         * posix/bug-regex32.c: New file.
69977         * posix/Makefile (tests): Add bug-regex32.
69979         * locale/findlocale.c (_nl_find_locale): Return right away if
69980         _nl_explode_name failed.
69981         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69983         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69985         * debug/xtrace.sh: Unify messages.
69986         * malloc/memusage.sh: Likewise.
69988         [BZ #12813]
69989         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69990         time symbol from vDSO.  Substitute with vsyscall if not available.
69991         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69992         __vdso_time.
69994         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69995         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69996         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69997         Add sendmmsg and internal_sendmmsg.
69998         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69999         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70000         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70002         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70003         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70004         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70006 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70008         [BZ #12813]
70009         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70010         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70011         available.
70012         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70013         __vdso_getcpu.
70015         [BZ #12814]
70016         * iconvdata/Makefile (tests): Add bug-iconv9.
70017         * iconvdata/bug-iconv9.c: New file.
70019 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70021         [BZ #12814]
70022         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70024 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70027         (struct user_regs_struct): Change intcs field back to cs.
70029 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70031         * po/ja.po: Update from translation team.
70033 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70035         [BZ #12795]
70036         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70037         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70039 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70041         * stdlib/longlong.h: Update from GCC.
70043 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70045         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70046         parameter name.
70047         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70048         Add parameter name.
70049         (__sysconf): Pass it down.
70051 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70053         [BZ #12671]
70054         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70055         some situations.
70056         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70057         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70058         add in in __libc_use_alloca calls.  Adjust callers.
70059         (glob): Use malloc in some situations.
70061         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70062         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70063         pltexit.
70065 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70067         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70068         and CLOCK_BOOTTIME_ALARM.
70070         [BZ #12782]
70071         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70072         is returned.
70074         * string/_strerror.c (__strerror_r): Print negative errors as signed
70075         numbers.
70077         [BZ #12777]
70078         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70079         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70080         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70082         * configure.in: Fix typo in redirection and correct removal of test
70083         files in two cases.
70085         [BZ #12788]
70086         * locale/setlocale.c (new_composite_name): Fix test to check for
70087         identical name of all categories.
70089         [BZ #12792]
70090         * libio/filedoalloc.c (local_isatty): New function.
70091         (_IO_file_doallocate): Use local_isatty.
70092         * stdio-common/perror.c (perror): In case a new stream is used
70093         forward the stream error.
70094         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70095         error flag.
70097 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70099         [BZ #11884]
70100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70101         alloca.
70102         * include/alloca.h (extend_alloca_account): Define.
70104         [BZ #11857]
70105         * posix/regex.h: Fix comments with documentation of user-accessible
70106         fields after compilation and describe correct free'ing of pattern
70107         after re_compile_pattern.
70108         Patch by Reuben Thomas <rrt@sc3d.org>.
70110 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70112         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70113         and -mno-altivec to prevent the compiler from using Altivec and/or
70114         VSX instructions when the corresponding registers are not available.
70116 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70118         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70120 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70122         * libio/freopen.c (freopen): Use __dup2, not dup2.
70123         * libio/freopen64.c (freopen64): Likewise.
70125 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70127         [BZ #12775]
70128         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70129         * math/Makefile (tests): Add test-powl.
70130         (CFLAGS-test-powl.c): Define.
70131         * math/test-powl.c: New file.
70133 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70135         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70137 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70139         [BZ #11837]
70140         * iconvdata/gb18030.c: Update to GB18020-2005.
70142 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70144         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70145         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70146         Patch by Aharon Robbins <arnold@skeeve.com>.
70148         [BZ #11892]
70149         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70150         on the stack.
70152         [BZ #11895]
70153         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70154         through underflows.
70156         [BZ #12766]
70157         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70158         point to strings before performing equality test for error_one_per_line
70159         mode.
70161         [BZ #11697]
70162         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70164         [BZ #11820]
70165         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70166         (struct user_fpregs_struct): Avoid __uint*_t types.
70168         [BZ #6420]
70169         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70170         symbol info.  Use it instead of calling _dl_addr locally.
70171         (lock_and_info): New function.
70172         (tr_freehook): Call lock_and_info and pass symbol info as additional
70173         parameter to tr_where.
70174         (tr_mallochook): Likewise.
70175         (tr_reallochook): Likewise.
70176         (tr_memalignhook): Likewise.
70178         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70179         used and couldn't be at all thread-safe.
70181 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70183         * libio/freopen.c (freopen): Don't close old file descriptor
70184         before the new one is opened.  Instead dup the new file descriptor
70185         to the old one after the new stream is created.
70186         * libio/freopen64.c (freopen64): Likewise.
70187         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70188         * libio/fileops.c (_IO_new_file_close_it): Handle new
70189         _IO_FLAGS2_NOCLOSE flag.
70190         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70191         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70192         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70193         _IO_FLAGS2_NOCLOSE flag.
70194         * include/unistd.h: Add hidden_proto for dup3.
70195         Define __have_dup3.
70196         * io/dup3.c: Define hidden symbol.
70197         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70199         [BZ #7101]
70200         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70201         when an incomplete long option is used.
70202         * posix/tst-getopt_long1.c: New file.
70203         * posix/Makefile (tests): Add tst-getopt_long1.
70205         [BZ #10138]
70206         * scripts/config.guess: Update from autoconf-2.68.
70207         * scripts/config.sub: Likewise.
70209         [BZ #10157]
70210         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70211         tests into ...
70212         (has_cpuclock): ...this.  New function.
70213         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70214         macro here based on has_cpuclock code.
70216         [BZ #10149]
70217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70218         First byte (not low byte) is now always NUL.
70219         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70222         Use non-cancelable interfaces.
70224         [BZ #9809]
70225         * locale/iso-639.def: Add entry for Sorani.
70227         [BZ #11901]
70228         * include/stdlib.h: Move include protection to the right place.
70229         Define abort_msg_s.  Declare __abort_msg with it.
70230         * stdlib/abort.c (__abort_msg): Adjust type.
70231         * assert/assert.c (__assert_fail_base): New function.  Majority
70232         of code from __assert_fail.  Allocate memory for __abort_msg with
70233         mmap.
70234         (__assert_fail): Now call __assert_fail_base.
70235         * assert/assert-perr.c: Remove bulk of implementation.  Use
70236         __assert_fail_base.
70237         * include/assert.hL Declare __assert_fail_base.
70238         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70239         mmap.
70240         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70242 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70244         [BZ #11952]
70245         [BZ #12453]
70246         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70247         until all modules are registered in the DTV.
70248         * elf/Makefile: Add rules to build and run tst-tls19.
70249         * elf/tst-tls19.c: New file.
70250         * elf/tst-tls19mod1.c: New file.
70251         * elf/tst-tls19mod2.c: New file.
70252         * elf/tst-tls19mod3.c: New file.
70253         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70255         [BZ #12083]
70256         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70257         correctly.
70259         [BZ #12601]
70260         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70261         two-byte sequence errors.
70262         * iconvdata/Makefile (tests): Add bug-iconv8.
70263         * iconvdata/bug-iconv8.c: New file.
70265         [BZ #12626]
70266         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70267         buf2 definition.
70269         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70271         [BZ #12432]
70272         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70273         (dummy_getcfa): New function.
70274         (init): Get _Unwind_GetCFA address, use dummy if not found.
70275         (backtrace_helper): In recursion check, also check whether CFA changes.
70276         (__backtrace): Completely initialize arg.
70278         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70279         storing incomplete byte sequence in state object.  Avoid testing for
70280         guaranteed too small input if we know there is enough data available.
70282 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70284         * Makeconfig (+link-pie): Indent.
70285         * Rules (binaries-pie): Define if $(have-fpie) and
70286         $(build-shared).
70287         (binaries-shared): Also filter out $(binaries-pie).
70288         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70289         * nscd/Makefile (others-pie): Add nscd.
70290         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70291         ($(objpfx)nscd): Remove command override.
70292         * login/Makefile (others-pie): Add pt_chown.
70293         ($(objpfx)pt_chown): Remove command override.
70294         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70295         remove command overrides.
70297 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70299         * libio/tst_putwc.c: Fix error messages.
70301         [BZ #12724]
70302         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70303         currently writing and seek to current position when not.
70304         * libio/Makefile (tests): Add bug-fclose1.
70305         * libio/bug-fclose1.c: New file.
70307 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70309         [BZ #12511]
70310         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70311         don't set DF_1_NODELETE here.
70312         (do_lookup_x): When entering new entry test for copy relocation
70313         and if necessary set DF_1_NODELETE flag.
70314         * elf/tst-unique4.cc: New file.
70315         * elf/tst-unique4.h: New file.
70316         * elf/tst-unique4lib.cc: New file.
70317         * elf/Makefile: Add rules to build and run tst-unique4.
70318         Patch by Piotr Bury <pbury@goahead.com>.
70320 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70322         [BZ #12052]
70323         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70325         [BZ #12625]
70326         * misc/mntent_r.c (addmntent): Flush the stream after the output
70328         [BZ #12393]
70329         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70330         (is_trusted_path_normalize): Skip initial colon.  Append slash
70331         to empty buffer.  Duplicate is_trusted_path code but allow
70332         constructed patch to be prefix.
70333         (is_dst): Allow $ORIGIN followed by /.
70334         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70335         Correct testing of result of is_trusted_path_normalize
70336         (decompose_rpath): Fix warning.
70338 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70340         [BZ #11257]
70341         * grp/initgroups.c (internal_getgrouplist): When we found the service
70342         list through the initgroups entry in nsswitch.conf do not always
70343         continue on a successful lookup.  Don't always use the
70344         __nss_group_database value if it is set.
70345         * nss/nsswitch.conf (initgroups): Change action for successful db
70346         lookup to continue for compatibility.
70348 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70350         [BZ #11532]
70351         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70352         and CP774 modules.
70353         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70354         and CP774 modules.
70355         * iconvdata/tst-tables.sh: Likewise.
70356         * iconvdata/cp770.c: New file.
70357         * iconvdata/cp771.c: New file.
70358         * iconvdata/cp772.c: New file.
70359         * iconvdata/cp773.c: New file.
70360         * iconvdata/cp774.c: New file.
70361         * iconvdata/testdata/CP770: New file.
70362         * iconvdata/testdata/CP770..UTF8: New file.
70363         * iconvdata/testdata/CP771: New file.
70364         * iconvdata/testdata/CP771..UTF8: New file.
70365         * iconvdata/testdata/CP772: New file.
70366         * iconvdata/testdata/CP772..UTF8: New file.
70367         * iconvdata/testdata/CP773: New file.
70368         * iconvdata/testdata/CP773..UTF8: New file.
70369         * iconvdata/testdata/CP774: New file.
70370         * iconvdata/testdata/CP774..UTF8: New file.
70372         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70373         END CHARMAP line.
70374         * iconvdata/gen-8bit-gap.sh: Likewise.
70375         * iconvdata/gen-8bit.sh: Likewise.
70377         * locale/iso-639.def: Add ary entry.
70379         [BZ #11258]
70380         * locale/C-translit.h.in: Add U20A1 transliteration.
70382         [BZ #12178]
70383         * locale/iso-639.def: Add wae entry.
70384         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70386         [BZ #12545]
70387         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70388         for n.
70390         [BZ #12711]
70391         * locale/C-translit.h.in: Add entry for U20B9.
70392         Patch by pravin.d.s@gmail.com.
70394 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70396         [BZ #12713]
70397         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70398         ENAMETOOLONG use generic getcwd.
70399         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70400         in rtld.  Use *stat64.
70401         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70402         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70403         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70404         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70405         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70406         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70407         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70408         __fstatat64 macros.
70409         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70410         * dirent/rewinddir.c: Add libc_hidden_def.
70411         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70412         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70414         * include/dirent.h (__alloc_dir): Add flags parameter.
70415         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70416         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70417         __alloc_dir.
70418         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70419         from fdopendir if O_CLOEXEC is already set.
70421 2011-03-15  Alan Modra  <amodra@gmail.com>
70423         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70424         l_tls_firstbyte_offset non-zero.  Save padding offset in
70425         l_tls_firstbyte_offset for later use.
70426         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70427         freeing static tls block.
70429 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70431         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70432         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70433         being defined by the kernel headers.
70435 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70437         [BZ #12734]
70438         * resolv/resolv.h: Define RES_NOTLDQUERY.
70439         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70440         no-tld-query and set RES_NOTLDQUERY.
70441         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70442         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70443         modern BIND to search name as TLD unless forbidden.
70445 2011-05-07  Petr Baudis  <pasky@suse.cz>
70446             Ulrich Drepper  <drepper@gmail.com>
70448         [BZ #12393]
70449         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70450         (is_trusted_path): ...to here.
70451         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70452         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70453         using is_trusted_path_normalize() in setuid scripts.
70455 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70457         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70458         __BEGIN/__END_DECLS.
70460 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70462         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70463         NSS_STATUS_NOTFOUND if no record was found.
70465 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70467         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70468         (headers-not-in-tirpc): Remove rpc/netdb.h
70469         * resolv/netdb.h: Revert last change.
70471 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70473         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70474         circular dependency between libgcc.a and libc.a.
70476 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70478         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70479         * nis/Makefile: Don't install rpcsvc/*.
70480         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70481         instead of <rpc/types.h>.
70482         (MAXHOSTNAMELEN): Define.
70484 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70486         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70488 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70490         [BZ #12714]
70491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70492         gethostbyname4_r when IPv6 results are possible.
70494 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70496         [BZ #12723]
70497         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70498         _PC_PIPE_BUF handling.
70500 2011-04-30  Bruno Haible  <bruno@clisp.org>
70502         [BZ #12717]
70503         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70504         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70505         to 'int'.
70506         * inet/getnameinfo.c (getnameinfo): Likewise.
70508 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70510         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70511         to groups setting in database lookup.
70512         * nss/nsswitch.conf: Add initgroups entry.
70514 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70516         [BZ #12685]
70517         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70518         mode string.
70519         Patch by Eric Blake <eblake@redhat.com>.
70521 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70523         * sunrpc/Makefile (need-export-routines): Add svc_run.
70524         (routines): Remove svc_run.
70525         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70526         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70527         * sunrpc/svc_run.c (svc_run): Likewise.
70528         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70530 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70532         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70533         problem in reallocation in last patch.
70535 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70537         * sunrpc/Makefile: Move inclusion of Rules.
70539 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70541         * nss/nss_files/files-initgroups.c: New file.
70542         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70543         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70544         _nss_files_initgroups_dyn.
70546 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70548         * elf/elf.h (R_ARM_IRELATIVE): Define.
70550 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70552         * po/ru.po: Update from translation team.
70554 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70556         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70557         dependencies.
70559 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70561         [BZ #12653]
70562         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70563         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70564         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70568 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70570         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70571         differing bytes.
70572         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70576 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70578         [BZ #12420]
70579         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70580         storing it.
70581         * stdlib/bug-getcontext.c: New file.
70582         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70584 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70586         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70587         instructions into .machine "z9-109".
70588         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70589         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70591 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70593         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70594         between environment variables and auxiliary vector.
70596 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70598         * Makefile: Add rules to build linkobj/libc.so.
70599         * include/libc-symbols.h: Define libc_hidden_nolink.
70600         * include/rpc/auth.h: Mark functions which are to be hidden.
70601         * include/rpc/auth_des.h: Likewise.
70602         * include/rpc/auth_unix.h: Likewise.
70603         * include/rpc/clnt.h: Likewise.
70604         * include/rpc/des_crypt.h: Likewise.
70605         * include/rpc/key_prot.h: Likewise.
70606         * include/rpc/pmap_clnt.h: Likewise.
70607         * include/rpc/pmap_prot.h: Likewise.
70608         * include/rpc/pmap_rmt.h: Likewise.
70609         * include/rpc/rpc_msg.h: Likewise.
70610         * include/rpc/svc.h: Likewise.
70611         * include/rpc/svc_auth.h: Likewise.
70612         * include/rpc/xdr.h: Likewise.
70613         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70614         * nss/Makefile: Likewise.
70615         * sunrpc/Makefile: Don't install headers.  Build library with normal
70616         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70617         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70618         for the compat linking library.  Remove use of INTDEF/INTUSE.
70619         * sunrpc/auth_none.c: Likewise.
70620         * sunrpc/auth_unix.c: Likewise.
70621         * sunrpc/authdes_prot.c: Likewise.
70622         * sunrpc/authuxprot.c: Likewise.
70623         * sunrpc/clnt_gen.c: Likewise.
70624         * sunrpc/clnt_perr.c: Likewise.
70625         * sunrpc/clnt_raw.c: Likewise.
70626         * sunrpc/clnt_simp.c: Likewise.
70627         * sunrpc/clnt_tcp.c: Likewise.
70628         * sunrpc/clnt_udp.c: Likewise.
70629         * sunrpc/clnt_unix.c: Likewise.
70630         * sunrpc/des_crypt.c: Likewise.
70631         * sunrpc/des_soft.c: Likewise.
70632         * sunrpc/get_myaddr.c: Likewise.
70633         * sunrpc/key_call.c: Likewise.
70634         * sunrpc/key_prot.c: Likewise.
70635         * sunrpc/netname.c: Likewise.
70636         * sunrpc/pm_getmaps.c: Likewise.
70637         * sunrpc/pm_getport.c: Likewise.
70638         * sunrpc/pmap_clnt.c: Likewise.
70639         * sunrpc/pmap_prot.c: Likewise.
70640         * sunrpc/pmap_prot2.c: Likewise.
70641         * sunrpc/pmap_rmt.c: Likewise.
70642         * sunrpc/publickey.c: Likewise.
70643         * sunrpc/rpc_cmsg.c: Likewise.
70644         * sunrpc/rpc_common.c: Likewise.
70645         * sunrpc/rpc_dtable.c: Likewise.
70646         * sunrpc/rpc_prot.c: Likewise.
70647         * sunrpc/rpc_thread.c: Likewise.
70648         * sunrpc/rtime.c: Likewise.
70649         * sunrpc/svc.c: Likewise.
70650         * sunrpc/svc_auth.c: Likewise.
70651         * sunrpc/svc_authux.c: Likewise.
70652         * sunrpc/svc_raw.c: Likewise.
70653         * sunrpc/svc_run.c: Likewise.
70654         * sunrpc/svc_simple.c: Likewise.
70655         * sunrpc/svc_tcp.c: Likewise.
70656         * sunrpc/svc_udp.c: Likewise.
70657         * sunrpc/svc_unix.c: Likewise.
70658         * sunrpc/svcauth_des.c: Likewise.
70659         * sunrpc/xcrypt.c: Likewise.
70660         * sunrpc/xdr.c: Likewise.
70661         * sunrpc/xdr_array.c: Likewise.
70662         * sunrpc/xdr_float.c: Likewise.
70663         * sunrpc/xdr_intXX_t.c: Likewise.
70664         * sunrpc/xdr_mem.c: Likewise.
70665         * sunrpc/xdr_rec.c: Likewise.
70666         * sunrpc/xdr_ref.c: Likewise.
70667         * sunrpc/xdr_sizeof.c: Likewise.
70668         * sunrpc/xdr_stdio.c: Likewise.
70670 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70672         [BZ #12650]
70673         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70674         * sysdeps/ia64/dl-tls.h: Likewise.
70675         * sysdeps/powerpc/dl-tls.h: Likewise.
70676         * sysdeps/s390/dl-tls.h: Likewise.
70677         * sysdeps/sh/dl-tls.h: Likewise.
70678         * sysdeps/sparc/dl-tls.h: Likewise.
70679         * sysdeps/x86_64/dl-tls.h: Likewise.
70680         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70682 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70684         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70685         rpath element also skip the following colon.
70686         (expand_dynamic_string_token): Add is_path parameter and pass
70687         down to DL_DST_REQUIRED and _dl_dst_substitute.
70688         (decompose_rpath): Call expand_dynamic_string_token with
70689         non-zero is_path.  Ignore empty rpaths.
70690         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70691         with zero is_path.
70693 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70696         Make cancelable.
70698 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70700         [BZ #12655]
70701         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70702         Patch by Filipe David Manana <fdmanana@apache.org>.
70704 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70706         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70707         Maintain aligned stack.
70708         (CHECK_RSP): Remove unused macro.
70710 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70712         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70713         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70715 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70717         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70719         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70721 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70723         [BZ #12518]
70724         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70725         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70726         * sysdeps/x86_64/memmove.c: New file.
70727         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70728         (memcpy): Renamed to ...
70729         (__new_memcpy): This.
70730         (memcpy): Provide GLIBC_2_14 memcpy.
70731         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70732         (memcpy): Provide GLIBC_2_2_5 memcpy.
70734 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70736         [BZ #12631]
70737         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70739 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70741         * misc/syncfs.c: New file.
70742         * misc/Makefile (routines): Add syncfs.
70743         * posix/unistd.h: Declare syncfs.
70744         * sysdeps/unix/syscalls.list: Add syncfs.
70746 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70748         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70749         open_by_handle_at.
70750         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70751         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70753         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70755         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70756         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70758 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70760         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70761         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70762         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70764         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70765         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70768         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70769         sync_file_range.c with -fexceptions.
70770         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70771         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70772         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70773         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70774         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70775         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70776         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70777         sync_file_range as cancellation point
70778         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70779         now a wrapper around __call_sync_file_range with cancellation handling.
70780         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70781         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70782         function name to __call_sync_file_range.
70783         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70784         Add call_sync_file_range.
70786 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70789         bits/timex.h.
70791 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70793         * iconv/iconv.h: Fix typo in comment.
70794         * io/fcntl.h: Likewise.
70795         * libio/stdio.h: Likewise.
70796         * posix/spawn.h: Likewise.
70797         * posix/unistd.h: Likewise.
70798         * stdlib/stdlib.h: Likewise.
70799         * time/time.h: Likewise.
70800         * wcsmbs/wchar.h: Likewise.
70802         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70803         open_by_handle): Add.
70804         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70805         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70806         Augment a few comments.
70807         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70809         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70811         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70812         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70813         open_by_handle.
70815         * io/fcntl.h (AT_EMPTY_PATH): Define.
70817 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70819         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70820         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70821         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70822         to...
70823         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70824         * Versions.def: Add GLIBC_2.14.
70825         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70826         Export.
70828 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70830         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70831         round counter.
70832         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70834 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70836         [BZ #12597]
70837         * string/test-strncmp.c (do_page_test): New function.
70838         (check2): Likewise.
70839         (test_main): Call check2.
70840         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70842 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70844         [BZ #12587]
70845         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70846         Handle cache information in CPU leaf 4.
70847         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70849 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70851         [BZ #12583]
70852         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70853         character representation.
70854         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70856 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70858         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70859         END(__isnan) to END(__isnanf) to match function entry point/label
70860         EALIGN(__isnanf,...).
70862 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70864         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70866 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70868         [BZ #12510]
70869         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70870         copy from the symbol referenced in the relocation to initialize the
70871         used variable.
70872         Patch by Piotr Bury <pbury@goahead.com>.
70873         * elf/Makefile: Add rules to build and tst-unique3.
70874         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70875         * elf/tst-unique3.cc: New file.
70876         * elf/tst-unique3.h: New file.
70877         * elf/tst-unique3lib.cc: New file.
70878         * elf/tst-unique3lib2.cc: New file.
70880         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70882 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70884         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70885         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70886         to _start.
70888 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70890         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70891         to-be-loaded object along a path to loader is ld.so.
70893 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70894             Ulrich Drepper  <drepper@gmail.com>
70896         * sysdeps/x86_64/memset.S: After aligning destination, code
70897         branches to different locations depending on the value of
70898         misalignment, when multiarch is enabled. Fix this.
70900 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70902         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70903         Set _x86_64_preferred_memory_instruction for AMD processsors.
70904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70905         Set bit_Prefer_SSE_for_memop for AMD processors.
70907 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70909         * libio/fmemopen.c (fmemopen): Optimize a bit.
70911 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70913         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70915 2011-03-03  Roland McGrath  <roland@redhat.com>
70917         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70919 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70921         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70922         __bzero_ultra1 instead of __memset_ultra1.
70924 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70925             Ulrich Drepper  <drepper@gmail.com>
70927         [BZ #12509]
70928         * include/link.h (struct link_map): Add l_orig_initfini.
70929         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70930         returning unsuccessfully.
70931         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70932         close of a file loaded at startup, restore the original l_initfini
70933         list.
70934         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70935         list, store the pointer.
70936         * elf/Makefile ($(objpfx)noload-mem): New rule.
70937         (noload-ENV): Define.
70938         (tests): Add $(objpfx)noload-mem.
70939         * elf/noload.c: Include <memcheck.h>.
70940         (main): Call mtrace.  Close all opened handles.
70942 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70944         [BZ #12454]
70945         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70946         dependencies are missing.
70948 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70950         Fix __if_freereq crash: Unlike the generic version which uses free,
70951         Hurd needs munmap.
70952         * sysdeps/mach/hurd/ifreq.h: New file.
70954 2011-01-27  Petr Baudis  <pasky@suse.cz>
70955             Ulrich Drepper  <drepper@gmail.com>
70957         [BZ 12445]#
70958         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70959         to extend_alloca().
70960         * stdio-common/bug23.c: New file.
70961         * stdio-common/Makefile (tests): Add bug23.
70963 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70964             Ulrich Drepper  <drepper@gmail.com>
70966         [BZ #12489]
70967         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70968         before performing relro protection.  At old place add assertion
70969         to make sure nothing changed.
70971 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70972             Glauber de Oliveira Costa  <glommer@gmail.com>
70974         * elf/elf.h: Add new ARM TLS relocs.
70976 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70979         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70980         cast from r3.
70981         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70982         'tests' variable.
70983         * sysdeps/wordsize-64/tst-writev.c: New file.
70985 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70987         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70988         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70989         insns in _dl_start to prevent a TOC reference before relocs are
70990         resolved.
70992 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70994         [BZ #12469]
70995         * Makeconfig: Remove RANLIB definition.
70996         * Makerules: Don't use RANLIB.
70997         * aclocal.m4: Remove ranlib test.
70998         * configure.in: No need to check for ranlib.
70999         * elf/rtld-Rules: Don't use RANLIB.
71001 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71003         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71004         protection macro.
71005         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71006         inclusion protection macro.
71008         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71009         SIGRTMIN and SIGRTMAX and print information in that case only when
71010         SIGRTMIN is defined.
71012 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71014         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71015         arginfo fn returning -1.
71017         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71018         and thousands string is zero terminated.
71020 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71022         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71023         sysdeps/unix/sysv/linux/bits/socket.h.
71025 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71027         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71028         (__CPU_COUNT): Remove old macros.
71029         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71030         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71031         (__CPU_ALLOC, __CPU_FREE): Add macros.
71032         (__sched_cpualloc, __sched_cpufree): Add declarations.
71034 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71036         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71037         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71038         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71039         (readdhstai): Return value of addhstaiX call.
71040         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71041         (addgrbyX): Return value returned by cache_addgr.
71042         (readdgrbyname): Return value returned by addgrbyX.
71043         (readdgrbygid): Likewise.
71044         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71045         (addpwbyX): Return value returned by cache_addpw.
71046         (readdpwbyname): Return value returned by addhstbyX.
71047         (readdpwbyuid): Likewise.
71048         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71049         (addservbyX): Return value returned by cache_addserv.
71050         (readdservbyname): Return value returned by addservbyX:
71051         (readdservbyport): Likewise.
71052         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71053         (addhstbyX): Return value returned by cache_addhst.
71054         (readdhstbyname): Return value returned by addhstbyX.
71055         (readdhstbyaddr): Likewise.
71056         (readdhstbynamev6): Likewise.
71057         (readdhstbyaddrv6): Likewise.
71058         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71059         (readdinitgroups): Return value returned by addinitgroupsX.
71060         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71061         (prune_cache): Keep track of timeout value of re-added entries.
71062         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71063         * nscd/nscd.h: Adjust prototypes of readd* functions.
71065 2011-02-04  Roland McGrath  <roland@redhat.com>
71067         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71068         (nis_stats): Likewise.
71069         * nis/nis_modify.c (nis_modify): Likewise.
71070         * nis/nis_remove.c (nis_remove): Likewise.
71071         * nis/nis_add.c (nis_add): Likewise.
71073         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71075         * posix/fnmatch_loop.c: Add some consts.
71077         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71079 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71081         [BZ #12460]
71082         * config.make.in (config-cflags-novzeroupper): Define.
71083         * configure.in: Substitute libc_cv_cc_novzeroupper.
71084         * elf/Makefile (AVX-CFLAGS): Define.
71085         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71086         (CFLAGS-tst-auditmod4a.c): Likewise.
71087         (CFLAGS-tst-auditmod4b.c): Likewise.
71088         (CFLAGS-tst-auditmod6b.c): Likewise.
71089         (CFLAGS-tst-auditmod6c.c): Likewise.
71090         (CFLAGS-tst-auditmod7b.c): Likewise.
71091         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71093 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71095         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71096         function to the callback.
71097         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71099 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71101         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71102         of errno.
71104 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71106         [BZ #11724]
71107         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71108         of constructors.
71109         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71110         of destructors.
71111         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71113         [BZ #11724]
71114         * elf/Makefile: Add rules to build and run new test.
71115         * elf/tst-initorder.c: New file.
71116         * elf/tst-initorder.exp: New file.
71117         * elf/tst-initordera1.c: New file.
71118         * elf/tst-initordera2.c: New file.
71119         * elf/tst-initordera3.c: New file.
71120         * elf/tst-initordera4.c: New file.
71121         * elf/tst-initorderb1.c: New file.
71122         * elf/tst-initorderb2.c: New file.
71123         * elf/tst-order-a1.c: New file.
71124         * elf/tst-order-a2.c: New file.
71125         * elf/tst-order-a3.c: New file.
71126         * elf/tst-order-a4.c: New file.
71127         * elf/tst-order-b1.c: New file.
71128         * elf/tst-order-b2.c: New file.
71129         * elf/tst-order-main.c: New file.
71130         New test case by George Gensure <werkt0@gmail.com>.
71132 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71135         decoding ACE if AI_CANONIDN.
71137 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71139         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71141 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71143         * version.h (RELEASE): Bump for 2.13 release.
71144         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71146         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71148         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71149         MADV_NOHUGEPAGE.
71150         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71151         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71152         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71153         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71154         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71155         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71157         * posix/getconf.c: Update copyright year.
71158         * catgets/gencat.c: Likewise.
71159         * csu/version.c: Likewise.
71160         * debug/catchsegv.sh: Likewise.
71161         * debug/xtrace.sh: Likewise.
71162         * elf/ldconfig.c: Likewise.
71163         * elf/ldd.bash.in: Likewise.
71164         * elf/sprof.c (print_version): Likewise.
71165         * iconv/iconv_prog.c: Likewise.
71166         * iconv/iconvconfig.c: Likewise.
71167         * locale/programs/locale.c: Likewise.
71168         * locale/programs/localedef.c: Likewise.
71169         * malloc/memusage.sh: Likewise.
71170         * malloc/mtrace.pl: Likewise.
71171         * nscd/nscd.c (print_version): Likewise.
71172         * nss/getent.c: Likewise.
71174         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71175         PF_CAIF, and PF_ALG.
71176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71178 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71180         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71181         (modules-names): Use them.
71182         (ifunc-test-modules, ifunc-pie-tests): Define.
71183         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71184         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71185         (test-extras): Likewise.
71186         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71187         $(compile-command.c).
71188         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71189         (all-built-dso): Define.
71190         (check-textrel.out, check-execstack.out): Depend on it.
71192         * configure.in: Don't override --enable-multi-arch.
71194 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71196         [BZ #6812]
71197         * nscd/hstcache.c (tryagain): Define.
71198         (cache_addhst): Return tryagain not notfound for temporary errors.
71199         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71200         failed.
71202 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71204         [BZ #10563]
71205         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71206         to make the syscall.
71207         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71209         [BZ #12378]
71210         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71211         and fall back to matching as normal character if the string ends before
71212         the matching ']' is found.  This is what POSIX requires.
71213         * posix/testfnm.c: Adjust test result.
71214         * posix/globtest.sh: Adjust test result.  Add new test.
71215         * posix/tst-fnmatch.input: Likewise.
71216         * posix/tst-fnmatch2.c: Add new test.
71218 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71220         * elf/Makefile (check-execstack): Revert last change.  Depend on
71221         check-execstack.h.
71222         (check-execstack.h): New target.
71223         (generated): Add check-execstack.h.
71224         * elf/check-execstack.c: Include "check-execstack.h".
71225         (main): Revert last change.
71226         (handle_file): Return zero if GNU_STACK is absent and
71227         DEFAULT_STACK_PERMS doesn't include PF_X.
71229 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71231         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71232         in child fails because the descriptor is already closed.
71233         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71234         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71235         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71237         [BZ #12397]
71238         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71239         syscall.
71241         [BZ #10484]
71242         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71243         temporary buffer used to handle multi lookups locally.
71244         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71246 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71248         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71249         loader is ld.so.
71251 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71253         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71254         alignment for SSE2.
71256 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71258         [BZ #12394]
71259         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71260         characters.  When rounding increased number of integer digits recompute
71261         number of groups.
71262         * stdio-common/tst-grouping.c: New file.
71263         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71265 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71267         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71268         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71270         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71271         void.
71272         * bits/select.h: Likewise.
71274 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71276         * po/ja.po: Update from translation team.
71278 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71280         [BZ #11155]
71281         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71282         implementation just like for lxstat, fxstatat, et al.
71284 2010-12-27  Jim Meyering  <meyering@redhat.com>
71286         [BZ #12348]
71287         * posix/regexec.c (build_trtable): Return failure indication upon
71288         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71290 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71292         [BZ #12201]
71293         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71294         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71295         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71296         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71298         [BZ #12207]
71299         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71301         [BZ #12204]
71302         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71303         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71305 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71307         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71308         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71309         script has SORT_BY_INIT_PRIORITY.
71310         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71311         NO_CTORS_DTORS_SECTIONS is defined.
71312         * elf/soinit.c: Likewise.
71313         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71314         NO_CTORS_DTORS_SECTIONS is defined.
71315         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71316         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71317         * sysdeps/sh/init-first.c: Likewise.
71318         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71320 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71322         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71323         always use the slow path.
71325 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71327         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71328         similar rule which adds the sysdep directories to the header search in
71329         order to pick up the correct platform stackinfo.h.
71330         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71331         perform test if it is, otherwise return successfully without testing.
71332         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71333         DEFAULT_STACK_PERMS define in stackinfo.h.
71334         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71335         defined in stackinfo.h.
71336         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71337         DEFAULT_STACK_PERMS defined in stackinfo.h.
71338         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71339         * sysdeps/ia64/stackinfo.h: Likewise.
71340         * sysdeps/s390/stackinfo.h: Likewise.
71341         * sysdeps/sh/stackinfo.h: Likewise.
71342         * sysdeps/sparc/stackinfo.h: Likewise.
71343         * sysdeps/x86_64/stackinfo.h: Likewise.
71344         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71345         PF_X for powerpc64.  Retain PF_X for powerpc32.
71347 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71349         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71350         accurately.
71351         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71352         GETDENTS_64BIT_ALIGNED.
71354 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71356         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71358 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71360         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71361         _GNU_SOURCE.
71363         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71364         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71365         Remove __restrict.
71366         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71367         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71369 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71371         [BZ #11655]
71372         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71373         are initialized.
71375 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71377         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71379 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71381         * po/it.po: Update from translation team.
71383 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71385         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71386         unused codes.
71388 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71390         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71392 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71394         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71395         specially.
71396         (gaih_getanswer_slice): Likewise.
71398 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71402 2010-05-31  Petr Baudis  <pasky@suse.cz>
71404         [BZ #11149]
71405         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71406         silently even in the chroot mode.
71408 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71410         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71411         last patch a bit.  Pretty printing
71413 2010-05-31  Petr Baudis <pasky@suse.cz>
71415         [BZ #10085]
71416         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71417         initialization of skip_initgroups_dyn.
71419 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71421         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71422         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71424 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71426         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71428 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71430         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71431         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71432         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71433         ($(objpfx)tst-fnmatch-mem): New rule.
71434         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71435         * posix/tst-fnmatch.c (main): Call mtrace.
71437 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71440         Support Intel processor model 6 and model 0x2c.
71442 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71444         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71445           signed comparison.
71447 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71449         [BZ #12205]
71450         * string/test-strncasecmp.c (check_result): New function.
71451         (do_one_test): Use it.
71452         (check1): New function.
71453         (test_main): Use it.
71454         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71455         Support strcasecmp and strncasecmp.
71457 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71459         [BZ #12194]
71460         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71461         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71463 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71465         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71466         IFUNC support.
71467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71468         memset-x86-64.
71469         * sysdeps/x86_64/multiarch/bzero.S: New file.
71470         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71471         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71472         * sysdeps/x86_64/multiarch/memset.S: New file.
71473         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71475         Set bit_Prefer_SSE_for_memop for Intel processors.
71476         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71477         Define.
71478         (index_Prefer_SSE_for_memop): Define.
71479         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71481 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71483         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71484         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71486 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71488         [BZ #12191]
71489         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71490         (__x86_64_raw_data_cache_size_half): Likewise.
71491         (__x86_64_raw_shared_cache_size): Likewise.
71492         (__x86_64_raw_shared_cache_size_half): Likewise.
71494         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71495         (__x86_64_raw_data_cache_size_half): Likewise.
71496         (__x86_64_raw_shared_cache_size): Likewise.
71497         (__x86_64_raw_shared_cache_size_half): Likewise.
71498         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71499         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71500         and __x86_64_raw_shared_cache_size_half.  Round
71501         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71502         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71503         to multiple of 256 bytes.
71505 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71507         [BZ #12167]
71508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71509         of inacessible symlinks.  Verify result of symlink before returning it.
71510         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71511         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71513 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71515         * math/math.h (isinf): Fix typo in comment.
71517 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71519         * po/da.po: Update from translation team.
71521 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71523         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71524         is added to the list.
71526 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71527             Ulrich Drepper  <drepper@gmail.com>
71529         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71530         the global list here.  Move code to...
71531         (_dl_add_to_namespace_list): ...here.  New function.
71532         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71533         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71534         * elf/dl-load.c (lose): Don't remove the element from the list.
71535         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71536         (_dl_map_object): Likewise.
71538 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71540         [BZ #12159]
71541         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71542         into all bytes of SSE register.
71543         Patch by Richard Li <richardpku@gmail.com>.
71545 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71547         [BZ #12140]
71548         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71549         perturbing.
71551 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71553         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71554         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71555         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71556         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71558         submachine.
71559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71561 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71563         * include/dlfcn.h (__RTLD_SECURE): Define.
71564         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71565         mode & __RTLD_SECURE instead.
71566         (open_path): Rename preloaded parameter to secure.
71567         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71568         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71569         * elf/dl-deps.c (openaux): Likewise.
71570         * elf/rtld.c (struct map_args): Remove is_preloaded.
71571         (map_doit): Don't use it.
71572         (dl_main): Likewise.
71573         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71574         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71576 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71578         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71579         (sysd-rules-targets): Remove duplicates.
71580         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71581         rtld-%.$o dependency.
71583 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71585         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71586         _dl_map_object do it.
71588 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71590         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71591         fast fma builtins, define the macros in the C99 standard.
71592         (FP_FAST_FMAF): Likewise.
71593         (FP_FAST_FMAL): Likewise.
71594         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71596         * bits/mathdef.h: Update copyright year.
71597         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71599 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71601         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71602         builtins, define the macros in the C99 standard.
71603         (FP_FAST_FMAF): Likewise.
71604         (FP_FAST_FMAL): Likewise.
71605         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71606         multiply/add.
71607         (FP_FAST_FMAF): Likewise.
71609 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71611         [BZ #3268]
71612         * math/libm-test.inc (fma_test): Some new testcases.
71613         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71614         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71615         y and infinite z.  Do multiplication by C already in long double.
71616         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71618         y and infinite z.  Do bitwise or of inexact bit into u.d.
71619         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71620         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71621         * sysdeps/i386/fpu/s_fma.S: Removed.
71622         * sysdeps/i386/fpu/s_fmal.S: Removed.
71624 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71626         [BZ #3268]
71627         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71629         computation is not scheduled after fetestexcept.  Fix value
71630         of minimum denormal long double.
71632 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71634         [BZ #3268]
71635         * math/libm-test.inc (fma_test): Add some more tests.
71636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71637         correctly.
71639 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71641         * scripts/data/localplt-s390-linux-gnu.data: New file.
71642         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71644 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71646         [BZ #3268]
71647         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71648         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71649         instead of dbl-64.
71650         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71651         inlines.
71652         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71654         if one of x and y is very large and the other is subnormal.
71655         * sysdeps/s390/fpu/s_fmaf.c: New file.
71656         * sysdeps/s390/fpu/s_fma.c: New file.
71657         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71658         * sysdeps/powerpc/fpu/s_fma.S: New file.
71659         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71660         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71661         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71663 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71665         [BZ #3268]
71666         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71667         fma tests.
71668         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71669         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71670         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71671         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71672         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71673         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71674         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71676 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71678         [BZ #12078]
71679         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71680         * posix/bug-regex31.input: Add test case.
71682 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71684         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71685         * posix/bug-regex31.input: New file.
71687         [BZ #12078]
71688         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71689         (parse_sub_exp): Fix last change, use postorder.
71691         * posix/bug-regex31.c: New file.
71692         * posix/Makefile: Add rules to build and run bug-regex31.
71694         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71696         [BZ #12078]
71697         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71699         [BZ #12108]
71700         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71701         to have entries in sys_siglist.
71703         [BZ #12093]
71704         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71705         be NULL.
71707 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71709         [BZ #3268]
71710         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71711         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71712         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71713         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71714         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71715         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71716         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71717         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71718         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71719         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71720         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71721         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71722         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71723         * math/ftestexcept.c (fetestexcept): Likewise.
71724         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71725         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71726         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71727         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71728         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71729         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71730         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71732 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71734         [BZ #12107]
71735         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71736         newline.
71738 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71740         * string/bug-strstr1.c: New file.
71741         * string/Makefile: Add rules to build and run bug-strstr1.
71743 2010-10-05  Eric Blake  <eblake@redhat.com>
71745         [BZ #12092]
71746         * string/str-two-way.h (two_way_long_needle): Always clear memory
71747         when skipping input due to the shift table.
71749 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71751         [BZ #12005]
71752         * malloc/mcheck.c: Handle large requests.
71754         [BZ #12077]
71755         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71756         for strncmp and strncasecmp.
71757         * string/stratcliff.c: Add tests for strcmp and strncmp.
71758         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71760 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71762         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71763         __set_fpscr.
71765 2010-09-30  Andreas Jaeger  <aj@suse.de>
71767         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71768         (CGROUP_SUPER_MAGIC): Define.
71769         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71770         Handle btrfs and cgroup file systems.
71771         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71772         Likewise.
71774 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71776         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71777         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71779 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71781         [BZ #12067]
71782         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71783         trying to locate the ELF header.
71785 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71787         [BZ #11611]
71788         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71789         Mask out sign-bit copies when constructing f_fsid.
71791 2010-09-24  Petr Baudis <pasky@suse.cz>
71793         * debug/stack_chk_fail_local.c: Add missing licence exception.
71794         * debug/warning-nop.c: Likewise.
71796 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71798         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71799         implementing getdents64 using getdents syscall, set d_type if
71800         __ASSUME_GETDENTS32_D_TYPE.
71802 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71804         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71805         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71807 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71809         [BZ #12037]
71810         * posix/unistd.h: Undo change of feature selection for ftruncate from
71811         2010-01-11.
71813 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71815         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71816         detection.
71818 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71820         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71821         fanotify_mark.
71822         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71824 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71826         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71827         variables after CHECK_SP call.
71828         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71830 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71831             Ulrich Drepper  <drepper@redhat.com>
71833         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71834         re-relocationg ld.so.
71835         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71836         _dl_init_paths call.
71837         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71838         here anymore.
71840 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71842         * resolv/res_init.c (__res_vinit): Count the default server we added.
71844 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71845             Ulrich Drepper  <drepper@redhat.com>
71847         [BZ #11968]
71848         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71849         (____longjmp_chk): Use %ebx for saving value across system call.
71850         Add unwind info.
71852 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71854         * manual/Makefile: Don't mix pattern rules with normal rules.
71856 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71858         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71859         operation.
71860         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71861         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71862         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71863         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71864         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71865         Likewise.
71867 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71869         [BZ #11979]
71870         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71871         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71873 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71875         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71876         * sysdeps/x86_64/addmul_1.S: Likewise.
71877         * sysdeps/x86_64/lshift.S: Likewise.
71878         * sysdeps/x86_64/mul_1.S: Likewise.
71879         * sysdeps/x86_64/rshift.S: Likewise.
71880         * sysdeps/x86_64/sub_n.S: Likewise.
71881         * sysdeps/x86_64/submul_1.S: Likewise.
71883 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71885         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71886         Define __sched_param instead of SCHED_* and sched_param when
71887         <bits/sched.h> is included with __need_schedparam defined.
71888         * bits/sched.h [__need_schedparam]
71889         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71890         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71891         (__defined_schedparam): Define to 1.
71892         (__sched_param): New structure, identical to sched_param.
71893         (__need_schedparam): Undefine.
71895 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71897         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71898         (epoll_create1): Declare.
71900         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71902 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71904         [BZ #7066]
71905         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71906         shifting retval into place.
71908 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71910         * nis/rpcsvc/nis.h: Update copyright notice.
71911         * nis/rpcsvc/nis.x: Likewise.
71912         * nis/rpcsvc/nis_callback.h: Likewise.
71913         * nis/rpcsvc/nis_callback.x: Likewise.
71914         * nis/rpcsvc/nis_object.x: Likewise.
71915         * nis/rpcsvc/nis_tags.h: Likewise.
71916         * nis/rpcsvc/yp.h: Likewise.
71917         * nis/rpcsvc/yp.x: Likewise.
71918         * nis/rpcsvc/ypupd.h: Likewise.
71919         * nis/yp_xdr.c: Likewise.
71920         * nis/ypupdate_xdr.c: Likewise.
71922         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71923         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71924         (pmap_getport): Use __libc_rpc_getport.
71925         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71926         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71927         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71929 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71932         fanotify_mark.
71934 2010-08-27  Roland McGrath  <roland@redhat.com>
71936         * sysdeps/i386/i686/multiarch/Makefile
71937         (CFLAGS-varshift.c): New variable.
71939 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71941         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71942         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71946         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71948 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71950         * sysdeps/x86_64/strlen.S: Unroll the loop.
71951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71952         strlen-sse2 strlen-sse2-bsf.
71953         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71954         __strlen_no_bsf if bit_Slow_BSF is set.
71955         (__strlen_sse42): Removed.
71956         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71957         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71959 2010-08-25  Roland McGrath  <roland@redhat.com>
71961         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71962         * sysdeps/x86_64/multiarch/varshift.c: New file.
71963         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71964         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71965         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71966         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71968 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71971         strlen-sse2 strlen-sse2-bsf.
71972         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71973         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71974         (__strlen_sse2): Removed.
71975         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71976         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71978         bit_Slow_BSF for Atom.
71979         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71980         (index_Slow_BSF): Define.
71981         (HAS_SLOW_BSF): Define.
71983 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71985         [BZ #10851]
71986         * resolv/res_init.c (__res_vinit): When no server address at all
71987         is given default to loopback.
71989 2010-08-24  Roland McGrath  <roland@redhat.com>
71991         * configure.in: Remove config-name.h generation.
71992         * configure: Regenerated.
71993         * config-name.in: File removed.
71994         * scripts/config-uname.sh: New file.
71995         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71996         ($(objdir)config-name.h): New target.
71998         * sunrpc/rpc_parse.h: Avoid nested comment.
72000 2010-08-24  Richard Henderson  <rth@redhat.com>
72001             Ulrich Drepper  <drepper@redhat.com>
72002             H.J. Lu  <hongjiu.lu@intel.com>
72004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72006         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72007         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72008         _mm_alignr_epi8 with _mm_loadu_si128.
72009         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72010         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72011         (__m128i_shift_right): Removed.
72012         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72013         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72014         * sysdeps/x86_64/multiarch/varshift.h: New file.
72015         * sysdeps/x86_64/multiarch/varshift.S: New file.
72017 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72019         * configure.in: Move assembler checks to before sysdep dir checking.
72021 2010-08-20  Petr Baudis  <pasky@suse.cz>
72023         * LICENSES: Sync the sunrpc license.
72025 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72027         * sunrpc/auth_des.c: Update copyright notice once again.
72028         * sunrpc/auth_none.c: Likewise.
72029         * sunrpc/auth_unix.c: Likewise.
72030         * sunrpc/authdes_prot.c: Likewise.
72031         * sunrpc/authuxprot.c: Likewise.
72032         * sunrpc/bindrsvprt.c: Likewise.
72033         * sunrpc/clnt_gen.c: Likewise.
72034         * sunrpc/clnt_perr.c: Likewise.
72035         * sunrpc/clnt_raw.c: Likewise.
72036         * sunrpc/clnt_simp.c: Likewise.
72037         * sunrpc/clnt_tcp.c: Likewise.
72038         * sunrpc/clnt_udp.c: Likewise.
72039         * sunrpc/clnt_unix.c: Likewise.
72040         * sunrpc/des_crypt.c: Likewise.
72041         * sunrpc/des_soft.c: Likewise.
72042         * sunrpc/get_myaddr.c: Likewise.
72043         * sunrpc/getrpcport.c: Likewise.
72044         * sunrpc/key_call.c: Likewise.
72045         * sunrpc/key_prot.c: Likewise.
72046         * sunrpc/openchild.c: Likewise.
72047         * sunrpc/pm_getmaps.c: Likewise.
72048         * sunrpc/pm_getport.c: Likewise.
72049         * sunrpc/pmap_clnt.c: Likewise.
72050         * sunrpc/pmap_prot.c: Likewise.
72051         * sunrpc/pmap_prot2.c: Likewise.
72052         * sunrpc/pmap_rmt.c: Likewise.
72053         * sunrpc/rpc/auth.h: Likewise.
72054         * sunrpc/rpc/auth_unix.h: Likewise.
72055         * sunrpc/rpc/clnt.h: Likewise.
72056         * sunrpc/rpc/des_crypt.h: Likewise.
72057         * sunrpc/rpc/key_prot.h: Likewise.
72058         * sunrpc/rpc/netdb.h: Likewise.
72059         * sunrpc/rpc/pmap_clnt.h: Likewise.
72060         * sunrpc/rpc/pmap_prot.h: Likewise.
72061         * sunrpc/rpc/pmap_rmt.h: Likewise.
72062         * sunrpc/rpc/rpc.h: Likewise.
72063         * sunrpc/rpc/rpc_des.h: Likewise.
72064         * sunrpc/rpc/rpc_msg.h: Likewise.
72065         * sunrpc/rpc/svc.h: Likewise.
72066         * sunrpc/rpc/svc_auth.h: Likewise.
72067         * sunrpc/rpc/types.h: Likewise.
72068         * sunrpc/rpc/xdr.h: Likewise.
72069         * sunrpc/rpc_clntout.c: Likewise.
72070         * sunrpc/rpc_cmsg.c: Likewise.
72071         * sunrpc/rpc_common.c: Likewise.
72072         * sunrpc/rpc_cout.c: Likewise.
72073         * sunrpc/rpc_dtable.c: Likewise.
72074         * sunrpc/rpc_hout.c: Likewise.
72075         * sunrpc/rpc_main.c: Likewise.
72076         * sunrpc/rpc_parse.c: Likewise.
72077         * sunrpc/rpc_parse.h: Likewise.
72078         * sunrpc/rpc_prot.c: Likewise.
72079         * sunrpc/rpc_sample.c: Likewise.
72080         * sunrpc/rpc_scan.c: Likewise.
72081         * sunrpc/rpc_scan.h: Likewise.
72082         * sunrpc/rpc_svcout.c: Likewise.
72083         * sunrpc/rpc_tblout.c: Likewise.
72084         * sunrpc/rpc_util.c: Likewise.
72085         * sunrpc/rpc_util.h: Likewise.
72086         * sunrpc/rpcinfo.c: Likewise.
72087         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72088         * sunrpc/rpcsvc/key_prot.x: Likewise.
72089         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72090         * sunrpc/rpcsvc/mount.x: Likewise.
72091         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72092         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72093         * sunrpc/rpcsvc/rex.x: Likewise.
72094         * sunrpc/rpcsvc/rstat.x: Likewise.
72095         * sunrpc/rpcsvc/rusers.x: Likewise.
72096         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72097         * sunrpc/rpcsvc/spray.x: Likewise.
72098         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72099         * sunrpc/rtime.c: Likewise.
72100         * sunrpc/svc.c: Likewise.
72101         * sunrpc/svc_auth.c: Likewise.
72102         * sunrpc/svc_authux.c: Likewise.
72103         * sunrpc/svc_raw.c: Likewise.
72104         * sunrpc/svc_run.c: Likewise.
72105         * sunrpc/svc_simple.c: Likewise.
72106         * sunrpc/svc_tcp.c: Likewise.
72107         * sunrpc/svc_udp.c: Likewise.
72108         * sunrpc/svc_unix.c: Likewise.
72109         * sunrpc/svcauth_des.c: Likewise.
72110         * sunrpc/xcrypt.c: Likewise.
72111         * sunrpc/xdr.c: Likewise.
72112         * sunrpc/xdr_array.c: Likewise.
72113         * sunrpc/xdr_float.c: Likewise.
72114         * sunrpc/xdr_mem.c: Likewise.
72115         * sunrpc/xdr_rec.c: Likewise.
72116         * sunrpc/xdr_ref.c: Likewise.
72117         * sunrpc/xdr_sizeof.c: Likewise.
72118         * sunrpc/xdr_stdio.c: Likewise.
72120         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72121         handling.
72123 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72125         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72127 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72129         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72130         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72131         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72132         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72133         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72134         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72135         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72136         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72137         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72138         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72139         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72140         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72141         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72142         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72144 2010-07-26  Anton Blanchard  <anton@samba.org>
72146         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72147         * malloc/arena.c (heap_trim): Likewise.
72149 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72151         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72152         here.  Not...
72153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72154         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72156 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72158         * sysdeps/i386/elf/Makefile: New file.
72160 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72162         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72163         from fanotify_init.
72164         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72165         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72167 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72169         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72170         of strncasecmp_l.
72171         * sysdeps/multiarch/strcmp.S: Likewise.
72173 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72175         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72176         strncase_l-nonascii.
72177         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72178         Add strncase_l-ssse3.
72179         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72180         * sysdeps/x86_64/strcmp.S: Likewise.
72181         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72182         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72183         * sysdeps/x86_64/strncase.S: New file.
72184         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72185         * sysdeps/x86_64/strncase_l.S: New file.
72186         * string/Makefile (strop-tests): Add strncasecmp.
72187         * string/test-strncasecmp.c: New file.
72189         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72190         warning.
72192         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72193         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72195 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72197         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72199 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72201         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72202         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72203         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72205 2010-05-01  Alan Modra  <amodra@gmail.com>
72207         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72208         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72209         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72210         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72211         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72212         tidying.  Don't tail-call __sigjmp_save for static lib.
72213         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72214         save location.
72215         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72216         (CALL_MCOUNT): Add eh info, and nop after bl.
72217         (TAIL_CALL_SYSCALL_ERROR): New macro.
72218         (PSEUDO_RET): Use it.
72219         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72220         Correct save location of integer regs and cr.
72221         (_dl_profile_resolve): Correct cr save location.  Delete nops
72222         after bl when SHARED.  Reduce cfi size a little by better
72223         placement of cfi directives.
72224         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72225         make a stack frame.  Instead use parm save area as a temp.
72226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72227         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72229         Don't make a stack frame for parent, use parm save area.
72230         Increase child stack frame to 112 bytes.  Don't save unused reg,
72231         and adjust reg usage.  Set up cfi on error recovery and
72232         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72234         (__makecontext): Add dummy nop after jump to exit.
72235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72236         Use correct parm save area and cr save, reduce stack frame.
72237         Correct cfi for possible PSEUDO_RET frame setup.
72238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72239         Branch to local label emitted by PSEUDO_RET rather than
72240         __syscall_error.
72242 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72244         [BZ #11904]
72245         * locale/programs/locale.c (print_assignment): New function.
72246         (show_locale_vars): Use it.
72248 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72250         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72251         field.
72252         (struct statfs64): Likewise.
72253         (_STATFS_F_FLAGS): Define.
72254         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72255         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72256         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72257         (ST_VALID): Define locally.
72258         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72259         __statvfs_getflags, use the provided value.
72260         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72261         __ASSUME_STATFS_F_FLAGS.
72263         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72265         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72266         Add sys/fanotify.h.
72267         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72268         fanotify_mask for GLIBC_2.13.
72269         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72270         fanotify_init and fanotify_mark.
72271         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72272         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72274         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72275         Add prlimit.
72276         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72277         prlimit64 for GLIBC_2.13.
72278         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72279         prlimit64.
72280         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72281         syscall.
72282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72283         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72284         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72285         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72287         add prlimit alias.
72288         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72290         [BZ #11903]
72291         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72292         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72294         * nss/Makefile: Add rules to build and run tst-nss-test1.
72295         * shlib-versions: Add entry for libnss_test1.
72296         * nss/nss_test1.c: New file.
72297         * nss/tst-nss-test1.c: New file.
72299         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72300         (__nss_configure_lookup): Set appropriate entry in
72301         __nss_configure_lookup to true.
72302         * nss/nsswitch.h: Define enum with indeces of databases in
72303         databases and __nss_database_custom arrays.  Declare
72304         __nss_database_custom.
72305         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72306         to avoid using nscd when custom rules are installed.
72307         * nss/getXXbyYY_r.c: Likewise.
72308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72310         * nss/nss_files/files-parse.c: Whitespace fixes.
72312 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72314         [BZ #11883]
72315         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72316         * posix/fnmatch_loop.c: Likewise.
72318 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72320         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72321         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72322         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72323         * Versions.def [GLIBC_2.13]: Add.
72325 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72327         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72328         Also fail if tpwd after pwuid call is NULL.
72330 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72332         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72333         when converting to ms.
72335 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72337         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72338         EOPNOTSUPP errors with ENOTTY.
72339         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72340         EOPNOTSUPP errors with ENOTTY.
72342 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72344         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72345         Add strcasecmp_l-ssse3.
72346         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72347         strcasecmp.
72348         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72349         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72350         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72352 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72354         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72356         * string/Makefile (strop-tests): Add strcasecmp.
72357         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72358         strcasecmp_l-nonascii.
72359         (gen-as-const-headers): Add locale-defines.sym.
72360         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72361         * sysdeps/x86_64/strcasecmp.S: New file.
72362         * sysdeps/x86_64/strcasecmp_l.S: New file.
72363         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72364         * sysdeps/x86_64/locale-defines.sym: New file.
72365         * string/test-strcasecmp.c: New file.
72367         * string/test-strcasestr.c: Test both ends of the range of characters.
72368         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72370 2010-07-29  Roland McGrath  <roland@redhat.com>
72372         [BZ #11856]
72373         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72375 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72377         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72378         for ld.so.
72380 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72382         * manual/memory.texi (Malloc Tunable Parameters): Document
72383         M_PERTURB.
72385 2010-07-26  Roland McGrath  <roland@redhat.com>
72387         [BZ #11840]
72388         * configure.in (-fgnu89-inline check): Set and substitute
72389         gnu89_inline, not libc_cv_gnu89_inline.
72390         * configure: Regenerated.
72391         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72393 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72395         * string/test-strnlen.c: New file.
72396         * string/Makefile (strop-tests): Add strnlen.
72397         * string/tester.c (test_strnlen): Add a few more test cases.
72398         * string/tst-strlen.c: Better error reporting.
72400         * sysdeps/x86_64/strnlen.S: New file.
72402 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72405         lower-latency instructions.
72407 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72409         * string/test-strcasestr.c: New file.
72410         * string/test-strstr.c: New file.
72411         * string/Makefile (strop-tests): Add strstr and strcasestr.
72412         * string/str-two-way.h: Don't undefine MAX.
72413         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72415 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72418         strcasestr-nonascii.
72419         (CFLAGS-strcasestr-nonascii.c): Define.
72420         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72421         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72422         Remove unused attribute.
72424 2010-07-20  Roland McGrath  <roland@redhat.com>
72426         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72427         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72428         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72429         like LD_HWCAP_MASK can disable hwcaps.
72431 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72433         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72435 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72437         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72438         call in strcasestr.
72439         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72440         __strcasestr_sse42_nonascii.
72441         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72442         strcasestr-nonascii.c.
72443         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72445 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72447         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72448         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72449         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72450         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72452 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72454         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72455         fcntl.
72457 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72459         [BZ #11577]
72460         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72461         dl_signal_cerror.
72463 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72465         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72466         _PC_PIPE_BUF using F_GETPIPE_SZ.
72468 2010-07-05  Roland McGrath  <roland@redhat.com>
72470         * manual/arith.texi (Rounding Functions): Fix rint description
72471         implicit in round description.
72473 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72475         * elf/Makefile: Fix linking for a few tests to make recent linker
72476         happy.
72478 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72480         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72481         $(common-objpfx)libc_nonshared.a.
72483 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72485         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72486         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72487         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72488         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72489         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72490         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72491         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72492         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72507         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72508         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72509         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72510         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72511         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72512         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72513         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72514         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72515         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72516         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72517         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72518         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72534 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72536         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72537         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72538         * string/memmove.c (memmove): Renamed to ...
72539         (MEMMOVE): ...this.  Default to memmove.
72540         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72541         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72542         (END_CHK): Define.
72543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72544         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72545         mempcpy-ssse3-back memmove-ssse3-back.
72546         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72548         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72549         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72550         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72551         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72552         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72553         * sysdeps/x86_64/multiarch/memmove.c: New file.
72554         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72555         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72556         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72557         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72559         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72560         Define.
72561         (index_Fast_Copy_Backward): Define.
72562         (HAS_ARCH_FEATURE): Define.
72563         (HAS_FAST_REP_STRING): Define.
72564         (HAS_FAST_COPY_BACKWARD): Define.
72566 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72568         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72569         Restore proper fallback handling.
72571 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72573         [BZ #11701]
72574         * posix/group_member.c (__group_member): Correct checking loop.
72576         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72577         OOM in getpwuid_r correctly.  Return error number when the caller
72578         should return, otherwise -1.
72579         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72580         call returning > 0 value.
72581         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72583 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72585         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72586         libc_nonshared.a from targets in modules-names.
72588 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72590         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72591         requires it.
72593 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72595         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72596         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72597         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72598         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72600 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72602         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72604 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72606         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72607         and F_GETPIPE_SZ.
72608         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72609         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72611         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72613         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72615 2010-06-14  Roland McGrath  <roland@redhat.com>
72617         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72619 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72621         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72622         __REDIRECT followed by __THROW.
72623         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72624         * posix/getopt.h (getopt): Likewise.
72626 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72628         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72629         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72630         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72631         in AT_FLAGS.
72632         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72633         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72635 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72637         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72639 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72641         [BZ #11640]
72642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72643         Properly check family and model.
72645 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72647         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72649 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72651         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72653 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72655         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72656         symbol reference.
72658 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72660         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72661         symbol reference.
72663 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72665         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72666         and internal_recvmmsg.
72667         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72668         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72669         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72670         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72672         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72673         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72674         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72676 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72678         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72680 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72682         POWER7 optimizations.
72683         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72684         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72686 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72688         * version.h: Update for 2.13 development version.
72690 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72692         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72693         exceptions.  Return 0.
72695 2010-05-07  Roland McGrath  <roland@redhat.com>
72697         * elf/ldconfig.c (main): Add a const.
72699 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72701         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72702         (args_options): Add no-idn option.
72703         (ahosts_keys_int): Add idn_flags to ai_flags.
72704         (parse_option): Handle 'i' option to clear idn_flags.
72706         * malloc/malloc.c (_int_free): Possible race in the most recently
72707         added check.  Only act on the data if no current modification
72708         happened.
72710 See ChangeLog.17 for earlier changes.