Fix compilation of test-signgam-* tests
[glibc.git] / ChangeLog
blob3b6ee8238637ce8c76cbcc1de672006fccf84cdb
1 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3         * math/test-signgam-finite-c99.c: Also #undef
4         __LIBC_INTERNAL_MATH_INLINES.
5         * math/test-signgam-main.c: Likewise.
7 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11         (MADV_FREE): Likewise.
12         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14         EPOLLEXCLUSIVE.
16 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18         * timezone/README: Remove mention of checktab.awk. Mention wiki
19         SharedSourceFiles.
21 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24         WUNTRACED.
26 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
29         order to match the type of p when calling atomic_exchange_acq().
31 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
34         cfi_offset calls.
35         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
37         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
38         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
39         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
41 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
43         * timezone/checktab.awk: Removed.
45 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
47         * manual/math.texi (Errors in Math Functions): Document relaxed
48         accuracy goals for IBM long double.
49         * math/libm-test.inc (test_exceptions): Always allow spurious
50         "underflow" and "inexact" exceptions for IBM long double.
52 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
54         [BZ #19762]
55         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
56         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
57         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
58         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
59         (bit_arch_*): This for feature array.
60         (bit_*): Renamed to ...
61         (bit_cpu_*): This for cpu array.
62         (index_*): Renamed to ...
63         (index_arch_*): This for feature array.
64         (index_*): Renamed to ...
65         (index_cpu_*): This for cpu array.
66         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
67         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
68         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
69         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
70         bit_##name with index_cpu_##name and bit_cpu_##name.
71         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
72         bit_##name with index_arch_##name and bit_arch_##name.
74 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
76         [BZ #19792]
77         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
78         Terminate FDE before return label.
80 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
82         [BZ #19790]
83         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
84         (rintl): Define as macro.
85         [USE_AS_NEARBYINTL] (__rintl): Likewise.
86         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
87         of fesetround.  Ensure results are evaluated before end of scope.
88         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
89         USE_AS_NEARBYINTL and include s_rintl.c.
90         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
91         Disable exception traps in new environment.
92         (libc_feholdsetround_ppc_ctx): Likewise.
94 2016-03-08  Roland McGrath  <roland@hack.frob.com>
96         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
97         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
98         (tst_audit10_aux) [__AVX512F__]: ... here.
100 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
102         * include/sys/auxv.h: New file.
104 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
106         [BZ #19759]
107         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
109 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
111         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
112         operand modifier.
113         (feclearexcept): Likewise.
115 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
118         to reflect the entire 32-bit HWCAP.
119         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
120         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
122 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
124         [BZ #19783]
125         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
126         $(test-via-rtld-prefix).
127         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
129 2016-03-08  Florian Weimer  <fweimer@redhat.com>
131         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
132         union wait.  Report any non-zero exit status as error.
134 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
136         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
137         configured with --enable-hardcoded-path-in-tests.
139 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
141         [BZ #19677]
142         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
143         (__ieee754_remainderl): Put zero low parts in canonical form.
144         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
145         file.  Based on
146         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
147         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
148         with wrapper round test-fmodrem-ldbl-128ibm.c.
149         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
150         file.
151         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
152         Likewise.
153         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
154         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
156 2016-03-07  Florian Weimer  <fweimer@redhat.com>
158         [BZ #19610]
159         * elf/ldconfig.c (opt_link): Update comment.
160         (options): Update help string for option -X.
161         (search_dir): Unlink stale symbolic link only if updating symbolic
162         links.
163         * elf/tst-ldconfig-X.sh: New file.
164         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
165         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
167 2016-03-07  Andreas Schwab  <schwab@suse.de>
169         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
170         needed arguments.
172 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
174         [BZ #15333]
175         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
176         to lstat64.
178 2016-03-07  Florian Weimer  <fweimer@redhat.com>
180         * libio/filedoalloc.c (isatty): Remove.
181         (local_isatty): Add comment.  Call __isatty directly.
182         (_IO_file_doallocate): Update comment.  Assume _LIBC.
183         * libio/wfiledoalloc.c (isatty): Remove.
184         (_IO_wfile_doallocate): Update comment.
186 2016-03-07  Florian Weimer  <fweimer@redhat.com>
188         [BZ #19269]
189         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
190         tst-audit4-aux.o.
191         (tst-audit10): Depend on tst-audit10-aux.o.
192         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
193         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
194         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
195         instead of inline AVX code.
196         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
197         instead of inline AVX512 code.
198         * sysdeps/x86_64/tst-audit4-aux.c: New file
199         * sysdeps/x86_64/tst-audit10-aux.c: New file
201         [BZ #19648]
202         * test-skeleton.c (main): Do not set RLIMIT_DATA.
204 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
206         [BZ #14750]
207         [BZ #10354]
208         [BZ #18433]
209         * include/sched.h (__clone): Add hidden prototype.
210         (__clone2): Likewise.
211         * include/unistd.h (__dup): Likewise.
212         * posix/Makefile (tests): Add tst-spawn2.
213         * posix/tst-spawn2.c: New file.
214         * sysdeps/posix/dup.c (__dup): Add hidden definition.
215         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
216         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
217         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
218         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
219         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
220         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
221         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
222         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
223         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
224         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
226         Likewise.
227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
228         Likewise.
229         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
230         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
231         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
232         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
233         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
234         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
235         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
236         * sysdeps/unix/sysv/linux/nptl-signals.h
237         (____nptl_is_internal_signal): New function.
238         * sysdeps/unix/sysv/linux/spawni.c: New file.
240         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
241         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
242         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
243         * posix/tst-execvp2.c (do_test): Likewise.
244         * posix/tst-execvp3.c (do_test): Likewise.
245         * posix/tst-execvp4.c (do_test): Likewise.
246         * posix/tst-execvpe1.c: New file.
247         * posix/tst-execvpe2.c: Likewise.
248         * posix/tst-execvpe3.c: Likewise.
249         * posix/tst-execvpe4.c: Likewise.
250         * posix/tst-execvpe5.c: Likewise.
251         * posix/tst-execvpe6.c: Likewise.
253         [BZ #19534]
254         * posix/execl.c (execl): Remove dynamic memory allocation.
255         * posix/execle.c (execle): Likewise.
256         * posix/execlp.c (execlp): Likewise.
258 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
260         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
261         Replace .text with .text.avx512.
262         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
263         Likewise.
265 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
267         * sysdeps/generic/libnsl.abilist: New file.
268         * sysdeps/generic/libutil.abilist: New file.
270 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
272         [BZ #19762]
273         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
274         HAS_ARCH_FEATURE with Fast_Rep_String.
275         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
276         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
277         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
278         Likewise.
279         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
280         Likewise.
281         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
282         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
283         Likewise.
284         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
285         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
286         Likewise.
288 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
290         [BZ #19745]
291         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
292         with *%rax in call.
294 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
296         [BZ #19745]
297         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
298         with *__libc_start_main@GOTPCREL(%rip) in call.
300 2016-03-04  Roland McGrath  <roland@hack.frob.com>
302         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
303         inside conditional for nonempty $(CXX).
305         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
306         nonempty.
308         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
309         to test for empty $(CXX) rather than $(CXX) of "no".
311 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
313         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
315 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
316             H.J. Lu  <hongjiu.lu@intel.com>
318         [BZ #18880]
319         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
320         instead of Slow_BSF, and also check for Fast_Copy_Backward to
321         enable __memcpy_ssse3_back.
323 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
325         [BZ #19758]
326         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
327         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
329 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
331         [BZ #19490]
332         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
333         (__fentry__): Likewise.
335 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
337         * gmon/Makefile (noprof): Add $(sysdep_noprof).
338         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
340 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
342         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
343         __mcount_internal directly.
344         (C_LABEL(__fentry__)): Likewise.
345         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
346         directly.
348 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
350         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
351         (__start_context): Call __setcontext directly.
353 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
356         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
357         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
358         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
360         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
361         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
362         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
363         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
364         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
365         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
366         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
367         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
368         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
369         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
370         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
371         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
373         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
374         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
375         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
377         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
378         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
379         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
380         Remove conditional code.
381         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
382         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
383         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
384         * sysdeps/unix/sysv/linux/sh/kernel-features.h
385         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
386         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
387         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
388         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
389         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
390         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
391         * sysdeps/unix/sysv/linux/tile/kernel-features.h
392         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
394 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
396         * NEWS (2.23): Fix typo in bug 19048 text.
398 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
400         [BZ #14259]
401         * Makeconfig: Rename msgcatdir to localedir.
402         Rename inst_msgcatdir to inst_localedir.
403         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
404         * config.make.in: Add localedir.
405         * elf/Makefile ($(objpfx)sotruss): Use localedir.
406         (ldd-rewrite): Likewise.
407         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
408         (install-others): Use inst_localedir.
409         (CPPFLAGS): Use localedir.
410         * locale/Makefile (locale-CPPFLAGS): Likewise.
411         * po/Makefile (mo-installed): Use inst_localedir.
413         [BZ #19575]
414         * localedata/charmaps/GB18030: Update comments regarding PAU to
415         non-PUA mappings.
417 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
420         test for header.
421         * sysdeps/unix/sysv/linux/configure: Regenerated.
422         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
423         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
424         Remove conditional code.
425         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
427         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
428         Define to 3.2.0.
429         (arch_minimum_kernel): Likewise.
430         * sysdeps/unix/sysv/linux/configure: Regenerated.
431         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
432         Define to 2.6.32.
433         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
434         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
435         (arch_minimum_kernel): Define to 2.6.32.
436         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
437         * README: Document Linux 3.2 requirement.
438         * manual/install.texi (Linux): Document Linux 3.2 headers
439         requirement.
440         * INSTALL: Regenerated.
442 2016-02-24  Andreas Schwab  <schwab@suse.de>
444         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
445         if !NO_LONG_DOUBLE.
447 2016-02-22  Roland McGrath  <roland@hack.frob.com>
449         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
450         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
452 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
454         [BZ #19512]
455         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
457 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
459         * posix/tst-dir.c: Include libc-internal.h.
461 2016-02-20  Florian Weimer  <fweimer@redhat.com>
463         [BZ #19056]
464         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
465         * manual/filesys.texi (Reading/Closing Directory): Mention
466         deprecaion.
467         * posix/tst-dir.c (main): Disable deprecation warning in test.
469 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
471         [BZ #19679]
472         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
473         Renamed to ...
474         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
475         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
476         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
477         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
478         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
479         * sysdeps/x86_64/dl-trampoline.h
480         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
481         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
483 2016-02-19  Mark Wielaard  <mjw@redhat.com>
485         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
487 2016-02-19  Mark Wielaard  <mjw@redhat.com>
489         * elf/elf.h (R_386_GOT32X): New.
490         (R_386_NUM): Update.
491         (R_X86_64_GOTPCRELX: New.
492         (R_X86_64_REX_GOTPCRELX): New.
493         (R_X86_64_NUM): Update.
495 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
497         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
499 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
501         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
502         assign attr->stackaddr to it, and adjust it down when
503         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
504         [_STACK_GROWS_UP]: Delete assert.
505         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
506         Implement stack grows up logic.
507         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
508         stack grows up logic.
510 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
512         * NEWS: Update with 2.24 template.
514 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
516         [BZ #19678]
517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
518         Ensure +0.0 is returned when taking the next value below the least
519         positive value.
521 2016-02-19  Florian Weimer  <fweimer@redhat.com>
523         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
524         available.  Do not define NO_THREADS.
525         * malloc/malloc.c: Do not check NO_THREADS.
526         * malloc/arena.c: Likewise.
528 2016-02-19  Florian Weimer  <fweimer@redhat.com>
530         * malloc/malloc.c (__libc_mallinfo): Update comment.
531         (struct malloc_par): Remove max_total_mem member, it was always 0.
532         (int_mallinfo): Store 0 into usmblks (no functional change).
533         * malloc/hooks.c (struct malloc_state): Document that
534         max_total_mem is always 0.
535         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
536         always 0.
537         * manual/memory.texi (Statistics of Malloc): Likewise.
539 2016-02-19  Florian Weimer  <fweimer@redhat.com>
541         * malloc/malloc.c (sysmalloc): Do not update arena_max.
542         * malloc/arena.c (arena_max): Remove.
543         (heap_trim, _int_new_arena): Do not update arena_max.
545 2016-02-19  Florian Weimer  <fweimer@redhat.com>
547         * resolv/res_init.c (res_ninit): Update comment.
549 2016-02-19  Florian Weimer  <fweimer@redhat.com>
551         [BZ #19505]
552         * posix/spawn_int.h: Add headers and include guard.
553         (__spawn_valid_fd): New function.
554         * posix/spawn_faction_addopen.c
555         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
556         * posix/spawn_faction_addclose.c
557         (posix_spawn_file_actions_addclose): Likewise.
558         * posix/spawn_faction_adddup2.c
559         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
560         second file descriptor.
561         * posix/spawn_valid_fd.c: New file.
562         * posix/tst-posix_spawn-fd.c: New file.
563         * posix/Makefile (routines): Add spawn_valid_fd.
564         (tests): Add tst-posix_spawn-fd.
566 2016-02-19  Florian Weimer  <fweimer@redhat.com>
568         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
569         (do_test): Limit the number of arenas, so that we can use fewer
570         outer threads.  Limit timeout to 3 seconds, in preparation for a
571         larger TIMEOUT value.
573 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
575         [BZ #19674]
576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
577         sign in overflowing and underflowing results when overflow or
578         underflow is detected early.  Include sign in result before rather
579         than after scaling.
581         [BZ #19603]
582         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
583         (__ieee754_remainderl): Adjust sign of integer version of low part
584         when taking absolute value of high part.
585         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
586         * math/libm-test.inc (remainder_test_data): Add another test.
587         (remquo_test_data): Likewise.
589 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
591         [BZ #19602]
592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
593         equal high parts and both low parts zero specially.
594         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
595         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
596         Add test-fmodl-ldbl-128ibm.
598         [BZ #19595]
599         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
600         common logic for all cases of shifting subnormal results.  Do not
601         insert sign bit in shifted mantissa.  Always pass -1023 as biased
602         exponent to ldbl_insert_mantissa in subnormal case.
604         [BZ #19594]
605         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
606         on high and low parts then adjust result and use
607         ldbl_canonicalize_int if needed.
609         [BZ #19593]
610         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
611         on high part and __floor or __ceil on low part then use
612         ldbl_canonicalize_int if needed.
614         [BZ #19592]
615         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
616         high and low parts then use ldbl_canonicalize_int if needed.
618         [BZ #17899]
619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
620         New function.
621         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
622         on high and low parts then use ldbl_canonicalize_int if needed.
624 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
626         * configure: Regenerated.
628         * po/libc.pot: Regenerated.
630         * po/be.po: Updated translation.
631         * po/bg.po: Likewise.
632         * po/ca.po: Likewise.
633         * po/cs.po: Likewise.
634         * po/da.po: Likewise.
635         * po/el.po: Likewise.
636         * po/eo.po: Likewise.
637         * po/es.po: Likewise.
638         * po/fi.po: Likewise.
639         * po/fr.po: Likewise.
640         * po/gl.po: Likewise.
641         * po/hr.po: Likewise.
642         * po/hu.po: Likewise.
643         * po/ia.po: Likewise.
644         * po/id.po: Likewise.
645         * po/it.po: Likewise.
646         * po/ja.po: Likewise.
647         * po/lt.po: Likewise.
648         * po/nb.po: Likewise.
649         * po/nl.po: Likewise.
650         * po/pt_BR.po: Likewise.
651         * po/rw.po: Likewise.
652         * po/sk.po: Likewise.
653         * po/sl.po: Likewise.
654         * po/sv.po: Likewise.
655         * po/tr.po: Likewise.
656         * po/zh_CN.po: Likewise.
657         * po/zh_TW.po: Likewise.
659         * version.h (RELEAES): Set to "development".
660         (VERSION): Set to 2.23.90.
662         * version.h (RELEASE): Set to "stable".
663         (VERSION): Set to 2.23.
664         * include/feature.h (__GLIBC_MINOR__): Set to 23.
666         * NEWS: Updated fixed bugs.
668 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
669             Wilco Dijkstra  <wdijkstr@arm.com>
671         [BZ #19462]
672         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
673         (_STRING_INLINE_unaligned): This.
674         * include/string.h: Include <string_private.h>.
675         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
676         _STRING_INLINE_unaligned.
677         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
678         (_STRING_INLINE_unaligned): New.
679         * sysdeps/aarch64/string_private.h: New file.
680         * sysdeps/generic/string_private.h: Likewise.
681         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
682         * sysdeps/s390/string_private.h: Likewise.
683         * sysdeps/x86/string_private.h: Likewise.
684         * sysdeps/m68k/m680x0/m68020/bits/string.h
685         (_STRING_ARCH_unaligned): Renamed to ...
686         (_STRING_INLINE_unaligned): This.
687         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
688         to ...
689         (_STRING_INLINE_unaligned): This.
690         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
691         to ...
692         (_STRING_INLINE_unaligned): This.
693         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
694         to ...
695         (_STRING_INLINE_unaligned): This.
697 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
698             H.J. Lu  <hongjiu.lu@intel.com>
700         [BZ #19590]
701         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
702         relocation.
704 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
706         [BZ #18665]
707         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
708         *herrno_p.
709         (gaih_getanswer): Document functional behviour. Return tryagain
710         if any result is tryagain.
711         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
712         when freed.
713         * resolv/res_send.c: Add copyright text.
714         (__libc_res_nsend): Document that MAXPACKET is expected.
715         (send_vc): Document. Remove buffer reuse.
716         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
717         size of the buffer. Add Dprint for truncated UDP buffer.
719 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
721         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
722         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
723         * INSTALL: Regenerate.
725 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
726             Jonathan Wakely  <jwakely@redhat.com>
727             Carlos O'Donell  <carlos@redhat.com>
729         [BZ 19439]
730         * math/Makefile (tests): Add test-math-isinff.
731         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
732         * math/bits/mathcalls.h [__USE_MISC]: Use
733         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
734         functions not in C++11 and which don't conflict e.g. isinff,
735         isinfl etc.
736         * math/test-math-isinff.cc: New file.
738 2016-02-12  Florian Weimer  <fweimer@redhat.com>
740         * misc/bug18240.c (do_test): Set RLIMIT_AS.
742 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
744         [BZ #19529]
745         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
747 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
749         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
751 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
753         [BZ #19550]
754         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
755         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
756         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
757         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
758         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
759         New syscall entry.
760         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
761         New syscall entry.
762         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
763         syscall entry.
765 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
767         [BZ #18240]
768         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
769         unsigned int wraparound.
771 2016-01-27  Florian Weimer  <fweimer@redhat.com>
773         [BZ #18240]
774         * misc/bug18240.c: New test.
775         * misc/Makefile (tests): Add it.
777 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
778             Joseph Myers  <joseph@codesourcery.com>
780         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
781         load in branch delay slot when less than a word of input left.
783 2016-01-27  Andreas Schwab  <schwab@suse.de>
785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
787         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
788         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
790 2016-01-26  David S. Miller  <davem@davemloft.net>
792         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
794 2016-01-25  David S. Miller  <davem@davemloft.net>
796         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
797         __sqrtl_finite.
798         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
799         instead using versioned_symbol.
800         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
801         of entries.
803         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
804         __sqrtl_finite to GLIBC_2.23
806 2016-01-25  Ricchard Henderson  <rth@redhat.com>
808         * sysdeps/alpha/fpu/libm-test-ulps: Update.
810 2016-01-25  Andreas Schwab  <schwab@suse.de>
812         [BZ #17514]
813         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
814         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
815         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
816         * nptl/tst-mutex-errorcheck.c: New file.
818 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
820         [BZ #18560]
821         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
822         (IPCOP_semop): Likewise.
823         (IPCOP_semget): Likewise.
824         (IPCOP_semctl): Likewise.
825         (IPCOP_msgsnd): Likewise.
826         (IPCOP_msgrcv): Likewise.
827         (IPCOP_msgget): Likewise.
828         (IPCOP_msgctl): Likewise.
829         (IPCOP_shmat): Likewise.
830         (IPCOP_shmdt): Likewise.
831         (IPCOP_shmget): Likewise.
832         (IPCOP_shmctl): Likewise.
834 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
836         * string/tst-endian.c: Include <libc-internal.h>.
837         (do_test): Ignore tautological-compare warnings around
838         "htobeXX (beXXtoh (i)) != i" and
839         "htoleXX (leXXtoh (i)) != i" if-statements.
841 2016-01-24  David S. Miller  <davem@davemloft.net>
843         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
844         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
845         alias.
846         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
847         __sqrtl_finite.
849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
851 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
853         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
854         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
855         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
857 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
859         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
860         (thread_func): Use new function to simplify barrier check.
861         (do_test): Use new function to simplify checking barrier exit
862         code, and actually join the child thread.
864 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
866         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
867         semicolon.
868         (__libc_tend): Likewise.
869         (__libc_tabort): Likewise.
871 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
873         * sysdeps/nios2/libm-test-ulps: Update.
874         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
875         (__gtsf2): Likewise.
876         (__unorddf2): Likewise.
877         (__unordsf2): Likewise.
878         (__ledf2): Likewise.
880 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
882         * nis/nis_table.c (__follow_path): Disable diagnostic for
883         uninitialized variable that is a false positive for gcc 4.7.
884         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
886 2016-01-20  Roland McGrath  <roland@hack.frob.com>
888         * sysdeps/nacl/lowlevellock-futex.h
889         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
890         Always evaluate PRIVATE argument.
892 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
894         [BZ #19490]
895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
896         (pthread_cond_broadcast): Use ENTRY/END
897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
898         (pthread_cond_signal): Likewise.
899         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
900         Likewise.
901         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
902         Likewise.
903         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
904         Likewise.
906 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
908         * sysdeps/ieee754/dbl-64/s_finite.c
909         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
910         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
911         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
912         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
913         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
916         (__gtsf2): Add as optional for libc.so.
917         (__unordsf2): Likewise.
918         (__signbit): Remove for libc.so.
919         (__signbitl): Likewise.
921 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
923         * iconvdata/bug-iconv11.c (test_ibm93x):
924         Use %zu printf format specifier for size_t argument.
926 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
928         * math/gen-libm-test.pl (parse_ulps): Do not reduce
929         already-recorded ulps.
930         * sysdeps/arm/libm-test-ulps: Regenerated.
931         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
932         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
933         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
935 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
936             Paul Pluzhnikov  <ppluzhnikov@google.com>
938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
939         assembler not supporting AVX-512.
941 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
943         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
945 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
947         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
948         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
950         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
952         * sysdeps/arm/libm-test-ulps: Regenerated.
954 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
956         [BZ #19451]
957         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
959 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
961         [BZ #19486]
962         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
963         * sysdeps/generic/fix-fp-int-convert-overflow.h
964         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
965         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
966         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
967         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
968         Likewise.
969         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
970         Avoid conversions to long int where inexact exceptions
971         could be raised.
972         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
973         Likewise.
974         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
975         Avoid conversions to long long int where inexact exceptions
976         could be raised.
977         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
978         Likewise.
980 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
982         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
983         * configure: Regenerated.
985 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
987         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
989 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
992         outside of comment.
994 2016-01-15  Torvald Riegel  <triegel@redhat.com>
996         * nptl/tst-barrier1.c: Add description on first line.
997         * nptl/tst-barrier2.c: Likewise.
998         * nptl/tst-barrier3.c: Likewise.
999         * nptl/tst-barrier4.c: Likewise.
1000         * nptl/tst-barrier5.c: Likewise.
1002 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1004         [BZ #18868]
1005         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1007 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1011         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1012         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1013         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1014         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1015         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1016         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1017         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1018         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1021 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1023         [BZ #13065]
1024         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1025         new implementation.
1026         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1027         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1028         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1029         (BARRIER_IN_THRESHOLD): New macro.
1030         * nptl/pthread_barrierattr_setpshared.c
1031         (pthread_barrierattr_setpshared): Clean up.
1032         * nptl/tst-barrier4.c: Correct comment.
1033         * nptl/tst-barrier5.c: New file.
1034         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1035         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1036         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1037         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1038         * nptl/lowlevelbarrier.sym: Remove.
1039         * nptl/DESIGN-barrier.txt: Remove.
1040         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1041         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1042         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1043         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1044         error.
1045         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1046         implementation.
1048 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1050         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1051         (do_child): Mask SIGRTMIN while thr is running.
1053 2016-01-15  Martin Sebor  <msebor@redhat.com>
1055         [BZ #19432]
1056         * iconvdata/Makefile: Add bug-iconv11.
1057         * iconvdata/bug-iconv11.c: New test.
1058         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1059         * iconvdata/ibm933.c: Same.
1060         * iconvdata/ibm935.c: Same.
1061         * iconvdata/ibm937.c: Same.
1062         * iconvdata/ibm939.c: Same.
1064 2016-01-15  Martin Sebor  <msebor@redhat.com>
1066         [BZ #19443]
1067         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1068         [DEBUG] (_ufc_set_bits): Declare used.
1069         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1070         [DEBUG] (print_all): Declare used.
1071         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1072         operands of the ternary ?: expression to target type.
1073         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1074         calling the undeclared abort.
1075         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1077 2016-01-15  Martin Sebor  <msebor@redhat.com>
1079         [BZ #18755]
1080         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1081         warnings.
1082         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1083         (__gai_create_helper_thread): Same.
1084         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1085         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1086         to suppress -Wmaybe-uninitialized warnings.
1088 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1090         [BZ #19465]
1091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1092         inside if.
1093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1094         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1097 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1099         [BZ #19466]
1100         * time/tst-mktime2.c (time_t_max): Removed.
1101         (time_t_min): Likewise.
1102         (TYPE_SIGNED): New.
1103         (TYPE_MINIMUM): Likewise.
1104         (TYPE_MAXIMUM): Likewise.
1105         (TIME_T_MIN): Likewise.
1106         (TIME_T_MAX): Likewise.
1107         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1108         and TIME_T_MIN.
1109         (do_test): Likewise.
1111 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1113         [BZ #19467]
1114         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1115         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1117 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1119         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1121 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1123         * benchtests/Makefile (PYTHON): Define.
1124         (bench-func): Use $(PYTHON) to run python scripts.
1125         ($(objpfx)bench-%.c): Likewise.
1127 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1129         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1130         leading slash when `file_name' is "/".
1132 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1134         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1135         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1136         Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1142         enum constant and macro.
1143         (PTRACE_SETSIGMASK): Likewise.
1144         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1145         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1146         (PTRACE_GETSIGMASK): Likewise.
1147         (PTRACE_SETSIGMASK): Likewise.
1148         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1150         Likewise.
1151         (PTRACE_SETSIGMASK): Likewise.
1152         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1154         (PTRACE_GETSIGMASK): Likewise.
1155         (PTRACE_SETSIGMASK): Likewise.
1156         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1158         Likewise.
1159         (PTRACE_SETSIGMASK): Likewise.
1160         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1161         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1162         Likewise.
1163         (PTRACE_SETSIGMASK): Likewise.
1164         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1165         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1166         Likewise.
1167         (PTRACE_SETSIGMASK): Likewise.
1168         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1170 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1171             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1173         [BZ #19439]
1174         * math/bits/mathcalls.h
1175         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1176         prototype.
1177         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1179 2016-01-11  Andreas Schwab  <schwab@suse.de>
1181         [BZ #19253]
1182         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1183         cache when TZDEFRULES was used.
1184         * time/tst-tzname.c: New file.
1185         * time/Makefile (test): Add tst-tzname.
1186         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1187         * timezone/Makefile (test-zones): Add $(posixrules-file).
1188         ($(testdata)/$(posixrules-file)): New rule.
1190 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1192         Fix doc quoting problems with Texinfo 5
1193         Without this change, in the info file output, Texinfo 5 quotes code
1194         in text with undirected single quotes 'like this' and generates
1195         code examples that with many PDF readers cannot be cut out of PDFs
1196         and pasted into code.
1197         * manual/libc.texinfo: Configure the libc manual like the GNU
1198         Emacs manual, by using @documentencoding and setting
1199         txicodequoteundirected and txicodequotebacktick.  This way,
1200         Texinfo 5 quotes code in text with directed single quotes ‘like
1201         this’ and produces examples that can be cut out of PDFs.  This
1202         change causes Texinfo 5 to generate info files that contain UTF-8
1203         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1204         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1206 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1208         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1209         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1210         barriers to their respective compiler built-ins.
1211         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1212         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1213         * sysdeps/powerpc/sysdep.h: Likewise.
1214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1215         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1216         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1218 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1220         * scripts/config.guess: Revert previous shebang change.
1221         * scripts/config.sub: Likewise.
1222         * scripts/mkinstalldirs: Likewise.
1224 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1226         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1227         PPC_FEATURE2_HAS_IEEE128.
1228         * sysdeps/powerpc/dl-procinfo.c:
1229         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1231 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1233         [BZ #19415]
1234         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1235         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1236         (_dl_lookup_address): Rewrite using function resolver trampoline.
1237         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1238         two bits in address.
1240 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1242         * longlong.h: Change !__SHMEDIA__ to
1243         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1244         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1246 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1247             Joseph Myers  <joseph@codesourcery.com>
1248             Mark Shinwell  <shinwell@codesourcery.com>
1249             Andrew Stubbs  <ams@codesourcery.com>
1250             Rich Felker <dalias@libc.org>
1252         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1254 2016-01-07  Richard Henderson  <rth@redhat.com>
1256         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1258 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1260         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1261         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1262         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1263         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1264         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1266 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1267             Joseph Myers  <joseph@codesourcery.com>
1269         * timezone/private.h: Update from tzcode 2015g.
1270         * timezone/tzfile.h: Likewise.
1271         * timezone/tzselect.ksh: Likewise.
1272         * timezone/zdump.c: Likewise.
1273         * timezone/zic.c: Likewise.
1274         * timezone/ialloc.c: Remove file.
1275         * timezone/scheck.c: Likewise.
1276         * timezone/Makefile (extra-objs): Remove variable.
1277         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1278         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1279         -Wno-maybe-uninitialized.
1280         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1281         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1282         (CFLAGS-ialloc.c): Remove variable.
1283         (CFLAGS-scheck.c): Likewise.
1284         * timezone/README: Update list of files from tzcode.
1286 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1288         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1289         instead of __fxprintf when _LIBC is undefined.
1291 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1293         * catgets/test-gencat.sh: Remove space after shebang.
1294         * conform/GlibcConform.pm: Likewise.
1295         * conform/check-header-lists.sh: Likewise.
1296         * conform/conformtest.pl: Likewise.
1297         * conform/linknamespace.pl: Likewise.
1298         * conform/list-header-symbols.pl: Likewise.
1299         * debug/catchsegv.sh: Likewise.
1300         * elf/genrtldtbl.awk: Likewise.
1301         * elf/tst-pathopt.sh: Likewise.
1302         * elf/tst-rtld-load-self.sh: Likewise.
1303         * grp/tst_fgetgrent.sh: Likewise.
1304         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1305         * iconvdata/gen-8bit-gap.sh: Likewise.
1306         * iconvdata/gen-8bit.sh: Likewise.
1307         * iconvdata/run-iconv-test.sh: Likewise.
1308         * intl/tst-gettext.sh: Likewise.
1309         * intl/tst-gettext2.sh: Likewise.
1310         * intl/tst-gettext4.sh: Likewise.
1311         * intl/tst-gettext6.sh: Likewise.
1312         * intl/tst-translit.sh: Likewise.
1313         * io/ftwtest-sh: Likewise.
1314         * libio/test-freopen.sh: Likewise.
1315         * locale/gen-translit.pl: Likewise.
1316         * malloc/tst-mtrace.sh: Likewise.
1317         * manual/check-safety.sh: Likewise.
1318         * manual/libc-texinfo.sh: Likewise.
1319         * manual/tsort.awk: Likewise.
1320         * manual/xtract-typefun.awk: Likewise.
1321         * nptl/tst-cancel-wrappers.sh: Likewise.
1322         * nptl/tst-tls6.sh: Likewise.
1323         * posix/globtest.sh: Likewise.
1324         * posix/tst-getconf.sh: Likewise.
1325         * posix/wordexp-tst.sh: Likewise.
1326         * scripts/check-c++-types.sh: Likewise.
1327         * scripts/check-local-headers.sh: Likewise.
1328         * scripts/config.guess: Likewise.
1329         * scripts/config.sub: Likewise.
1330         * scripts/cpp: Likewise.
1331         * scripts/cross-test-ssh.sh: Likewise.
1332         * scripts/documented.sh: Likewise.
1333         * scripts/evaluate-test.sh: Likewise.
1334         * scripts/gen-libc-abis: Likewise.
1335         * scripts/gen-sorted.awk: Likewise.
1336         * scripts/list-fixed-bugs.py: Likewise.
1337         * scripts/merge-test-results.sh: Likewise.
1338         * scripts/mkinstalldirs: Likewise.
1339         * scripts/rellns-sh: Likewise.
1340         * scripts/test-installation.pl: Likewise.
1341         * scripts/update-copyrights: Likewise.
1342         * stdio-common/tst-printf.sh: Likewise.
1343         * stdio-common/tst-unbputc.sh: Likewise.
1344         * stdlib/tst-fmtmsg.sh: Likewise.
1345         * stdlib/tst-setcontext3.sh: Likewise.
1346         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1347         * sysdeps/unix/make-syscalls.sh: Likewise.
1349 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1351         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1352         asm stw with atomic_exchange_rel.  Add explanatory comment.
1353         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1354         Likewise.
1356 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1358         [BZ #19122]
1359         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1360         * sysdeps/generic/dl-unistd.h: New file.
1361         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1363 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1365          [BZ #19122]
1366          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1367          * sysdeps/generic/dl-mman.h: New file.
1368          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1370 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1372         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1373         trailing whitespace removed.
1374         * scripts/config.guess: Update to version 2016-01-01.
1375         * scripts/config.sub: Update to version 2016-01-01.
1376         * scripts/move-if-change: Update from gnulib.
1378 2016-01-04  Anton Blanchard  <anton@samba.org>
1380         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1381         for array indices.
1382         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1384 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1386         * NEWS: Update copyright dates.
1387         * catgets/gencat.c (print_version): Likewise.
1388         * csu/version.c (banner): Likewise.
1389         * debug/catchsegv.sh: Likewise.
1390         * debug/pcprofiledump.c (print_version): Likewise.
1391         * debug/xtrace.sh (do_version): Likewise.
1392         * elf/ldconfig.c (print_version): Likewise.
1393         * elf/ldd.bash.in: Likewise.
1394         * elf/pldd.c (print_version): Likewise.
1395         * elf/sotruss.sh: Likewise.
1396         * elf/sprof.c (print_version): Likewise.
1397         * iconv/iconv_prog.c (print_version): Likewise.
1398         * iconv/iconvconfig.c (print_version): Likewise.
1399         * locale/programs/locale.c (print_version): Likewise.
1400         * locale/programs/localedef.c (print_version): Likewise.
1401         * login/programs/pt_chown.c (print_version): Likewise.
1402         * malloc/memusage.sh (do_version): Likewise.
1403         * malloc/memusagestat.c (print_version): Likewise.
1404         * malloc/mtrace.pl: Likewise.
1405         * manual/libc.texinfo: Likewise.
1406         * nptl/version.c (banner): Likewise.
1407         * nscd/nscd.c (print_version): Likewise.
1408         * nss/getent.c (print_version): Likewise.
1409         * nss/makedb.c (print_version): Likewise.
1410         * posix/getconf.c (main): Likewise.
1411         * scripts/test-installation.pl: Likewise.
1412         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1414         * All files with FSF copyright notices: Update copyright dates
1415         using scripts/update-copyrights.
1416         * intl/plural.c: Regenerated.
1417         * locale/programs/charmap-kw.h: Likewise.
1418         * locale/programs/locfile-kw.h: Likewise.
1420 2016-01-02  Helge Deller  <deller@gmx.de>
1422         [BZ #19285]
1423         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1424         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1425         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1426         (MADV_xxK_PAGES): Remove.
1428 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1430         [BZ #15421]
1431         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1432         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1433         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1434         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1436 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1438         [BZ #19408]
1439         * sysdeps/unix/sysv/linux/personality.c: New file.
1440         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1441         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1442         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1443         (sysdep_routines): Add personality.
1444         (tests): Add tst-personality.
1445         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1447         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1448         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1449         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1450         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1451         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1452         Likewise.
1453         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1454         Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1456         Likewise.
1457         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1458         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1459         Likewise.
1461 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1463         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1464         (PATH_ARM_SYSTYPE): Remove.
1465         (PATH_CPUINFO): Likewise.
1466         (IO_BASE_FOOTBRIDGE): Likewise.
1467         (IO_SHIFT_FOOTBRIDGE): Likewise.
1468         (struct platform): Likewise.
1469         (init_iosys): Remove compatibility code for 2.4 kernels.
1470         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1472 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1474         * malloc/tst-malloc-thread-fail.c: New file.
1475         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1476         (tst-malloc-thread-fail): Link against libpthread.
1478 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1480         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1481         (get_parser): New function.
1482         (main): New function.
1484 2015-12-29  Rob Wu  <rob@robwu.nl>
1486         [BZ #19369]
1487         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1489 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1491         [BZ #19270]
1492         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1494 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1496         [BZ #15421]
1497         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1499 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1501         [BZ #13690]
1502         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1503         after releasing it.
1504         (__lll_robust_unlock): Likewise.
1505         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1507         (lll_robust_unlock): Likewise.
1508         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1509         Prevent warnings in callers.
1511 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1513         * malloc/arena.c (list_lock): Update comment.
1515 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1517         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1518         __parse_hwcap_and_convert_at_platform to libc.a.
1520 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1522         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1523         platform and feature support for POWER9.
1524         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1525         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1526         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1527         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1528         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1529         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1530         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1531         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1533 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1535         Harmonize generic stdio-lock support with nptl
1537         This fixes build when _IO_funlockfile is a macro, fixes build where
1538         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1539         stack unwind.
1541         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1542         _IO_release_lock ): Use cleanup attribute on new
1543         _IO_acquire_lock_file variable instead of assuming that
1544         _IO_release_lock will be called.
1545         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1546         _IO_acquire_lock_needs_exceptions_enabled.
1547         (_IO_acquire_lock_clear_flags2): New macro.
1549 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1551         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1553 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1555         [BZ #19182]
1556         * malloc/arena.c (list_lock): Document lock ordering requirements.
1557         (free_list_lock): New lock.
1558         (ptmalloc_lock_all): Comment on free_list_lock.
1559         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1560         (detach_arena): Update comment.  free_list_lock is now needed.
1561         (_int_new_arena): Use free_list_lock around detach_arena call.
1562         Acquire arena lock after list_lock.  Add comment, including FIXME
1563         about incorrect synchronization.
1564         (get_free_list): Switch to free_list_lock.
1565         (reused_arena): Acquire free_list_lock around detach_arena call
1566         and attached threads counter update.  Add two FIXMEs about
1567         incorrect synchronization.
1568         (arena_thread_freeres): Switch to free_list_lock.
1569         * malloc/malloc.c (struct malloc_state): Update comments to
1570         mention free_list_lock.
1572 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1574         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1575         Remove functions.
1576         (sloww, sloww1): Accept argument to offset quadrant.
1577         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1578         quadrant.
1579         (__sin, __cos): Consolidate common code into new functions.
1580         (reduce_sincos_1, do_sincos_1): New functions.
1581         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1584         code to new functions.
1585         (reduce_sincos_2, do_sincos_2): New functions.
1586         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1589         common code for sincos.
1590         (__cos) [!IN_SINCOS]: Likewise.
1591         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1592         New function.
1593         (__sincos): Use it.
1595 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1597         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1598         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1599         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1601 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1603         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1606         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1608         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1609         index_Prefer_No_VZEROUPPER): New feature.
1610         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1611         Prefer_No_VZEROUPPER for Knights Landing.
1613 015-12-18  Torvald Riegel  <triegel@redhat.com>
1615         * math/atest-exp2.c (mp_exp_m1): Remove.
1617 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1619         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1620         syscalls.
1621         (__SYSCALL0): New macro.
1622         (__SYSCALL1): Likewise.
1623         (__SYSCALL2): Likewise.
1624         (__SYSCALL3): Likewise.
1625         (__SYSCALL4): Likewise.
1626         (__SYSCALL5): Likewise.
1627         (__SYSCALL6): Likewise.
1628         (__SYSCALL_CONCAT_X): Likewise.
1629         (__SYSCALL_CONCAT): Likewise.
1630         (__SYSCALL_DIST): Likewise.
1631         (__SYSCALL_CALL): Likewise.
1633 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1635         [BZ #19363]
1636         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1638 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1640         [BZ #19375]
1641         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1642         negative subnormals.
1644 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1647         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1648         (INTERNAL_SYSCALL_NCS): Use it.
1649         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1651 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1653         [BZ #19243]
1654         * malloc/arena.c (get_free_list): Remove assert and adjust
1655         reference count handling.  Add comment about reused_arena
1656         interaction.
1657         (reused_arena): Add comments abount get_free_list interaction.
1658         * malloc/tst-malloc-thread-exit.c: New file.
1659         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1660         (tst-malloc-thread-exit): Link against libpthread.
1662 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1664         [BZ #19367]
1665         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1666         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1667         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1668         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1669         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1671 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1673         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1674         Silvermont optimizations for Knights Landing.
1676 2015-12-15  Andreas Schwab  <schwab@suse.de>
1678         [BZ #17197]
1679         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1680         immediately after emitting SI.
1681         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1682         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1683         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1684         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1685         * iconvdata/bug-iconv10.c: New file.
1686         * iconvdata/Makefile (tests): Add bug-iconv10.
1687         ($(objpfx)bug-iconv10.out): New rule.
1689 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1691         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1692         aliasing violation.
1694 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1696         [BZ #18472]
1697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1698         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1699         conditionals for them.
1700         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1701         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1703         sys/kdaemon.h.
1704         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1705         compat-only syscall, obsoleted in glibc 2.23.
1706         (create_module): Likewise.
1707         (get_kernel_syms): Likewise.
1708         (query_module): Likewise.
1709         (uselib): Likewise.
1710         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1712 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1714         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1715         <linux/version.h>.
1716         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1717         conditional code.
1718         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1719         and ioshift_name initialization.
1721 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1724         Fix indentation.
1726 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1728         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1730 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1732         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1734 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1735             Jakub Wilk  <jwilk@debian.org>
1737         [BZ #19347]
1738         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1739         to change the group of the device to the tty group.
1741 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1743         Split large string section; add truncation advice
1744         * manual/examples/strncat.c: Remove.
1745         This example was misleading, as the code would have undefined
1746         behavior if "hello" was longer than SIZE.  Anyway, the manual
1747         shouldn't encourage strncpy+strncat for this sort of thing.
1748         * manual/string.texi (Copying Strings and Arrays): Split into
1749         three sections Copying Strings and Arrays, Concatenating Strings,
1750         and Truncating Strings, as this section was way too long.  All
1751         cross-referenced changed.  Add advice about string-truncation
1752         functions.  Remove misleading strncat example.
1754 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1756         * manual/nss.texi (NSS Modules Interface): Document
1757         NSS_STATUS_NOTFOUND and SUCCESS.
1759 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1761         [BZ 18568]
1762         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1763         201505L, for Unicode 8.
1765 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1767         * locale/C-translit.h: Regenerate.
1769 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1771         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1772         and U+0153.
1774 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1776         [BZ #19351]
1777         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1778         expanding log(1+z), compare z rather than its square with epsilon
1779         to determine when to avoid evaluating the expansion.
1781         [BZ #19350]
1782         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1783         Increase overflow threshold.
1785         [BZ #19349]
1786         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1787         when small.
1789         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1791         New macro.
1792         [__LINUX_KERNEL_VERSION >= 0x040300]
1793         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1795         Likewise.
1796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1797         Likewise.
1798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1799         Likewise.
1800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1801         Likewise.
1802         [__LINUX_KERNEL_VERSION >= 0x040300]
1803         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1804         [__LINUX_KERNEL_VERSION >= 0x040300]
1805         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1806         [__LINUX_KERNEL_VERSION >= 0x040300]
1807         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1808         [__LINUX_KERNEL_VERSION >= 0x040300]
1809         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1810         [__LINUX_KERNEL_VERSION >= 0x040300]
1811         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1813         Likewise.
1814         [__LINUX_KERNEL_VERSION >= 0x040300]
1815         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1817         Likewise.
1818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1819         Likewise.
1820         [__LINUX_KERNEL_VERSION >= 0x040300]
1821         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1822         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1823         Likewise.
1824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1828         Likewise.
1829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1830         Likewise.
1831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1832         Likewise.
1833         [__LINUX_KERNEL_VERSION >= 0x040300]
1834         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1836         Likewise.
1837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1838         Likewise.
1839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1840         Likewise.
1841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1842         Likewise.
1843         [__LINUX_KERNEL_VERSION >= 0x040300]
1844         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1845         [__LINUX_KERNEL_VERSION >= 0x040300]
1846         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1847         [__LINUX_KERNEL_VERSION >= 0x040300]
1848         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1849         [__LINUX_KERNEL_VERSION >= 0x040300]
1850         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1851         [__LINUX_KERNEL_VERSION >= 0x040300]
1852         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1854         Likewise.
1855         [__LINUX_KERNEL_VERSION >= 0x040300]
1856         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1858         Likewise.
1859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1860         Likewise.
1861         [__LINUX_KERNEL_VERSION >= 0x040300]
1862         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1864         Likewise.
1865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1868         (__ASSUME_SOCKET_SYSCALL): Likewise.
1869         (__ASSUME_BIND_SYSCALL): Likewise.
1870         (__ASSUME_CONNECT_SYSCALL): Likewise.
1871         (__ASSUME_LISTEN_SYSCALL): Likewise.
1872         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1873         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1874         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1875         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1876         (__ASSUME_SEND_SYSCALL): Likewise.
1877         (__ASSUME_SENDTO_SYSCALL): Likewise.
1878         (__ASSUME_RECV_SYSCALL): Likewise.
1879         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1880         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1881         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1882         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1883         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1884         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1885         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1886         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1887         Likewise.
1888         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1889         Likewise.
1890         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1891         Likewise.
1892         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1893         Likewise.
1894         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1895         Likewise.
1896         [__LINUX_KERNEL_VERSION >= 0x020625]
1897         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1898         [__LINUX_KERNEL_VERSION >= 0x020625]
1899         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1900         [__LINUX_KERNEL_VERSION >= 0x020625]
1901         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1902         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1903         Likewise.
1904         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1905         Likewise.
1906         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1907         Likewise.
1908         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1909         Likewise.
1910         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1911         Likewise.
1912         [__LINUX_KERNEL_VERSION >= 0x020625]
1913         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1914         [__LINUX_KERNEL_VERSION >= 0x020625]
1915         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1916         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1917         Likewise.
1918         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1919         Likewise.
1921 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1923         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1924         record the current if the current ABI and CPU support the FP64
1925         extension.
1926         (has-modd-spreg): Define to record the current if the current ABI and
1927         CPU support 32-bit floating point values in odd FPU registers.
1928         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1929         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1930         $(has-modd-spreg) equals yes.
1931         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1932         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1933         $(has-modd-spreg) equal yes.
1935 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1937         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1938         basename.
1940 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1942         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1943         (bench-string): ... here.
1944         (bench): Add bench-string.
1945         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1946         to *-benchset to reflect what they are.
1947         (benchset): Adjust.
1949         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1950         cos-inputs.
1952 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1954         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1955         __attribute__ ((__simd__)) for vector math function declarations.
1957 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1959         Fix typo in strncat, wcsncat manual entries
1960         * manual/string.texi (Copying and Concatenation): Fix typos in
1961         sample implementations of strncat and wcsncat, by having them use
1962         the old value of the destination length, not the new one.
1964 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #16961]
1967         [BZ #16962]
1968         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1969         string on the stack for strtod.
1970         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1971         a string on the stack for strtof.
1972         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1973         constructing a string on the stack for strtold.
1974         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1975         __strtold_nan to GLIBC_PRIVATE.
1976         * math/test-nan-overflow.c: New file.
1977         * math/test-nan-payload.c: Likewise.
1978         * math/Makefile (tests): Add test-nan-overflow and
1979         test-nan-payload.
1981 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1983         Consistency about byte vs character in string.texi
1984         * manual/string.texi (String and Array Utilities):
1985         Distinguish more carefully among bytes, multibyte characters,
1986         and wide characters.  Use "byte" when talking about C 'char',
1987         to distinguish it more clearly from multibyte characters.
1988         Say "wide character" or "multibyte character" instead of
1989         "character", when a wide or multibyte character is intended.
1990         Similarly for "multibyte string" versus "string".
1991         Define these terms more carefully.
1993 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1995         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1996         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1997         Likewise.
1998         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1999         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2000         * sysdeps/sh/math_private.h: New file.
2001         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2002         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2003         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2004         long double function name.
2005         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2007         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2011         Remove __finitel, __isinfl, and __isnanl.
2012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2016         Remove __finitel.
2017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2021 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2023         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2024         installed libmvec_nonshared.a.
2026 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2028         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2029         (sysdep_routines): Likewise.
2030         (sysdep-rtld-routines): Likewise.
2031         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2032         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2033         * sysdeps/powerpc/Versions: Added new
2034         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2035         * sysdeps/powerpc/hwcapinfo.c: New file.
2036         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2037         and parse hwcap, hwcap2 and platform number information.
2038         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2039         to store HWCAP+HWCAP2 and platform number.
2040         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2041         for HWCAP+HWCAP2 and platform number in the TCB.
2042         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2043         the HWCAP, HWCAP2 and platform number in the TCB.
2044         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2045         (TLS_INIT_TP): Included calls to add the hwcap and
2046         at_platform values in the TCB in TP initialization.
2047         (TLS_DEFINE_INIT_TP): Likewise.
2048         (THREAD_GET_HWCAP): New macro.
2049         (THREAD_SET_HWCAP): Likewise.
2050         (THREAD_GET_AT_PLATFORM): Likewise.
2051         (THREAD_SET_AT_PLATFORM): Likewise.
2052         * sysdeps/powerpc/powerpc32/dl-machine.h:
2053         (dl_platform_init): New function that calls
2054         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2055         powerpc32.
2056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2057         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2058         this functionality, static linking case.
2059         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2060         linking case.
2061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2062         __parse_hwcap_and_convert_at_platform for the static linking case.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2064         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2065         ABI list for GLIBC 2.23.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2067         Likewise.
2068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2069         Likewise.
2071 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2073         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2074         * configure: Regenerate.
2075         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2076         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2078 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2080         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2081         * iconvdata/ibm933.c: Likewise.
2082         * iconvdata/ibm935.c: Likewise.
2083         * iconvdata/ibm937.c: Likewise.
2084         * iconvdata/ibm939.c: Likewise.
2086 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2088         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2089         pthread_join.
2090         * nptl/tst-cancel21.c (tf): Likewise.
2092 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2094         [BZ #19313]
2095         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2096         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2097         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2098         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2105         Likewise.
2106         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2107         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2108         unsigned long int with __CPU_MASK_TYPE.
2110 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2112         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2114 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2116         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2117         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2118         t512.x.
2119         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2121 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2123         [BZ #19214]
2124         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2125         argument to return extended model.  Update family and model
2126         with extended family and model when family == 0x0f.
2127         (init_cpu_features): Updated.
2129 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2131         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2132         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2134         * sysdeps/mach/hurd/mmap64.c: New file.
2136 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2138         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2139         rights for its main user thread in NEWTASK.
2141 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2143         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2144         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2146 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2148         [BZ #14259]
2149         * Makeconfig: Rename localedir to complocaledir.
2150         Rename inst_localedir to inst_complocaledir.
2151         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2152         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2153         * configure.ac: Use libc_cv_complocaledir.
2154         * configure: Regenerate.
2155         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2156         -DCOMPLOCALEDIR.
2157         * locale/findlocale.c: Use COMPLOCALEDIR.
2158         * locale/loadarchive.c: Likewise.
2159         * locale/programs/locale.c: Likewise.
2160         * locale/programs/localedef.c: Likewise.
2161         * locale/programs/locarchive.c: Likewise.
2162         * localedata/Makefile: Use inst_complocaledir.
2163         * sysdeps/gnu/configure: Regenerate.
2164         * sysdeps/hppa/configure: Regenerate.
2165         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2166         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2168         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2169         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2170         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2171         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2173 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2175         [BZ #19058]
2176         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2177         AS_NEEDED.
2178         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2179         workaround.
2180         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2181         libmvec-static-only-routines): Added new file.
2182         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2184 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2186         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2187         of interrupted RPC instead of restoring it.
2189         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2190         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2191         libc_hidden_def.
2192         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2193         into initialized data instead of common. Define rtld_hidden_data_def.
2194         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2195         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2196         libc_hidden_def.
2197         (if_freenameindex): Add libc_hidden_weak.
2198         (if_nameindex): Add libc_hidden_weak.
2199         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2200         __open64.
2201         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2202         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2203         * sysdeps/mach/nanosleep.c: Include <time.h>
2204         (__nanosleep): Rename to __libc_nanosleep.
2205         (__nanosleep): Add weak_alias.
2206         (nanosleep): Update alias.
2208 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2210         * stdlib/strtod_nan.c: New file.
2211         * stdlib/strtod_nan_double.h: Likewise.
2212         * stdlib/strtod_nan_float.h: Likewise.
2213         * stdlib/strtod_nan_main.c: Likewise.
2214         * stdlib/strtod_nan_narrow.h: Likewise.
2215         * stdlib/strtod_nan_wide.h: Likewise.
2216         * stdlib/strtof_nan.c: Likewise.
2217         * stdlib/strtold_nan.c: Likewise.
2218         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2219         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2220         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2221         * wcsmbs/wcstod_nan.c: Likewise.
2222         * wcsmbs/wcstof_nan.c: Likewise.
2223         * wcsmbs/wcstold_nan.c: Likewise.
2224         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2225         strtold_nan.
2226         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2227         wcstof_nan.
2228         * include/stdlib.h (__strtof_nan): Declare and use
2229         libc_hidden_proto.
2230         (__strtod_nan): Likewise.
2231         (__strtold_nan): Likewise.
2232         (__wcstof_nan): Likewise.
2233         (__wcstod_nan): Likewise.
2234         (__wcstold_nan): Likewise.
2235         * include/wchar.h (____wcstoull_l_internal): Declare.
2236         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2237         (____strtoull_l_internal): Remove declaration.
2238         (STRTOF_NAN): Define macro.
2239         (SET_MANTISSA): Remove macro.
2240         (STRTOULL): Likewise.
2241         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2242         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2243         (STRTOF_NAN): Define macro.
2244         (SET_MANTISSA): Remove macro.
2245         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2246         (SET_MANTISSA): Remove macro.
2247         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2248         macro.
2249         (SET_MANTISSA): Remove macro.
2250         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2251         macro.
2252         (SET_MANTISSA): Remove macro.
2253         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2254         (SET_MANTISSA): Remove macro.
2255         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2256         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2257         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2259         [BZ #19266]
2260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2261         upper case and lower case letters inside NAN(), not using TOLOWER.
2262         * stdlib/tst-strtod-nan-locale-main.c: New file.
2263         * stdlib/tst-strtod-nan-locale.c: Likewise.
2264         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2265         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2266         Depend on $(gen-locales).
2267         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2268         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2269         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2270         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2271         Depend on $(gen-locales).
2272         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2274 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2276         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2278         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2280         __finitel, __isinfl, and __isnanl.
2281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2285         __finitel.
2286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2290 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2292         * malloc/memusage.c (me): Remove redundant getenv call.
2294 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2296         [BZ #19143]
2297         [BZ #19164]
2298         * nptl/check-cpuset.h: Remove.
2299         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2300         Remove CPU set size check.
2301         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2302         Likewise.
2303         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2304         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2305         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2306         (__pthread_setaffinity_new): Remove CPU set size check.
2307         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2308         (__kernel_cpumask_size): Remove.
2309         (__sched_setaffinity_new): Remove CPU set size check.
2310         * manual/threads.texi (Default Thread Attributes): Remove stale
2311         reference to check_cpuset_attr, determine_cpumask_size in comment.
2312         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2313         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2314         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2315         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2316         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2317         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2318         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2319         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2320         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2321         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2322         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2323         skeleton test file.
2324         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2325         tst-affinity-pid.
2327 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2329         * scripts/update-abilist.sh: New file.
2330         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2331         * Makerules (update-all-abi-%, update-all-abi)
2332         (subdir_update-all-abi): New targets.
2333         * elf/Makefile (update-all-abi): New target.
2335 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2337         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2338         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2339         (__libc_lock_define_initialized): Use it.
2340         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2341         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2342         * malloc/malloc.c (main_arena): Likewise.
2343         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2344         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2346 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2348         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2349         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2350         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2351         (PTRACE_O_MASK): Update value.
2352         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2353         New value in enum __ptrace_setoptions.
2354         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2355         (PTRACE_O_MASK): Update value.
2356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2357         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2358         (PTRACE_O_MASK): Update value.
2359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2360         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2361         (PTRACE_O_MASK): Update value.
2362         * sysdeps/unix/sysv/linux/sparc/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/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2366         New value in enum __ptrace_setoptions.
2367         (PTRACE_O_MASK): Update value.
2368         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2369         New value in enum __ptrace_setoptions.
2370         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2371         (PTRACE_O_MASK): Update value.
2373         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2374         New macro.
2375         (PACKET_AUXDATA): Likewise.
2376         (PACKET_ORIGDEV): Likewise.
2377         (PACKET_VERSION): Likewise.
2378         (PACKET_HDRLEN): Likewise.
2379         (PACKET_RESERVE): Likewise.
2380         (PACKET_TX_RING): Likewise.
2381         (PACKET_LOSS): Likewise.
2382         (PACKET_VNET_HDR): Likewise.
2383         (PACKET_TX_TIMESTAMP): Likewise.
2384         (PACKET_TIMESTAMP): Likewise.
2385         (PACKET_FANOUT): Likewise.
2386         (PACKET_TX_HAS_OFF): Likewise.
2387         (PACKET_QDISC_BYPASS): Likewise.
2388         (PACKET_ROLLOVER_STATS): Likewise.
2389         (PACKET_FANOUT_DATA): Likewise.
2390         (PACKET_MR_UNICAST): Likewise.
2392         [BZ #19242]
2393         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2394         (TOUPPER): Likewise.
2395         * stdlib/tst-strtol-locale-main.c: New file.
2396         * stdlib/tst-strtol-locale.c: Likewise.
2397         * stdlib/Makefile (tests): Add tst-strtol-locale.
2398         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2399         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2400         Depend on $(gen-locales).
2401         * wcsmbs/tst-wcstol-locale.c: New file.
2402         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2403         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2404         tr_TR.ISO-8859-9.
2405         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2406         Depend on $(gen-locales).
2408 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2410         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2411         __glibc_likely instead of __builtin_expect.  After falling back to
2412         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2413         system interface to register the code pages as occupied.
2415 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2417         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2418         [!ARM_MATH_PRIVATE_H].
2419         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2420         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2421         [!HPPA_MATH_PRIVATE_H].
2422         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2423         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2424         to [!I386_MATH_PRIVATE_H].
2425         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2426         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2427         Change guard to [!M68K_MATH_PRIVATE_H].
2428         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2429         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2430         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2431         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2432         macro.
2433         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2434         [!MIPS_MATH_PRIVATE_H].
2435         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2436         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2437         [!NIO2_MATH_PRIVATE_H].
2438         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2439         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2440         [!TILE_MATH_PRIVATE_H].
2441         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2443         [BZ #15421]
2444         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2445         initialize with 0 and define as weak alias of __signgam.
2446         * include/math.h [!_ISOMAC] (__signgam): Declare.
2447         * math/Makefile (libm-calls): Add w_lgamma_compat.
2448         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2449         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2450         test-signgam-ullong-init.
2451         (tests-static): Add test-signgam-uchar-static,
2452         test-signgam-uchar-init-static, test-signgam-uint-static,
2453         test-signgam-uint-init-static, test-signgam-ullong-static and
2454         test-signgam-ullong-init-static.
2455         (CFLAGS-test-signgam-uchar.c): New variable.
2456         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2457         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2458         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2459         (CFLAGS-test-signgam-uint.c): Likewise.
2460         (CFLAGS-test-signgam-uint-init.c): Likewise.
2461         (CFLAGS-test-signgam-uint-static.c): Likewise.
2462         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2463         (CFLAGS-test-signgam-ullong.c): Likewise.
2464         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2465         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2466         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2467         * math/Versions (libm): Add GLIBC_2.23.
2468         * math/lgamma-compat.h: New file.
2469         * math/test-signgam-main.c: Likewise.
2470         * math/test-signgam-uchar-init-static.c: Likewise.
2471         * math/test-signgam-uchar-init.c: Likewise.
2472         * math/test-signgam-uchar-static.c: Likewise.
2473         * math/test-signgam-uchar.c: Likewise.
2474         * math/test-signgam-uint-init-static.c: Likewise.
2475         * math/test-signgam-uint-init.c: Likewise.
2476         * math/test-signgam-uint-static.c: Likewise.
2477         * math/test-signgam-uint.c: Likewise.
2478         * math/test-signgam-ullong-init-static.c: Likewise.
2479         * math/test-signgam-ullong-init.c: Likewise.
2480         * math/test-signgam-ullong-static.c: Likewise.
2481         * math/test-signgam-ullong.c: Likewise.
2482         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2483         wrapper of w_lgamma_main.c.
2484         * math/w_lgamma_compat.c: New file.
2485         * math/w_lgamma_compatf.c: Likewise.
2486         * math/w_lgamma_compatl.c: Likewise.
2487         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2488         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2489         defining compatibility symbols.
2490         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2491         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2492         wrapper of w_lgammaf_main.c.
2493         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2494         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2495         defining compatibility symbols.
2496         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2497         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2498         wrapper of w_lgammal_main.c.
2499         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2500         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2501         defining compatibility symbols.
2502         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2503         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2504         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2505         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2506         <lgamma-compat.h>.
2507         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2508         (__ieee754_gamma): Define as alias.
2509         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2510         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2511         <lgamma-compat.h>.
2512         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2513         (__ieee754_gammaf): Define as alias.
2514         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2515         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2516         <lgamma-compat.h>.
2517         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2518         (__ieee754_gammal): Define as alias.
2519         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2520         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2521         <math/w_lgamma_compat.c>.
2522         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2523         Define as alias of __lgamma_compat and use in defining lgammal.
2524         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2525         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2526         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2527         (USE_AS_COMPAT): New macro.
2528         (LGAMMA_OLD_VER): Undefine and redefine.
2529         (lgammal): Do not define here.
2530         (gammal): Only define here if [GAMMA_ALIAS].
2531         * conform/linknamespace.pl (@whitelist): Remove signgam.
2532         * sysdeps/nacl/libm.abilist: Update.
2533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2546         Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2548         Likewise.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2550         Likewise.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2552         Likewise.
2553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2559         Likewise.
2560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2561         Likewise.
2562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2566 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2568         [BZ #16364]
2569         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2570         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2572 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2574         * sysdeps/s390/fpu/bits/mathinline.h:
2575         Use __asm__ [__volatile__] instead of asm [volatile].
2576         * sysdeps/s390/abort-instr.h: Likewise.
2577         * sysdeps/s390/atomic-machine.h: Likewise.
2578         * sysdeps/s390/bits/string.h: Likewise.
2579         * sysdeps/s390/dl-tls.h: Likewise.
2580         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2581         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2582         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2583         * sysdeps/s390/fpu/fesetround.c: Likewise.
2584         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2585         * sysdeps/s390/fpu/s_fma.c: Likewise.
2586         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2587         * sysdeps/s390/memusage.h: Likewise.
2588         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2589         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2590         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2591         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2592         * sysdeps/s390/nptl/tls.h: Likewise.
2593         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2594         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2595         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2596         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2597         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2598         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2599         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2600         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2601         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2602         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2603         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2604         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2605         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2606         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2607         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2608         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2609         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2610         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2611         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2613         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2615         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2617 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2618             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2620         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2621         Add lwarx hint, and use macro for acquire instruction.
2622         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2623         Likewise.
2624         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2625         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2626         update to use new atomic macros.
2628 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2630         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2631         (__lll_trylock_elision): Fix setting of adapt_count.
2632         * sysdeps/unix/sysv/linux/powerpc/htm.h
2633         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2634         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2635         (_ABORT_SYSCALL): Renumber, and clarify definition.
2636         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2638 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2640         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2641         after system headers to prevent MIN/MAX redefinition.  Define
2642         HAVE_ALLOCA to preserve builtin alloca usage.
2644 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2647         static and don't set or restore rounding.
2648         (__cos)[IN_SINCOS]: Likewise.
2649         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2650         (__sincos): Set and restore rounding mode.  Remove check for infinite
2651         or NaN input.
2653         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2655         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2656         as used.
2658 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2660         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2662 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2664         * config.make.in (have-glob-dat-reloc): New.
2665         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2666         target supports GLOB_DAT relocaton. AC_SUBST.
2667         * configure: Regenerated.
2668         * elf/Makefile (tests): Add tst-prelink.
2669         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2670         (tst-prelink-ENV): New.
2671         ($(objpfx)tst-prelink-conflict.out): Likewise.
2672         ($(objpfx)tst-prelink-cmp.out): Likewise.
2673         * sysdeps/x86/tst-prelink.c: Moved to ...
2674         * elf/tst-prelink.c: Here.
2675         * sysdeps/x86/tst-prelink.exp: Moved to ...
2676         * elf/tst-prelink.exp: Here.
2677         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2678         (tst-prelink-ENV): Removed.
2679         ($(objpfx)tst-prelink-conflict.out): Likewise.
2680         ($(objpfx)tst-prelink-cmp.out): Likewise.
2681         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2683 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2685         [BZ #14551]
2686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2687         (__mpn_construct_long_double): If high part overflows to infinity,
2688         set errno and recompute overflowed result of the correct sign.
2689         * sysdeps/ieee754/ldbl-128ibm/Makefile
2690         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2691         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2692         $(libm).
2693         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2695 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2697         [BZ #15479]
2698         [BZ #19238]
2699         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2700         floating-point state after first operation on input.  Restore full
2701         state rather than just rounding mode.
2702         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2703         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2704         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2706         [BZ #19235]
2707         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2708         add 0.5 to integer arguments.
2709         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2710         Likewise.
2711         (.LC2): New object.
2713 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2715         * scripts/pylintrc (reports): Set to no.
2717 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2719         * elf/dl-load.c (open_verify): Take new argument FD.
2720         Skip __open call if passed FD is not -1.
2721         (_dl_map_object, open_path): Update callers.
2722         * elf/dl-sysdep-open.h: New file.
2723         * elf/dl-load.c: Include it.
2724         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2725         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2726         * sysdeps/nacl/dl-sysdep-open.h: New file.
2727         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2728         from libc to rtld.
2730 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2732         [BZ #19228]
2733         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2734         and restore full floating-point state.
2735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2736         Likewise.
2737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2738         Likewise.
2739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2740         Likewise.
2741         * math/test-nearbyint-except-2.c: New file.
2742         * math/Makefile (tests): Add test-nearbyint-except-2.
2744 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2746         [BZ #19178]
2747         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2748         (tst-prelink-ENV): New.
2749         ($(objpfx)tst-prelink-conflict.out): Likewise.
2750         ($(objpfx)tst-prelink-cmp.out): Likewise.
2751         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2752         * sysdeps/x86/tst-prelink.c: New file.
2753         * sysdeps/x86/tst-prelink.exp: Likewise.
2755 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2757         * math/auto-libm-test-in: Add another test of pow.
2758         * math/auto-libm-test-out: Regenerated.
2759         * math/libm-test.inc (pow_test_data): Add another test.
2761 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2763         [BZ #19219]
2764         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2765         weak_alias to nearbyintl.
2767 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2769         * sysdeps/aarch64/bits/string.h: New file.
2770         (_STRING_ARCH_unaligned): Define.
2772 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2774         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2775         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2776         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2777         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2780 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2782         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2783         for original name of the DSO.  Add it to the name list of the DSO
2784         if it is actually given.
2785         (_dl_map_object): Keep track of whether an audit module rewrote
2786         the file name.  If yes, pass the original name to
2787         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2788         debugging is enabled, log the change of the file name.
2789         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2790         _dl_map_object_from_fd.
2791         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2792         * elf/tst-audit11.c: New file
2793         * elf/tst-auditmod11.c: New file.
2794         * elf/tst-audit11mod1.c: New file.
2795         * elf/tst-audit11mod2.c: New file.
2796         * elf/tst-audit11mod2.map: New file.
2797         * elf/tst-audit12.c: New file
2798         * elf/tst-auditmod12.c: New file.
2799         * elf/tst-audit12mod1.c: New file.
2800         * elf/tst-audit12mod2.c: New file.
2801         * elf/tst-audit12mod2.map: New file.
2802         * elf/tst-audit12mod3.c: New file.
2804 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2806         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2807         Don't create weak aliases,
2808         because versioned symbols are created later.
2809         * sysdeps/s390/s390-32/setjmp.S
2810         (setjmp, _setjmp): Remove weak and rename to an unique name
2811         in SHARED case due to existing versioned symbols.
2812         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2813         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2814         (getcontext): Create weak alias only in non SHARED case.
2815         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2817 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2819         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2820         (__ASSUME_*_SYSCALL) Define new macros.
2821         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2822         Remove socketcall syscalls.
2823         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2824         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2825         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2826         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2827         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2828         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2830 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2832         [BZ #12926]
2833         Terminate process on invalid netlink response.
2834         * sysdeps/unix/sysv/linux/netlinkaccess.h
2835         (__netlink_assert_response): Declare.
2836         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2837         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2838         (sysdep_routines): Add netlink_assert_response.
2839         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2840         __netlink_assert_response.
2841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2842         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2843         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2844         __netlink_assert_response.
2846 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2848         [BZ #19178]
2849         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2850         (RTYPE_CLASS_PLT): Likewise.
2851         (RTYPE_CLASS_COPY): Likewise.
2852         (RTYPE_CLASS_TLS): Likewise.
2853         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2854         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2855         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2856         DL_DEBUG_PRELINK.
2858 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2860         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2861         calls with argument -0.5.
2862         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2864         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2865         (libc_cv_z_nodlopen): Likewise.
2866         (libc_cv_z_initfirst): Likewise.
2867         * configure: Regenerated.
2869 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2871         Simplify abilist format to be line-based.
2872         * scripts/abilist.awk: Collect descriptors in the descs variable.
2873         (emit): Write descs variable and sort it
2874         externally, with sort.
2875         * sysdeps/**/*.abilist: Convert to new format.
2877 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2879         [BZ #11460]
2880         * io/Makefile (routines): Add fts64.
2881         (tests): Add tst-fts and tst-fts-lfs.
2882         (CFLAGS-fts64.c): New.
2883         * io/Versions (GLIBC_2.23): New.
2884         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2885         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2886         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2887         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2888         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2889         (FTSENT64): Likewise.
2890         (fts64_children): Likewise.
2891         (fts64_close): Likewise.
2892         (fts64_open): Likewise.
2893         (fts64_read): Likewise.
2894         (fts64_set): Likewise.
2895         * io/fts64.c: New file.
2896         * io/tst-fts.c: New test.
2897         * io/tst-fts-lfs.c: Likewise.
2898         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2899         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2900         fts64_set.
2901         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2902         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2903         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2904         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2905         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2906         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2907         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2908         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2909         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2911         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2912         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2913         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2915         Likewise.
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2917         Likewise.
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2920         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2921         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2922         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2923         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2924         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2927         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2928         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2929         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2930         * sysdeps/wordsize-64/fts.c: New file.
2931         * sysdeps/wordsize-64/fts64.c: Likewise.
2932         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2933         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2934         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2935         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2937 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2939         * math/libm-test.inc (NON_FINITE): New macro.
2940         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2941         * math/gen-libm-test.pl (show_exceptions): Add argument
2942         $non_finite.
2943         (parse_args): Update call to show_exceptions.
2944         * math/test-math-finite.h: New file.
2945         * math/test-math-no-finite.h: Likewise.
2946         * math/test-double-finite.c: Likewise.
2947         * math/test-float-finite.c: Likewise.
2948         * math/test-ldouble-finite.c: Likewise.
2949         * math/test-double.c: Include "test-math-no-finite.h".
2950         * math/test-float.c: Include "test-math-no-finite.h".
2951         * math/test-ldouble.c: Include "test-math-no-finite.h".
2952         * math/test-math-inline.h (TEST_FINITE): New macro.
2953         * math/test-math-vector.h (TEST_FINITE): Likewise.
2954         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2955         (libm-tests): Add test-float-finite and test-double-finite.
2956         ($(objpfx)test-float-finite.o): New dependency on
2957         $(objpfx)libm-test.stmp.
2958         ($(objpfx)test-double-finite.o): Likewise.
2959         ($(objpfx)test-ldouble-finite.o): Likewise.
2960         (libm-test-no-inline-cflags): New variable.
2961         (libm-test-finite-cflags): Likewise.
2962         (CFLAGS-test-float-finite.c): Likewise.
2963         (CFLAGS-test-double-finite.c): Likewise.
2964         (CFLAGS-test-ldouble-finite.c): Likewise.
2965         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2966         (CFLAGS-test-double.c): Likewise.
2967         (CFLAGS-test-ldouble.c): Likewise.
2969 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2971         * io/fcntl.c (__fcntl): Add ... to prototype.
2972         * misc/ioctl.c (__ioctl): Likewise.
2973         * misc/syscall.c (syscall): Likewise.
2975 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2977         * scripts/list-fixed-bugs.py: New file.
2979         [BZ #19213]
2980         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2981         returned for argument 1.
2982         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2983         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2984         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2985         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2986         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2987         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2989         [BZ #19211]
2990         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2991         __USE_XOPEN], not if [!__USE_ISOC99].
2992         (lgammaf): Likewise.
2993         (lgammal): Likewise.
2994         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2995         (gammaf): Likewise.
2996         (gammal): Likewise.
2997         * math/test-signgam-finite-c11.c: New file.
2998         * math/test-signgam-finite-c99.c: Likewise.
2999         * math/test-signgam-finite.c: Likewise.
3000         * math/Makefile (tests): Add test-signgam-finite,
3001         test-signgam-finite-c99 and test-signgam-finite-c11.
3002         (CFLAGS-test-signgam-finite.c): New variable.
3003         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3004         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3006         [BZ #19212]
3007         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3008         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3009         500].
3010         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3011         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3012         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3013         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3014         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3015         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3016         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3017         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3018         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3019         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3021         [BZ #19209]
3022         * math/bits/math-finite.h (ldexp): Remove declaration.
3023         (ldexpf): Likewise.
3024         (ldexpl): Likewise.
3026         [BZ #19205]
3027         * math/bits/math-finite.h (acosf): Condition declaration on
3028         [__USE_ISOC99].
3029         (acosl): Likewise.
3030         (acoshf): Likewise.
3031         (acoshl): Likewise.
3032         (asinf): Likewise.
3033         (asinl): Likewise.
3034         (atan2f): Likewise.
3035         (atan2l): Likewise.
3036         (atanhf): Likewise.
3037         (atanhl): Likewise.
3038         (coshf): Likewise.
3039         (coshl): Likewise.
3040         (expf): Likewise.
3041         (expl): Likewise.
3042         (fmodf): Likewise.
3043         (fmodl): Likewise.
3044         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3045         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3046         (j0l): Likewise.
3047         (y0f): Likewise.
3048         (y0l): Likewise.
3049         (j1f): Likewise.
3050         (j1l): Likewise.
3051         (y1f): Likewise.
3052         (y1l): Likewise.
3053         (jnf): Likewise.
3054         (jnl): Likewise.
3055         (ynf): Likewise.
3056         (ynl): Likewise.
3057         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3058         (lgammal_r): Likewise.
3059         (__lgamma_r_finite): New declaration.
3060         (__lgammaf_r_finite): Likewise.
3061         (__lgammal_r_finite): Likewise.
3062         (lgamma): Use __lgamma_r_finite.
3063         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3064         __lgammaf_r_finite.
3065         (lgammal): Condition definition on [__USE_ISOC99].  Use
3066         __lgammal_r_finite.
3067         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3068         __lgamma_r_finite.
3069         (gammaf): Condition definition on [__USE_ISOC99].  Use
3070         __lgammaf_r_finite.
3071         (gammal): Condition definition on [__USE_ISOC99].  Use
3072         __lgammal_r_finite.
3073         (logf): Condition declaration on [__USE_ISOC99].
3074         (logl): Likewise.
3075         (log10f): Likewise.
3076         (log10l): Likewise.
3077         (ldexpf): Likewise.
3078         (ldexpl): Likewise.
3079         (powf): Likewise.
3080         (powl): Likewise.
3081         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3082         __USE_ISOC99].
3083         (remainderf): Condition declaration on [__USE_ISOC99].
3084         (remainderl): Likewise.
3085         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3086         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3087         (scalbl): Likewise.
3088         (sinhf): Condition declaration on [__USE_ISOC99].
3089         (sinhl): Likewise.
3090         (sqrtf): Likewise.
3091         (sqrtl): Likewise.
3093 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3095         * sysdeps/arm/atomic-machine.h
3096         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3097         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3098         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3099         Remove conditional code.
3100         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3101         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3102         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3103         Change conditional to [__ASSEMBLER__].
3104         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3105         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3106         [!__ASSEMBLER__].
3107         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3108         code.
3109         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3110         conditional macro definitions.
3111         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3112         (__arch_compare_and_exchange_val_16_acq): Likewise.
3113         (__arch_compare_and_exchange_val_32_acq): Likewise.
3114         (atomic_exchange_and_add): Likewise.
3115         (atomic_add): Likewise.
3116         (atomic_add_negative): Likewise.
3117         (atomic_add_zero): Likewise.
3118         (atomic_bit_set): Likewise.
3119         (atomic_bit_test_set): Likewise.
3120         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3121         code unconditional.
3122         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3124         * math/test-math-errno.h: New file.
3125         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3126         empty.
3127         (TEST_ERRNO): New macro.
3128         (TEST_EXCEPTIONS): Likewise.
3129         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3130         (TEST_EXCEPTIONS): Likewise.
3131         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3132         * math/test-double.c: Include "test-math-errno.h".
3133         * math/test-float.c: Likewise.
3134         * math/test-ldouble.c: Likewise.
3135         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3136         code unconditional.
3137         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3138         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3139         unconditional.
3140         (test_errno): Only run code if TEST_ERRNO.
3141         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3143 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3145         * nptl/tst-once5.cc: Remove attribution.
3147 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3149         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3150         sqrt, tan, tanh, y0, y1 and yn.
3151         * math/auto-libm-test-out: Regenerated.
3152         * math/libm-test.inc (scalb_test_data): Add more tests.
3153         (scalbn_test_data): Likewise.
3154         (scalbln_test_data): Likewise.
3155         (signbit_test_data): Likewise.
3156         (sin_test_data): Likewise.
3157         (sincos_test_data): Likewise.
3158         (sinh_test_data): Likewise.
3159         (sqrt_test_data): Likewise.
3160         (tan_test_data): Likewise.
3161         (tanh_test_data): Likewise.
3162         (tgamma_test_data): Likewise.
3163         (y0_test_data): Likewise.
3164         (y1_test_data): Likewise.
3165         (yn_test_data): Likewise.
3166         (significand_test_data): Likewise.
3167         * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 2015-11-03  David Kastrup  <dak@gnu.org>
3171         [BZ #18604]
3172         * assert/assert.h (assert): Don't macro-expand failed assertion
3173         expression in error message.
3174         * malloc/malloc.c (assert): Likewise.
3176 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3178         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3179         test.
3180         * configure: Regenerated.
3182 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3184         * math/libm-test.inc (modf_test_data): Add more tests.
3185         (nearbyint_test_data): Likewise.
3186         (nextafter_test_data): Likewise.
3187         (nexttoward_test_data): Likewise.
3188         (pow_test_data): Likewise.
3189         (remainder_test_data): Likewise.
3190         (remquo_test_data): Likewise.
3191         (rint_test_data): Likewise.
3193         [BZ #19201]
3194         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3195         Check for zero remainder in case of large exponents and ensure
3196         correct sign of result in that case.
3197         * math/libm-test.inc (remainder_test_data): Add more tests.
3199         [BZ #6799]
3200         * math/s_nextafter.c: Include <errno.h>.
3201         (__nextafter): Set errno on overflow and underflow.
3202         * math/s_nexttowardf.c: Include <errno.h>.
3203         (__nexttowardf): Set errno on overflow and underflow.
3204         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3205         (__nextafterl): Set errno on overflow and underflow.
3206         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3207         (__nexttoward): Set errno on overflow and underflow.
3208         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3209         (__nexttowardf): Set errno on overflow and underflow.
3210         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3211         (__nextafterf): Set errno on overflow and underflow.
3212         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3213         (__nextafterl): Set errno on overflow and underflow.
3214         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3215         (__nexttoward): Set errno on overflow and underflow.
3216         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3217         (__nexttowardf): Set errno on overflow and underflow.
3218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3219         (__nextafterl): Set errno on overflow and underflow.
3220         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3221         (__nexttoward): Set errno on overflow and underflow.
3222         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3223         (__nexttowardf): Set errno on overflow and underflow.
3224         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3225         (__nexttoward): Set errno on overflow and underflow.
3226         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3227         (__nexttowardf): Set errno on overflow and underflow.
3228         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3229         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3230         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3231         (__nextafterl): Set errno on overflow and underflow.
3232         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3233         setting to be missing on overflow.  Add more tests.
3234         (nexttoward_test_data): Likewise.
3236         * configure.ac (libc_cv_initfini_array): Remove configure test.
3237         * configure: Regenerated.
3239 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #19189]
3242         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3243         non-finite argument handle arguments with negative sign.
3245         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3246         result from infinite argument.
3247         (j1_test_data): Likewise.
3248         (jn_test_data): Likewise.
3249         (y0_test_data): Likewise.
3250         (y1_test_data): Likewise.
3251         (yn_test_data): Likewise.
3253         [BZ #16171]
3254         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3255         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3256         * math/w_remainderf.c (dremf): Define as weak alias of
3257         __remainderf.
3258         * math/w_remainderl.c (dreml): Define as weak alias of
3259         __remainderl.
3260         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3261         __remainder.
3262         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3263         __remainderf.
3264         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3265         __remainderl.
3266         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3267         weak alias of remainderl.
3268         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3269         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3270         alias of __remainder.
3271         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3272         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3273         strong alias of __remainderl.
3274         (dreml): Use long_double_symbol.
3275         * math/Makefile (libm-calls): Remove w_drem.
3276         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3277         (CFLAGS-nldbl-drem.c): Remove variable.
3278         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3279         * math/w_drem.c: Remove file.
3280         * math/w_dremf.c: Likewise.
3281         * math/w_dreml.c: Likewise.
3282         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3283         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3284         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3286         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3287         * sysdeps/i386/configure: Regenerated.
3288         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3289         * sysdeps/x86_64/configure: Regenerated.
3291         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3292         test.
3293         (libc_cv_visibility_attribute): Likewise.
3294         (libc_cv_protected_data): Test unconditionally.
3295         (libc_cv_broken_visibility_attribute): Remove configure test.
3296         (libc_cv_have_sdata_section): Test unconditionally.
3297         * configure: Regenerated.
3299         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3300         * include/scratch_buffer.h: Include <stddef.h> instead of
3301         <libc-internal.h>.
3302         (struct scratch_buffer): Use max_align_t instead of
3303         libc_max_align_t.
3305 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3307         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3308         instead of extend_alloca.  Change control flow to avoid a goto.
3309         Remove assert which is trivially always true.
3311 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3313         [BZ #16068]
3314         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3315         (FE_ALL_EXCEPT_X86): New macro.
3316         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3317         FE_ALL_EXCEPT.  Ensure precision control is included in
3318         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3319         handle "denormal operand exception" and clear FZ and DAZ bits.
3320         * sysdeps/x86_64/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/fpu/test-fenv-sse-2.c: New file.
3327         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3328         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3329         test-fenv-x87 and test-fenv-sse-2.
3330         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3332         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3333         * math/test-double.h (BUILD_COMPLEX): New macro.
3334         * math/test-float.h (BUILD_COMPLEX): Likewise.
3335         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3337         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3338         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3339         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3341         instead of DBL_DENORM_MIN in comment.
3342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3343         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3344         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3345         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3347         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3349 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3351         [BZ# 19048]
3352         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3353         attached_threads member.
3354         (main_arena): Initialize attached_threads.
3355         * malloc/arena.c (list_lock): Update comment.
3356         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3357         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3358         (deattach_arena): New function.
3359         (_int_new_arena): Initialize arena reference count and deattach
3360         replaced arena.
3361         (get_free_list, reused_arena): Update reference count and deattach
3362         replaced arena.
3363         (arena_thread_freeres): Update arena reference count and only put
3364         unreferenced arenas on the free list.
3366 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3368         [BZ #19181]
3369         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3370         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3371         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3372         * math/test-fenv-clear-main.c: New file.
3373         * math/test-fenv-clear.c: Likewise.
3374         * math/Makefile (tests): Add test-fenv-clear.
3375         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3376         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3377         test-fenv-clear-sse.
3378         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3380         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3381         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3382         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3384 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3386         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3387         static libc.
3389 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3391         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3392         test.
3393         * sysdeps/i386/configure: Regenerated.
3394         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3395         test.
3396         * sysdeps/x86_64/configure: Regenerated.
3397         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3399         memset-avx2 unconditionally instead of conditionally on
3400         [$(config-cflags-avx2) = yes].
3401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3402         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3403         unconditional.
3404         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3405         * sysdeps/x86_64/multiarch/memset_chk.S
3406         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3407         to [IS_IN (libc) && SHARED].
3409 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3411         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3412         configure test.
3413         * sysdeps/arm/configure: Regenerated.
3414         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3415         Define variable if not already defined.
3417         [BZ #17404]
3418         * sysdeps/mips/atomic-machine.h
3419         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3420         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3421         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3423         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3424         unconditional.
3425         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3426         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3427         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3428         unconditional.
3429         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3430         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3431         unconditional.
3432         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3433         * stdlib/setenv.c
3434         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3435         code unconditional.
3436         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3437         Remove conditional code.
3438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3439         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3440         unconditional.
3441         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3442         code.
3443         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3444         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3445         unconditional.
3446         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3447         code.
3448         * sysdeps/ieee754/ldbl-128/k_tanl.c
3449         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3450         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3451         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3452         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3453         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3454         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3455         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3456         unconditional.
3457         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3458         code.
3459         * sysdeps/ieee754/ldbl-96/k_tanl.c
3460         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3461         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3463         * nptl/tst-initializers1-c11.c: New file.
3464         * nptl/tst-initializers1-gnu11.c: Likewise.
3465         * nptl/Makefile (tests): Add these new tests.
3466         (CFLAGS-tst-initializers1-c11.c): New variable.
3467         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3469         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3470         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3471         instead of -std=gnu99.
3472         * configure.ac (systemtap): Test with -std=gnu11 instead of
3473         -std=gnu99.
3474         * configure: Regenerated.
3475         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3476         in compilation command in comment.
3478         * sysdeps/nptl/configure.ac: Remove file.
3479         * sysdeps/nptl/configure: Remove generated file.
3480         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3481         * configure: Regenerated.
3482         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3483         * config.make.in (have-forced-unwind): Remove variable.
3484         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3485         unconditional.
3486         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3487         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3488         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3489         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3490         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3491         unconditional.
3493 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3495         [BZ #19174]
3496         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3497         .skip_lock_out_of_tbegin_retries.
3498         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3499         (__lll_lock_elision): Likewise, and respect a value of
3500         try_tbegin <= 0.
3502 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3504         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3505         statement.
3507 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3509         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3510         variable.
3511         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3512         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3514         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3515         of -std=c1x -D_ISOC11_SOURCE.
3517         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3518         * configure: Regenerated.
3519         * manual/install.texi (Tools for Compilation): Document
3520         requirement for GCC 4.7 or later.
3521         * INSTALL: Regenerated.
3523 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3525         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3526         on CNT to a conditional jump to 'puntdata'.
3528 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3530         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3531         (libc_cv_gcc_tls_model_attr): Likewise.
3532         * configure: Regenerated.
3534         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3535         * configure: Regenerated.
3536         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3538 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3540         * configure.ac (old_glibc_headers): Remove configure test.
3541         * configure: Regenerated.
3542         * config.make.in (old-glibc-headers): Remove variable.
3543         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3544         (install): Remove dependency on remove-old-headers.
3545         (headers2_0): Remove variable.
3546         (remove-old-headers): Remove rule.
3548         * configure.ac (libc_cv_dot_text): Remove configure test.
3549         (libc_cv_asm_set_directive): Use .text instead of
3550         ${libc_cv_dot_text} in configure test.
3551         * configure: Regenerated.
3553 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3555         [BZ #19168]
3556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3558 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3560         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3561         not support static linking.
3562         * configure: Regenerate.
3564 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3566         * math/libm-test.inc (check_float_internal): Do not special-case
3567         errors up to 0.5 ulp.
3569         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3570         log2.
3571         * math/auto-libm-test-out: Regenerated.
3572         * math/libm-test.inc (MAX_EXP): New macro.
3573         (ilogb_test_data): Add more tests.
3574         (isfinite_test_data): Likewise.
3575         (isgreater_test_data): Likewise.
3576         (isgreaterequal_test_data): Likewise.
3577         (isinf_test_data): Likewise.
3578         (isless_test_data): Likewise.
3579         (islessequal_test_data): Likewise.
3580         (islessgreater_test_data): Likewise.
3581         (isnan_test_data): Likewise.
3582         (isnormal_test_data): Likewise.
3583         (issignaling_test_data): Likewise.
3584         (isunordered_test_data): Likewise.
3585         (j0_test_data): Likewise.
3586         (j1_test_data): Likewise.
3587         (jn_test_data): Likewise.
3588         (lgamma_test_data): Likewise.
3589         (log_test_data): Likewise.
3590         (log10_test_data): Likewise.
3591         (log1p_test_data): Likewise.
3592         (log2_test_data): Likewise.
3593         (logb_test_data): Likewise.
3594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3596         [BZ #18611]
3597         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3598         avoid excess range and precision on underflow.
3599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3600         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3601         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3603         underflow.
3604         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3606         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3608         * math/auto-libm-test-in: Do not allow missing errno setting for
3609         tests of j1 and jn.
3610         * math/auto-libm-test-out: Regenerated.
3612 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3614         [BZ #15491]
3615         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3616         floating-point environment instead of clearing all exceptions.
3617         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3618         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3619         merging in "invalid" exceptions from frndint.
3620         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3621         * math/test-nearbyint-except.c: New file.
3622         * math/Makefile (tests): Add test-nearbyint-except.
3624 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3626         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3628         * sysdeps/tile/libm-test-ulps: Regenerated.
3630 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3633         (__NR_sync_file_range2): Assume it is always defined.
3634         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3635         (__NR_sync_file_range): Assume it is always defined.
3637 2015-10-22  Andreas Schwab  <schwab@suse.de>
3639         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3640         INTERNAL_SYSCALL_ERRNO.
3641         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3642         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3643         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3644         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3645         Likewise.
3646         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3648 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3650         * io/tst-fcntl.c (fd): New static variable.
3651         (do_prepare): Open temporary file here....
3652         (do_test): ...not here.
3654         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3656 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3658         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3659         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3660         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3661         Moved before "#ifdef __ASSEMBLER__".
3663 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #19156]
3666         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3667         arguments very close to 0.
3669 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3671         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3672         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3674 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3676         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3677         New.  Defined for GCC 5 and above when not compiling for
3678         profiling.
3679         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3681         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3682         Renamed to ...
3683         (CFLAGS-epoll_pwait.o): This.
3684         (CFLAGS-mmap.c): Renamed to ...
3685         (CFLAGS-mmap.o): This.
3686         (CFLAGS-mmap64.c): Renamed to ...
3687         (CFLAGS-mmap64.o): This.
3688         (CFLAGS-epoll_pwait.os): New.
3689         (CFLAGS-mmap.os): Likewise.
3690         (CFLAGS-mmap64.os): Likewise.
3691         (CFLAGS-semtimedop.os): Likewise.
3692         (CFLAGS-semtimedop.c): Renamed to ...
3693         (CFLAGS-semtimedop.o): This.
3695 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3697         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3698         warning message.
3700 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3702         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3703         * Makefile ($(objpfx)c++-types-check.out): Filter out
3704         $(+gccwarn-c) instead of -Wstrict-prototypes.
3706         * io/fts.c (fts_open): Convert to prototype-style function
3707         definition.
3708         * malloc/mcheck.c (mcheck): Likewise.
3709         (mcheck_pedantic): Likewise.
3710         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3711         internal_function.
3712         (re_search_internal): Likewise.
3713         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3714         prototype-style function definition.
3715         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3716         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3717         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3718         (xdr_utmpptr): Likewise.
3719         (xdr_utmparr): Likewise.
3720         (xdr_utmpidle): Likewise.
3721         (xdr_utmpidleptr): Likewise.
3722         (xdr_utmpidlearr): Likewise.
3724         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3725         log, log10 and log2.
3726         * math/auto-libm-test-out: Regenerated.
3727         * math/libm-test.inc (fmod_test_data): Add more tests.
3728         (fpclassify_test_data): Likewise.
3729         (frexp_test_data): Likewise.
3730         (hypot_test_data): Likewise.
3731         (ilogb_test_data): Likewise.
3733 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3735         * debug/fortify_fail.c (__fortify_fail): Convert to
3736         prototype-style function definition.  Use internal_function.
3737         * libio/genops.c (save_for_backup): Convert to prototype-style
3738         function definition.
3739         * libio/wgenops.c (save_for_wbackup): Likewise.
3740         * login/grantpt.c (grantpt): Likewise.
3741         * login/ptsname.c (ptsname): Likewise.
3742         (__ptsname_r): Likewise.
3743         * login/unlockpt.c (unlockpt): Likewise.
3744         * mach/msgserver.c (__mach_msg_server): Likewise.
3745         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3746         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3747         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3748         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3749         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3750         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3751         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3752         Likewise.
3753         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3754         internal_function.
3755         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3756         prototype-style function definition.
3757         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3758         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3759         (__pthread_create_2_0): Likewise.
3760         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3761         * nptl/register-atfork.c (__register_atfork): Likewise.
3762         * posix/glob.c (glob): Likewise.
3763         * posix/regcomp.c (re_comp): Likewise.
3764         * posix/regexec.c (re_exec): Likewise.
3765         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3766         [!__STDC__]: Remove conditional code.
3767         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3768         [!__STDC__]: Remove conditional code.
3769         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3770         [!__STDC__]: Remove conditional code.
3771         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3772         [!__STDC__]: Remove conditional code.
3773         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3774         [!__STDC__]: Remove conditional code.
3775         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3776         [!__STDC__]: Remove conditional code.
3777         * stdlib/mul.c [__STDC__]: Make code unconditional.
3778         [!__STDC__]: Remove conditional code.
3779         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3780         [!__STDC__]: Remove conditional code.
3781         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3782         [!__STDC__]: Remove conditional code.
3783         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3784         function definition.
3785         (STRTOF): Likewise.
3786         * stdlib/strtod_l.c (__STRTOF): Likewise.
3787         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3788         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3789         (__strtol_l): Likewise.
3790         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3791         [!__STDC__]: Remove conditional code.
3792         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3793         definition.
3794         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3795         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3796         type.
3797         (__strcasecmp): Convert to prototype-style function definition.
3798         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3799         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3800         type.
3801         (__strncasecmp): Convert to prototype-style function definition.
3802         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3803         * sunrpc/xdr.c (xdr_union): Likewise.
3804         * sunrpc/xdr_array.c (xdr_array): Likewise.
3805         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3806         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3807         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3808         Likewise.
3809         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3810         Likewise.
3811         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3812         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3813         Likewise.
3814         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3815         (LOCALE_PARAM_PROTO): Likewise.
3816         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3817         argument type.
3818         (ut_argument_spec): Remove macro.
3819         (ut_argument_spec_iso): Rename to ut_argument_spec.
3820         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3821         prototype-style function definition.
3822         (memcpy_uppcase): Likewise.
3823         (__strftime_internal): Likewise.
3824         (my_strftime): Likewise.
3825         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3826         (LOCALE_PARAM_DECL): Likewise.
3827         [_LIBC] (LOCALE_PARAM): Include argument type.
3828         (__strptime_internal): Convert to prototype-style function
3829         definition.
3830         (strptime): Likewise.
3831         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3832         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3833         type.
3834         (__wcscasecmp): Convert to prototype-style function definition.
3835         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3836         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3837         type.
3838         (__wcsncasecmp): Convert to prototype-style function definition.
3840         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3841         function definition.
3842         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3843         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3844         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3845         * elf/dl-minimal.c (_itoa): Likewise.
3846         * hurd/hurdmalloc.c (malloc): Likewise.
3847         (free): Likewise.
3848         (realloc): Likewise.
3849         * inet/inet6_option.c (inet6_option_space): Likewise.
3850         (inet6_option_init): Likewise.
3851         (inet6_option_append): Likewise.
3852         (inet6_option_alloc): Likewise.
3853         (inet6_option_next): Likewise.
3854         (inet6_option_find): Likewise.
3855         * io/ftw.c (FTW_NAME): Likewise.
3856         (NFTW_NAME): Likewise.
3857         (NFTW_NEW_NAME): Likewise.
3858         (NFTW_OLD_NAME): Likewise.
3859         * libio/iofwide.c (_IO_fwide): Likewise.
3860         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3861         (_IO_str_init_static): Likewise.
3862         (_IO_str_init_readonly): Likewise.
3863         (_IO_str_overflow): Likewise.
3864         (_IO_str_underflow): Likewise.
3865         (_IO_str_count): Likewise.
3866         (_IO_str_seekoff): Likewise.
3867         (_IO_str_pbackfail): Likewise.
3868         (_IO_str_finish): Likewise.
3869         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3870         (_IO_wstr_overflow): Likewise.
3871         (_IO_wstr_underflow): Likewise.
3872         (_IO_wstr_count): Likewise.
3873         (_IO_wstr_seekoff): Likewise.
3874         (_IO_wstr_pbackfail): Likewise.
3875         (_IO_wstr_finish): Likewise.
3876         * locale/programs/localedef.c (normalize_codeset): Likewise.
3877         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3878         (add_locales_to_archive): Likewise.
3879         (delete_locales_from_archive): Likewise.
3880         * malloc/malloc.c (__libc_mallinfo): Likewise.
3881         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3882         * misc/tsearch.c (__tfind): Likewise.
3883         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3884         * nptl/pthread_attr_getdetachstate.c
3885         (__pthread_attr_getdetachstate): Likewise.
3886         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3887         Likewise.
3888         * nptl/pthread_attr_getinheritsched.c
3889         (__pthread_attr_getinheritsched): Likewise.
3890         * nptl/pthread_attr_getschedparam.c
3891         (__pthread_attr_getschedparam): Likewise.
3892         * nptl/pthread_attr_getschedpolicy.c
3893         (__pthread_attr_getschedpolicy): Likewise.
3894         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3895         Likewise.
3896         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3897         Likewise.
3898         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3899         Likewise.
3900         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3901         Likewise.
3902         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3903         (__pthread_attr_init_2_0): Likewise.
3904         * nptl/pthread_attr_setdetachstate.c
3905         (__pthread_attr_setdetachstate): Likewise.
3906         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3907         Likewise.
3908         * nptl/pthread_attr_setinheritsched.c
3909         (__pthread_attr_setinheritsched): Likewise.
3910         * nptl/pthread_attr_setschedparam.c
3911         (__pthread_attr_setschedparam): Likewise.
3912         * nptl/pthread_attr_setschedpolicy.c
3913         (__pthread_attr_setschedpolicy): Likewise.
3914         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3915         Likewise.
3916         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3917         Likewise.
3918         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3919         Likewise.
3920         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3921         Likewise.
3922         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3923         Likewise.
3924         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3925         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3926         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3927         use internal_function.
3928         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3929         prototype-style function definition.
3930         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3931         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3932         internal_function.
3933         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3934         Convert to prototype-style function definition.
3935         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3936         Likewise.
3937         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3938         Likewise.
3939         (__pthread_mutex_unlock): Likewise.
3940         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3941         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3942         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3943         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3944         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3945         * nss/makedb.c (process_input): Likewise.
3946         * posix/fnmatch.c (__strchrnul): Likewise.
3947         (__wcschrnul): Likewise.
3948         (fnmatch): Likewise.
3949         * posix/fnmatch_loop.c (FCT): Likewise.
3950         * posix/glob.c (globfree): Likewise.
3951         (__glob_pattern_type): Likewise.
3952         (__glob_pattern_p): Likewise.
3953         * posix/regcomp.c (re_compile_pattern): Likewise.
3954         (re_set_syntax): Likewise.
3955         (re_compile_fastmap): Likewise.
3956         (regcomp): Likewise.
3957         (regerror): Likewise.
3958         (regfree): Likewise.
3959         * posix/regexec.c (regexec): Likewise.
3960         (re_match): Likewise.
3961         (re_search): Likewise.
3962         (re_match_2): Likewise.
3963         (re_search_2): Likewise.
3964         (re_search_stub): Likewise.  Use internal_function
3965         (re_copy_regs): Likewise.
3966         (re_set_registers): Convert to prototype-style function
3967         definition.
3968         (prune_impossible_nodes): Likewise.  Use internal_function.
3969         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3970         prototype-style function definition.
3971         (inet_net_pton_ipv4): Likewise.
3972         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3973         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3974         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3975         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3976         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3977         Make variadic.
3978         * time/strptime_l.c (localtime_r): Convert to prototype-style
3979         function definition.
3980         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3981         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3982         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3983         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3985         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3986         definition.
3987         (_ufc_doit_r): Likewise.
3988         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3989         (_ufc_output_conversion_r): Likewise.
3990         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3991         * inet/rcmd.c (rcmd_af): Likewise.
3992         (rcmd): Likewise.
3993         (ruserok_af): Likewise.
3994         (ruserok): Likewise.
3995         (ruserok2_sa): Likewise.
3996         (ruserok_sa): Likewise.
3997         (iruserok_af): Likewise.
3998         (iruserok): Likewise.
3999         (__ivaliduser): Likewise.
4000         (__validuser2_sa): Likewise.
4001         * inet/rexec.c (rexec_af): Likewise.
4002         (rexec): Likewise.
4003         * inet/ruserpass.c (ruserpass): Likewise.
4004         * locale/programs/xmalloc.c (xcalloc): Likewise.
4005         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4006         * math/w_drem.c (__drem): Likewise.
4007         * math/w_dremf.c (__dremf): Likewise.
4008         * math/w_dreml.c (__dreml): Likewise.
4009         * misc/daemon.c (daemon): Likewise.
4010         * resolv/res_debug.c (p_fqnname): Likewise.
4011         * stdlib/div.c (div): Likewise.
4012         * string/memcmp.c (memcmp_bytes): Likewise.
4013         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4014         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4016         * crypt/cert.c (main): Convert to prototype-style function
4017         definition.
4018         * io/pipe.c (__pipe): Likewise.
4019         * io/pipe2.c (__pipe2): Likewise.
4020         * misc/futimesat.c (futimesat): Likewise.
4021         * misc/utimes.c (__utimes): Likewise.
4022         * posix/execve.c (__execve): Likewise.
4023         * posix/execvp.c (execvp): Likewise.
4024         * posix/execvpe.c (__execvpe): Likewise.
4025         * posix/fexecve.c (fexecve): Likewise.
4026         * socket/socketpair.c (socketpair): Likewise.
4027         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4028         * stdlib/erand48.c (erand48): Likewise.
4029         * stdlib/erand48_r.c (__erand48_r): Likewise.
4030         * stdlib/jrand48.c (jrand48): Likewise.
4031         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4032         * stdlib/lcong48.c (lcong48): Likewise.
4033         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4034         * stdlib/nrand48.c (nrand48): Likewise.
4035         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4036         * stdlib/seed48.c (seed48): Likewise.
4037         * stdlib/seed48_r.c (__seed48_r): Likewise.
4038         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4039         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4040         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4042 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4044         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4045         * configure: Regenerated.
4046         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4047         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4048         unconditional.
4049         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4050         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4051         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4052         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4053         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4054         unconditional.
4055         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4057         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4058         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4060         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4061         function definition.
4062         * crypt/crypt_util.c (__encrypt_r): Likewise.
4063         * libio/genops.c (_IO_no_init): Likewise.
4064         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4065         (_IO_old_fopencookie): Likewise.
4066         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4067         * libio/iogetline.c (_IO_getline): Likewise.
4068         (_IO_getline_info): Likewise.
4069         * libio/iogetwline.c (_IO_getwline): Likewise.
4070         (_IO_getwline_info): Likewise.
4071         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4072         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4073         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4074         (find_entry): Likewise.
4075         (iterate_table): Likewise.
4076         (lookup): Likewise.
4077         * login/forkpty.c (forkpty): Likewise.
4078         * misc/hsearch_r.c (__hsearch_r): Likewise.
4079         * misc/select.c (__select): Likewise.
4080         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4081         Likewise.
4082         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4083         Likewise.
4084         * nptl/old_pthread_cond_timedwait.c
4085         (__pthread_cond_timedwait_2_0): Likewise.
4086         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4087         * nptl/pthread_barrierattr_getpshared.c
4088         (pthread_barrierattr_getpshared): Likewise.
4089         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4090         Likewise.
4091         * nptl/pthread_mutex_setprioceiling.c
4092         (pthread_mutex_setprioceiling): Likewise.
4093         * nptl/pthread_mutexattr_getprioceiling.c
4094         (pthread_mutexattr_getprioceiling): Likewise.
4095         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4096         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4097         Likewise.
4098         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4099         Likewise.
4100         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4101         Likewise.
4102         * socket/recvfrom.c (__recvfrom): Likewise.
4103         * socket/sendto.c (__sendto): Likewise.
4104         * socket/setsockopt.c (__setsockopt): Likewise.
4105         * stdio-common/_itoa.c (_itoa): Likewise.
4106         * stdio-common/_itowa.c (_itowa): Likewise.
4107         * stdio-common/reg-printf.c (__register_printf_specifier):
4108         Likewise.
4109         (__register_printf_function): Likewise.
4110         * stdio-common/tempname.c (__path_search): Likewise.
4111         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4112         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4113         * stdlib/random_r.c (__initstate_r): Likewise.
4114         * stdlib/setenv.c (__add_to_environ): Likewise.
4115         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4116         * streams/getpmsg.c (getpmsg): Likewise.
4117         * streams/putmsg.c (putmsg): Likewise.
4118         * streams/putpmsg.c (putpmsg): Likewise.
4119         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4120         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4121         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4122         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4123         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4124         * sunrpc/svc_udp.c (cache_get): Likewise.
4125         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4126         * sysdeps/mach/hurd/getcwd.c
4127         (__canonicalize_directory_name_internal): Likewise.
4128         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4129         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4130         * sysdeps/mach/hurd/select.c (__select): Likewise.
4131         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4132         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4133         * sysdeps/sparc/nptl/pthread_barrier_init.c
4134         (__pthread_barrier_init): Likewise.
4135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4136         (__pthread_cond_timedwait): Likewise.
4137         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4138         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4139         Likewise.
4140         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4141         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4142         Likewise.
4143         * sysvipc/semtimedop.c (semtimedop): Likewise.
4144         * time/setitimer.c (__setitimer): Likewise.
4145         * time/strftime_l.c (emacs_strftime): Likewise.
4147 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4149         * config.make.in (have-ssp): Delete.
4150         (stack-protector): New variable.
4151         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4152         cache test for -fstack-protector-strong.  Export stack_protector to
4153         the best ssp flag.
4154         * configure: Regenerated.
4155         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4156         * nscd/Makefile (CFLAGS-nscd): Likewise.
4157         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4159 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4161         [BZ #19122]
4162         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4163         attribute_hidden.
4165 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4167         [BZ #18743]
4168         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4169         code to...
4170         (ELIDE_LOCK): ...here.
4171         (__get_new_count): New function with part of the code from
4172         __elide_lock that updates the value of adapt_count after a
4173         transaction abort.
4174         (__elided_trylock): Moved this code to...
4175         (ELIDE_TRYLOCK): ...here.
4177 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4179         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4180         * configure: Regenerate.
4181         * INSTALL: Regenerate.
4182         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4183         and tweak grammar.
4185 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4187         * login/programs/pt_chown.c: Include signal.h
4188         (main): Clear any signal mask from the parent process.
4190 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4192         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4193         * configure: Regenerated.
4194         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4195         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4196         $(gnu89-inline-CFLAGS).
4198         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4199         test.
4200         (libc_cv_asm_weakext_directive): Likewise.
4201         * configure: Regenerated.
4202         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4203         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4204         * include/libc-symbols.h
4205         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4206         #error.
4207         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4208         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4210         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4211         prototype-style function definition.
4212         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4213         * sysdeps/i386/ffs.c (__ffs): Likewise.
4214         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4215         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4216         Likewise.
4217         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4218         Likewise.
4219         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4221         Likewise.
4222         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4223         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4224         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4225         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4226         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4227         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4228         * sysdeps/mach/hurd/access.c (__access): Likewise.
4229         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4230         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4231         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4232         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4233         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4234         (cthread_getspecific): Likewise.
4235         (cthread_setspecific): Likewise.
4236         (__libc_getspecific): Likewise.
4237         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4238         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4239         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4240         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4241         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4242         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4243         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4244         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4245         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4246         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4247         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4248         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4249         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4250         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4251         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4252         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4253         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4254         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4255         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4256         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4257         * sysdeps/mach/hurd/link.c (__link): Likewise.
4258         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4259         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4260         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4261         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4262         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4263         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4264         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4265         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4266         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4267         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4268         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4269         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4270         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4271         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4272         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4273         * sysdeps/mach/hurd/send.c (__send): Likewise.
4274         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4275         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4276         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4277         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4278         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4279         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4280         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4281         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4282         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4283         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4284         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4285         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4286         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4287         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4288         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4289         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4290         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4291         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4292         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4293         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4294         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4295         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4296         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4297         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4298         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4299         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4300         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4301         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4302         * sysdeps/posix/alarm.c (alarm): Likewise.
4303         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4304         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4305         * sysdeps/posix/dup.c (__dup): Likewise.
4306         * sysdeps/posix/dup2.c (__dup2): Likewise.
4307         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4308         (main): Likewise.
4309         * sysdeps/posix/flock.c (__flock): Likewise.
4310         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4311         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4312         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4313         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4314         * sysdeps/posix/isatty.c (__isatty): Likewise.
4315         * sysdeps/posix/killpg.c (killpg): Likewise.
4316         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4317         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4318         * sysdeps/posix/raise.c (raise): Likewise.
4319         * sysdeps/posix/remove.c (remove): Likewise.
4320         * sysdeps/posix/rename.c (rename): Likewise.
4321         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4322         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4323         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4324         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4325         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4326         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4327         * sysdeps/posix/sigset.c (sigset): Likewise.
4328         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4329         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4330         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4331         * sysdeps/posix/time.c (time): Likewise.
4332         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4333         (ttyname): Likewise.
4334         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4335         * sysdeps/posix/utime.c (utime): Likewise.
4336         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4337         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4338         Likewise.
4339         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4340         (pthread_spin_trylock): Likewise.
4341         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4342         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4343         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4344         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4345         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4346         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4347         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4348         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4349         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4350         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4351         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4352         * sysdeps/s390/ffs.c (__ffs): Likewise.
4353         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4354         Likewise.
4355         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4356         Likewise.
4357         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4358         Likewise.
4359         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4360         (pthread_barrier_destroy): Likewise.
4361         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4362         (__pthread_barrier_wait): Likewise.
4363         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4365         (__pthread_barrier_wait): Likewise.
4366         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4367         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4368         (memcmp_not_common_alignment): Likewise.
4369         (MEMCMP): Likewise.
4370         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4371         (_wordcopy_fwd_dest_aligned): Likewise.
4372         (_wordcopy_bwd_aligned): Likewise.
4373         (_wordcopy_bwd_dest_aligned): Likewise.
4374         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4375         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4376         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4377         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4378         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4379         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4380         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4381         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4382         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4383         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4384         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4385         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4386         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4387         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4388         * sysdeps/unix/stime.c (stime): Likewise.
4389         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4390         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4391         Likewise.  Use internal_function.
4392         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4393         Convert to prototype-style function definition.
4394         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4395         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4397         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4398         Likewise.  Use internal_function.
4399         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4400         prototype-style function definition
4401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4402         Likewise.
4403         (__getlogin_r): Likewise.
4404         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4405         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4406         (__pthread_cond_broadcast): Likewise.
4407         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4408         (__pthread_cond_destroy): Likewise.
4409         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4410         (__pthread_cond_init): Likewise.
4411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4412         (__pthread_cond_signal): Likewise.
4413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4414         (__pthread_cond_wait): Likewise.
4415         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4416         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4417         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4418         Likewise.
4419         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4420         Likewise.
4421         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4422         Likewise.
4423         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4424         Likewise.
4425         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4427         (__ftruncate64): Likewise.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4429         (truncate64): Likewise.
4430         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4431         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4432         (pthread_getcpuclockid): Likewise.
4433         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4434         Likewise.
4435         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4436         Likewise.
4437         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4438         Likewise.
4439         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4440         Likewise.
4441         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4442         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4443         (__libc_sigaction): Likewise.
4444         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4445         Likewise.
4446         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4447         (__sigprocmask): Likewise.
4448         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4449         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4450         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4452         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4453         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4454         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4455         Likewise.
4456         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4457         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4458         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4459         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4460         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4461         Likewise.
4462         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4463         (__sigprocmask): Likewise.
4464         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4465         (cfgetispeed): Likewise.
4466         (cfsetospeed): Likewise.
4467         (cfsetispeed): Likewise.
4468         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4469         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4470         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4471         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4472         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4473         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4474         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4475         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4476         Likewise.
4477         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4478         Likewise.
4479         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4480         Likewise.
4481         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4482         Likewise.
4483         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4485 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4487         sunrpc: Rewrite with explicit TLS access using __thread.
4488         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4489         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4490         directly.
4491         (__rpc_thread_variables): Access thread_rpc_vars directly.
4492         Eliminate redundant assignment of the tvp variable.
4494 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4496         malloc: Rewrite with explicit TLS access using __thread.
4497         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4498         (tsd_setspecific, tsd_getspecific): Remove.
4499         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4500         (tsd_setspecific, tsd_getspecific): Likewise.
4501         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4502         (tsd_setspecific, tsd_getspecific): Likewise.
4503         * malloc/arena.c (thread_arena): New TLS variable.
4504         (arena_key): Remove variable.
4505         (arena_get): Use thread_arena.
4506         (arena_lookup): Remove macro.
4507         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4508         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4509         (_int_new_arena, get_free_list, reused_arena)
4510         (arena_thread_freeres): Use thread_arena.
4511         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4512         tsd_getspecific, tsd_setspecific from safety annotations.
4513         (Allocating Cleared Space): Remove arena_lookup from safety
4514         annotations.
4516 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4518         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4519         struct scratch_buffer instead of extend_alloca.
4521 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4523         * sysdeps/unix/sysv/linux/kernel-features.h
4524         (__ASSUME_SOCK_CLOEXEC): Remove.
4525         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4526         (__have_paccept): Remove unused macro.
4527         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4528         * misc/syslog.c (openlog_internal): Remove fallback code for
4529         !__ASSUME_SOCK_CLOEXEC.
4530         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4531         missing SOCK_CLOEXEC.
4532         * nscd/connections.c (have_sock_cloexec): Remove definition.
4533         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4534         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4535         !__ASSUME_SOCK_CLOEXEC.
4536         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4537         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4538         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4539         definition.
4540         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4541         code for !__ASSUME_SOCK_CLOEXEC.
4543 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4545         [BZ #18982]
4546         * manual/stdio.texi (Variable Arguments Output): Add portability
4547         note, explaining that vfprintf clobbers the va_list pointer.
4549 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4551         * math/libm-test.inc (fabs_test_data): Add more tests.
4552         (fdim_test_data): Likewise.
4553         (fma_test_data): Likewise.
4554         (fmax_test_data): Likewise.
4555         (fmin_test_data): Likewise.
4556         (fmod_test_data): Likewise.
4558 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4560         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4561         data.
4563 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4565         * math/libm-test.inc (ceil_test_data): Add more tests and more
4566         expectations for "inexact".
4567         (floor_test_data): Add more tests.
4568         (round_test_data): Likewise.
4569         (trunc_test_data): Likewise.
4571         * crypt/cert.c (good_bye): Convert to prototype-style function
4572         definition.
4573         (get8): Likewise.
4574         (put8): Likewise.
4575         * crypt/crypt-entry.c (crypt): Likewise.
4576         (__fcrypt): Likewise.
4577         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4578         (_ufc_set_bits): Likewise.
4579         (_ufc_clearmem): Likewise.
4580         (__init_des_r): Likewise.
4581         (shuffle_sb): Likewise.
4582         (shuffle_sb): Likewise.
4583         (_ufc_setup_salt_r): Likewise.
4584         (_ufc_mk_keytab_r): Likewise.
4585         (_ufc_dofinalperm_r): Likewise.
4586         (encrypt): Likewise.
4587         (__setkey_r): Likewise.
4588         (setkey): Likewise.
4589         * crypt/md5.c (md5_init_ctx): Likewise.
4590         (md5_read_ctx): Likewise.
4591         (md5_finish_ctx): Likewise.
4592         (md5_stream): Likewise.
4593         (md5_buffer): Likewise.
4594         (md5_process_bytes): Likewise.
4595         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4596         (__sha256_finish_ctx): Likewise.
4597         (__sha256_process_bytes): Likewise.
4598         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4599         (__sha512_finish_ctx): Likewise.
4600         (__sha512_process_bytes): Likewise.
4601         * ctype/isctype.c (__isctype): Likewise.
4602         * debug/backtrace.c (__backtrace): Likewise.
4603         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4604         * debug/fgets_chk.c (__fgets_chk): Likewise.
4605         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4606         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4607         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4608         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4609         * debug/memset_chk.c (__memset_chk): Likewise.
4610         * debug/strcat_chk.c (__strcat_chk): Likewise.
4611         * debug/strncat_chk.c (__strncat_chk): Likewise.
4612         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4613         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4614         * dirent/dirfd.c (dirfd): Likewise.
4615         * dirent/getdents.c (__getdirentries): Likewise.
4616         * dirent/getdents64.c (getdirentries64): Likewise.
4617         * dirent/rewinddir.c (__rewinddir): Likewise.
4618         * dirent/seekdir.c (seekdir): Likewise.
4619         * dirent/telldir.c (telldir): Likewise.
4620         * elf/sln.c (makesymlinks): Likewise.
4621         (makesymlink): Likewise.
4622         * gmon/gmon.c (__moncontrol): Likewise.
4623         (__monstartup): Likewise.
4624         (write_hist): Likewise.
4625         (write_call_graph): Likewise.
4626         (write_bb_counts): Likewise.
4627         * grp/setgroups.c (setgroups): Likewise.
4628         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4629         * inet/inet_net.c (inet_network): Likewise.
4630         * inet/inet_netof.c (inet_netof): Likewise.
4631         * inet/rcmd.c (rresvport_af): Likewise.
4632         (rresvport): Likewise.
4633         * io/access.c (__access): Likewise.
4634         * io/chdir.c (__chdir): Likewise.
4635         * io/chmod.c (__chmod): Likewise.
4636         * io/chown.c (__chown): Likewise.
4637         * io/close.c (__close): Likewise.
4638         * io/creat.c (creat): Likewise.
4639         * io/creat64.c (creat64): Likewise.
4640         * io/dup.c (__dup): Likewise.
4641         * io/dup2.c (__dup2): Likewise.
4642         * io/dup3.c (__dup3): Likewise.
4643         * io/euidaccess.c (__euidaccess): Likewise.
4644         * io/faccessat.c (faccessat): Likewise.
4645         * io/fchmod.c (__fchmod): Likewise.
4646         * io/fchmodat.c (fchmodat): Likewise.
4647         * io/fchown.c (__fchown): Likewise.
4648         * io/fchownat.c (fchownat): Likewise.
4649         * io/fcntl.c (__fcntl): Likewise.
4650         * io/flock.c (__flock): Likewise.
4651         * io/fts.c (fts_load): Likewise.
4652         (fts_close): Likewise.
4653         (fts_read): Likewise.
4654         (fts_set): Likewise.
4655         (fts_children): Likewise.
4656         (fts_build): Likewise.
4657         (fts_stat): Likewise.
4658         (fts_sort): Likewise.
4659         (fts_alloc): Likewise.
4660         (fts_lfree): Likewise.
4661         (fts_palloc): Likewise.
4662         (fts_padjust): Likewise.
4663         (fts_maxarglen): Likewise.
4664         (fts_safe_changedir): Likewise.
4665         * io/getwd.c (getwd): Likewise.
4666         * io/isatty.c (__isatty): Likewise.
4667         * io/lchown.c (__lchown): Likewise.
4668         * io/link.c (__link): Likewise.
4669         * io/linkat.c (linkat): Likewise.
4670         * io/lseek.c (__libc_lseek): Likewise.
4671         * io/mkdir.c (__mkdir): Likewise.
4672         * io/mkdirat.c (mkdirat): Likewise.
4673         * io/mkfifo.c (mkfifo): Likewise.
4674         * io/mkfifoat.c (mkfifoat): Likewise.
4675         * io/open.c (__libc_open): Likewise.
4676         * io/open64.c (__libc_open64): Likewise.
4677         * io/readlink.c (__readlink): Likewise.
4678         * io/readlinkat.c (readlinkat): Likewise.
4679         * io/rmdir.c (__rmdir): Likewise.
4680         * io/symlink.c (__symlink): Likewise.
4681         * io/symlinkat.c (symlinkat): Likewise.
4682         * io/ttyname.c (ttyname): Likewise.
4683         * io/ttyname_r.c (__ttyname_r): Likewise.
4684         * io/umask.c (__umask): Likewise.
4685         * io/unlink.c (__unlink): Likewise.
4686         * io/unlinkat.c (unlinkat): Likewise.
4687         * io/utime.c (utime): Likewise.
4688         * libio/clearerr.c (clearerr): Likewise.
4689         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4690         * libio/feof.c (_IO_feof): Likewise.
4691         * libio/feof_u.c (feof_unlocked): Likewise.
4692         * libio/ferror.c (_IO_ferror): Likewise.
4693         * libio/ferror_u.c (ferror_unlocked): Likewise.
4694         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4695         * libio/fileno.c (__fileno): Likewise.
4696         * libio/fputc.c (fputc): Likewise.
4697         * libio/fputc_u.c (fputc_unlocked): Likewise.
4698         * libio/fputwc.c (fputwc): Likewise.
4699         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4700         * libio/freopen.c (freopen): Likewise.
4701         * libio/freopen64.c (freopen64): Likewise.
4702         * libio/fseek.c (fseek): Likewise.
4703         * libio/fseeko.c (fseeko): Likewise.
4704         * libio/fseeko64.c (fseeko64): Likewise.
4705         * libio/ftello.c (__ftello): Likewise.
4706         * libio/ftello64.c (ftello64): Likewise.
4707         * libio/fwide.c (fwide): Likewise.
4708         * libio/genops.c (_IO_un_link): Likewise.
4709         (_IO_link_in): Likewise.
4710         (_IO_least_marker): Likewise.
4711         (_IO_switch_to_main_get_area): Likewise.
4712         (_IO_switch_to_backup_area): Likewise.
4713         (_IO_switch_to_get_mode): Likewise.
4714         (_IO_free_backup_area): Likewise.
4715         (_IO_switch_to_put_mode): Likewise.
4716         (__overflow): Likewise.
4717         (__underflow): Likewise.
4718         (__uflow): Likewise.
4719         (_IO_setb): Likewise.
4720         (_IO_doallocbuf): Likewise.
4721         (_IO_default_underflow): Likewise.
4722         (_IO_default_uflow): Likewise.
4723         (_IO_default_xsputn): Likewise.
4724         (_IO_sgetn): Likewise.
4725         (_IO_default_xsgetn): Likewise.
4726         (_IO_sync): Likewise.
4727         (_IO_default_setbuf): Likewise.
4728         (_IO_default_seekpos): Likewise.
4729         (_IO_default_doallocate): Likewise.
4730         (_IO_init): Likewise.
4731         (_IO_old_init): Likewise.
4732         (_IO_default_sync): Likewise.
4733         (_IO_default_finish): Likewise.
4734         (_IO_default_seekoff): Likewise.
4735         (_IO_sputbackc): Likewise.
4736         (_IO_sungetc): Likewise.
4737         (_IO_set_column): Likewise.
4738         (_IO_set_column): Likewise.
4739         (_IO_adjust_column): Likewise.
4740         (_IO_get_column): Likewise.
4741         (_IO_init_marker): Likewise.
4742         (_IO_remove_marker): Likewise.
4743         (_IO_marker_difference): Likewise.
4744         (_IO_marker_delta): Likewise.
4745         (_IO_seekmark): Likewise.
4746         (_IO_unsave_markers): Likewise.
4747         (_IO_nobackup_pbackfail): Likewise.
4748         (_IO_default_pbackfail): Likewise.
4749         (_IO_default_seek): Likewise.
4750         (_IO_default_stat): Likewise.
4751         (_IO_default_read): Likewise.
4752         (_IO_default_write): Likewise.
4753         (_IO_default_showmanyc): Likewise.
4754         (_IO_default_imbue): Likewise.
4755         (_IO_iter_next): Likewise.
4756         (_IO_iter_file): Likewise.
4757         * libio/getc.c (_IO_getc): Likewise.
4758         * libio/getwc.c (_IO_getwc): Likewise.
4759         * libio/iofclose.c (_IO_new_fclose): Likewise.
4760         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4761         * libio/iofflush.c (_IO_fflush): Likewise.
4762         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4763         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4764         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4765         * libio/iofgets.c (_IO_fgets): Likewise.
4766         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4767         * libio/iofgetws.c (fgetws): Likewise.
4768         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4769         * libio/iofopen64.c (_IO_fopen64): Likewise.
4770         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4771         (_IO_cookie_write): Likewise.
4772         (_IO_cookie_seek): Likewise.
4773         (_IO_cookie_close): Likewise.
4774         (_IO_cookie_seekoff): Likewise.
4775         (_IO_old_cookie_seek): Likewise.
4776         * libio/iofputs.c (_IO_fputs): Likewise.
4777         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4778         * libio/iofputws.c (fputws): Likewise.
4779         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4780         * libio/iofread.c (_IO_fread): Likewise.
4781         * libio/iofread_u.c (__fread_unlocked): Likewise.
4782         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4783         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4784         * libio/ioftell.c (_IO_ftell): Likewise.
4785         * libio/iofwrite.c (_IO_fwrite): Likewise.
4786         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4787         * libio/iogets.c (_IO_gets): Likewise.
4788         * libio/iopadn.c (_IO_padn): Likewise.
4789         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4790         (_IO_new_popen): Likewise.
4791         (_IO_new_proc_close): Likewise.
4792         * libio/ioputs.c (_IO_puts): Likewise.
4793         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4794         (_IO_seekoff): Likewise.
4795         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4796         (_IO_seekpos): Likewise.
4797         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4798         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4799         * libio/ioungetc.c (_IO_ungetc): Likewise.
4800         * libio/ioungetwc.c (ungetwc): Likewise.
4801         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4802         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4803         * libio/iowpadn.c (_IO_wpadn): Likewise.
4804         * libio/libc_fatal.c (__libc_fatal): Likewise.
4805         * libio/memstream.c (__open_memstream): Likewise.
4806         (_IO_mem_sync): Likewise.
4807         (_IO_mem_finish): Likewise.
4808         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4809         (_IO_old_file_close_it): Likewise.
4810         (_IO_old_file_finish): Likewise.
4811         (_IO_old_file_fopen): Likewise.
4812         (_IO_old_file_attach): Likewise.
4813         (_IO_old_file_setbuf): Likewise.
4814         (_IO_old_do_write): Likewise.
4815         (old_do_write): Likewise.
4816         (_IO_old_file_underflow): Likewise.
4817         (_IO_old_file_overflow): Likewise.
4818         (_IO_old_file_sync): Likewise.
4819         (_IO_old_file_seekoff): Likewise.
4820         (_IO_old_file_write): Likewise.
4821         (_IO_old_file_xsputn): Likewise.
4822         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4823         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4824         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4825         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4826         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4827         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4828         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4829         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4830         (_IO_old_popen): Likewise.
4831         (_IO_old_proc_close): Likewise.
4832         * libio/oldpclose.c (__old_pclose): Likewise.
4833         * libio/pclose.c (__new_pclose): Likewise.
4834         * libio/peekc.c (_IO_peekc_locked): Likewise.
4835         * libio/putc.c (_IO_putc): Likewise.
4836         * libio/putc_u.c (putc_unlocked): Likewise.
4837         * libio/putchar.c (putchar): Likewise.
4838         * libio/putchar_u.c (putchar_unlocked): Likewise.
4839         * libio/putwc.c (putwc): Likewise.
4840         * libio/putwc_u.c (putwc_unlocked): Likewise.
4841         * libio/putwchar.c (putwchar): Likewise.
4842         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4843         * libio/rewind.c (rewind): Likewise.
4844         * libio/setbuf.c (setbuf): Likewise.
4845         * libio/setlinebuf.c (setlinebuf): Likewise.
4846         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4847         * libio/vscanf.c (_IO_vscanf): Likewise.
4848         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4849         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4850         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4851         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4852         (_IO_switch_to_main_wget_area): Likewise.
4853         (_IO_switch_to_wbackup_area): Likewise.
4854         (_IO_wsetb): Likewise.
4855         (_IO_wdefault_pbackfail): Likewise.
4856         (_IO_wdefault_finish): Likewise.
4857         (_IO_wdefault_uflow): Likewise.
4858         (__woverflow): Likewise.
4859         (__wuflow): Likewise.
4860         (__wunderflow): Likewise.
4861         (_IO_wdefault_xsputn): Likewise.
4862         (_IO_wdefault_xsgetn): Likewise.
4863         (_IO_wdoallocbuf): Likewise.
4864         (_IO_wdefault_doallocate): Likewise.
4865         (_IO_switch_to_wget_mode): Likewise.
4866         (_IO_free_wbackup_area): Likewise.
4867         (_IO_switch_to_wput_mode): Likewise.
4868         (_IO_sputbackwc): Likewise.
4869         (_IO_sungetwc): Likewise.
4870         (_IO_adjust_wcolumn): Likewise.
4871         (_IO_init_wmarker): Likewise.
4872         (_IO_wmarker_delta): Likewise.
4873         (_IO_seekwmark): Likewise.
4874         (_IO_unsave_wmarkers): Likewise.
4875         * libio/wmemstream.c (open_wmemstream): Likewise.
4876         (_IO_wmem_sync): Likewise.
4877         (_IO_wmem_finish): Likewise.
4878         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4879         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4880         * locale/programs/simple-hash.c (init_hash): Likewise.
4881         (delete_hash): Likewise.
4882         (insert_entry): Likewise.
4883         (set_entry): Likewise.
4884         (next_prime): Likewise.
4885         (is_prime): Likewise.
4886         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4887         (xmalloc): Likewise.
4888         (xrealloc): Likewise.
4889         * locale/programs/xstrdup.c (xstrdup): Likewise.
4890         * localedata/collate-test.c (xstrcoll): Likewise.
4891         * localedata/xfrm-test.c (xstrcmp): Likewise.
4892         * login/getlogin_r.c (__getlogin_r): Likewise.
4893         * login/getpt.c (__posix_openpt): Likewise.
4894         * login/login_tty.c (login_tty): Likewise.
4895         * login/setlogin.c (setlogin): Likewise.
4896         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4897         (mach_msg_destroy_port): Likewise.
4898         (mach_msg_destroy_memory): Likewise.
4899         * malloc/mcheck.c (flood): Likewise.
4900         * misc/acct.c (acct): Likewise.
4901         * misc/brk.c (__brk): Likewise.
4902         * misc/chflags.c (chflags): Likewise.
4903         * misc/chroot.c (chroot): Likewise.
4904         * misc/fchflags.c (fchflags): Likewise.
4905         * misc/fstab.c (getfsspec): Likewise.
4906         (getfsfile): Likewise.
4907         * misc/fsync.c (fsync): Likewise.
4908         * misc/ftruncate.c (__ftruncate): Likewise.
4909         * misc/ftruncate64.c (__ftruncate64): Likewise.
4910         * misc/getdomain.c (getdomainname): Likewise.
4911         (getdomainname): Likewise.
4912         * misc/gethostname.c (__gethostname): Likewise.
4913         * misc/getpass.c (getpass): Likewise.
4914         * misc/getttyent.c (skip): Likewise.
4915         (value): Likewise.
4916         * misc/gtty.c (gtty): Likewise.
4917         * misc/hsearch.c (hsearch): Likewise.
4918         (hcreate): Likewise.
4919         * misc/hsearch_r.c (__hcreate_r): Likewise.
4920         (__hdestroy_r): Likewise.
4921         * misc/ioctl.c (__ioctl): Likewise.
4922         * misc/mkdtemp.c (mkdtemp): Likewise.
4923         * misc/mkostemp.c (mkostemp): Likewise.
4924         * misc/mkostemp64.c (mkostemp64): Likewise.
4925         * misc/mkostemps.c (mkostemps): Likewise.
4926         * misc/mkostemps64.c (mkostemps64): Likewise.
4927         * misc/mkstemp.c (mkstemp): Likewise.
4928         * misc/mkstemp64.c (mkstemp64): Likewise.
4929         * misc/mkstemps.c (mkstemps): Likewise.
4930         * misc/mkstemps64.c (mkstemps64): Likewise.
4931         * misc/mktemp.c (__mktemp): Likewise.
4932         * misc/preadv.c (preadv): Likewise.
4933         * misc/preadv64.c (preadv64): Likewise.
4934         * misc/pwritev.c (pwritev): Likewise.
4935         * misc/pwritev64.c (pwritev64): Likewise.
4936         * misc/readv.c (__readv): Likewise.
4937         * misc/revoke.c (revoke): Likewise.
4938         * misc/setdomain.c (setdomainname): Likewise.
4939         * misc/setegid.c (setegid): Likewise.
4940         * misc/seteuid.c (seteuid): Likewise.
4941         * misc/sethostid.c (sethostid): Likewise.
4942         * misc/sethostname.c (sethostname): Likewise.
4943         * misc/setregid.c (__setregid): Likewise.
4944         * misc/setreuid.c (__setreuid): Likewise.
4945         * misc/sstk.c (sstk): Likewise.
4946         * misc/stty.c (stty): Likewise.
4947         * misc/syscall.c (syscall): Likewise.
4948         * misc/syslog.c (setlogmask): Likewise.
4949         * misc/truncate.c (__truncate): Likewise.
4950         * misc/truncate64.c (truncate64): Likewise.
4951         * misc/ualarm.c (ualarm): Likewise.
4952         * misc/usleep.c (usleep): Likewise.
4953         * misc/ustat.c (ustat): Likewise.
4954         * misc/writev.c (__writev): Likewise.
4955         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4956         * nptl/old_pthread_cond_broadcast.c
4957         (__pthread_cond_broadcast_2_0): Likewise.
4958         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4959         Likewise.
4960         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4961         Likewise.
4962         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4963         Likewise.
4964         * nptl/pt-raise.c (raise): Likewise.
4965         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4966         Likewise.
4967         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4968         * nptl/pthread_barrierattr_destroy.c
4969         (pthread_barrierattr_destroy): Likewise.
4970         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4971         Likewise.
4972         * nptl/pthread_barrierattr_setpshared.c
4973         (pthread_barrierattr_setpshared): Likewise.
4974         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4975         Likewise.
4976         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4977         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4978         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4979         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4980         Likewise.
4981         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4982         Likewise.
4983         * nptl/pthread_condattr_getpshared.c
4984         (pthread_condattr_getpshared): Likewise.
4985         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4986         Likewise.
4987         * nptl/pthread_condattr_setpshared.c
4988         (pthread_condattr_setpshared): Likewise.
4989         * nptl/pthread_detach.c (pthread_detach): Likewise.
4990         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4991         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4992         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4993         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4994         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4995         Likewise.
4996         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4997         Likewise.
4998         * nptl/pthread_mutex_getprioceiling.c
4999         (pthread_mutex_getprioceiling): Likewise.
5000         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5001         Likewise.
5002         * nptl/pthread_mutexattr_getprotocol.c
5003         (pthread_mutexattr_getprotocol): Likewise.
5004         * nptl/pthread_mutexattr_getpshared.c
5005         (pthread_mutexattr_getpshared): Likewise.
5006         * nptl/pthread_mutexattr_getrobust.c
5007         (pthread_mutexattr_getrobust): Likewise.
5008         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5009         Likewise.
5010         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5011         Likewise.
5012         * nptl/pthread_mutexattr_setprioceiling.c
5013         (pthread_mutexattr_setprioceiling): Likewise.
5014         * nptl/pthread_mutexattr_setprotocol.c
5015         (pthread_mutexattr_setprotocol): Likewise.
5016         * nptl/pthread_mutexattr_setpshared.c
5017         (pthread_mutexattr_setpshared): Likewise.
5018         * nptl/pthread_mutexattr_setrobust.c
5019         (pthread_mutexattr_setrobust): Likewise.
5020         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5021         Likewise.
5022         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5023         Likewise.
5024         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5025         Likewise.
5026         * nptl/pthread_rwlockattr_getkind_np.c
5027         (pthread_rwlockattr_getkind_np): Likewise.
5028         * nptl/pthread_rwlockattr_getpshared.c
5029         (pthread_rwlockattr_getpshared): Likewise.
5030         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5031         Likewise.
5032         * nptl/pthread_rwlockattr_setkind_np.c
5033         (pthread_rwlockattr_setkind_np): Likewise.
5034         * nptl/pthread_rwlockattr_setpshared.c
5035         (pthread_rwlockattr_setpshared): Likewise.
5036         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5037         Likewise.
5038         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5039         Likewise.
5040         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5041         Likewise.
5042         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5043         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5044         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5045         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5046         * nptl/sem_close.c (sem_close): Likewise.
5047         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5048         * nptl/sem_init.c (__old_sem_init): Likewise.
5049         * nptl/sigaction.c (__sigaction): Likewise.
5050         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5051         * posix/_exit.c (_exit): Likewise.
5052         * posix/alarm.c (alarm): Likewise.
5053         * posix/confstr.c (confstr): Likewise.
5054         * posix/fpathconf.c (__fpathconf): Likewise.
5055         * posix/getgroups.c (__getgroups): Likewise.
5056         * posix/getpgid.c (__getpgid): Likewise.
5057         * posix/group_member.c (__group_member): Likewise.
5058         * posix/pathconf.c (__pathconf): Likewise.
5059         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5060         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5061         * posix/setgid.c (__setgid): Likewise.
5062         * posix/setpgid.c (__setpgid): Likewise.
5063         * posix/setuid.c (__setuid): Likewise.
5064         * posix/sleep.c (__sleep): Likewise.
5065         * posix/sysconf.c (__sysconf): Likewise.
5066         * posix/times.c (__times): Likewise.
5067         * posix/uname.c (__uname): Likewise.
5068         * posix/waitid.c (__waitid): Likewise.
5069         * pwd/getpw.c (__getpw): Likewise.
5070         * resolv/base64.c (b64_pton): Likewise.
5071         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5072         * resolv/gethnamaddr.c (Dprintf): Likewise.
5073         (gethostbyname): Likewise.
5074         (gethostbyname2): Likewise.
5075         (gethostbyaddr): Likewise.
5076         (_sethtent): Likewise.
5077         (_gethtbyname): Likewise.
5078         (_gethtbyname2): Likewise.
5079         (_gethtbyaddr): Likewise.
5080         (map_v4v6_address): Likewise.
5081         (map_v4v6_hostent): Likewise.
5082         (addrsort): Likewise.
5083         (ht_sethostent): Likewise.
5084         (ht_gethostbyname): Likewise.
5085         (ht_gethostbyaddr): Likewise.
5086         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5087         (inet_net_ntop_ipv4): Likewise.
5088         * resolv/inet_neta.c (inet_neta): Likewise.
5089         * resolv/inet_ntop.c (inet_ntop): Likewise.
5090         (inet_ntop4): Likewise.
5091         (inet_ntop6): Likewise.
5092         * resolv/inet_pton.c (__inet_pton): Likewise.
5093         (inet_pton4): Likewise.
5094         (inet_pton6): Likewise.
5095         * resolv/res_debug.c (loc_aton): Likewise.
5096         (loc_ntoa): Likewise.
5097         * resource/getpriority.c (__getpriority): Likewise.
5098         * resource/getrusage.c (__getrusage): Likewise.
5099         * resource/nice.c (nice): Likewise.
5100         * resource/setpriority.c (__setpriority): Likewise.
5101         * resource/setrlimit64.c (setrlimit64): Likewise.
5102         * resource/vlimit.c (vlimit): Likewise.
5103         * resource/vtimes.c (vtimes): Likewise.
5104         * rt/aio_error.c (aio_error): Likewise.
5105         * rt/aio_return.c (aio_return): Likewise.
5106         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5107         * signal/kill.c (__kill): Likewise.
5108         * signal/killpg.c (killpg): Likewise.
5109         * signal/raise.c (raise): Likewise.
5110         * signal/sigaction.c (__sigaction): Likewise.
5111         * signal/sigaddset.c (sigaddset): Likewise.
5112         * signal/sigaltstack.c (sigaltstack): Likewise.
5113         * signal/sigandset.c (sigandset): Likewise.
5114         * signal/sigblock.c (__sigblock): Likewise.
5115         * signal/sigdelset.c (sigdelset): Likewise.
5116         * signal/sigempty.c (sigemptyset): Likewise.
5117         * signal/sigfillset.c (sigfillset): Likewise.
5118         * signal/sighold.c (sighold): Likewise.
5119         * signal/sigignore.c (sigignore): Likewise.
5120         * signal/sigintr.c (siginterrupt): Likewise.
5121         * signal/sigisempty.c (sigisemptyset): Likewise.
5122         * signal/sigismem.c (sigismember): Likewise.
5123         * signal/signal.c (signal): Likewise.
5124         * signal/sigorset.c (sigorset): Likewise.
5125         * signal/sigpause.c (__sigpause): Likewise.
5126         * signal/sigpending.c (sigpending): Likewise.
5127         * signal/sigprocmask.c (__sigprocmask): Likewise.
5128         * signal/sigrelse.c (sigrelse): Likewise.
5129         * signal/sigreturn.c (__sigreturn): Likewise.
5130         * signal/sigset.c (sigset): Likewise.
5131         * signal/sigsetmask.c (__sigsetmask): Likewise.
5132         * signal/sigstack.c (sigstack): Likewise.
5133         * signal/sigsuspend.c (__sigsuspend): Likewise.
5134         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5135         * signal/sysv_signal.c (__sysv_signal): Likewise.
5136         * socket/accept.c (accept): Likewise.
5137         * socket/accept4.c (__libc_accept4): Likewise.
5138         * socket/bind.c (__bind): Likewise.
5139         * socket/connect.c (__connect): Likewise.
5140         * socket/getpeername.c (getpeername): Likewise.
5141         * socket/getsockname.c (__getsockname): Likewise.
5142         * socket/getsockopt.c (getsockopt): Likewise.
5143         * socket/listen.c (__listen): Likewise.
5144         * socket/recv.c (__recv): Likewise.
5145         * socket/recvmsg.c (__recvmsg): Likewise.
5146         * socket/send.c (__send): Likewise.
5147         * socket/sendmsg.c (__sendmsg): Likewise.
5148         * socket/shutdown.c (shutdown): Likewise.
5149         * socket/sockatmark.c (sockatmark): Likewise.
5150         * socket/socket.c (__socket): Likewise.
5151         * stdio-common/ctermid.c (ctermid): Likewise.
5152         * stdio-common/cuserid.c (cuserid): Likewise.
5153         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5154         * stdio-common/remove.c (remove): Likewise.
5155         * stdio-common/rename.c (rename): Likewise.
5156         * stdio-common/renameat.c (renameat): Likewise.
5157         * stdio-common/tempname.c (__gen_tempname): Likewise.
5158         * stdio-common/xbug.c (InitBuffer): Likewise.
5159         (AppendToBuffer): Likewise.
5160         (ReadFile): Likewise.
5161         * stdlib/a64l.c (a64l): Likewise.
5162         * stdlib/drand48_r.c (drand48_r): Likewise.
5163         * stdlib/getcontext.c (getcontext): Likewise.
5164         * stdlib/getenv.c (getenv): Likewise.
5165         * stdlib/l64a.c (l64a): Likewise.
5166         * stdlib/llabs.c (llabs): Likewise.
5167         * stdlib/lldiv.c (lldiv): Likewise.
5168         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5169         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5170         * stdlib/putenv.c (putenv): Likewise.
5171         * stdlib/random.c (__srandom): Likewise.
5172         (__initstate): Likewise.
5173         (__setstate): Likewise.
5174         * stdlib/random_r.c (__srandom_r): Likewise.
5175         (__setstate_r): Likewise.
5176         (__random_r): Likewise.
5177         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5178         * stdlib/setcontext.c (setcontext): Likewise.
5179         * stdlib/setenv.c (setenv): Likewise.
5180         (unsetenv): Likewise.
5181         * stdlib/srand48.c (srand48): Likewise.
5182         * stdlib/srand48_r.c (__srand48_r): Likewise.
5183         * stdlib/swapcontext.c (swapcontext): Likewise.
5184         * stdlib/system.c (__libc_system): Likewise.
5185         * stdlib/tst-strtod.c (expand): Likewise.
5186         * stdlib/tst-strtol.c (expand): Likewise.
5187         * stdlib/tst-strtoll.c (expand): Likewise.
5188         * streams/fattach.c (fattach): Likewise.
5189         * streams/fdetach.c (fdetach): Likewise.
5190         * streams/getmsg.c (getmsg): Likewise.
5191         * streams/isastream.c (isastream): Likewise.
5192         * string/ffs.c (__ffs): Likewise.
5193         * string/ffsll.c (ffsll): Likewise.
5194         * string/memcmp.c (memcmp_common_alignment): Likewise.
5195         (memcmp_not_common_alignment): Likewise.
5196         (MEMCMP): Likewise.
5197         * string/memcpy.c (memcpy): Likewise.
5198         * string/memmove.c (MEMMOVE): Likewise.
5199         * string/memset.c (memset): Likewise.
5200         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5201         * string/strchrnul.c (STRCHRNUL): Likewise.
5202         * string/strerror.c (strerror): Likewise.
5203         * string/strndup.c (__strndup): Likewise.
5204         * string/strverscmp.c (__strverscmp): Likewise.
5205         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5206         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5207         (clnttcp_freeres): Likewise.
5208         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5209         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5210         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5211         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5212         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5213         (xdr_callhdr): Likewise.
5214         * sunrpc/rpcinfo.c (udpping): Likewise.
5215         (tcpping): Likewise.
5216         (pstatus): Likewise.
5217         (pmapdump): Likewise.
5218         (brdcst): Likewise.
5219         (deletereg): Likewise.
5220         (getprognum): Likewise.
5221         (getvers): Likewise.
5222         (get_inet_address): Likewise.
5223         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5224         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5225         (svcudp_stat): Likewise.
5226         (svcudp_recv): Likewise.
5227         (svcudp_reply): Likewise.
5228         (svcudp_getargs): Likewise.
5229         (svcudp_freeargs): Likewise.
5230         (svcudp_destroy): Likewise.
5231         * sunrpc/xdr.c (xdr_bytes): Likewise.
5232         (xdr_netobj): Likewise.
5233         (xdr_string): Likewise.
5234         (xdr_wrapstring): Likewise.
5235         * sunrpc/xdr_float.c (xdr_float): Likewise.
5236         (xdr_double): Likewise.
5237         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5238         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5239         * sysvipc/ftok.c (ftok): Likewise.
5240         * sysvipc/msgctl.c (msgctl): Likewise.
5241         * sysvipc/msgget.c (msgget): Likewise.
5242         * sysvipc/msgrcv.c (msgrcv): Likewise.
5243         * sysvipc/msgsnd.c (msgsnd): Likewise.
5244         * sysvipc/semget.c (semget): Likewise.
5245         * sysvipc/semop.c (semop): Likewise.
5246         * sysvipc/shmat.c (shmat): Likewise.
5247         * sysvipc/shmctl.c (shmctl): Likewise.
5248         * sysvipc/shmdt.c (shmdt): Likewise.
5249         * sysvipc/shmget.c (shmget): Likewise.
5250         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5251         * termios/speed.c (cfgetospeed): Likewise.
5252         (cfgetispeed): Likewise.
5253         (cfsetospeed): Likewise.
5254         (cfsetispeed): Likewise.
5255         * termios/tcflow.c (tcflow): Likewise.
5256         * termios/tcflush.c (tcflush): Likewise.
5257         * termios/tcgetattr.c (__tcgetattr): Likewise.
5258         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5259         * termios/tcgetsid.c (tcgetsid): Likewise.
5260         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5261         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5262         * time/adjtime.c (__adjtime): Likewise.
5263         * time/dysize.c (dysize): Likewise.
5264         * time/ftime.c (ftime): Likewise.
5265         * time/getitimer.c (__getitimer): Likewise.
5266         * time/gettimeofday.c (__gettimeofday): Likewise.
5267         * time/gmtime.c (__gmtime_r): Likewise.
5268         (gmtime): Likewise.
5269         * time/localtime.c (__localtime_r): Likewise.
5270         (localtime): Likewise.
5271         * time/offtime.c (__offtime): Likewise.
5272         * time/settimeofday.c (__settimeofday): Likewise.
5273         * time/stime.c (stime): Likewise.
5274         * time/strftime_l.c (tm_diff): Likewise.
5275         (iso_week_days): Likewise.
5276         * time/strptime.c (strptime): Likewise.
5277         * time/time.c (time): Likewise.
5278         * time/timespec_get.c (timespec_get): Likewise.
5279         * time/tzset.c (tzset_internal): Likewise.
5280         (compute_change): Likewise.
5281         (__tz_compute): Likewise.
5282         * wcsmbs/btowc.c (__btowc): Likewise.
5283         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5284         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5285         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5286         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5287         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5288         * wcsmbs/wcscat.c (__wcscat): Likewise.
5289         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5290         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5291         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5292         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5293         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5294         * wcsmbs/wcslen.c (__wcslen): Likewise.
5295         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5296         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5297         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5298         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5299         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5300         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5301         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5302         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5303         * wcsmbs/wcstok.c (wcstok): Likewise.
5304         * wcsmbs/wctob.c (wctob): Likewise.
5305         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5306         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5307         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5308         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5309         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5310         * wcsmbs/wmemset.c (__wmemset): Likewise.
5311         * wctype/wcfuncs.c (__towlower): Likewise.
5312         (__towupper): Likewise.
5314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5315         (lll_unlock_elision): Add adapt_count parameter.
5317 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5319         * sysdeps/nptl/configure.ac: Do not give errors based on the
5320         results of top-level configure tests.
5321         * sysdeps/nptl/configure: Regenerated.
5323         * configure.ac (libc_cv_Bgroup): Remove configure test.
5324         * configure: Regenerated.
5325         * config.make.in (have-Bgroup): Remove variable.
5327         * configure.ac (sizeof_long_double): Remove configure test.
5328         * configure: Regenerated.
5329         * config.make.in (sizeof-long-double): Remove variable.
5331         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5332         * configure: Regenerated.
5333         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5334         variable.
5335         (exceptions): Likewise.
5336         * sysdeps/arm/configure: Regenerated.
5337         * config.make.in (exceptions): Remove variable.
5338         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5339         $(exceptions).
5340         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5341         (CFLAGS-vdprintf_chk.c): Likewise.
5342         (CFLAGS-printf_chk.c): Likewise.
5343         (CFLAGS-fprintf_chk.c): Likewise.
5344         (CFLAGS-vprintf_chk.c): Likewise.
5345         (CFLAGS-vfprintf_chk.c): Likewise.
5346         (CFLAGS-gets_chk.c): Likewise.
5347         (CFLAGS-fgets_chk.c): Likewise.
5348         (CFLAGS-fgets_u_chk.c): Likewise.
5349         (CFLAGS-fread_chk.c): Likewise.
5350         (CFLAGS-fread_u_chk.c): Likewise.
5351         (CFLAGS-wprintf_chk.c): Likewise.
5352         (CFLAGS-fwprintf_chk.c): Likewise.
5353         (CFLAGS-vwprintf_chk.c): Likewise.
5354         (CFLAGS-vfwprintf_chk.c): Likewise.
5355         (CFLAGS-fgetws_chk.c): Likewise.
5356         (CFLAGS-fgetws_u_chk.c): Likewise.
5357         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5358         (CFLAGS-fputc.c): Likewise.
5359         (CFLAGS-fputwc.c): Likewise.
5360         (CFLAGS-freopen64.c): Likewise.
5361         (CFLAGS-freopen.c): Likewise.
5362         (CFLAGS-fseek.c): Likewise.
5363         (CFLAGS-fseeko64.c): Likewise.
5364         (CFLAGS-fseeko.c): Likewise.
5365         (CFLAGS-ftello64.c): Likewise.
5366         (CFLAGS-ftello.c): Likewise.
5367         (CFLAGS-fwide.c): Likewise.
5368         (CFLAGS-genops.c): Likewise.
5369         (CFLAGS-getc.c): Likewise.
5370         (CFLAGS-getchar.c): Likewise.
5371         (CFLAGS-getwc.c): Likewise.
5372         (CFLAGS-getwchar.c): Likewise.
5373         (CFLAGS-iofclose.c): Likewise.
5374         (CFLAGS-iofflush.c): Likewise.
5375         (CFLAGS-iofgetpos64.c): Likewise.
5376         (CFLAGS-iofgetpos.c): Likewise.
5377         (CFLAGS-iofgets.c): Likewise.
5378         (CFLAGS-iofgetws.c): Likewise.
5379         (CFLAGS-iofputs.c): Likewise.
5380         (CFLAGS-iofputws.c): Likewise.
5381         (CFLAGS-iofread.c): Likewise.
5382         (CFLAGS-iofsetpos64.c): Likewise.
5383         (CFLAGS-iofsetpos.c): Likewise.
5384         (CFLAGS-ioftell.c): Likewise.
5385         (CFLAGS-iofwrite.c): Likewise.
5386         (CFLAGS-iogetdelim.c): Likewise.
5387         (CFLAGS-iogetline.c): Likewise.
5388         (CFLAGS-iogets.c): Likewise.
5389         (CFLAGS-iogetwline.c): Likewise.
5390         (CFLAGS-ioputs.c): Likewise.
5391         (CFLAGS-ioseekoff.c): Likewise.
5392         (CFLAGS-ioseekpos.c): Likewise.
5393         (CFLAGS-iosetbuffer.c): Likewise.
5394         (CFLAGS-iosetvbuf.c): Likewise.
5395         (CFLAGS-ioungetc.c): Likewise.
5396         (CFLAGS-ioungetwc.c): Likewise.
5397         (CFLAGS-oldfileops.c): Likewise.
5398         (CFLAGS-oldiofclose.c): Likewise.
5399         (CFLAGS-oldiofgetpos64.c): Likewise.
5400         (CFLAGS-oldiofgetpos.c): Likewise.
5401         (CFLAGS-oldiofsetpos64.c): Likewise.
5402         (CFLAGS-oldiofsetpos.c): Likewise.
5403         (CFLAGS-peekc.c): Likewise.
5404         (CFLAGS-putc.c): Likewise.
5405         (CFLAGS-putchar.c): Likewise.
5406         (CFLAGS-putwc.c): Likewise.
5407         (CFLAGS-putwchar.c): Likewise.
5408         (CFLAGS-rewind.c): Likewise.
5409         (CFLAGS-wfileops.c): Likewise.
5410         (CFLAGS-wgenops.c): Likewise.
5411         (CFLAGS-oldiofopen.c): Likewise.
5412         (CFLAGS-iofopen.c): Likewise.
5413         (CFLAGS-iofopen64.c): Likewise.
5414         (CFLAGS-oldtmpfile.c): Likewise.
5415         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5416         (CFLAGS-fprintf.c): Likewise.
5417         (CFLAGS-printf.c): Likewise.
5418         (CFLAGS-vfwprintf.c): Likewise.
5419         (CFLAGS-vfscanf.c): Likewise.
5420         (CFLAGS-vfwscanf.c): Likewise.
5421         (CFLAGS-fscanf.c): Likewise.
5422         (CFLAGS-scanf.c): Likewise.
5423         (CFLAGS-isoc99_vfscanf.c): Likewise.
5424         (CFLAGS-isoc99_vscanf.c): Likewise.
5425         (CFLAGS-isoc99_fscanf.c): Likewise.
5426         (CFLAGS-isoc99_scanf.c): Likewise.
5427         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5428         (CFLAGS-isoc99_fwscanf.c): Likewise.
5429         (CFLAGS-isoc99_vwscanf.c): Likewise.
5430         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5432         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5433         after mkstemp64.
5434         * login/tst-utmp.c (do_prepare): Likewise.
5435         * rt/tst-aio.c (do_prepare): Likewise.
5436         * rt/tst-aio64.c (do_prepare): Likewise.
5438 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5440         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5441         (__lll_lock_elision): Remove adapt_count decrement...
5442         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5443         (__lll_trylock_elision): Likewise.
5444         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5445         (__lll_unlock_elision): ... to here. And utilize
5446         new adapt_count parameter.
5447         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5448         (__lll_unlock_elision): Update to include adapt_count
5449         parameter.
5450         (lll_unlock_elision): Pass pointer to adapt_count
5451         variable.
5453 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5455         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5456         Add elision adapt_count parameter to list of arguments.
5457         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5458         (lll_unlock_elision): Update with new parameter list
5459         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5460         (lll_unlock_elision): Likewise.
5461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5462         (lll_unlock_elision): Likewise.
5464 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5466         [BZ #19122]
5467         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5468         attribute_hidden.
5470         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5471         attribute_hidden.
5472         [IS_IN (rtld)] (__strdup): Likewise.
5473         [IS_IN (rtld)] (__strerror_r): Likewise.
5474         [IS_IN (rtld)] (__strsep_g): Likewise.
5475         [IS_IN (rtld)] (memchr): Likewise.
5476         [IS_IN (rtld)] (memcmp): Likewise.
5477         [IS_IN (rtld)] (memcpy): Likewise.
5478         [IS_IN (rtld)] (memmove): Likewise.
5479         [IS_IN (rtld)] (memset): Likewise.
5480         [IS_IN (rtld)] (rawmemchr): Likewise.
5481         [IS_IN (rtld)] (stpcpy): Likewise.
5482         [IS_IN (rtld)] (strchr): Likewise.
5483         [IS_IN (rtld)] (strcmp): Likewise.
5484         [IS_IN (rtld)] (strlen): Likewise.
5485         [IS_IN (rtld)] (strnlen): Likewise.
5486         [IS_IN (rtld)] (strsep): Likewise.
5488         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5489         attribute_hidden.
5490         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5492         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5493         attribute_hidden.
5494         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5496         * include/setjmp.h (__longjmp): Add attribute_hidden.
5497         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5499         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5500         Add attribute_hidden.
5502         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5503         [IS_IN (rtld)] (__open): Likewise.
5504         [IS_IN (rtld)] (__fcntl): Likewise.
5506         * include/dirent.h (__opendirat): Add attribute_hidden.
5507         (__getdents): Likewise.
5508         (__getdents64): Likewise.
5509         (__alloc_dir): Likewise.
5510         [IS_IN (rtld)] (__closedir): Likewise.
5511         [IS_IN (rtld)] (__fdopendir): Likewise.
5512         [IS_IN (rtld)] (__readdir): Likewise.
5513         [IS_IN (rtld)] (__readdir64): Likewise.
5514         [IS_IN (rtld)] (__rewinddir): Likewise.
5516         * include/dlfcn.h (_dl_catch_error): Moved to ...
5517         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5518         attribute_hidden.
5520         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5521         (_itoa_word): Likewise.
5523         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5524         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5525         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5526         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5527         (_dl_higher_prime_number): Likewise.
5528         (_dl_debug_printf_c): Likewise.
5529         (_dl_signal_cerror): Likewise.
5530         (_dl_receive_error): Likewise.
5531         (_dl_reloc_bad_type): Likewise.
5532         (_dl_resolve_conflicts): Likewise.
5533         (_dl_check_all_versions): Likewise.
5534         (_dl_check_map_versions): Likewise.
5535         (_dl_sort_fini): Likewise.
5536         (_dl_debug_initialize): Likewise.
5537         (_dl_init_paths): Likewise.
5538         (_dl_show_auxv): Likewise.
5539         (_dl_next_ld_env_entry): Likewise.
5540         (_dl_important_hwcaps): Likewise.
5541         (_dl_load_cache_lookup): Likewise.
5542         (_dl_update_slotinfo): Likewise.
5543         (_dl_show_scope): Likewise.
5545         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5546         attribute_hidden.
5547         (_wordcopy_fwd_dest_aligned): Likewise.
5548         (_wordcopy_bwd_aligned): Likewise.
5549         (_wordcopy_bwd_dest_aligned): Likewise.
5551         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5552         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5553         Likewise.
5554         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5555         Likewise.
5556         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5558 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5561         GCC 5 requirement.
5563 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5565         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5566         test.
5567         * sysdeps/i386/configure: Regenerated.
5568         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5569         code unconditional.
5571         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5572         test.
5573         (libc_cv_asm_popsection_directive): Likewise.
5574         * configure: Regenerated.
5575         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5576         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5577         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5578         (__make_section_unallocated): Make definition unconditional.
5579         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5580         Remove conditional definition.
5581         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5582         (__make_section_unallocated): Likewise.
5584         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5585         * configure: Regenerated.
5586         * config.make.in (static-libgcc): Remove variable.
5587         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5588         $(static-libgcc).
5589         (build-module-helper): Likewise.
5591         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5592         * configure: Regenerated.
5594 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5596         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5597         (struct char_buffer): New type.
5598         (char_buffer_start, char_buffer_size, char_buffer_error)
5599         (char_buffer_rewind, char_buffer_add): New functions.
5600         (ADDW): Remove macro, replaced by the char_buffer_add function.
5601         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5602         of extend_alloca.  Make control flow more explicit.
5604 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5606         [BZ #19137]
5607         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5608         Add -fomit-frame-pointer.
5609         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5611 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5613         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5614         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5616         only if !__GNUC_PREREQ (5,0).
5617         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5618         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5619         (INTERNAL_SYSCALL_NCS): Likewise.
5620         (LOADREGS_0): New macro for GCC 5.
5621         (ASMARGS_0): Likewise.
5622         (LOADREGS_1): Likewise.
5623         (ASMARGS_1): Likewise.
5624         (LOADREGS_2): Likewise.
5625         (ASMARGS_2): Likewise.
5626         (LOADREGS_3): Likewise.
5627         (ASMARGS_3): Likewise.
5628         (LOADREGS_4): Likewise.
5629         (ASMARGS_4): Likewise.
5630         (LOADREGS_5): Likewise.
5631         (ASMARGS_5): Likewise.
5632         (LOADREGS_6): Likewise.
5633         (ASMARGS_6): Likewise.
5635 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5637         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5638         -fomit-frame-pointer.
5639         (CFLAGS-mmap64.c): Likewise.
5640         (CFLAGS-semtimedop.c): Likewise.
5641         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5642         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5643         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5644         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5646 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5648         [BZ #18928]
5649         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5650         _dl_pointer_guard member.
5651         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5652         initializer.
5653         (security_init): Always set up pointer guard.
5654         (process_envvars): Do not process LD_POINTER_GUARD.
5656 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5658         [BZ #19134]
5659         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5660         (.LC2): Likewise.
5661         (.LC3): Likewise.
5662         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5664 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5666         [BZ #19129]
5667         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5668         r0 and r1.
5670 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5672         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5674 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5676         * include/stap-probe.h: Fix macro definition formatting.
5678 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5680         [BZ #19074]
5681         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5682         load and store num_ifs.
5684 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5686         [BZ #18822]
5687         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5688         (__sched_getaffinity_new): Add libc_hidden_proto and
5689         libc_hidden_def.
5691 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5693         [BZ #19007]
5694         * scripts/localplt.awk: Also allow GOT references.
5695         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5696         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5697         with "+ REL R_386_GLOB_DAT".
5698         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5699         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5701 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5703         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5704         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5705         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5706         Likewise.
5707         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5708         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5709         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5710         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5711         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5712         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5713         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5714         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5715         Likewise.
5716         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5718 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5720         [BZ #19125]
5721         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5722         <math_private.h> and <stdint.h>.
5723         (__llround): Avoid conversions to and from long long int, and
5724         subtractions, where those might raise spurious exceptions.
5725         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5726         <math_private.h> and <stdint.h>.
5727         (__llroundf): Avoid conversions to and from long long int, and
5728         subtractions, where those might raise spurious exceptions.
5730 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5732         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5733         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5734         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5735         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5737         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5738         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5739         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5740         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5741         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5742         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5743         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5744         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5745         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5746         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5747         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5748         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5749         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5750         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5751         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5752         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5753         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5754         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5755         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5756         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5757         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5758         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5759         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5760         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5761         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5762         (__xstat64_conv): Likewise.
5763         (__xstat32_conv): Likewise.
5765 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5767         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5768         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5769         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5770         <sysdeps/unix/sysv/linux/sysdep.h>.
5771         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5772         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5773         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5774         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5775         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5776         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5777         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5778         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5779         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5784         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5785         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5788         (sysdep-dl-routines): Add sysdep.
5789         [$(subdir) == nptl] (libpthread-routines): Likewise.
5790         [$(subdir) == rt] (librt-routines): Likewise.
5791         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5792         PIC when branching to SYSCALL_ERROR_LABEL.
5793         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5795         <sysdeps/unix/sysv/linux/sysdep.h>.
5796         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5797         (SYSCALL_ERROR_ERRNO): Removed.
5798         (SYSCALL_ERROR_HANDLER): Changed to empty.
5799         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5800         (__syscall_error): New prototype.
5801         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5802         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5804 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5806         [BZ #19124]
5807         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5808         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5809         _dl_runtime_resolve_avx.
5810         (_dl_runtime_profile_avx512): Make it a hidden alias of
5811         _dl_runtime_profile_avx.
5813 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5815         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5816         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5817         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5818         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5820         [BZ #16422]
5821         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5822         New configure test.
5823         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5824         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5825         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5826         <math_private.h> and <stdint.h>.
5827         (__llrint): Avoid conversions to long long int where those might
5828         raise spurious exceptions.
5829         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5830         <math_private.h> and <stdint.h>.
5831         (__llrintf): Avoid conversions to long long int where those might
5832         raise spurious exceptions.
5834 2015-10-12  Andreas Schwab  <schwab@suse.de>
5836         [BZ #18969]
5837         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5838         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5839         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5840         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5841         $(gen-locales).
5842         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5843         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5844         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5845         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5846         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5847         $(gen-locales).
5848         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5849         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5850         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5851         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5852         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5853         ($(objpfx)tst-ftell-active-handler.out)
5854         ($(objpfx)tst-ftell-append.out)
5855         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5856         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5857         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5858         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5859         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5860         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5861         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5862         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5863         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5864         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5865         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5866         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5867         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5868         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5869         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5870         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5871         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5872         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5873         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5874         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5875         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5876         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5877         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5878         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5879         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5880         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5881         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5882         $(gen-locales).
5883         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5884         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5885         $(gen-locales).
5886         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5887         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5888         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5889         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5890         $(gen-locales).
5891         * libio/tst_wprintf2.c (main): Use explicit locale.
5892         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5894 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5896         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5897         __msg_sig_post.
5898         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5900 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5902         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5903         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5905         * sysdeps/arm/libm-test-ulps: Regenerated.
5907         [BZ #15470]
5908         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5910         [BZ #16399]
5911         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5912         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5913         and <fix-fp-int-convert-overflow.h>.
5914         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5915         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5916         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5917         and <fix-fp-int-convert-overflow.h>.
5918         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5919         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5920         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5921         <fix-fp-int-convert-overflow.h>.
5922         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5923         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5924         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5925         <fix-fp-int-convert-overflow.h>.
5926         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5927         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5928         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5929         and <fix-fp-int-convert-overflow.h>.
5930         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5931         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5932         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5933         <limits.h> and <fix-fp-int-convert-overflow.h>.
5934         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5935         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5936         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5937         and <fix-fp-int-convert-overflow.h>.
5938         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5939         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5940         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5941         and <fix-fp-int-convert-overflow.h>.
5942         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5943         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5944         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5946 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5948         [BZ #18589]
5949         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5950         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5951         $(gen-locales).
5953 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5954             Phil Blundell <pb@pbcl.net>
5956         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5957         * nptl/tst-cancel26.c: New file.
5958         * nptl/tst-cancel27.c: Likewise.
5960 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5962         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5963         __ILP32__ isn't defined.
5964         (lrint): Likewise.
5965         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5966         (lrintf): Likewise.
5967         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5968         (lrintl): Likewise.
5969         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5970         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5971         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5973 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5975         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5979         file.
5980         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5981         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5983 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5985         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5986         configure test.
5987         * sysdeps/i386/configure: Regenerated.
5988         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5989         configure test.
5990         * sysdeps/x86_64/configure: Regenerated.
5991         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5992         Make code unconditional.
5994         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5995         test.
5996         * sysdeps/i386/configure: Regenerated.
5997         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5998         test.
5999         * sysdeps/x86_64/configure: Regenerated.
6000         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6001         Make code unconditional.
6002         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6003         Likewise.
6004         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6005         Likewise.
6006         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6007         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6008         code unconditional.
6009         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6010         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6011         code unconditional.
6012         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6013         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6014         code unconditional.
6015         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6016         code unconditional.
6017         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6018         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6019         code unconditional.
6020         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6021         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6022         code unconditional.
6023         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6024         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6025         code unconditional.
6026         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6027         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6028         code unconditional.
6029         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6030         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6032         [BZ #19095]
6033         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6034         mantissa to long int before shifting left.
6036 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6038         [BZ #19094]
6039         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6040         <limits.h>.
6041         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6042         when result overflows but exception would not result from cast.
6043         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6044         <limits.h>.
6045         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6046         when result overflows but exception would not result from cast.
6047         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6048         <limits.h>.
6049         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6050         when result overflows but exception would not result from cast.
6051         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6052         <limits.h>.
6053         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6054         when result overflows but exception would not result from cast.
6055         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6056         <limits.h>.
6057         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6058         when result overflows but exception would not result from cast.
6059         * math/libm-test.inc (lrint_test_data): Add more tests.
6060         (llrint_test_data): Likewise.
6062 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6064         [BZ #18872]
6065         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6066         Move out from under [$(run-built-tests) = yes] conditional.
6067         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6068         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6070 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6072         [BZ #18589]
6073         * string/Makefile (tests): Add bug-strcoll2.
6074         (LOCALES): Add cs_CZ.UTF-8.
6075         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6077         [BZ #18589]
6078         * string/bug-strcoll2.c: New file.
6079         * locale/categories.def: Revert commit
6080         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6081         * locale/langinfo.h: Likewise.
6082         * locale/localeinfo.h: Likewise.
6083         * locale/C-collate.c: Likewise.
6084         * locale/programs/ld-collate.c (collate_output): Likewise.
6085         * string/strcoll_l.c (STRDIFF): Likewise.
6086         (STRCOLL): Likewise.
6087         * wcsmbs/wcscoll_l.c: Likewise.
6089 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6091         * math/libm-test.inc (lround_test_data): Do not expect the absence
6092         of "inexact" for some tests with non-integer arguments.
6093         (llround_test_data): Likewise.
6095         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6096         test.
6097         (libc_cv_cc_sse2avx): Likewise.
6098         * sysdeps/i386/configure: Regenerated.
6099         * sysdeps/i386/i686/multiarch/Makefile
6100         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6101         [$(subdir) = math].
6102         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6103         code unconditional.
6104         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6105         Likewise.
6106         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6107         Likewise.
6108         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6109         Likewise.
6110         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6111         test.
6112         (libc_cv_cc_sse2avx): Likewise.
6113         * sysdeps/x86_64/configure: Regenerated.
6114         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6115         unconditional.
6116         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6117         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6118         unconditional.
6119         (_dl_runtime_profile)
6120         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6121         conditional code.
6122         * sysdeps/x86_64/fpu/multiarch/Makefile
6123         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6125         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6126         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6127         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6128         * sysdeps/x86_64/fpu/multiarch/e_log.c
6129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6130         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6131         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6132         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6133         Likewise.
6134         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6135         Likewise.
6136         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6137         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6138         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6139         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6140         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6141         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6142         (HAVE_SSE2AVX_SUPPORT): Likewise.
6144 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6146         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6147         instead of #pragma optimize.
6149 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6151         [BZ #17195]
6152         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6153         as is similarly done in systrim and _int_free already.
6155 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6157         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6159 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6161         [BZ #19088]
6162         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6163         <limits.h>.
6164         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6165         overflows but exception would not result from cast.
6166         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6167         and <limits.h>.
6168         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6169         overflows but exception would not result from cast.
6170         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6171         <limits.h>.
6172         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6173         overflows but exception would not result from cast.
6174         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6175         <limits.h>.
6176         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6177         overflows but exception would not result from cast.
6178         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6179         <limits.h>.
6180         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6181         overflows but exception would not result from cast.
6182         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6183         <limits.h>.
6184         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6185         overflows but exception would not result from cast.
6186         * math/libm-test.inc (lround_test_data): Add more tests.
6187         (llround_test_data): Likewise.
6189 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6191         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6192         (CFLAGS-ialloc.c): Ditto.
6193         (CFLAGS-scheck.c): Ditto.
6195 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6197         [BZ #19086]
6198         * manual/filesys.texi (Storage Allocation): Fix argument order for
6199         posix_fallocate64.
6201 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6203         [BZ #19085]
6204         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6205         exponent below 48 inside case for non-overflowing exponent.
6206         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6208 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6210         * iconvdata/cp737.h (from_idx): Add const.
6211         * iconvdata/cp775.h (from_idx): Likewise.
6213 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6215         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6216         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6217         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6219         [BZ #19079]
6220         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6221         file, conditioned on [!_LP64].
6222         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6223         [!_LP64] (__lround): Do not define as function or alias.
6224         [!_LP64] (lround): Likewise.
6225         [!_LP64] (__lroundl): Likewise.
6226         [!_LP64] (lroundl): Likewise.
6227         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6228         macro.
6229         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6230         Likewise.
6232 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6234         * math/libm-test.inc (lrint_test_data): Add more tests.
6235         (llrint_test_data): Likewise.
6236         (lround_test_data): Likewise.
6237         (llround_test_data): Likewise.
6239         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6240         (llrint_test_data): Add tests used for lrint.
6242         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6243         test.
6244         * sysdeps/i386/configure: Regenerated.
6245         * sysdeps/i386/i686/multiarch/Makefile
6246         [$(config-cflags-sse4) = yes]: Make code unconditional.
6247         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6248         Likewise.
6249         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6250         Likewise.
6251         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6252         test.
6253         * sysdeps/x86_64/configure: Regenerated.
6254         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6255         Make code unconditional.
6256         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6257         Likewise.
6258         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6259         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6261         * scripts/rpm2dynsym.sh: Remove file.
6263 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6265         * configure.ac (libc_cv_cxx_thread_local): Define.
6266         * configure: Regenerate.
6267         * config.make.in (have-cxx-thread_local): Define.
6268         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6269         (LDLIBS-tst-thread_local1): Define.
6270         (tests): Add tst-thread_local1.
6271         [have-cxx-thread_local != yes] (tests-unsupported): Add
6272         tst-thread_local1.
6273         * nptl/tst-thread_local1.cc: New file.
6275 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6277         [BZ #19078]
6278         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6279         (u_thres): Likewise.
6280         (__expl): Determine whether to call __kernel_standard_l based on
6281         value of result, not argument.
6283         * math/libm-test.inc (scalb_test_data): Add more expectations for
6284         the "inexact" exception.
6286         [BZ #19077]
6287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6288         0.0L for argument 1.0L.
6290         [BZ #19076]
6291         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6292         constant 0.0L when computing infinite result.
6294 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6296         [BZ #10432]
6297         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6298         malloc_usable_size.
6300 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6302         [BZ #19018]
6303         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6304         Mangle function pointer before storing it.
6305         (__call_tls_dtors): Demangle function pointer before calling it.
6307 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6309         [BZ #19012]
6310         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6311         Clean up on failure.
6313 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #19071]
6316         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6317         long int variable to store possibly incremented high part of
6318         mantissa.
6319         * math/libm-test.inc (lround_test_data): Add tests used for
6320         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6321         for tests requiring 64-bit long.  Do not condition tests on
6322         [TEST_FLOAT] unnecessarily.
6323         (llround_test_data): Add tests used for lround.  Add another
6324         expectation for the "inexact" exception.  Do not condition tests
6325         on [TEST_FLOAT] unnecessarily.
6327         [BZ #887]
6328         [BZ #19049]
6329         [BZ #19050]
6330         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6331         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6332         <fix-int-fp-convert-zero.h>.
6333         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6334         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6335         <fix-int-fp-convert-zero.h>.
6336         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6337         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6338         <fix-int-fp-convert-zero.h>.
6339         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6340         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6341         <fix-int-fp-convert-zero.h>.
6342         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6343         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6344         <fix-int-fp-convert-zero.h>.
6345         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6346         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6347         <fix-int-fp-convert-zero.h>.
6348         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6349         * sysdeps/ieee754/flt-32/s_erff.c: Include
6350         <fix-int-fp-convert-zero.h>.
6351         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6352         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6353         <fix-int-fp-convert-zero.h>.
6354         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6356         <fix-int-fp-convert-zero.h>.
6357         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6359         <fix-int-fp-convert-zero.h>.
6360         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6361         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6362         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6363         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6364         file.
6365         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6367 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6371 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #19059]
6374         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6375         overflowing computation.
6376         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6377         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6379         Likewise.
6380         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6381         Likewise.
6382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6383         Likewise.
6384         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6385         Likewise.
6386         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6387         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6388         Likewise.
6389         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6390         Likewise.
6391         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6393         * nss/rewrite_field.c (__nss_rewrite_field): Use
6394         internal_function.
6395         * nss/valid_field.c (__nss_valid_field): Likewise.
6396         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6398 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6400         [BZ #18724]
6401         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6402         (__nss_invalid_field_characters, __nss_valid_field)
6403         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6404         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6405         tst-field.c: New file.
6406         * nss/Makefile (routines): Add valid_field, rewrite_field.
6407         (tests-static): Define unconditionally.
6408         (tests): Include tests-static.
6409         [build-static-nss] (tests-static): Use append.
6410         [build-static-nss] (tests): Remove modification.
6411         * nss/getent.c (print_group): Call putgrent.  Report error.
6412         (print_gshadow): Call putsgent.  Report error.
6413         (print_passwd): Call putpwent.  Report error.
6414         (print_shadow): Call putspent.  Report error.
6415         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6416         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6417         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6418         name, password, directory, shell fields for valid syntax.  Rewrite
6419         GECOS field to match syntax.
6420         * pwd/Makefile (tests): Add tst-putpwent.
6421         * pwd/tst-putpwent.c: New file.
6422         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6423         Check grName, grpasswd, gr_mem fields for valid syntax.
6424         Change loop variable i to size_t.
6425         * grp/Makefile (tests): Add tst-putgrent.
6426         * grp/tst-putgrent.c: New file.
6427         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6428         valid syntax.
6429         * shadow/Makefile (tests): Add tst-putspent.
6430         * shadow/tst-putspent.c: New file.
6431         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6432         sg_mem fields for valid syntax.
6433         * gshadow/Makefile (tests): Add tst-putsgent.
6434         * gshadow/tst-putsgent.c: New file.
6436 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6438         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6439         assembly instructions.
6441 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6443         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6444         prefix from operands.
6446 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6448         [BZ #16347]
6449         [BZ #19046]
6450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6451         <libc-internal.h>.
6452         (MAXLGM): Do not use diagnostic control macros.
6453         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6454         threshold for ldbl-128ibm.
6455         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6456         instead of multiplying by log then subtracting.
6457         * math/auto-libm-test-in: Add more tests of lgamma.
6458         * math/auto-libm-test-out: Regenerated.
6460         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6461         (TYPE_HEX_DIG): Likewise.
6462         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6463         precisions when printing floating-point numbers.
6464         (check_float_internal): Likewise.
6466 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6468         [BZ #16620]
6469         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6470         of log (10) rounded downward to 48 bits.
6471         (log10_low): Use corresponding low part of log (10).
6473         [BZ #19032]
6474         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6475         compute result as (x - x) / (x - x) not as 0 / 0.
6476         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6477         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6479         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6480         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6481         and expm1.
6482         * math/auto-libm-test-out: Regenerated.
6483         * math/libm-test.inc (acos_test_data): Add more tests.
6484         (asin_test_data): Likewise.
6485         (asinh_test_data): Likewise.
6486         (atan_test_data): Likewise.
6487         (atanh_test_data): Likewise.
6488         (atan2_test_data): Likewise.
6489         (cbrt_test_data): Likewise.
6490         (ceil_test_data): Likewise.
6491         (copysign_test_data): Likewise.
6492         (cos_test_data): Likewise.
6493         (cosh_test_data): Likewise.
6494         (erf_test_data): Likewise.
6495         (erfc_test_data): Likewise.
6496         (exp_test_data): Likewise.
6497         (exp10_test_data): Likewise.
6498         (exp2_test_data): Likewise.
6499         (expm1_test_data): Likewise.
6500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6502 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6504         [BZ #19006]
6505         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6506         to ...
6507         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6508         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6509         to ...
6510         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6511         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6512         to ...
6513         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6514         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6515         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6516         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6517         to ...
6518         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6519         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6520         Moved to ...
6521         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6522         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6523         Moved to ...
6524         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6525         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6526         to ...
6527         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6529         Moved to ...
6530         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6531         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6532         to ...
6533         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6534         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6535         Removed.
6536         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6537         Likewise.
6538         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6539         Likewise.
6540         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6541         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6542         Likewise.
6543         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6556         Likewise.
6557         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6558         Likewise.
6559         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6560         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6571         Replace ../i486/pthread_cond_timedwait.S with
6572         ../pthread_cond_timedwait.S.
6574 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6576         * math/libm-test.inc (acos_test_data): Refine expectations for
6577         errno and "inexact" exceptions.
6578         (acosh_test_data): Likewise.
6579         (asin_test_data): Likewise.
6580         (asinh_test_data): Likewise.
6581         (atan_test_data): Likewise.
6582         (atanh_test_data): Likewise.
6583         (atan2_test_data): Likewise.
6584         (cbrt_test_data): Likewise.
6585         (ceil_test_data): Likewise.
6586         (copysign_test_data): Likewise.
6587         (cosh_test_data): Likewise.
6588         (erf_test_data): Likewise.
6589         (erfc_test_data): Likewise.
6590         (exp_test_data): Likewise.
6591         (exp10_test_data): Likewise.
6592         (exp2_test_data): Likewise.
6593         (expm1_test_data): Likewise.
6594         (fabs_test_data): Likewise.
6595         (floor_test_data): Likewise.
6596         (fma_test_data): Likewise.
6597         (fmax_test_data): Likewise.
6598         (fmin_test_data): Likewise.
6599         (fmod_test_data): Likewise.
6600         (fpclassify_test_data): Likewise.
6601         (frexp_test_data): Likewise.
6602         (hypot_test_data): Likewise.
6603         (ilogb_test_data): Likewise.
6604         (isgreater_test_data): Likewise.
6605         (isgreaterequal_test_data): Likewise.
6606         (isinf_test_data): Likewise.
6607         (isless_test_data): Likewise.
6608         (islessequal_test_data): Likewise.
6609         (islessgreater_test_data): Likewise.
6610         (isnan_test_data): Likewise.
6611         (isnormal_test_data): Likewise.
6612         (issignaling_test_data): Likewise.
6613         (isunordered_test_data): Likewise.
6614         (j0_test_data): Likewise.
6615         (j1_test_data): Likewise.
6616         (jn_test_data): Likewise.
6617         (lgamma_test_data): Likewise.
6618         (lrint_test_data): Likewise.
6619         (llrint_test_data): Likewise.
6620         (log_test_data): Likewise.
6621         (log10_test_data): Likewise.
6622         (log1p_test_data): Likewise.
6623         (log2_test_data): Likewise.
6624         (logb_test_data): Likewise.
6625         (lround_test_data): Likewise.
6626         (llround_test_data): Likewise.
6627         (modf_test_data): Likewise.
6628         (nearbyint_test_data): Likewise.
6629         (nextafter_test_data): Likewise.
6630         (nexttoward_test_data): Likewise.
6631         (pow_test_data): Likewise.
6632         (remainder_test_data): Likewise.
6633         (remquo_test_data): Likewise.
6634         (rint_test_data): Likewise.
6635         (round_test_data): Likewise.
6636         (signbit_test_data): Likewise.
6637         (sinh_test_data): Likewise.
6638         (sqrt_test_data): Likewise.
6639         (tanh_test_data): Likewise.
6640         (tgamma_test_data): Likewise.
6641         (trunc_test_data): Likewise.
6642         (y0_test_data): Likewise.
6643         (y1_test_data): Likewise.
6644         (yn_test_data): Likewise.
6645         (significand_test_data): Likewise.
6647 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6649         * manual/filesys.texi (Storage Allocation): Document that
6650         posix_fallocate emulation fails when fd is open with O_WRONLY.
6652 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6654         [BZ #19016]
6655         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6656         allow more cases with X^2 + Y^2 >= 0.5.
6657         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6658         normal element in sum instead of special-casing based on values of
6659         arguments.
6660         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6661         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6662         -1 as normal element in sum instead of special-casing based on
6663         values of arguments.
6664         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6665         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6666         (__x2y2m1): Update comment.
6667         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6668         as normal element in sum instead of special-casing based on values
6669         of arguments.
6670         * math/s_clog.c (__clog): Handle more cases using log1p without
6671         hypot.
6672         * math/s_clog10.c (__clog10): Likewise.
6673         * math/s_clog10f.c (__clog10f): Likewise.
6674         * math/s_clog10l.c (__clog10l): Likewise.
6675         * math/s_clogf.c (__clogf): Likewise.
6676         * math/s_clogl.c (__clogl): Likewise.
6677         * math/auto-libm-test-in: Add more tests of clog and clog10.
6678         * math/auto-libm-test-out: Regenerated.
6679         * sysdeps/i386/fpu/libm-test-ulps: Update.
6680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6682 2015-09-28  Martin Sebor  <msebor@redhat.com>
6684         [BZ #18969]
6685         * string/Makefile (LOCALES): Define.
6686         (gen-locales.mk): Include.
6687         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6688         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6689         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6690         on setlocale failure.
6692 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6694         [BZ #18985]
6695         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6696         (__strftime_internal): Likewise.
6697         * time/tst-strftime.c (do_bz18985): New test.
6698         (do_test): Call it.
6700 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6702         [BZ #18956]
6703         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6704         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6705         extracting high part.
6706         * math/auto-libm-test-in: Add another test of pow.
6707         * math/auto-libm-test-out: Regenerated.
6708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6710 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6712         [BZ #18825]
6713         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6714         New macro.
6715         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6716         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6717         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6718         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6719         DBL_NARROW_EVAL, reloading the PIC register as needed.
6720         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6721         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6722         FLT_NARROW_EVAL.  Use separate return path for case when first
6723         argument is NaN.
6724         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6725         DEFINE_LDBL_MIN.
6726         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6727         PIC register.
6728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6729         math_check_force_underflow_nonneg.
6730         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6731         underflow for subnormal result.
6732         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6734         math_check_force_underflow_nonneg.
6735         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6736         math_check_force_underflow.
6737         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6738         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6739         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6740         DEFINE_LDBL_MIN.
6741         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6742         * math/auto-libm-test-in: Add more tests of pow.
6743         * math/auto-libm-test-out: Regenerated.
6745 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6747         * nss/bug17079.c (init_test_items): Add diagnostic for
6748         inconsistent entries.
6749         (test_buffer_size): Skip inconsistent entries.
6751 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6753         [BZ #13304]
6754         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6755         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6756         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6758         [BZ #13304]
6759         * sysdeps/microblaze/s_fma.c: New file.
6760         * sysdeps/microblaze/s_fmaf.c: Likewise.
6761         * sysdeps/microblaze/sfp-machine.h: Likewise.
6763 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6765         [BZ #17250]
6766         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6767         member.
6769 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6771         [BZ #18803]
6772         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6773         (MO): New macro.
6774         (__ieee754_hypot) [PIC]: Load PIC register.
6775         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6776         DBL_NARROW_EVAL.
6777         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6778         math_check_force_underflow_nonneg in case where result might be
6779         tiny.
6780         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6781         Likewise.
6782         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6783         Likewise.
6784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6785         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6786         * math/auto-libm-test-in: Add more tests of hypot.
6787         * math/auto-libm-test-out: Regenerated.
6789 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6791         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6793 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6795         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6796         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6797         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6798         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6799         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6800         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6801         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6803         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6804         LOAD_PIC_REG.
6806         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6807         (FLT_CHECK_FORCE_UFLOW): Likewise.
6808         (DBL_CHECK_FORCE_UFLOW): Likewise.
6809         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6810         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6811         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6812         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6813         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6814         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6815         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6816         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6817         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6818         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6819         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6820         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6821         (flt_min): Replace with use of DEFINE_FLT_MIN.
6822         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6823         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6824         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6825         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6826         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6827         (flt_min): Replace with use of DEFINE_FLT_MIN.
6828         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6829         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6830         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6831         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6832         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6833         (flt_min): Replace with use of DEFINE_FLT_MIN.
6834         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6835         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6836         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6837         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6838         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6839         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6840         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6841         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6842         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6843         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6844         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6845         (flt_min): Replace with use of DEFINE_FLT_MIN.
6846         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6847         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6848         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6849         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6850         main computation.
6851         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6852         (flt_min): Replace with use of DEFINE_FLT_MIN.
6853         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6854         main computation.
6855         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6856         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6857         (MO): New macro.
6858         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6859         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6860         (flt_min): Replace with use of DEFINE_FLT_MIN.
6861         (MO): New macro.
6862         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6863         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6864         (__log1pl): Use MO.
6866         [BZ #19003]
6867         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6868         $(config-cflags-nofma).
6870 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6872         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6874 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6876         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6877         (TWO127): Likewise.
6879         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6880         (min_of_type): Likewise.
6881         (math_check_force_underflow): Likewise.
6882         (math_check_force_underflow_nonneg): Likewise.
6883         (math_check_force_underflow_complex): Likewise.
6884         * math/e_exp2l.c (__ieee754_exp2l): Use
6885         math_check_force_underflow_nonneg.
6886         * math/k_casinh.c (__kernel_casinh): Likewise.
6887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6889         * math/s_catan.c (__catan): Use
6890         math_check_force_underflow_complex.
6891         * math/s_catanf.c (__catanf): Likewise.
6892         * math/s_catanh.c (__catanh): Likewise.
6893         * math/s_catanhf.c (__catanhf): Likewise.
6894         * math/s_catanhl.c (__catanhl): Likewise.
6895         * math/s_catanl.c (__catanl): Likewise.
6896         * math/s_ccosh.c (__ccosh): Likewise.
6897         * math/s_ccoshf.c (__ccoshf): Likewise.
6898         * math/s_ccoshl.c (__ccoshl): Likewise.
6899         * math/s_cexp.c (__cexp): Likewise.
6900         * math/s_cexpf.c (__cexpf): Likewise.
6901         * math/s_cexpl.c (__cexpl): Likewise.
6902         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6903         * math/s_clog10.c (__clog10): Likewise.
6904         * math/s_clog10f.c (__clog10f): Likewise.
6905         * math/s_clog10l.c (__clog10l): Likewise.
6906         * math/s_clogf.c (__clogf): Likewise.
6907         * math/s_clogl.c (__clogl): Likewise.
6908         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6909         * math/s_csinf.c (__csinf): Likewise.
6910         * math/s_csinh.c (__csinh): Likewise.
6911         * math/s_csinhf.c (__csinhf): Likewise.
6912         * math/s_csinhl.c (__csinhl): Likewise.
6913         * math/s_csinl.c (__csinl): Likewise.
6914         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6915         * math/s_csqrtf.c (__csqrtf): Likewise.
6916         * math/s_csqrtl.c (__csqrtl): Likewise.
6917         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6918         * math/s_ctanf.c (__ctanf): Likewise.
6919         * math/s_ctanh.c (__ctanh): Likewise.
6920         * math/s_ctanhf.c (__ctanhf): Likewise.
6921         * math/s_ctanhl.c (__ctanhl): Likewise.
6922         * math/s_ctanl.c (__ctanl): Likewise.
6923         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6924         instead of volatile.
6925         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6926         math_check_force_underflow.
6927         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6928         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6929         volatile when forcing underflow.
6930         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6931         math_check_force_underflow_nonneg.
6932         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6933         Likewise.
6934         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6935         math_check_force_underflow.
6936         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6937         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6938         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6939         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6940         math_check_force_underflow_nonneg.
6941         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6942         math_check_force_underflow.
6943         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6945         instead of volatile.
6946         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6947         math_check_force_underflow.
6948         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6950         math_check_force_underflow_nonneg.
6951         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6952         math_check_force_underflow.
6953         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6954         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6955         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6956         math_check_force_underflow_nonneg.
6957         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6958         Likewise.
6959         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6960         math_check_force_underflow.
6961         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6962         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6963         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6964         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6965         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6966         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6967         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6968         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6969         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6970         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6971         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6972         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6973         Likewise.
6974         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6975         math_check_force_underflow_nonneg.
6976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6977         Likewise.
6978         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6979         math_check_force_underflow.
6980         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6981         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6982         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6983         Likewise.
6984         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6985         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6986         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6987         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6988         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6989         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6991         instead of volatile.
6992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6993         math_check_force_underflow.
6994         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6996         math_check_force_underflow.
6997         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6998         Likewise.
6999         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7000         Use math_check_force_underflow_nonneg.
7001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7002         math_check_force_underflow.
7003         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7004         Likewise.
7005         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7006         Likewise.
7007         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7012         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7013         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7014         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7015         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7016         math_check_force_underflow_nonneg.
7017         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7018         math_check_force_underflow.
7019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7020         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7021         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7022         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7023         math_check_force_underflow_nonneg.
7024         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7025         math_check_force_underflow.
7026         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7028         instead of volatile.
7029         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7030         math_check_force_underflow.
7032         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7033         * stdlib/strtod_l.c: Include <math_private.h>.
7034         (overflow_value): Use math_narrow_eval.
7035         (underflow_value): Likewise.
7036         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7037         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7038         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7039         (__ieee754_gamma_r): Likewise.
7040         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7041         Likewise.
7042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7043         Likewise.
7044         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7045         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7046         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7047         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7048         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7049         (__ieee754_gammaf_r): Likewise.
7050         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7051         Likewise.
7052         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7053         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7054         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7055         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7056         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7057         volatile.
7058         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7060         math_narrow_eval.
7061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7062         Likewise.
7063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7064         Likewise.
7065         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7066         Likewise.
7067         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7068         volatile.
7069         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7070         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7071         math_narrow_eval.
7072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7073         Likewise.
7074         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7075         Likewise.
7077 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7079         * nptl/Versions: Remove ignored symbols.
7081 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7083         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7084         * nss/Makefile (tests): Update.
7086 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7088         * nss/bug18287.c: New file.
7089         * nss/Makefile (tests): Add bug18287.
7091 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7093         * mach/Versions (__mach_host_self_): Add symbol.
7095 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7097         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7098         vm_page_size.
7100 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7102         Really fix sysdeps/i386/fpu/s_scalbn.S build
7104         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7105         (libc: GLIBC_2_22): Remove unused version set.
7107 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7109         * config.make.in (enable-timezone-tools): New variable.
7110         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7111         (enable_timezone_tools): Export to generated files.
7112         * configure: Regenerate.
7113         * INSTALL: Regenerate.
7114         * manual/install.texi (--disable-timezone-tools): Document new flag.
7115         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7116         ifeq ($(enable-timezone-tools),yes) check.
7118 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7120         * timezone/Makefile: Revert previous change.
7122         [BZ #18980]
7123         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7124         (DEFINE_DBL_MIN): Likewise.
7125         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7126         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7127         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7128         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7129         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7130         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7131         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7132         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7133         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7134         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7135         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7136         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7137         (flt_min): Replace with use of DEFINE_FLT_MIN.
7138         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7139         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7140         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7141         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7142         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7143         (flt_min): Replace with use of DEFINE_FLT_MIN.
7144         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7145         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7146         (flt_min): Replace with use of DEFINE_FLT_MIN.
7147         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7148         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7149         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7150         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7151         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7152         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7153         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7154         (__ieee754_pow): Use DBL_NARROW_EVAL.
7155         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7156         (__ieee754_powf): Use FLT_NARROW_EVAL.
7157         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7158         (__ieee754_expf_sse2): Convert double-precision result to single
7159         precision.
7160         * sysdeps/i386/fpu/libm-test-ulps: Update.
7162 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7164         * timezone/Makefile: Ignore unused variable errors due to private.h
7165         (time_t_min) and (time_t_max).
7166         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7167         Likewise.
7169 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7171         [BZ #18981]
7172         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7173         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7174         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7175         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7176         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7177         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7178         (__scalbn): Use DBL_NARROW_EVAL.
7179         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7180         (__scalbnf): Use FLT_NARROW_EVAL.
7182 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7184         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7185         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7186         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7187         * stdio-common/printf_fp.c (___printf_fp):
7188         Use signbit to get the sign. Use isinf macro to allow inlining.
7189         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7190         * stdio-common/printf_size.c (__printf_size): Likewise.
7192 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7194         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7196 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #18980]
7199         * sysdeps/generic/math_private.h: Include <float.h>.
7200         (math_narrow_eval): New macro.
7201         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7202         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7203         math_narrow_eval on overflowing return value.
7204         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7205         Likewise.
7206         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7207         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7208         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7209         Likewise.
7210         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7212 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7214         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7215         * math/Makefile: Remove isinf_ns.c.
7216         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7217         * math/multc3.c (__multc3): Likewise.
7218         * math/s_casin.c (__casin): Likewise.
7219         * math/s_casinf.c (__casinf): Likewise.
7220         * math/s_casinl.c (__casinl): Likewise.
7221         * math/s_cproj.c (__cproj): Likewise.
7222         * math/s_cprojf.c (__cprojf): Likewise.
7223         * math/s_cprojl.c (__cprofl): Likewise.
7224         * math/s_ctan.c (__ctan): Likewise.
7225         * math/s_ctanf.c (__ctanf): Likewise.
7226         * math/s_ctanh.c (__ctanh): Likewise.
7227         * math/s_ctanhf.c (__ctanhf): Likewise.
7228         * math/s_ctanhl.c (__ctanhl): Likewise.
7229         * math/s_ctanl.c (__ctanl): Likewise.
7230         * math/w_fmod.c (__fmod): Likewise.
7231         * math/w_fmodf.c (__fmodf): Likewise.
7232         * math/w_fmodl.c (_fmodl): Likewise.
7233         * math/w_remainder.c (__remainder): Likewise.
7234         * math/w_remainderf.c (__remainderf): Likewise.
7235         * math/w_remainderl.c (__remainderl): Likewise.
7236         * math/w_scalb.c (__scalb): Likewise.
7237         * math/w_scalbf.c (__scalbf): Likewise.
7238         * math/w_scalbl.c (__scalbl): Likewise.
7239         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7240         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7241         with isinf.
7242         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7244         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7245         __isinf_nsf with isinf.
7246         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7247         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7248         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7249         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7250         with isinf.
7251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7252         __isinf_nsl with isinf.
7253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7254         with isinf.
7255         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7256         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7257         __isinf_nsl with isinf.
7258         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7259         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7260         with isinf.
7262 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7264         * resolv/base64.c (rcsid): Remove unused static.
7265         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7266         static.  (tqpi1): Likewise.
7267         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7268         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7269         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7270         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7271         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7272         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7273         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7274         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7275         Likewise.
7277 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7279         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7280         <nptl/pthreadP.h>.
7281         (_longjmp_unwind): Use __libc_ptf_call.
7282         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7284 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7286         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7287         * sysdeps/arm/__longjmp.S: Likewise.
7289 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7291         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7292         Use __builtin_signbit.
7293         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7294         Use __builtin_signbitf.
7295         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7296         Use __builtin_signbitl.
7297         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7298         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7300 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7302         [BZ #15367]
7303         [BZ #17441]
7305         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7306         * math/math.h (fpclassify): Use __builtin_fpclassify when
7307         available.  (signbit): Use __builtin_signbit(f/l).
7308         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7309         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7310         (isinf): Use __builtin_isinf_sign.
7312 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7314         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7315         * benchtests/bench-math-inlines.c: New benchmark.
7316         * benchtests/bench-util.h: New file.
7317         * benchtests/bench-util.c: New file.
7318         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7320 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7322         * elf/tst-dlmopen1.c: Define TEST_SO.
7323         (do_test): Use TEST_SO.
7325         * elf/dl-load.c: Include libc-internal.h.
7326         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7328 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7330         [BZ #17887]
7331         * time/strptime_l.c (__strptime_internal): Make %z accept
7332         [+-]HH:MM time zones.
7334 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7336         [BZ #17886]
7337         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7338         valid time zone.
7340 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7342         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7343         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7345         (__ASSUME_FDATASYNC): Delete.
7347 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7349         * conform/linknamespace.pl: Require weak undefined symbols to be
7350         in the standard namespace.
7351         (%strong_syms): Rename to %seen_syms.
7352         (%strong_seen): Rename to %seen_where.
7354 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7356         [BZ #18970]
7357         * misc/error.c (error): Replace pthread_setcancelstate with
7358         __pthread_setcancelstate.
7359         (error_at_line): Likewise.
7360         * posix/wordexp.c (parse_comm): Likewise.
7361         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7362         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7363         (__pthread_setcancelstate): This.
7364         (pthread_setcancelstate): Add an alias.
7365         * nptl/nptl-init.c (pthread_functions): Replace
7366         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7367         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7368         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7369         hidden_proto.
7370         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7371         it with hidden_def.
7372         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7373         (pthread_setcancelstate): Renamed to ...
7374         (__pthread_setcancelstate): This.
7375         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7376         __libc_ptf_call with __pthread_setcancelstate.
7378 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7379             Andreas Schwab  <schwab@suse.de>
7381         [BZ #17118]
7382         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7383         result when imaginary part of argument is infinite using sine and
7384         cosine.
7385         * math/s_ctanf.c (__ctanf): Likewise.
7386         * math/s_ctanl.c (__ctanl): Likewise.
7387         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7388         of result when real part of argument is infinite using sine and
7389         cosine.
7390         * math/s_ctanhf.c (__ctanhf): Likewise.
7391         * math/s_ctanhl.c (__ctanhl): Likewise.
7392         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7393         (ctanh_test_data): Add more tests of ctanh.
7395 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7397         [BZ #15384]
7398         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7399         bit-mask as in subtraction.
7400         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7401         Likewise.
7402         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7403         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7404         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7406         [BZ #18951]
7407         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7408         underflow exception for small results.
7409         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7410         Likewise.
7411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7412         Likewise.
7413         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7414         Likewise.
7415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7416         Likewise.
7417         * math/auto-libm-test-in: Add more tests of tgamma.
7418         * math/auto-libm-test-out: Regenerated.
7420 2015-09-17  Andreas Schwab  <schwab@suse.de>
7422         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7424 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #18977]
7427         * math/bits/mathcalls.h
7428         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7429         not declare.
7430         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7431         Likewise.
7432         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7433         Likewise.
7434         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7435         Likewise.
7436         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7437         Likewise.
7438         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7439         Likewise.
7440         * conform/data/math.h-data
7441         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7442         function.
7443         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7444         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7445         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7446         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7447         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7448         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7449         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7450         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7451         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7452         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7453         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7455         [BZ #6803]
7456         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7457         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7458         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7459         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7460         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7461         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7462         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7463         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7464         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7465         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7466         Likewise.
7467         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7468         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7469         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7471         long_double_symbol calls.
7472         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7473         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7474         strong alias of __ldexpl.
7475         (scalbnl): Define using long_double_symbol.
7476         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7477         Remove alias.
7478         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7479         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7480         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7481         (scalbln_test_data): Add more errno expectations.
7483 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7485         Cache the host port like we cache the task port.  This way we do not
7486         need to call the kernel just to get the port.  Furthermore, we no
7487         longer increase the reference count on every invocation of
7488         `mach_host_self'.
7490         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7491         Protect declarations against the macro expansion.
7492         * mach/mach_init.c (__mach_host_self_): New variable.
7493         (mach_init): Initialize `__mach_host_self_'.
7494         * mach/mach_init.h (__mach_host_self_): New declaration.
7495         (__mach_host_self, mach_host_self): New macros.
7496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7497         Release reference.
7499 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7501         [BZ #4404]
7502         * po/de.po: Update from Translation Project.
7504         [BZ #16415]
7505         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7506         (__expm1l): Remove code to handle positive infinity and overflow.
7507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7508         variable.
7509         (__expm1l): Remove code to handle positive infinity and overflow.
7511 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7512             Paul Pluzhnikov  <ppluzhnikov@google.com>
7514         [BZ #18872]
7515         * stdio-common/Makefile (tst-printf-bz18872): New test.
7516         (tst-printf-bz18872-mem.out): Likewise.
7517         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7518         * stdio-common/vfprintf.c: Fix memory leaks.
7520 2015-09-16  Andreas Schwab  <schwab@suse.de>
7522         [BZ #17244]
7523         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7524         Remove extra va_start/va_end calls.
7526         [BZ #17243]
7527         * posix/execl.c (execl): Add missing va_end.
7528         * posix/execle.c (execle): Likewise.
7529         * posix/execlp.c (execlp): Likewise.
7531 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7533         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7534         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7536 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7538         [BZ #18967]
7539         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7540         undefine around includes of <bits/mathcalls.h>.
7541         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7542         not declare function.
7543         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7544         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7545         (scalb): Likewise.
7546         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7547         not define macro.
7548         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7549         variable.
7550         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7551         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7552         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7554         [BZ #18857]
7555         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7556         return non-finite argument without doing ordered comparisons on
7557         it.
7559         [BZ #16296]
7560         * math/fenv.h (fegetround): Use __attribute_pure__.
7561         * include/fenv.h (__fegetround): Likewise.
7563         [BZ #18595]
7564         * math/s_ctan.c (__ctan): Force underflow exception for results
7565         whose real or imaginary part has small absolute value.
7566         * math/s_ctanf.c (__ctanf): Likewise.
7567         * math/s_ctanh.c (__ctanh): Likewise.
7568         * math/s_ctanhf.c (__ctanhf): Likewise.
7569         * math/s_ctanhl.c (__ctanhl): Likewise.
7570         * math/s_ctanl.c (__ctanl): Likewise.
7571         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7572         and ctanh.  Add more tests of ctan and ctanh.
7574         [BZ #15918]
7575         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7576         handling of cases where one argument is an infinity.
7578         [BZ #18875]
7579         [BZ #18966]
7580         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7581         (MO): New macro.
7582         (__ieee754_exp10): For small results, force underflow exception
7583         and remove excess range and precision from return value.
7584         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7585         (MO): New macro.
7586         (__ieee754_exp10f): For small results, force underflow exception
7587         and remove excess range and precision from return value.
7588         * math/auto-libm-test-in: Add more tests of exp10.
7589         * math/auto-libm-test-out: Regenerated.
7591 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7593         [BZ #18875]
7594         [BZ #18961]
7595         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7596         (MO): New macro.
7597         (__ieee754_exp): For small results, force underflow exception and
7598         remove excess range and precision from return value.
7599         (__exp_finite): Likewise.
7600         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7601         (MO): New macro.
7602         (__ieee754_expf): For small results, force underflow exception and
7603         remove excess range and precision from return value.
7604         (__expf_finite): Likewise.
7605         * math/auto-libm-test-in: Add more tests of exp.
7606         * math/auto-libm-test-out: Regenerated.
7608         [BZ #16521]
7609         [BZ #18875]
7610         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7611         small results.
7612         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7613         (MO): New macro.
7614         (__ieee754_exp2): For small results, force underflow exception and
7615         remove excess range and precision from return value.
7616         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7617         (MO): New macro.
7618         (__ieee754_exp2f): For small results, force underflow exception
7619         and remove excess range and precision from return value.
7620         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7621         (MO): New macro.
7622         (__ieee754_exp2l): Force underflow exception for small results.
7623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7624         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7625         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7626         (MO): New macro.
7627         (__ieee754_exp2l): Force underflow exception for small results.
7628         * math/auto-libm-test-in: Add more tests or exp2.
7629         * math/auto-libm-test-out: Regenerated.
7631 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7633         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7635         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7636         /dev/null.
7638 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7640         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7641         io fs process)): Drop spurious backslash.
7643 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7645         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7646         Use sysinfo system call instead of parsing /proc/meminfo.
7647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7648         Likewise.
7650 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7652         [BZ #16985]
7653         * programs/localedef.c (main): Display argv[remaining] when
7654         output_path is NULL.
7656 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7658         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7659         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7660         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7661         tanh.
7662         * math/auto-libm-test-out: Regenerated.
7663         * sysdeps/i386/fpu/libm-test-ulps: Update.
7664         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7665         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7670         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7671         Use 'override' keyword to freeze the value here, preventing
7672         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7674 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7676         [BZ #14912]
7677         * sysdeps/aarch64/bits/atomic.h: Move to ...
7678         * sysdeps/aarch64/atomic-machine.h: ...here.
7679         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7680         _AARCH64_ATOMIC_MACHINE_H.
7681         * sysdeps/alpha/bits/atomic.h: Move to ...
7682         * sysdeps/alpha/atomic-machine.h: ...here.
7683         * sysdeps/arm/bits/atomic.h: Move to ...
7684         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7685         * bits/atomic.h: Move to ...
7686         * sysdeps/generic/atomic-machine.h: ...here.
7687         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7688         * sysdeps/i386/bits/atomic.h: Move to ...
7689         * sysdeps/i386/atomic-machine.h: ...here.
7690         * sysdeps/ia64/bits/atomic.h: Move to ...
7691         * sysdeps/ia64/atomic-machine.h: ...here.
7692         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7693         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7694         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7695         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7696         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7697         * sysdeps/microblaze/bits/atomic.h: Move to ...
7698         * sysdeps/microblaze/atomic-machine.h: ...here.
7699         * sysdeps/mips/bits/atomic.h: Move to ...
7700         * sysdeps/mips/atomic-machine.h: ...here.
7701         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7702         * sysdeps/powerpc/bits/atomic.h: Move to ...
7703         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7704         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7705         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7706         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7707         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7708         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7709         <atomic-machine.h> instead of <bits/atomic.h>.
7710         * sysdeps/s390/bits/atomic.h: Move to ...
7711         * sysdeps/s390/atomic-machine.h: ...here.
7712         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7713         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7714         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7716         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7717         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7718         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7719         * sysdeps/tile/bits/atomic.h: Move to ...
7720         * sysdeps/tile/atomic-machine.h: ...here.
7721         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7722         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7723         <sysdeps/tile/atomic-machine.h> instead of
7724         <sysdeps/tile/bits/atomic.h>.
7725         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7726         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7727         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7728         <sysdeps/tile/atomic-machine.h> instead of
7729         <sysdeps/tile/bits/atomic.h>.
7730         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7731         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7732         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7733         <sysdeps/arm/atomic-machine.h> instead of
7734         <sysdeps/arm/bits/atomic.h>.
7735         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7736         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7737         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7738         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7739         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7740         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7741         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7742         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7743         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7744         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7745         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7746         * sysdeps/x86_64/bits/atomic.h: Move to ...
7747         * sysdeps/x86_64/atomic-machine.h: ...here.
7748         * include/atomic.h: Include <atomic-machine.h> instead of
7749         <bits/atomic.h>.
7751         * sysdeps/mips/mips32/libm-test-ulps: Update.
7752         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7754         [BZ #18952]
7755         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7756         not convert non-integer negative arguments to int to determine the
7757         value of signgam.
7758         * math/auto-libm-test-in: Add more tests of lgamma.
7759         * math/auto-libm-test-out: Regenerated.
7761         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7762         cosh, csqrt, erfc, expm1 and lgamma.
7763         * math/auto-libm-test-out: Regenerated.
7764         * sysdeps/i386/fpu/libm-test-ulps: Update.
7765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7769         [BZ #2542]
7770         [BZ #2543]
7771         [BZ #2558]
7772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7773         __lgamma_neg for arguments from -28.0 to -2.0.
7774         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7775         __lgamma_negf for arguments from -15.0 to -2.0.
7776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7777         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7778         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7779         Call __lgamma_negl for arguments from -33.0 to -2.0.
7780         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7781         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7782         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7783         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7785         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7786         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7787         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7788         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7789         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7790         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7791         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7792         (__lgamma_neg): Likewise.
7793         (__lgamma_negl): Likewise.
7794         (__lgamma_product): Likewise.
7795         (__lgamma_productl): Likewise.
7796         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7797         * math/auto-libm-test-in: Add more tests of lgamma.
7798         * math/auto-libm-test-out: Regenerated.
7799         * sysdeps/i386/fpu/libm-test-ulps: Update.
7800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7804         [BZ #18675]
7805         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7807 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7809         [BZ #14912]
7810         * bits/libc-lock.h: Move to ...
7811         * sysdeps/generic/libc-lock.h: ...here.
7812         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7813         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7814         * sysdeps/mach/hurd/libc-lock.h: ...here.
7815         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7816         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7817         * sysdeps/mach/bits/libc-lock.h: Move to ...
7818         * sysdeps/mach/libc-lock.h: ...here.
7819         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7820         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7821         * sysdeps/nptl/libc-lock.h: ...here.
7822         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7823         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7824         * sysdeps/nptl/libc-lockP.h: ...here.
7825         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7826         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7827         <bits/libc-lock.h>.
7828         * dirent/scandir-tail.c: Likewise.
7829         * dlfcn/dlerror.c: Likewise.
7830         * elf/dl-close.c: Likewise.
7831         * elf/dl-iteratephdr.c: Likewise.
7832         * elf/dl-lookup.c: Likewise.
7833         * elf/dl-open.c: Likewise.
7834         * elf/dl-support.c: Likewise.
7835         * elf/dl-writev.h: Likewise.
7836         * elf/rtld.c: Likewise.
7837         * grp/fgetgrent.c: Likewise.
7838         * gshadow/fgetsgent.c: Likewise.
7839         * gshadow/sgetsgent.c: Likewise.
7840         * iconv/gconv_conf.c: Likewise.
7841         * iconv/gconv_db.c: Likewise.
7842         * iconv/gconv_dl.c: Likewise.
7843         * iconv/gconv_int.h: Likewise.
7844         * iconv/gconv_trans.c: Likewise.
7845         * include/link.h: Likewise.
7846         * inet/getnameinfo.c: Likewise.
7847         * inet/getnetgrent.c: Likewise.
7848         * inet/getnetgrent_r.c: Likewise.
7849         * intl/bindtextdom.c: Likewise.
7850         * intl/dcigettext.c: Likewise.
7851         * intl/finddomain.c: Likewise.
7852         * intl/gettextP.h: Likewise.
7853         * intl/loadmsgcat.c: Likewise.
7854         * intl/localealias.c: Likewise.
7855         * intl/textdomain.c: Likewise.
7856         * libidn/idn-stub.c: Likewise.
7857         * libio/libioP.h: Likewise.
7858         * locale/duplocale.c: Likewise.
7859         * locale/freelocale.c: Likewise.
7860         * locale/newlocale.c: Likewise.
7861         * locale/setlocale.c: Likewise.
7862         * login/getutent_r.c: Likewise.
7863         * login/getutid_r.c: Likewise.
7864         * login/getutline_r.c: Likewise.
7865         * login/utmp-private.h: Likewise.
7866         * login/utmpname.c: Likewise.
7867         * malloc/mtrace.c: Likewise.
7868         * misc/efgcvt.c: Likewise.
7869         * misc/error.c: Likewise.
7870         * misc/fstab.c: Likewise.
7871         * misc/getpass.c: Likewise.
7872         * misc/mntent.c: Likewise.
7873         * misc/syslog.c: Likewise.
7874         * nis/nis_call.c: Likewise.
7875         * nis/nis_callback.c: Likewise.
7876         * nis/nss-default.c: Likewise.
7877         * nis/nss_compat/compat-grp.c: Likewise.
7878         * nis/nss_compat/compat-initgroups.c: Likewise.
7879         * nis/nss_compat/compat-pwd.c: Likewise.
7880         * nis/nss_compat/compat-spwd.c: Likewise.
7881         * nis/nss_nis/nis-alias.c: Likewise.
7882         * nis/nss_nis/nis-ethers.c: Likewise.
7883         * nis/nss_nis/nis-grp.c: Likewise.
7884         * nis/nss_nis/nis-hosts.c: Likewise.
7885         * nis/nss_nis/nis-network.c: Likewise.
7886         * nis/nss_nis/nis-proto.c: Likewise.
7887         * nis/nss_nis/nis-pwd.c: Likewise.
7888         * nis/nss_nis/nis-rpc.c: Likewise.
7889         * nis/nss_nis/nis-service.c: Likewise.
7890         * nis/nss_nis/nis-spwd.c: Likewise.
7891         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7892         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7893         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7894         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7895         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7896         * nis/nss_nisplus/nisplus-network.c: Likewise.
7897         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7898         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7899         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7900         * nis/nss_nisplus/nisplus-service.c: Likewise.
7901         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7902         * nis/ypclnt.c: Likewise.
7903         * nptl/libc_pthread_init.c: Likewise.
7904         * nss/getXXbyYY.c: Likewise.
7905         * nss/getXXent.c: Likewise.
7906         * nss/getXXent_r.c: Likewise.
7907         * nss/nss_db/db-XXX.c: Likewise.
7908         * nss/nss_db/db-netgrp.c: Likewise.
7909         * nss/nss_db/nss_db.h: Likewise.
7910         * nss/nss_files/files-XXX.c: Likewise.
7911         * nss/nss_files/files-alias.c: Likewise.
7912         * nss/nsswitch.c: Likewise.
7913         * posix/regex_internal.h: Likewise.
7914         * posix/wordexp.c: Likewise.
7915         * pwd/fgetpwent.c: Likewise.
7916         * resolv/res_hconf.c: Likewise.
7917         * resolv/res_libc.c: Likewise.
7918         * shadow/fgetspent.c: Likewise.
7919         * shadow/lckpwdf.c: Likewise.
7920         * shadow/sgetspent.c: Likewise.
7921         * socket/opensock.c: Likewise.
7922         * stdio-common/reg-modifier.c: Likewise.
7923         * stdio-common/reg-printf.c: Likewise.
7924         * stdio-common/reg-type.c: Likewise.
7925         * stdio-common/vfprintf.c: Likewise.
7926         * stdio-common/vfscanf.c: Likewise.
7927         * stdlib/abort.c: Likewise.
7928         * stdlib/cxa_atexit.c: Likewise.
7929         * stdlib/fmtmsg.c: Likewise.
7930         * stdlib/random.c: Likewise.
7931         * stdlib/setenv.c: Likewise.
7932         * string/strsignal.c: Likewise.
7933         * sunrpc/auth_none.c: Likewise.
7934         * sunrpc/bindrsvprt.c: Likewise.
7935         * sunrpc/create_xid.c: Likewise.
7936         * sunrpc/key_call.c: Likewise.
7937         * sunrpc/rpc_thread.c: Likewise.
7938         * sysdeps/arm/backtrace.c: Likewise.
7939         * sysdeps/generic/ldsodefs.h: Likewise.
7940         * sysdeps/generic/stdio-lock.h: Likewise.
7941         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7942         * sysdeps/i386/backtrace.c: Likewise.
7943         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7944         * sysdeps/m68k/backtrace.c: Likewise.
7945         * sysdeps/mach/hurd/cthreads.c: Likewise.
7946         * sysdeps/mach/hurd/dirstream.h: Likewise.
7947         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7948         * sysdeps/nptl/malloc-machine.h: Likewise.
7949         * sysdeps/nptl/stdio-lock.h: Likewise.
7950         * sysdeps/posix/dirstream.h: Likewise.
7951         * sysdeps/posix/getaddrinfo.c: Likewise.
7952         * sysdeps/posix/system.c: Likewise.
7953         * sysdeps/pthread/aio_suspend.c: Likewise.
7954         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7955         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7956         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7957         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7958         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7959         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7960         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7961         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7962         * sysdeps/unix/sysv/linux/system.c: Likewise.
7963         * sysdeps/x86_64/backtrace.c: Likewise.
7964         * time/alt_digit.c: Likewise.
7965         * time/era.c: Likewise.
7966         * time/tzset.c: Likewise.
7967         * wcsmbs/wcsmbsload.c: Likewise.
7968         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7969         instead of <bits/libc-lock.h> in comment.
7971 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7973         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7974         Only use .set mips2 if the current ISA is below mips2.
7975         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7976         Likewise.
7977         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7978         mips32r2 if the current ISA is below mips32r2.
7979         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7980         (TLS_IE): Updated to use the TLD_RDHWR macro.
7981         (TLS_LE): Likewise.
7982         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7983         __ASSEMBLER__ condition.
7985 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7987         Fix parallel build of before-compile targets.
7989         * sysdeps/mach/Makefile ($(patsubst
7990         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7991         mach-before-compile target.
7992         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7993         io fs process)): Move rule to dedicated hurd-before-compile target.
7995 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7997         Fix rules generating headers in hurd/ and mach/ when initial make call
7998         has subdir= explicitly set.
8000         * sysdeps/mach/Makefile ($(patsubst
8001         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8002         calling $(MAKE).
8003         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8004         io fs process)): Force subdir to hurd when calling $(MAKE).
8005         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8006         subdir to mach when calling $(MAKE).
8008 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8010         Check sysheaders when looking for Mach and Hurd headers
8012         * sysdeps/mach/configure.ac: Add sysheaders check.
8013         * sysdeps/mach/configure: Regenerate.
8014         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8015         * sysdeps/mach/hurd/configure: Regenerate.
8017 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8019         [BZ #18921]
8020         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8021         Fix inverted sense of test of 'o_directory_works' value.
8022         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8023         Bernhard Voelker <mail@bernhard-voelker.de>.
8025 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8027         [BZ #14912]
8028         * bits/linkmap.h: Move to ...
8029         * sysdeps/generic/linkmap.h: ...here.
8030         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8031         * sysdeps/aarch64/linkmap.h: ...here.
8032         * sysdeps/arm/bits/linkmap.h: Move to ...
8033         * sysdeps/arm/linkmap.h: ...here.
8034         * sysdeps/hppa/bits/linkmap.h: Move to ...
8035         * sysdeps/hppa/linkmap.h: ...here.
8036         * sysdeps/ia64/bits/linkmap.h: Move to ...
8037         * sysdeps/ia64/linkmap.h: ...here.
8038         * sysdeps/mips/bits/linkmap.h: Move to ...
8039         * sysdeps/mips/linkmap.h: ...here.
8040         * sysdeps/s390/bits/linkmap.h: Move to ...
8041         * sysdeps/s390/linkmap.h: ...here.
8042         * sysdeps/sh/bits/linkmap.h: Move to ...
8043         * sysdeps/sh/linkmap.h: ...here.
8044         * sysdeps/x86/bits/linkmap.h: Move to ...
8045         * sysdeps/x86/linkmap.h: ...here.
8046         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8048 2015-09-04  Andreas Schwab  <schwab@suse.de>
8050         [BZ #18635]
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8052         (__makecontext): Terminate FDE before return label.
8053         (__novec_makecontext): Likewise.
8055 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8057         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8058         first member of struct sv in syscall macro.
8060 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8062         [BZ #14912]
8063         * bits/stdio-lock.h: Move to ...
8064         * sysdeps/generic/stdio-lock.h: ...here.
8065         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8066         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8067         * sysdeps/nptl/stdio-lock.h: ...here.
8068         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8069         * include/libio.h: Include <stdio-lock.h> instead of
8070         <bits/stdio-lock.h>.
8071         * sysdeps/nptl/fork.c: Likewise.
8072         * sysdeps/pthread/flockfile.c: Likewise.
8073         * sysdeps/pthread/ftrylockfile.c: Likewise.
8074         * sysdeps/pthread/funlockfile.c: Likewise.
8076         [BZ #14912]
8077         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8078         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8080         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8081         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8082         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8083         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8085 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8087         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8088         (test-xfail-tst-protected1b): New variable.
8090 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8092         [BZ #14912]
8093         * bits/libc-tsd.h: Move to ...
8094         * sysdeps/generic/libc-tsd.h: ...here.
8095         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8096         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8097         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8098         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8099         * include/ctype.h: Include <libc-tsd.h> instead of
8100         <bits/libc-tsd.h>.
8101         * include/rpc/rpc.h: Likewise.
8102         * locale/localeinfo.h: Likewise.
8103         * sunrpc/rpc_thread.c: Likewise.
8104         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8105         * sysdeps/nptl/malloc-machine.h: Likewise.
8107         * Makefile (headers): Remove bits/libc-lock.h.
8108         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8110         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8111         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8112         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8113         <bits/stdio-lock.h>.
8114         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8115         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8117 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8119         [BZ #18757]
8120         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8121         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8122         BZ #18757.
8124 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8126         * malloc/mtrace.pl: Filter out NULL entries.
8128 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8130         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8131         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8132         macro.
8134         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8135         (TCP_CC_INFO): Likewise.
8136         (TCP_SAVE_SYN): Likewise.
8137         (TCP_SAVED_SYN): Likewise.
8139 2015-08-31  Brett Neumeier <brett@neumeier.us>
8141         [BZ #18870]
8142         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8144 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8146         [BZ #18873]
8147         Fix broken overflow check in posix_fallocate
8148         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8149         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8150         Fix parenthesization typo.
8152 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8154         [BZ #18887]
8155         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8156         tst-mntent-blank-passno.
8157         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8158         * misc/tst-mntent-blank-corrupt.c: New test.
8159         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8160         * misc/tst-mntent.c (do_test): ... here.
8162 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8164         [BZ #4404]
8165         * po/de.po: Fix SIGALRM typo.
8167 2015-08-28  James Perkins  <james@loowit.net>
8169         * time/tst-strptime2.c (tests): Replace short list of test
8170         strings for strptime %z specifier with code which exhaustively
8171         tests every combination of sign and 0 to 5 digits. Tests for
8172         rejection of invalid strings.
8174 2015-08-28  James Perkins  <james@loowit.net>
8176         [BZ #16141]
8177         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8178         calculation, removing incorrect decimal time rounding, so that
8179         all minute values result in a valid seconds value.
8180         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8181         offset range limits to UTC-99:59 through UTC+99:59 to parse
8182         current and historical use cases.
8183         * time/tst-strptime2.c (tests): Modify and add tests for the
8184         strptime %z input field descriptor, specifically conversion of
8185         minutes to seconds and validating an offset range of -9959 to
8186         +9959.
8188 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8189             Dmitry V. Levin  <ldv@altlinux.org>
8191         [BZ #18877]
8192         * posix/Makefile (tests): Add tst-mmap-offset.
8193         * posix/tst-mmap.c: New file.
8194         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8195         offset calculation for negative values.
8197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8199         * sysdeps/i386/init-arch.h: New file.
8200         * sysdeps/i386/i586/init-arch.h: Likewise.
8201         * sysdeps/i386/i686/init-arch.h: Likewise.
8202         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8203         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8204         * sysdeps/x86/cpu-features.h (bit_I586): New.
8205         (bit_I686): Likewise.
8206         (bit_CX8): Likewise.
8207         (bit_CMOV): Likewise.
8208         (index_CX8): Likewise.
8209         (index_CMOV): Likewise.
8210         (index_I586): Likewise.
8211         (index_I686): Likewise.
8212         (reg_CX8): Likewise.
8213         (reg_CMOV): Likewise.
8214         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8215         available at compile-time.
8216         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8217         available at compile-time.
8218         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8219         (USE_I686): Likewise.
8221 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8223         * sysdeps/i386/bcopy.S: New file.
8224         * sysdeps/i386/bzero.S: Likewise.
8225         * sysdeps/i386/memcpy.S: Likewise.
8226         * sysdeps/i386/memmove.S: Likewise.
8227         * sysdeps/i386/mempcpy.S: Likewise.
8228         * sysdeps/i386/memset.S: Likewise.
8229         * sysdeps/i386/bzero.c: Removed.
8230         * sysdeps/i386/memset.c: Likewise.
8231         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8232         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8233         * sysdeps/i386/i586/memset_chk.S: Likewise.
8234         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8235         * sysdeps/i386/memcpy_chk.S: Here.
8236         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8237         * sysdeps/i386/memmove_chk.S: Here.
8238         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8239         * sysdeps/i386/mempcpy_chk.S: Likewise.
8240         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8241         * sysdeps/i386/memset_chk.S: Likewise.
8243 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8245         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8246         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8247         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8248         * soft-fp/fmadf4.c: Ditto.
8249         * soft-fp/fmatf4.c: Ditto.
8251 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8253         * sysdeps/i386/i586/Implies: Removed.
8254         * sysdeps/i386/i686/Implies: Likewise.
8256 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8258         * sysdeps/i386/i486/strlen.S: Moved to ...
8259         * sysdeps/i386/strlen.S: Here.
8261 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8263         * sysdeps/i386/i486/strcat.S: Moved to ...
8264         * sysdeps/i386/strcat.S: Here.
8266 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8268         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8269         * sysdeps/i386/pthread_spin_trylock.S: Here.
8270         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8271         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8273 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8275         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8276         * sysdeps/i386/string-inlines.c: Here.
8278 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8280         * sysdeps/i386/i486/htonl.S: Moved ...
8281         * sysdeps/i386/htonl.S: here.
8283 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8285         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8286         * sysdeps/i386/bits/atomic.h: Here.
8288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8290         * sysdeps/i386/i486/Versions: Removed.
8292 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8294         [BZ #2898]
8295         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8296         Based on patch by Aurelien Jarno.
8298 2015-08-26  Stan Shebs  <stanshebs@google.com>
8300         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8301         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8303 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8305         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8306         * sysdeps/powerpc/dl-procinfo.c:
8307         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8308         feature so it shows when LD_SHOW_AUXV=1.
8310 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8312         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8313         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8314         definition.  ISA 2.07B no longer requires full sync.
8316 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8318         [BZ #18863]
8319         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8320         (si_call_addr): Define.
8321         (si_syscall): Define.
8322         (si_arch): Define.
8324 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8326         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8327         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8328         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8329         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8330         (__memset_zero_constant_len_parameter): New.
8331         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8332         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8333         (__memset_zero_constant_len_parameter): Don't define if
8334         __memset_chk or USE_AS_BZERO are defined.
8336         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8337         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8338         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8340         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8341         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8342         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8343         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8344         comments.
8345         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8346         -mno-mmx for $(all-rtld-routines).
8347         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8348         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8349         i386.
8351 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8353         * sysdeps/generic/unwind.h
8354         (_Unwind_Word): Use __mode__(__unwind_word__)
8355         instead of __mode__(__word__).
8356         (_Unwind_Sword): Likewise.
8358         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8359         (MAX_NEEDED_INPUT): New define.
8360         (MAX_NEEDED_OUTPUT): New define.
8362         * NEWS: New item for IBM z13 string optimizations.
8364         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8365         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8366         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8367         * sysdeps/s390/multiarch/Makefile
8368         (sysdep_routines): Add memrchr functions.
8369         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8370         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8372         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8373         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8374         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8375         * sysdeps/s390/multiarch/Makefile
8376         (sysdep_routines): Add wmemcmp functions.
8377         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8378         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8379         * benchtests/bench-wmemcmp.c: New File.
8380         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8382         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8383         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8384         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8385         * sysdeps/s390/multiarch/Makefile
8386         (sysdep_routines): Add wmemset functions.
8387         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8388         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8389         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8390         * string/test-memset.c: Add wmemset support.
8391         * wcsmbs/test-wmemset.c: New File.
8392         * wcsmbs/Makefile (strop-tests): Add wmemset.
8393         * benchtests/bench-memset.c: Add wmemset support.
8394         * benchtests/bench-wmemset.c: New File.
8395         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8397         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8398         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8399         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8400         * sysdeps/s390/multiarch/Makefile
8401         (sysdep_routines): Add memccpy functions.
8402         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8403         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8404         * string/memccpy.c: Use MEMCCPY if defined.
8406         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8407         * sysdeps/s390/multiarch/memchr.c: Likewise.
8408         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8409         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8410         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8411         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8412         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8413         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8414         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8415         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8417         and rawmemchr functions.
8418         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8419         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8420         and wmemchr.
8421         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8422         * string/test-memchr.c: Add wmemchr support.
8423         * wcsmbs/test-wmemchr.c: New File.
8424         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8425         * benchtests/bench-memchr.c: Add wmemchr support.
8426         * benchtests/bench-wmemchr.c: New File.
8427         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8429         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8430         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8431         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8432         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8433         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8434         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8436         wcscspn functions.
8437         * sysdeps/s390/multiarch/ifunc-impl-list.c
8438         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8439         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8440         * string/test-strcspn.c: Add wcscspn support.
8441         * wcsmbs/test-wcscspn.c: New File.
8442         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8443         * benchtests/bench-strcspn.c: Add wcscspn support.
8444         * benchtests/bench-wcscspn.c: New File.
8445         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8447         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8448         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8449         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8450         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8451         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8452         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8454         wcspbrk functions.
8455         * sysdeps/s390/multiarch/ifunc-impl-list.c
8456         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8457         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8458         * string/test-strpbrk.c: Add wcspbrk support.
8459         * wcsmbs/test-wcspbrk.c: New File.
8460         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8461         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8462         * benchtests/bench-wcspbrk.c: New File.
8463         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8465         * sysdeps/s390/multiarch/strspn-c.c: New File.
8466         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8467         * sysdeps/s390/multiarch/strspn.c: Likewise.
8468         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8469         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8470         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8471         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8473         wcsspn functions.
8474         * sysdeps/s390/multiarch/ifunc-impl-list.c
8475         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8476         * string/test-strspn.c: Add wcsspn support.
8477         * wcsmbs/test-wcsspn.c: New File.
8478         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8479         * benchtests/bench-strspn.c: Add wcsspn support.
8480         * benchtests/bench-wcsspn.c: New File.
8481         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8483         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8484         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8485         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8486         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8487         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8488         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8490         wcsrchr functions.
8491         * sysdeps/s390/multiarch/ifunc-impl-list.c
8492         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8493         * benchtests/bench-wcsrchr.c: New File.
8494         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8496         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8497         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8498         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8499         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8500         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8501         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8503         wcschrnul functions.
8504         * sysdeps/s390/multiarch/ifunc-impl-list.c
8505         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8506         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8507         * string/test-strchr.c: Add wcschrnul support.
8508         * wcsmbs/test-wcschrnul.c: New File.
8509         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8510         * benchtests/bench-strchr.c: Add wcschrnul support.
8511         * benchtests/bench-wcschrnul.c: New File.
8512         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8514         * sysdeps/s390/multiarch/strchr-c.c: New File.
8515         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8516         * sysdeps/s390/multiarch/strchr.c: Likewise.
8517         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8518         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8519         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8521         wcschr functions.
8522         * sysdeps/s390/multiarch/ifunc-impl-list.c
8523         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8524         * string/strchr.c (STRCHR): Define and use macro.
8525         * benchtests/bench-wcschr.c: New File.
8526         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8528         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8529         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8530         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8531         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8532         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8533         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8534         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8535         wcsncmp functions.
8536         * sysdeps/s390/multiarch/ifunc-impl-list.c
8537         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8538         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8539         * benchtests/bench-strncmp.c: Add wcsncmp support.
8540         * benchtests/bench-wcsncmp.c: New File.
8541         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8543         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8544         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8545         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8546         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8547         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8548         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8549         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8551         wcscmp functions.
8552         * sysdeps/s390/multiarch/ifunc-impl-list.c
8553         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8554         * string/strcmp.c (STRCMP): Define and use macro.
8555         * benchtests/bench-wcscmp.c: New File.
8556         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8557         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8558         instead of _HAVE_STRING_ARCH_memchr.
8560         * sysdeps/s390/multiarch/strncat-c.c: New File.
8561         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8562         * sysdeps/s390/multiarch/strncat.c: Likewise.
8563         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8564         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8565         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8566         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8567         wcsncat functions.
8568         * sysdeps/s390/multiarch/ifunc-impl-list.c
8569         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8570         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8571         * string/test-strncat.c: Add wcsncat support.
8572         * wcsmbs/test-wcsncat.c: New File.
8573         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8574         * benchtests/bench-strncat.c: Add wcsncat support.
8575         * benchtests/bench-wcsncat.c: New File.
8576         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8578         * sysdeps/s390/multiarch/strcat-c.c: New File.
8579         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8580         * sysdeps/s390/multiarch/strcat.c: Likewise.
8581         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8582         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8583         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8585         wcscat functions.
8586         * sysdeps/s390/multiarch/ifunc-impl-list.c
8587         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8588         * string/strcat.c (STRCAT): Define and use macro.
8589         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8590         * string/test-strcat.c: Add wcscat support.
8591         * wcsmbs/test-wcscat.c: New File.
8592         * wcsmbs/Makefile (strop-tests): Add wcscat.
8593         * benchtests/bench-strcat.c: Add wcscat support.
8594         * benchtests/bench-wcscat.c: New File.
8595         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8597         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8598         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8599         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8600         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8601         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8602         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8604         wcpncpy functions.
8605         * sysdeps/s390/multiarch/ifunc-impl-list.c
8606         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8607         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8608         * string/test-stpncpy.c: Add wcpncpy support.
8609         * wcsmbs/test-wcpncpy.c: New File.
8610         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8611         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8612         * benchtests/bench-wcpncpy.c: New File.
8613         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8615         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8616         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8617         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8618         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8619         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8620         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8621         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8622         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8623         wcsncpy functions.
8624         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8625         * sysdeps/s390/multiarch/ifunc-impl-list.c
8626         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8627         * string/test-strncpy.c: Add wcsncpy support.
8628         * wcsmbs/test-wcsncpy.c: New File.
8629         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8630         * benchtests/bench-strncpy.c: Add wcsncpy support.
8631         * benchtests/bench-wcsncpy.c: New File.
8632         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8634         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8635         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8636         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8637         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8638         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8639         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8641         wcpcpy functions.
8642         * string/stpcpy.c: Use STPCPY if defined.
8643         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8644         * sysdeps/s390/multiarch/ifunc-impl-list.c
8645         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8646         * string/test-stpcpy.c: Add wcpcpy support.
8647         * wcsmbs/test-wcpcpy.c: New File.
8648         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8649         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8650         * benchtests/bench-wcpcpy.c: New File.
8651         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8653         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8654         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8655         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8656         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8657         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8658         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8659         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8660         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8661         wcscpy functions.
8662         * sysdeps/s390/multiarch/ifunc-impl-list.c
8663         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8664         * benchtests/bench-wcscpy.c: New File.
8665         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8667         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8668         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8669         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8670         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8671         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8672         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8674         wcsnlen functions.
8675         * sysdeps/s390/multiarch/ifunc-impl-list.c
8676         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8677         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8678         * string/test-strnlen.c: Add wcsnlen support.
8679         * wcsmbs/test-wcsnlen.c: New File.
8680         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8681         * benchtests/bench-strnlen.c: Add wcsnlen support.
8682         * benchtests/bench-wcsnlen.c: New File.
8683         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8685         * sysdeps/s390/multiarch/Makefile: New File.
8686         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8687         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8688         * sysdeps/s390/multiarch/strlen.c: Likewise.
8689         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8690         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8691         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8692         * string/strlen.c (STRLEN): Define and use macro.
8693         * sysdeps/s390/multiarch/ifunc-impl-list.c
8694         (IFUNC_VX_IMPL): New macro function.
8695         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8696         * benchtests/Makefile (wcsmbs-bench): New variable.
8697         (string-bench-all): Added wcsmbs-bench.
8698         * benchtests/bench-wcslen.c: New File.
8700         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8701         s390_vx_libc_ifunc2): New macro function.
8703         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8704         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8705         assembler support.
8706         * sysdeps/s390/configure: Regenerated.
8708         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8709         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8711         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8712         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8713         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8715         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8716         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8717         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8718         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8719         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8720         (memcmp, bcmp): Use __memcmp_default as alias source.
8721         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8722         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8723         Rename to __memcmp_default.
8724         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8725         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8726         (memcpy): Use __memcpy_default as alias source.
8727         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8728         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8729         Rename to __memcpy_default.
8730         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8731         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8732         (memset): Use __memset_default as alias source.
8733         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8734         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8735         Rename to __memset_default.
8736         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8737         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8738         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8739         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8740         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8741         (memcmp, bcmp): Use __memcmp_default as alias source.
8742         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8743         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8744         Rename to __memcmp_default.
8745         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8746         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8747         (memcpy): Use __memcpy_default as alias source.
8748         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8749         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8750         Rename to __memcpy_default.
8751         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8752         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8753         (memset): Use __memset_default as alias source.
8754         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8755         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8756         Rename to __memset_default.
8757         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8758         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8760         [BZ #18610]
8761         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8762         __ieee_instruction_pointer to __unused.
8763         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8764         __ieee_instruction_pointer.
8765         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8766         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8767         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8768         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8769         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8770         Mark dxc-field as reserved.
8772 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8774         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8775         if the weak reference is not null.
8777 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8779         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8781         [BZ #11214]
8782         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8784 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8786         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8787         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8788         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8789         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8790         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8791         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8792         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8793         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8794         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8795         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8796         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8797         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8798         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8799         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8800         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8801         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8802         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8803         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8805 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8807         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8808         register other than r0 for tabort, it has special meaning.
8809         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8810         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8811         transaction before starting syscall.
8813 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8815         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8817 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8819         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8821         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8822         * sysdeps/x86_64/rtld-memset.S: Likewise.
8823         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8824         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8825         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8826         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8828         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8830 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8832         * debug/strcpy_chk.c: Improve performance.
8833         * debug/stpcpy_chk.c: Likewise.
8834         * sysdeps/x86_64/strcpy_chk.S: Remove.
8835         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8837         [BZ #18240]
8838         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8840 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8842         [BZ #15128]
8843         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8844         ifuncmain8.
8845         (modules-names): Add ifuncmod8.
8846         ($(objpfx)ifuncmain8): New rule.
8847         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8848         <cpuid.h>.
8849         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8850         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8851         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8852         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8853         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8854         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8855         * sysdeps/x86_64/ifuncmain8.c: New file.
8856         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8857         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8858         Removed.
8859         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8860         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8861         Change rtld_savespace_sse to __glibc_unused2.
8862         (RTLD_CHECK_FOREIGN_CALL): Removed.
8863         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8864         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8865         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8867 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8869         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8871 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8873         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8874         Unconditionally set __fpcr to avoid uninialized warning.
8875         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8877 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8879         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8880         is corrupt.
8882         * malloc/arena.c (arena_get2): Drop unused argument.
8883         (arena_lock): Adjust.
8884         (arena_get_retry): Likewise.
8886 2015-08-24  Andreas Schwab  <schwab@suse.de>
8888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8889         Don't define.
8890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8891         (__ASSUME_IPC64): Don't undef.
8892         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8893         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8894         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8895         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8896         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8897         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8898         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8899         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8900         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8901         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8902         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8903         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8904         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8905         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8906         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8907         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8908         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8909         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8910         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8911         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8912         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8914 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8916         * manual/Makefile (install): Only build manual when perl is available.
8918 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8920         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8921         '#undef memcpy' by '#undef memchr'.
8923 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8925         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8926         memchr not point to the internal __GI_memchr implementation.
8928 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8930         * timezone/Makefile (CFLAGS-zdump.c): Remove
8931         -Wno-strict-prototypes.
8932         (CFLAGS-zic.c): Likewise.
8933         (CFLAGS-ialloc.c): Likewise.
8934         (CFLAGS-scheck.c): Likewise.
8936         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8937         -Wno-error=undef.
8939 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8941         * i386/i686/multiarch/strcasestr-c.c: Removed.
8942         * x86_64/multiarch/strcasestr.c: Likewise.
8943         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8944         Remove strcasestr.
8946 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8948         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8950         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8951         variables for high and low parts before possibly modifying them.
8953 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8955         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8956         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8957         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8958         of "multiarch/init-arch.h".
8959         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8960         * sysdeps/x86/init-arch.h: This.
8962 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8964         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8965         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8967 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8969         [BZ #17787]
8970         * manual/macros.texi: Add twoexp macro.
8971         * manual/filesys.texi: Fix exponents.
8972         * manual/llio.texi: Likewise.
8973         * manual/stdio.texi: Likewise.
8975 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8977         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8978         incorrect use.
8980 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8982         [BZ #18370]
8983         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8984         whose real or imaginary part has small absolute value.
8985         * math/s_csqrtf.c (__csqrtf): Likewise.
8986         * math/s_csqrtl.c (__csqrtl): Likewise.
8987         * math/auto-libm-test-in: Add more tests of csqrt.
8988         * math/auto-libm-test-out: Regenerated.
8989         * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8993         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8994         __ppc_set_ppr_very_low): New functions.
8995         * manual/platform.texi: Add documentation about
8996         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8998 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9000         * string/stpncpy.c (stpncpy): Improve performance using
9001         __strnlen/memcpy/memset.
9003 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9005         [BZ #18796]
9006         * scripts/test-installation.pl: Don't add -lmvec to build options if
9007         libmvec wasn't built.
9009 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9011         [BZ #14341]
9012         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9013         case when there is a gap between DT_REL and DT_JMPREL sections.
9014         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9015         (LDFLAGS-tst-split-dynreloc): New.
9016         (tst-split-dynreloc-ENV): Likewise.
9017         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9018         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9020 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9022         [BZ #18822]
9023         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9024         attribute_hidden.
9025         (__xstat64_conv): Likewise.
9026         (__xstat32_conv): Likewise.
9028 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9030         [BZ #18822]
9031         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9032         Don't load %ebx when calling __setcontext.  Call __setcontext
9033         with HIDDEN_JUMPTARGET.
9034         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9035         libc_hidden_def.
9037 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9039         * sysdeps/i386/i686/Makefile
9040         [$(subdir) == string] (sysdep_routines): Moved to ...
9041         * sysdeps/i386/Makefile: Here.
9042         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9043         * sysdeps/i386/cacheinfo.c: Here.
9044         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9045         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9046         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9047         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9049 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9051         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9052         __i586__ is defined.
9053         (HAS_I686): Defined to 1 if __i686__ is defined.
9055 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9057         * elf/Makefile [$(have-z-execstack) = yes]
9058         (CPPFLAGS-tst-execstack.c): New variable.
9060         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9061         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9062         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9063         UTMPX || _HAVE_UT_TV].
9064         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9065         UTMPX || _HAVE_UT_TV - 0].
9067 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9069         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9070         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9071         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9073 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9075         * sysdeps/powerpc/dl-procinfo.c:
9076         (_dl_powerpc_cap_flags): Added missing strings for some
9077         hwcap features.
9078         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9080 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9082         Port the 0x7efe...feff pattern to GCC 6.
9083         See Steve Ellcey's bug report in:
9084         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9085         * string/memrchr.c (MEMRCHR):
9086         * string/rawmemchr.c (RAWMEMCHR):
9087         * string/strchr.c (strchr):
9088         * string/strchrnul.c (STRCHRNUL):
9089         Rewrite code to avoid issues with signed shift overflow.
9091 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9093         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9094         whether cpuid is available only if HAS_CPUID is 0.
9095         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9096         (HAS_I586): Likewise.
9097         (HAS_I686): Likewise.
9099 2015-08-18  Zack Weinberg  <zackw@panix.com>
9101         * misc/Versions (libc): Add GLIBC_2.23.
9103 2015-08-18  Alan Modra  <amodra@gmail.com>
9105         [BZ #18421]
9106         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9107         .Lp__global.
9108         (_start): Load %dp via .Lp__global.
9109         [!SHARED]: Use .section .rodata.
9111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9113         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9114         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9118         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9119         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9121 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9123         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9124         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9126 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9128         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9129         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9131 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9133         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9134         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9136 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9138         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9139         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9141 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9143         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9147         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9148         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9149         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9150         (__ASSUME_LWS_CAS): Delete.
9152 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9154         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9155         * sysdeps/hppa/configure: Regenerated.
9156         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9157         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9158         * sysdeps/hppa/nptl/tls.h: Likewise.
9160 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9162         [BZ #18823]
9163         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9164         for scaling up small arguments.
9165         * math/s_csqrtf.c (__csqrtf): Likewise.
9166         * math/s_csqrtl.c (__csqrtl): Likewise.
9167         * math/auto-libm-test-in: Add more tests of csqrt.
9168         * math/auto-libm-test-out: Regenerated.
9170 2015-08-17  Andreas Schwab  <schwab@suse.de>
9172         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9173         version set GLIBC_2.19.
9175 2015-08-16  Zack Weinberg  <zackw@panix.com>
9177         [BZ #18681]
9178         * misc/regexp.h: This interface is no longer supported.
9179         Remove all contents, leaving only an #error directive.
9180         * misc/regexp.c (loc1, loc2, locs, step, advance):
9181         Demote to compatibility symbols.
9183 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9185         [BZ #18084]
9186         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9187         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9188         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9189         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9190         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9191         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9192         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9193         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9194         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9196 2015-08-15  Zack Weinberg  <zackw@panix.com>
9198         [BZ #18795]
9199         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9200         buffer length is known to be too large, not if it's known to be
9201         small enough.
9202         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9203         overflow at runtime, involving a length parameter, twice: once
9204         with a compile-time constant length parameter, once without.
9206 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9208         [BZ #18824]
9209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9210         scaling x * y up instead of down.
9211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9213         * math/auto-libm-test-in: Add more tests of fma.
9214         * math/auto-libm-test-out: Regenerated.
9216 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9218         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9220 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9222         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9223         unnecessary movq.
9224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9225         Likewise.
9227 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9229         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9230         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9231         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9232         and tgamma.
9233         * math/auto-libm-test-out: Regenerated.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9237         [BZ #16520]
9238         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9239         (__tanh): Force underflow exception for arguments with small
9240         absolute value.
9241         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9242         (__tanhf): Force underflow exception for arguments with small
9243         absolute value.
9244         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9245         (__tanhl): Force underflow exception for arguments with small
9246         absolute value.
9247         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9248         (__tanhl): Force underflow exception for arguments with small
9249         absolute value.
9250         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9251         (__tanhl): Force underflow exception for arguments with small
9252         absolute value.
9253         * math/auto-libm-test-in: Add more tests of tanh.
9254         * math/auto-libm-test-out: Regenerated.
9255         * sysdeps/i386/fpu/libm-test-ulps: Update.
9257 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9259         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9260         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9262 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9264         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9265         <cpuid.h>.
9267 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9269         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9270         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9272 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9274         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9275         Remove $(objpfx)init-arch.o.
9276         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9277         init-arch.
9278         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9279         (INIT_ARCH_EXT): Defined as empty.
9280         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9281         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9282         __init_cpu_features call.  Replace HAS_XXX with
9283         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9284         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9285         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9286         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9287         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9288         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9289         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9290         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9291         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9292         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9293         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9294         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9295         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9302         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9304         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9313         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9314         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9316         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9317         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9318         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9320 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9322         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9323         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9324         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9325         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9326         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9327         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9328         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9329         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9330         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9331         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9332         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9333         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9334         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9335         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9336         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9337         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9338         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9339         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9340         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9341         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9342         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9343         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9344         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9345         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9346         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9347         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9350         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9351         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9352         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9353         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9354         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9357         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9358         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9359         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9360         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9361         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9362         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9363         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9364         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9366 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9368         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9369         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9370         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9372         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9373         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9374         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9375         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9376         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9377         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9379         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9380         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9381         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9382         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9383         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9384         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9385         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9386         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9387         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9389         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9390         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9391         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9392         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9393         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9394         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9395         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9396         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9397         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9398         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9399         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9403         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9404         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9405         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9406         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9407         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9408         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9409         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9410         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9412 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9414         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9415         (dl_platform_init): Call init_cpu_features.
9416         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9417         * sysdeps/i386/i686/cacheinfo.c
9418         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9419         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9420         * sysdeps/i386/i686/multiarch/Versions: Removed.
9421         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9422         Removed.
9423         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9424         * sysdeps/unix/sysv/linux/x86/Makefile
9425         (libpthread-sysdep_routines): Remove init-arch.
9426         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9427         <sysdeps/x86_64/dl-procinfo.c> instead of
9428         sysdeps/generic/dl-procinfo.c>.
9429         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9430         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9431         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9432         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9433         [$(subdir) == elf] (tests-static): Add
9434         tst-get-cpu-features-static.
9435         * sysdeps/x86/Versions: New file.
9436         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9437         * sysdeps/x86/cpu-features.c: Likewise.
9438         * sysdeps/x86/cpu-features.h: Likewise.
9439         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9440         * sysdeps/x86/libc-start.c: Likewise.
9441         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9442         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9443         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9444         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9445         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9446         Assume USE_MULTIARCH is defined and don't check it.
9447         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9448         (is_amd): Likewise.
9449         (max_cpuid): Likewise.
9450         (intel_check_word): Likewise.
9451         (__cache_sysconf): Don't call __init_cpu_features.
9452         (__x86_preferred_memory_instruction): Removed.
9453         (init_cacheinfo): Don't call __init_cpu_features. Replace
9454         __cpu_features with GLRO(dl_x86_cpu_features).
9455         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9456         (dl_platform_init): Call init_cpu_features.
9457         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9458         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9459         * sysdeps/x86_64/multiarch/Versions: Removed.
9460         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9461         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9462         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9463         Removed.
9464         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9466 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9468         [BZ #18820]
9469         * libio/Makefile (test-fmemopen-mem): New test.
9470         * libio/test-fmemopen.c (do_bz18820): New test.
9471         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9472         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9474 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9476         [BZ #16734]
9477         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9478         (FREE_BUF): Delete.
9479         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9480         * libio/genops.c (_IO_setb): Use malloc and free directly.
9481         (_IO_default_doallocate, _IO_default_finish): Likewise.
9482         ( _IO_unbuffer_all): Likewise.
9483         ( libc_freeres_fn): Likewise.
9484         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9485         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9486         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9487         (_IO_wdefault_doallocate): Likewise.
9489 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9491         [BZ #18086]
9492         * sysdeps/posix/nice.c (nice): Restore old errno.
9493         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9495 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9499 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9501         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9502         __bcopy and add a weak_alias to bcopy.
9503         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9504         for static build.
9506         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9507         cleanup macro usage.
9508         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9509         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9510         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9511         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9512         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9513         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9514         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9515         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9516         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9517         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9518         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9519         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9521         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9523         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9524         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9525         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9526         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9528         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9529         libc_hidden_def.
9530         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9532         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9533         (sysdep_routines): Add strstr-ppc64.
9534         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9536 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9538         [BZ #18778]
9539         * elf/Makefile (tests): Add Add tst-nodelete2.
9540         (modules-names): Add tst-nodelete2mod.
9541         (tst-nodelete2mod.so-no-z-defs): New.
9542         ($(objpfx)tst-nodelete2): Likewise.
9543         ($(objpfx)tst-nodelete2.out): Likewise.
9544         (LDFLAGS-tst-nodelete2): Likewise.
9545         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9546         out of loop through all loaded libraries.
9547         * elf/tst-nodelete2.c: New file.
9548         * elf/tst-nodelete2mod.c: Likewise.
9549         * elf/tst-znodelete-zlib.cc: Delete.
9551 2015-08-11  Andreas Schwab  <schwab@suse.de>
9553         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9554         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9555         (__openat64_nocancel): Likewise.
9557 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9559         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9560         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9561         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9562         * math/auto-libm-test-out: Regenerated.
9563         * sysdeps/i386/fpu/libm-test-ulps: Update.
9564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9566 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9568         [BZ #18790]
9569         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9570         threshold for returning +/- 1.
9571         * math/auto-libm-test-in: Add more tests of tanh.
9572         * math/auto-libm-test-out: Regenerated.
9573         * sysdeps/i386/fpu/libm-test-ulps: Update.
9575 2015-08-10  Andreas Schwab  <schwab@suse.de>
9577         [BZ #18781]
9578         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9579         MORE_OFLAGS to oflag.
9580         * io/test-lfs.c (do_test): Test openat64.
9582 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9584         [BZ #18789]
9585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9586         smaller threshold for returning the argument.
9587         * math/auto-libm-test-in: Add more tests of sinh.
9588         * math/auto-libm-test-out: Regenerated.
9589         * sysdeps/i386/fpu/libm-test-ulps: Update.
9591 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9593         [BZ #18674]
9594         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9595         break.
9597 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9599         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9600         (generated): Don't add $(addprefix z.,$(tzfiles)).
9602 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9604         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9605         * scripts/sysd-rules.awk: Likewise.
9607 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9609         * iconvdata/tst-tables.sh: Change echo -n to printf.
9610         * nss/db-Makefile: Likewise.
9611         * posix/tst-getconf.sh: Likewise.
9612         * stdio-common/tst-unbputc.sh: Likewise.
9614 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9616         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9617         MADV_*_PAGES defines behind this feature check.
9619 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9621         [BZ #18480]
9622         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9623         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9624         Define.
9625         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9626         LOAD_REGS_5, LOAD_REGS_6): Update.
9627         (INTERNAL_SYSCALL): Update using new LOAD defines.
9628         (INTERNAL_SYSCALL_NCS): Likewise.
9629         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9631 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9633         [BZ #16734]
9634         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9636 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9638         [BZ #17905]
9639         * catgets/Makefile (tst-catgets-mem): New test.
9640         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9641         * catgets/open_catalog.c (__open_catalog): Likewise.
9642         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9644 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9646         [BZ #18787]
9647         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9648         clobber registers.
9649         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9650         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9651         Cast return to __typeof (oldval).
9653 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9655         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9656         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9657         and delete sys/syscall.h include.
9659 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9661         [BZ #16517]
9662         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9663         (tan): Force underflow exception for arguments with small absolute
9664         value.
9665         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9666         (__kernel_tanf): Force underflow exception for arguments with
9667         small absolute value.
9668         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9669         (__kernel_tanl): Force underflow exception for arguments with
9670         small absolute value.
9671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9672         (__kernel_tanl): Force underflow exception for arguments with
9673         small absolute value.
9674         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9675         (__kernel_tanl): Force underflow exception for arguments with
9676         small absolute value.
9677         * math/auto-libm-test-in: Add more tests of tan.
9678         * math/auto-libm-test-out: Regenerated.
9680 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9682         Fix sysdeps/i386/fpu/s_scalbn.S build
9684         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9686 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9688         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9690 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9692         Fix gcrt0.o compilation
9694         When static-start-installed-name is different from
9695         start-installed-name, we must not use the shared objects.
9697         * csu/Makefile
9698         (extra-objs): Add gmon-start.o when building shared library and
9699         $(static-start-installed-name) is different from
9700         $(start-installed-name).
9701         $(objpfx)g$(static-start-installed-name): When building shared
9702         library and $(static-start-installed-name) is different from
9703         $(static-start-installed-name), revert to non-shared rule,
9704         i.e. using $(objpfx)% and gmon-start.o.
9706 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #16519]
9709         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9710         (__ieee754_sinh): Force underflow exception for arguments with
9711         small absolute value.
9712         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9713         (__ieee754_sinhf): Force underflow exception for arguments with
9714         small absolute value.
9715         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9716         (__ieee754_sinhl): Force underflow exception for arguments with
9717         small absolute value.
9718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9719         (__ieee754_sinhl): Force underflow exception for arguments with
9720         small absolute value.
9721         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9722         (__ieee754_sinhl): Force underflow exception for arguments with
9723         small absolute value.
9724         * math/auto-libm-test-in: Add more tests of sinh.
9725         * math/auto-libm-test-out: Regenerated.
9726         * sysdeps/i386/fpu/libm-test-ulps: Update.
9728 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9730         * libio/oldfileops.c: Include unistd.h.
9732 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9734         * stdlib/isomac.c: Include ctype.h.
9736 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9738         * dirent/tst-seekdir.c (main): Converted to ...
9739         (do_test): ... this.
9740         (TEST_FUNCTION): New macro.
9741         Include test-skeleton.c.
9742         * elf/tst-dlmodcount.c (main): Converted to ...
9743         (do_test): ... this.
9744         (TEST_FUNCTION): New macro.
9745         Include test-skeleton.c.
9746         * elf/tst-order-main.c (main): Converted to ...
9747         (do_test): ... this.
9748         (TEST_FUNCTION): New macro.
9749         Include test-skeleton.c.
9750         * elf/tst-pie2.c (main): Converted to ...
9751         (do_test): ... this.
9752         (TEST_FUNCTION): New macro.
9753         Include test-skeleton.c.
9754         * inet/tst-ether_aton.c (main): Converted to ...
9755         (do_test): ... this.
9756         (TEST_FUNCTION): New macro.
9757         Include test-skeleton.c.
9758         * misc/tst-mntent.c (main): Converted to ...
9759         (do_test): ... this.
9760         (TEST_FUNCTION): New macro.
9761         Include test-skeleton.c.
9762         * misc/tst-tsearch.c (main): Converted to ...
9763         (do_test): ... this.
9764         (TEST_FUNCTION): New macro.
9765         Include test-skeleton.c.
9766         * posix/tst-regexloc.c (main): Converted to ...
9767         (do_test): ... this.
9768         (TEST_FUNCTION): New macro.
9769         Include test-skeleton.c.
9770         * resolv/tst-aton.c (main): Converted to ...
9771         (do_test): ... this.
9772         (TEST_FUNCTION): New macro.
9773         Include test-skeleton.c.
9774         * stdio-common/test-fwrite.c (main): Converted to ...
9775         (do_test): ... this.
9776         (TEST_FUNCTION): New macro.
9777         Include test-skeleton.c.
9778         * stdio-common/tst-ferror.c (main): Converted to ...
9779         (do_test): ... this.
9780         (TEST_FUNCTION): New macro.
9781         Include test-skeleton.c.
9782         * stdio-common/tst-printf.c (main): Converted to ...
9783         (do_test): ... this.
9784         (TEST_FUNCTION): New macro.
9785         Include test-skeleton.c.
9786         * stdio-common/tst-printfsz.c (main): Converted to ...
9787         (do_test): ... this.
9788         (TEST_FUNCTION): New macro.
9789         Include test-skeleton.c.
9790         * stdlib/tst-strtod.c (main): Converted to ...
9791         (do_test): ... this.
9792         (TEST_FUNCTION): New macro.
9793         Include test-skeleton.c.
9794         * string/tst-strlen.c (main): Converted to ...
9795         (do_test): ... this.
9796         (TEST_FUNCTION): New macro.
9797         Include test-skeleton.c.
9798         * string/tst-svc.c (main): Converted to ...
9799         (do_test): ... this.
9800         (TEST_FUNCTION): New macro.
9801         Include test-skeleton.c.
9802         * time/tst-strptime.c (main): Converted to ...
9803         (do_test): ... this.
9804         (TEST_FUNCTION): New macro.
9805         Include test-skeleton.c.
9806         * timezone/tst-timezone.c (main): Converted to ...
9807         (do_test): ... this.
9808         (TEST_FUNCTION): New macro.
9809         Include test-skeleton.c.
9811 2015-08-05  Zack Weinberg  <zackw@panix.com>
9813         * misc/regexp.h: Update comments.
9815 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9817         [BZ #18635]
9818         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9819         before return label.
9821 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9823         [BZ #18661]
9824         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9825         when calling __errno_location.
9826         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9827         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9829 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9831         [BZ #18661]
9832         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9833         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9834         __gettimeofday.
9836 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9838         [BZ #18661]
9839         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9840         (__start_context): Don't use pop to restore %rdi so that stack
9841         is aligned to 16 bytes when calling __setcontext.
9843 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9845         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9846         only for libc.
9847         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9849 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9851         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9852         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9853         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9855 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9857         * string/memccpy.c (memccpy):
9858         Improve performance by using memchr/memcpy/__mempcpy.
9860 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9862         * string/strncpy.c (strncpy):
9863         Improve performance by using __strnlen/memcpy.
9865 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9867         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9868         Optimize to avoid an unnecessary FPCR read.
9870 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9872         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9873         Optimize to reduce FPCR/FPSR accesses.
9875 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9877         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9878         dead->data[category] != NULL.
9880 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9882         [BZ #18647]
9883         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9884         and |x| close to 1, use absolute value of x when computing log.
9885         * math/auto-libm-test-in: Add more tests of pow.
9886         * math/auto-libm-test-out: Regenerated.
9888 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9890         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9891         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9892         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9894 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9896         [BZ #18525]
9897         * locales/km_KH: Remove timezone definition.
9898         * locales/lo_LA: Likewise.
9899         * locales/my_MM: Likewise.
9900         * locales/nan_TW@latin: Likewise.
9901         * locales/th_TH: Likewise.
9902         * locales/uk_UA: Likewise.
9904 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9906         [BZ #18265]
9907         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9908         (wcsncat): Likewise.
9909         (wcscmp): Likewise.
9910         (wcsncmp): Likewise.
9912 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9914         * test-skeleton.c (usage): New function.
9915         (main): Call usage when opt is '?'.
9917 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9919         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9920         before first use.
9922 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9924         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9925         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9926         in there too.
9928 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9930         * version.h (RELEASE): Set to "development".
9931         (VERSION): Set to "2.22.90"
9933         * version.h (RELEASE): Set to "stable".
9934         (VERSION): Set to "2.22"
9935         * include/features.h (__GLIBC_MINOR__): Set to 22.
9937 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9939         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9940         Restructure macro to avoid "value computed is not used" warning.
9941         (atomic_compare_and_exchange_val_acq): Likewise.
9943 2015-08-04  Andreas Schwab  <schwab@suse.de>
9945         [BZ #18635]
9946         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9947         ret.
9948         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9950 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9952         * po/pl.po: Updated translation.
9953         * po/uk.po: Likewise.
9954         * po/fi.po: Likewise.
9955         * po/ko.po: Likewise.
9956         * po/ru.po: Likewise.
9957         * po/vi.po: Likewise.
9959 2015-07-31  Zack Weinberg  <zackw@panix.com>
9961         [BZ #18681]
9962         * regexp.h: Add unconditional #warning stating that this header
9963         will be removed soon.  Revise banner comment to match.
9964         (compile): Consistently use ERROR instead of RETURN to report
9965         errors (partial fix for bz#18681).
9966         * regexp.c: Don't include regexp.h. Remove some unnecessary
9967         declarations.
9969 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9971         * po/libc.pot: Regenerated.
9973 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9975         [BZ #18740]
9976         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9977         float-vlen4-arch-ext-cflags): Removed.
9978         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9979         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9981 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9983         [BZ #14113]
9984         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9985         aligned to __aligned__.
9986         (pthread_cond_t, pthread_rwlock_t): Likewise.
9988 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9990         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9992 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9994         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9995         (struct sigaction): Change sa_flags from a long to an int, and add
9996         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9998 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10000         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10001         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10002         sysdeps/generic/sysdep.h include.
10003         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10004         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10005         sysdeps/hppa/sysdep.h.
10006         (ENTRY, PSEUDO): Undefine before defining.
10008 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10010         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10011         from scratch to use INTERNAL_SYSCALL.
10013 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10015         [BZ #18078]
10016         * scripts/check-localplt.awk: Support alternate relocations.
10017         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10018         sections.
10019         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10020         malloc entries with + REL R_386_GLOB_DAT.
10021         * sysdeps/x86_64/localplt.data: New file.
10023 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10025         [BZ #18731]
10026         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10027         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10028         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10030 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10032         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10034 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10036         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10037         directly in terms of __sync_fetch_and_add and delete (int) cast.
10039 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10041         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10042         the -D_ASM_IA64_CURRENT_H flag.
10044 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10046         [BZ #18641]
10047         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10049 2015-07-27  Andreas Schwab  <schwab@suse.de>
10051         * conform/conformtest.pl (checknamespace): Filter out string
10052         literals while tokenizing.
10054 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10056         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10057         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10058         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10060 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10062         * nptl/tst-join7mod.c: Add #include <string.h>.
10064 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10066         * sysdeps/nios2/libm-test-ulps: Update.
10068 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10070         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10071         Fix order of arguments to the rt_sigprocmask syscall.
10072         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10073         Likewise.
10075 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10077         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10079 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10081         [BZ #18457]
10082         * nptl/Makefile (tests): New test case tst-join7.
10083         (modules-names): New test case module tst-join7mod.
10084         * nptl/tst-join7.c: New file.
10085         * nptl/tst-join7mod.c: New file.
10086         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10087         all translation units in libc.so, libpthread.so and rtld.
10089 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10093 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10096         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10097         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10104         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10105         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10107         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10108         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10109         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10110         implementation.
10112 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10114         [BZ #17711]
10115         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10116         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10117         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10118         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10119         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10120         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10122 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10124         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10125         instead of just saying load lock in the comments.
10127 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10129         * sysdeps/unix/Subdirs: Moved ...
10130         * sysdeps/posix/Subdirs: ... here.
10131         * login/pty.h (struct termios, struct winsize): Add forward decls.
10132         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10133         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10134         * sysdeps/arm/nacl/libc.abilist: Updated.
10135         * sysdeps/nacl/libutil.abilist: New file.
10137         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10138         (SIGWINCH): New macro.
10140         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10141         * sysdeps/arm/nacl/libc.abilist: Add it.
10143 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10145         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10147 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10149         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10150         Swap __glibc_reserved0 and sa_flags order.
10152 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10154         [BZ #18657]
10155         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10156         are pending TLS destructor calls.
10157         * include/link.h (struct link_map): Add concurrency note for
10158         L_TLS_DTOR_COUNT.
10159         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10160         Don't touch the link map flag.  Atomically increment
10161         l_tls_dtor_count.
10162         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10163         Avoid taking the load lock and don't touch the link map flag.
10164         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10165         * stdlib/Makefile (tests): Use it.
10166         * stdlib/tst-tls-atexit.c (do_test): dlopen
10167         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10168         to allow tst-tls-atexit-nodelete test case to use it.
10170 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10172         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10173         to bits/types.h.
10174         (msgqnum_t): New typedef.
10175         (msglen_t): Likewise.
10176         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10177         and msg_qbytes type to msglen_t.
10179 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10181         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10182         pad0 to __glibc_reserved0.
10183         (struct stat64): Likewise.
10185 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10187         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10188         Change sa_flags from a long to an int and add __glibc_reserved0 before
10189         it for padding.
10191 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10193         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10194         anonymous by deleting "siginfo" name.
10196 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10198         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10199         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10200         rather than __nacl_irt_filename.
10201         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10203         * NEWS: New item for arm-nacl port.
10204         * sysdeps/arm/nacl/libc.abilist: New file.
10205         * sysdeps/nacl/ld.abilist: New file.
10206         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10207         * sysdeps/nacl/libanl.abilist: New file.
10208         * sysdeps/nacl/libcrypt.abilist: New file.
10209         * sysdeps/nacl/libdl.abilist: New file.
10210         * sysdeps/nacl/libm.abilist: New file.
10211         * sysdeps/nacl/libpthread.abilist: New file.
10212         * sysdeps/nacl/libresolv.abilist: New file.
10213         * sysdeps/nacl/librt.abilist: New file.
10215 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10217         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10218         __startcontext to initialize the new context.
10219         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10220         up CFI directive to forbid further backtracing.
10222 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10224         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10225         reference.
10226         * charmaps/ANSI_X3.4-1968: Likewise.
10227         * charmaps/BS_4730: Likewise.
10228         * charmaps/BS_VIEWDATA: Likewise.
10229         * charmaps/CP1250: Likewise.
10230         * charmaps/CP1251: Likewise.
10231         * charmaps/CP1252: Likewise.
10232         * charmaps/CP1253: Likewise.
10233         * charmaps/CP1254: Likewise.
10234         * charmaps/CP1255: Likewise.
10235         * charmaps/CP1256: Likewise.
10236         * charmaps/CSN_369103: Likewise.
10237         * charmaps/EBCDIC-DK-NO: Likewise.
10238         * charmaps/GB_1988-80: Likewise.
10239         * charmaps/GREEK-CCITT: Likewise.
10240         * charmaps/GREEK7: Likewise.
10241         * charmaps/INIS-8: Likewise.
10242         * charmaps/ISIRI-3342: Likewise.
10243         * charmaps/ISO_2033-1983: Likewise.
10244         * charmaps/ISO_5427-EXT: Likewise.
10245         * locales/POSIX: Likewise.
10246         * locales/ar_SA: Likewise.
10247         * locales/be_BY: Likewise.
10248         * locales/be_BY@latin: Likewise.
10249         * locales/ca_ES: Likewise.
10250         * locales/cs_CZ: Likewise.
10251         * locales/da_DK: Likewise.
10252         * locales/de_BE: Likewise.
10253         * locales/de_CH: Likewise.
10254         * locales/de_LU: Likewise.
10255         * locales/en_AU: Likewise.
10256         * locales/en_BW: Likewise.
10257         * locales/en_CA: Likewise.
10258         * locales/en_DK: Likewise.
10259         * locales/en_GB: Likewise.
10260         * locales/en_IE: Likewise.
10261         * locales/en_NZ: Likewise.
10262         * locales/en_ZA: Likewise.
10263         * locales/en_ZW: Likewise.
10264         * locales/es_AR: Likewise.
10265         * locales/es_BO: Likewise.
10266         * locales/es_CL: Likewise.
10267         * locales/es_CO: Likewise.
10268         * locales/es_DO: Likewise.
10269         * locales/es_EC: Likewise.
10270         * locales/es_ES: Likewise.
10271         * locales/es_HN: Likewise.
10272         * locales/es_MX: Likewise.
10273         * locales/es_PA: Likewise.
10274         * locales/es_PE: Likewise.
10275         * locales/es_PY: Likewise.
10276         * locales/es_SV: Likewise.
10277         * locales/es_US: Likewise.
10278         * locales/es_UY: Likewise.
10279         * locales/es_VE: Likewise.
10280         * locales/et_EE: Likewise.
10281         * locales/fa_IR: Likewise.
10282         * locales/fo_FO: Likewise.
10283         * locales/fr_CA: Likewise.
10284         * locales/fr_CH: Likewise.
10285         * locales/gv_GB: Likewise.
10286         * locales/he_IL: Likewise.
10287         * locales/hr_HR: Likewise.
10288         * locales/id_ID: Likewise.
10289         * locales/is_IS: Likewise.
10290         * locales/it_CH: Likewise.
10291         * locales/iw_IL: Likewise.
10292         * locales/kl_GL: Likewise.
10293         * locales/ko_KR: Likewise.
10294         * locales/kw_GB: Likewise.
10295         * locales/lg_UG: Likewise.
10296         * locales/lt_LT: Likewise.
10297         * locales/lv_LV: Likewise.
10298         * locales/mi_NZ: Likewise.
10299         * locales/nhn_MX: Likewise.
10300         * locales/nl_BE: Likewise.
10301         * locales/pl_PL: Likewise.
10302         * locales/sk_SK: Likewise.
10303         * locales/sl_SI: Likewise.
10304         * locales/sv_FI: Likewise.
10305         * locales/tl_PH: Likewise.
10306         * locales/tr_TR: Likewise.
10307         * locales/vi_VN: Likewise.
10309 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10311         [BZ #17475]
10312         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10313         of tu_IN and bh_IN.
10315 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10317         [BZ #18694]
10318         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10319         bits/wordsize.h.
10320         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10322 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10324         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10325         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10326         (spawn_thread): New function.
10327         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10328         (do_test): ... here.  Use IS_LOADED to test for its
10329         availability.
10331 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10333         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10335 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10337         [BZ #18696]
10338         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10339         si_addr_bnd.
10340         (si_lower): New.
10341         (si_upper): Likewise.
10343 2015-07-16  David S. Miller  <davem@davemloft.net>
10345         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10347 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10349         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10350         buffer.
10351         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10352         fail output information.
10354 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10357         and strstr-ppc64..
10358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10359         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10360         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10361         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10362         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10364 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10366         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10367         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10368         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10369         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10371 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10373         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10374         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10375         rtld_hidden_proto.
10376         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10378 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10380         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10381         the test can fail.
10383         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10385         [BZ #18676]
10386         * elf/tst-nodelete-opened.c: New test case.
10387         * elf/tst-nodelete-opened-lib.c: New test case module.
10388         * elf/Makefile (tests, modules-names): Use them.
10389         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10390         early.
10392 2015-07-15  David S. Miller  <davem@davemloft.net>
10394         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10395         futex-intenal.h
10396         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10397         * sysdeps/sparc/sparc64/Makefile: Likewise.
10398         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10399         Remove space from macro define.
10400         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10402 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10404         [BZ #17475]
10405         * locale/iso-639.def: Update Bhili and Tulu language codes as
10406         per iso639-3.
10408 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10410         * elf/tst-leaks1.c (main): Converted to ...
10411         (do_test): ... this.
10412         (TEST_FUNCTION): New macro.
10413         Include test-skeleton.c.
10414         * localedata/tst-langinfo.c (main): Converted to ...
10415         (do_test): ... this.
10416         (TEST_FUNCTION): New macro.
10417         Include test-skeleton.c.
10418         * math/test-fpucw.c (main): Converted to ...
10419         (do_test): ... this.
10420         (TEST_FUNCTION): New macro.
10421         Include test-skeleton.c.
10422         * math/test-tgmath.c (main): Converted to ...
10423         (do_test): ... this.
10424         (TEST_FUNCTION): New macro.
10425         Include test-skeleton.c.
10426         * math/test-tgmath2.c (main): Converted to ...
10427         (do_test): ... this.
10428         (TEST_FUNCTION): New macro.
10429         Include test-skeleton.c.
10430         * setjmp/tst-setjmp.c (main): Converted to ...
10431         (do_test): ... this.
10432         (TEST_FUNCTION): New macro.
10433         Include test-skeleton.c.
10434         * stdio-common/tst-sscanf.c (main): Converted to ...
10435         (do_test): ... this.
10436         (TEST_FUNCTION): New macro.
10437         Include test-skeleton.c.
10438         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10439         (do_test): ... this.
10440         (TEST_FUNCTION): New macro.
10441         Include test-skeleton.c.
10443         * elf/tst-audit9.c (main): Converted to ...
10444         (do_test): ... this.
10445         (TEST_FUNCTION): New macro.
10446         Include test-skeleton.c.
10448 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10450         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10452 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10454         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10455         New variable.
10457 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10459         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10461 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10463         * sysdeps/generic/dl-fileid.h: New file.
10464         * sysdeps/posix/dl-fileid.h: New file.
10465         * sysdeps/nacl/dl-fileid.h: New file.
10466         * include/link.h: Include <dl-fileid.h>.
10467         (struct link_map): Replace l_dev and l_ino with l_file_id.
10468         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10469         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10470         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10472 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10474         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10476 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10478         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10479         Add iff $CXX is set.
10480         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10481         Likewise.
10482         (tst-nodelete-zmodiff): Likewise.
10483         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10485 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10487         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10489 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10491         * sysdeps/aarch64/fpu/math_private.h
10492         (define math_opt_barrier): Add AArch64 version.
10493         (math_force_eval): Likewise.
10495 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10497         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10499 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10501         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10502         %ld with %jd and cast to intmax_t.
10503         (do_test_length_zero): Likewise.
10505 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10507         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10509 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10511         * sysdeps/tile/libm-test-ulps: Regenerated.
10513         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10514         Comment out the whole function, not just its body.
10516 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10518         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10519         locks.
10521         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10523 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10525         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10526         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10528 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10530         * sysdeps/nptl/futex-internal.h: New file.
10531         * sysdeps/nacl/futex-internal.h: New file.
10532         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10533         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10534         error checking.
10535         (setxid_unmark_thread): Likewise.
10536         (__nptl_setxid): Likewise.
10537         (__wait_lookup_done): Likewise.
10538         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10539         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10540         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10541         * nptl/pthread_once.c (clear_once_control): Likewise.
10542         (__pthread_once_slow): Likewise.
10543         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10544         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10545         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10546         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10547         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10548         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10549         Likewise.
10550         (__pthread_rwlock_rdlock): Likewise.
10551         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10552         Likewise.
10553         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10554         Likewise.
10555         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10556         Likewise.
10557         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10558         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10559         Likewise.
10560         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10561         __ASSUME_PRIVATE_FUTEX check.
10562         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10563         Check that shared futexes are supported.
10564         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10565         wrappers with error checking.
10566         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10567         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10568         * nptl/pthread_barrierattr_setpshared.c
10569         (pthread_barrierattr_setpshared): Check that shared futexes are
10570         supported.
10571         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10572         Likewise.
10573         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10574         Likewise.
10575         * nptl/sem_init.c (futex_private_if_supported): Remove.
10576         (__new_sem_init): Adapt and check that shared futexes are supported.
10577         * nptl/sem_open.c (sem_open): Likewise.
10578         * nptl/sem_post.c (futex_wake): Remove.
10579         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10580         (do_futex_wait): Use futex wrappers with error checking.
10581         * nptl/sem_wait.c: Include lowlevellock.h.
10582         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10583         Use futex_supports_pshared.
10584         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10585         Use futex wrappers with error checking.
10586         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10587         Likewise.
10588         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10589         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10590         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10591         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10592         (futex_wake): Likewise.
10593         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10594         (do_futex_wait): Use futex wrappers with error checking.
10595         (__new_sem_wait_slow): Update EINTR handling.
10596         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10598 2015-07-09  Martin Sebor  <msebor@redhat.com>
10600         [BZ #18435]
10601         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10602         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10603         * nptl/Makefile (test-xfail-tst-once5): Define.
10605 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10607         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10608         * elf/dl-minimal.c: For readability, reorder some definitions and
10609         introduce more page breaks.  Include <stdio.h>.
10610         (__libc_fatal): New function.
10612         * include/unistd.h: Add rtld_hidden_proto for _exit.
10613         * posix/_exit.c: Add rtld_hidden_def.
10614         * sysdeps/mach/hurd/_exit.c: Likewise.
10615         * sysdeps/nacl/_exit.c: Likewise.
10616         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10617         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10619 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10622         bndmov encoding with zero displacement.
10624 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10625             H.J. Lu  <hongjiu.lu@intel.com>
10627         [BZ #18134]
10628         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10629         * sysdeps/i386/configure: Regenerated.
10630         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10631         (_dl_runtime_profile): Save and restore Intel MPX return bound
10632         registers when calling _dl_call_pltexit.  Add
10633         PRESERVE_BND_REGS_PREFIX before return.
10634         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10635         (LRV_BND1_OFFSET): Likewise.
10636         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10637         lrv_bnd1.
10638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10639         typo in bndmov encoding.
10640         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10641         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10642         branch instructions to preserve bounds.
10644 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10647         [GLIBC_2.22]: Add fmemopen.
10649 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10651         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10652         returns an error, also try to use host port from __mach_host_self for
10653         the __vm_wire call.
10654         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10656 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10658         [BZ #18400]
10659         [BZ #18648]
10660         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10661         Fix pr_uid and pr_gid members.
10662         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10663         definition to elf_greg_t.
10665 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10667         [BZ #18383]
10668         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10669         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10670         * sysdeps/arm/configure: Regenerated.
10671         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10672         (test-xfail-tst-tlsalign-static): Variable removed.
10674         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10675         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10676         rather than explicit 'ln -s'.
10678         * resolv/rpc/netdb.h: New file.
10679         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10681 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10683         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10684         length buffers.
10685         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10686         test-skeleton.c.
10688         [BZ #6544]
10689         [BZ #11216]
10690         [BZ #12836]
10691         [BZ #13151]
10692         [BZ #13152]
10693         [BZ #14292]
10694         * include/stdio.h (fmemopen): Remove hidden prototype.
10695         (__fmemopen): Add new hidden prototype.
10696         * libio/Makefile: Add oldfmemopen object.
10697         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10698         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10699         compliance.
10700         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10701         symbol compatibility.
10702         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10703         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10704         fmemopen.
10705         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10706         on append and read mode.
10707         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10708         fmemopen.
10709         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10710         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10711         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10712         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10713         Likewise.
10714         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10715         [GLIBC_2.22]: Likewise.
10716         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10717         Likewise.
10718         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10719         Likewise.
10720         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10721         [GLIBC_2.22]: Likewise.
10722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10723         [GLIBC_2.22]: Likewise.
10724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10725         [GLIBC_2.22]: Likewise.
10726         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10727         [GLIBC_2.22]: Likewise.
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10729         [GLIBC_2.22]: Likewise.
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10731         [GLIBC_2.22]: Likewise.
10732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10733         [GLIBC_2.22]: Likewise.
10734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10735         Likewise.
10736         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10737         Likewise.
10738         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10739         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10740         [GLIBC_2.22]: Likewise.
10741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10742         [GLIBC_2.22]: Likewise.
10743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10744         [GLIBC_2.22]: Likewise.
10745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10746         [GLIBC_2.22]: Likewise.
10747         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10748         Likewise.
10749         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10750         Likewise.
10751         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10752         Likewise.
10753         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10754         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10756 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10758         [BZ #18643]
10759         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10760         IPV6_PATHMTU, and IPV6_DONTFRAG.
10762 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10764         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10765         and _IO_UNBUFFERED.
10766         * libio/oldfileops.c: Likewise.
10767         * libio/wfileops.c: Likewise.
10769 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10771         * nscd/selinux.c: Delete selinux/flask.h include.
10773 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10775         [BZ #18641]
10776         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10777         (putpwent): Likewise.
10778         (getpwnam): Likewise.
10779         (getpwent_r): Likewise.
10780         (getpwuid_r): Likewise.
10781         (getpwnam_r): Likewise.
10782         (fgetpwent_r): Likewise.
10784 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10786         [BZ #18557]
10787         * inet/rcmd.c (__validuser2_sa): Check user first to
10788         short-circuit host check.
10790 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10791             Mikhail Ilin  <m.ilin@samsung.com>
10793         [BZ #17833]
10794         * elf/Makefile (tests): Add tst-nodelete.
10795         (modules-names): Add tst-nodelete-uniquemod.
10796         (tst-nodelete-uniquemod.so-no-z-defs): New.
10797         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10798         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10799         ($(objpfx)tst-nodelete): Likewise.
10800         ($(objpfx)tst-nodelete.out): Likewise.
10801         (LDFLAGS-tst-nodelete): Likewise.
10802         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10803         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10804         implement forced object deletion.
10805         (_dl_close): Pass false to _dl_close_worker.
10806         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10807         * elf/tst-nodelete.cc: New file.
10808         * elf/tst-nodeletelib.cc: Likewise.
10809         * elf/tst-znodeletelib.cc: Likewise.
10810         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10812 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10814         [BZ #18508]
10815         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10816         Depend on $(libdl).
10817         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10818         is not called infinitely times.
10819         (backtrace_helper): New function.
10820         (trace_arg): New struct.
10821         (st1): Enlarge stack size.
10822         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10823         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10824         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10825         Likewise.
10827 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10829         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10831 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10833         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10834         Include sys/types.h instead of bits/types.h.
10835         Remove inclusion of bits/wordsize.h.
10837 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10839         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10840         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10841         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10842         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10843         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10844         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10846 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10848         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10849         link-defines.sym.
10850         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10851         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10852         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10853         and LR_SIZE.
10854         * sysdeps/i386/link-defines.sym: New file.
10856 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10858         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10859         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10860         ($(objpfx)tst-audit3): New rule.
10861         ($(objpfx)tst-audit3.out): Likewise.
10862         * sysdeps/i386/tst-audit3.c: New file.
10863         * sysdeps/i386/tst-audit3.h: Likewise.
10864         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10865         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10867 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10869         [BZ #18633]
10870         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10871         pointer in C code.
10872         (__strcat_c): Likewise.
10873         (__strcat_g): Likewise.
10875 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10877         [BZ #18592]
10878         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10880 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10882         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10883         New function.  (__ieee754_sqrtf): New function.
10884         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10885         New function.
10886         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10887         New function.
10889 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10891         * sysdeps/ieee754/support.c: Remove unused file.
10893 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10895         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10896         registers instead of d ones so the layout is kernel abi compatible.
10897         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10898         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10899         Likewise.
10901 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10903         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10905 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10907         [BZ #18619]
10908         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10909         and return argument in case of subnormal argument.
10911 2015-07-01  Martin Sebor  <msebor@redhat.com>
10913         [BZ #18435]
10914         * nptl/Makefile: Add tst-once5.cc.
10915         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10916         Remove macro redefinitions.
10917         * nptl/tst-once5.cc: New test.
10919 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10921         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10923         * sysdeps/arm/libm-test-ulps: Regenerated.
10925         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10926         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10928 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10930         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10931         lll_lock_wait_private and lll_futex_wake probes.
10933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10935         Likewise.
10936         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10937         atomic_spin_nop.
10938         * sysdeps/x86_64/bits/atomic.h: Likewise.
10939         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10940         to atomic_spin_nop and move ...
10941         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10942         ... here and ...
10943         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10944         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10945         atomic_spin_nop instead of BUSY_WAIT_NOP.
10946         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10947         Likewise.
10948         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10949         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10950         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10951         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10952         instead of atomic_delay.
10954 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10956         [BZ #18613]
10957         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10958         X_ADJ not X when adjusting exponent.
10959         (__ieee754_gamma_r): Do intermediate computations in
10960         round-to-nearest then adjust overflowing and underflowing results
10961         as needed.
10962         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10963         of X_ADJ not X when adjusting exponent.
10964         (__ieee754_gammaf_r): Do intermediate computations in
10965         round-to-nearest then adjust overflowing and underflowing results
10966         as needed.
10967         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10968         log of X_ADJ not X when adjusting exponent.
10969         (__ieee754_gammal_r): Do intermediate computations in
10970         round-to-nearest then adjust overflowing and underflowing results
10971         as needed.  Use 1.0L not 1.0f as numerator of division.
10972         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10973         log of X_ADJ not X when adjusting exponent.
10974         (__ieee754_gammal_r): Do intermediate computations in
10975         round-to-nearest then adjust overflowing and underflowing results
10976         as needed.  Use 1.0L not 1.0f as numerator of division.
10977         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10978         of X_ADJ not X when adjusting exponent.
10979         (__ieee754_gammal_r): Do intermediate computations in
10980         round-to-nearest then adjust overflowing and underflowing results
10981         as needed.  Use 1.0L not 1.0f as numerator of division.
10982         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10983         to auto-libm-test-in.
10984         (tgamma_test): Use ALL_RM_TEST.
10985         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10986         tests of tgamma with spurious-overflow.
10987         * math/auto-libm-test-out: Regenerated.
10988         * math/gen-libm-have-vector-test.sh: Do not check for START.
10989         * sysdeps/i386/fpu/libm-test-ulps: Update.
10990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992         [BZ #18612]
10993         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10994         arguments, just return 0.5 times the argument, with underflow
10995         forced as needed.
10996         * math/auto-libm-test-in: Add more tests of j1.
10997         * math/auto-libm-test-out: Regenerated.
10999         [BZ #16559]
11000         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11001         (__ieee754_j1): Force underflow exception for small results.
11002         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11003         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11004         (__ieee754_j1f): Force underflow exception for small results.
11005         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11006         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11008         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11009         (__ieee754_j1l): Force underflow exception for small results.
11010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11011         * math/auto-libm-test-in: Add more tests of j1 and jn.
11012         * math/auto-libm-test-out: Regenerated.
11014         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11015         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11016         (PF_MPLS): Likewise.
11017         (AF_IB): Likewise.
11018         (AF_MPLS): Likewise.
11019         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11020         value and macro.
11021         (MS_RMT_MASK): Include MS_LAZYTIME.
11023 2015-06-26  Mel Gorman  <mgorman@suse.de>
11025         [BZ #18502]
11026         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11027         already minimal.
11029 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11031         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11032         (DT_MIPS_NUM): Update.
11033         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11034         DT_MIPS_RLD_MAP_REL.
11036 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11038         [BZ #16559]
11039         [BZ #18602]
11040         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11041         round-to-nearest internally then recompute results that
11042         underflowed to zero in the original rounding mode.
11043         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11046         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11047         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11048         * sysdeps/i386/fpu/libm-test-ulps: Update.
11049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11053         * NEWS: Fixed description of link with vector math library.
11055 2015-06-25  Andreas Schwab  <schwab@suse.de>
11057         [BZ #18549]
11058         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11059         * libio/test-fmemopen.c (do_test): Add test for it.
11061 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11063         [BZ #17841]
11064         * Makeconfig (no-pie-ldflag): New.
11065         (+link): Set to $(+link-pie) if default to PIE.
11066         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11067         * config.make.in (build-pie-default): New.
11068         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11069         is default.  AC_SUBST.
11070         * configure: Regenerated.
11071         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11073 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11075         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11076         to 'unsigned int'.
11078         * resolv/gai_misc.h (struct waitlist): Change type of field
11079         counterp to 'volatile unsigned int *'.
11080         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11081         FUTEXADDR and OLDVAL.
11082         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11083         Give local variable TOTAL type 'volatile unsigned int'.
11084         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11085         * resolv/gai_suspend.c (gai_suspend):
11086         Give local variable CNTR type 'unsigned int'.
11088         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11089         counterp to 'volatile unsigned int *'.
11090         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11091         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11092         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11093         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11094         Give local variable TOTAL type 'volatile unsigned int'.
11095         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11097 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11099         [BZ #18383]
11100         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11101         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11102         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11103         comment for i386/x86-64.
11104         (test-xfail-tst-tlsalign-extern-static): Removed.
11106 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11108         * math/test-double.h: New file.
11109         * math/test-float.h: Likewise.
11110         * math/test-ldouble.h: Likewise.
11111         * math/test-math-inline.h: Likewise.
11112         * math/test-math-no-inline.h: Likewise.
11113         * math/test-math-scalar.h: Likewise.
11114         * math/test-math-vector.h: Likewise.
11115         * math/test-vec-loop.h: Remove file.  Contents moved into
11116         test-math-vector.h.
11117         * math/libm-test.inc (MATHCONST): Do not document macro.
11118         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11119         and test-math-scalar.h.
11120         (FUNC): Remove macro.
11121         (FUNC_TEST): Likewise.
11122         (FLOAT): Likewise.
11123         (MATHCONST): Likewise.
11124         (PRINTF_EXPR): Likewise.
11125         (PRINTF_XEXPR): Likewise.
11126         (PRINTF_NEXPR): Likewise.
11127         (TEST_DOUBLE): Likewise.
11128         (TEST_MATHVEC): Likewise.
11129         (__NO_MATH_INLINES): Likewise.
11130         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11131         and test-math-scalar.h.
11132         (FUNC): Remove macro.
11133         (FUNC_TEST): Likewise.
11134         (FLOAT): Likewise.
11135         (MATHCONST): Likewise.
11136         (PRINTF_EXPR): Likewise.
11137         (PRINTF_XEXPR): Likewise.
11138         (PRINTF_NEXPR): Likewise.
11139         (TEST_FLOAT): Likewise.
11140         (TEST_MATHVEC): Likewise.
11141         (__NO_MATH_INLINES): Likewise.
11142         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11143         and test-math-scalar.h.
11144         (FUNC): Remove macro.
11145         (FUNC_TEST): Likewise.
11146         (FLOAT): Likewise.
11147         (MATHCONST): Likewise.
11148         (PRINTF_EXPR): Likewise.
11149         (PRINTF_XEXPR): Likewise.
11150         (PRINTF_NEXPR): Likewise.
11151         (TEST_DOUBLE): Likewise.
11152         (TEST_MATHVEC): Likewise.
11153         (TEST_INLINE): Likewise.
11154         (__NO_MATH_INLINES): Likewise.
11155         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11156         test-math-scalar.h.
11157         (FUNC): Remove macro.
11158         (FUNC_TEST): Likewise.
11159         (FLOAT): Likewise.
11160         (MATHCONST): Likewise.
11161         (PRINTF_EXPR): Likewise.
11162         (PRINTF_XEXPR): Likewise.
11163         (PRINTF_NEXPR): Likewise.
11164         (TEST_FLOAT): Likewise.
11165         (TEST_MATHVEC): Likewise.
11166         (TEST_INLINE): Likewise.
11167         (__NO_MATH_INLINES): Likewise.
11168         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11169         and test-math-scalar.h.
11170         (FUNC): Remove macro.
11171         (FUNC_TEST): Likewise.
11172         (FLOAT): Likewise.
11173         (MATHCONST): Likewise.
11174         (PRINTF_EXPR): Likewise.
11175         (PRINTF_XEXPR): Likewise.
11176         (PRINTF_NEXPR): Likewise.
11177         (TEST_LDOUBLE): Likewise.
11178         (TEST_MATHVEC): Likewise.
11179         (TEST_INLINE): Likewise.
11180         (__NO_MATH_INLINES): Likewise.
11181         * math/test-ldouble.c: Include test-ldouble.h,
11182         test-math-no-inline.h and test-math-scalar.h.
11183         (FUNC): Remove macro.
11184         (FUNC_TEST): Likewise.
11185         (FLOAT): Likewise.
11186         (MATHCONST): Likewise.
11187         (PRINTF_EXPR): Likewise.
11188         (PRINTF_XEXPR): Likewise.
11189         (PRINTF_NEXPR): Likewise.
11190         (TEST_LDOUBLE): Likewise.
11191         (TEST_MATHVEC): Likewise.
11192         (__NO_MATH_INLINES): Likewise.
11193         * math/test-double-vlen2.h: Include test-double.h,
11194         test-math-no-inline.h and test-math-vector.h.
11195         (FLOAT): Remove macro.
11196         (FUNC): Likewise.
11197         (MATHCONST): Likewise.
11198         (PRINTF_EXPR): Likewise.
11199         (PRINTF_XEXPR): Likewise.
11200         (PRINTF_NEXPR): Likewise.
11201         (TEST_DOUBLE): Likewise.
11202         (TEST_MATHVEC): Likewise.
11203         (__NO_MATH_INLINES): Likewise.
11204         (CNCT): Likewise.
11205         (CONCAT): Likewise.
11206         (WRAPPER_NAME): Likewise.
11207         (WRAPPER_DECL): Likewise.
11208         (WRAPPER_DECL_ff): Likewise.
11209         (WRAPPER_DECL_fFF): Likewise.
11210         (VECTOR_WRAPPER): Likewise.
11211         (VECTOR_WRAPPER_ff): Likewise.
11212         (VECTOR_WRAPPER_fFF): Likewise.
11213         (VEC_LEN): New macro.
11214         * math/test-double-vlen4.h: Include test-double.h,
11215         test-math-no-inline.h and test-math-vector.h.
11216         (FLOAT): Remove macro.
11217         (FUNC): Likewise.
11218         (MATHCONST): Likewise.
11219         (PRINTF_EXPR): Likewise.
11220         (PRINTF_XEXPR): Likewise.
11221         (PRINTF_NEXPR): Likewise.
11222         (TEST_DOUBLE): Likewise.
11223         (TEST_MATHVEC): Likewise.
11224         (__NO_MATH_INLINES): Likewise.
11225         (CNCT): Likewise.
11226         (CONCAT): Likewise.
11227         (WRAPPER_NAME): Likewise.
11228         (WRAPPER_DECL): Likewise.
11229         (WRAPPER_DECL_ff): Likewise.
11230         (WRAPPER_DECL_fFF): Likewise.
11231         (VECTOR_WRAPPER): Likewise.
11232         (VECTOR_WRAPPER_ff): Likewise.
11233         (VECTOR_WRAPPER_fFF): Likewise.
11234         (VEC_LEN): New macro.
11235         * math/test-double-vlen8.h: Include test-double.h,
11236         test-math-no-inline.h and test-math-vector.h.
11237         (FLOAT): Remove macro.
11238         (FUNC): Likewise.
11239         (MATHCONST): Likewise.
11240         (PRINTF_EXPR): Likewise.
11241         (PRINTF_XEXPR): Likewise.
11242         (PRINTF_NEXPR): Likewise.
11243         (TEST_DOUBLE): Likewise.
11244         (TEST_MATHVEC): Likewise.
11245         (__NO_MATH_INLINES): Likewise.
11246         (CNCT): Likewise.
11247         (CONCAT): Likewise.
11248         (WRAPPER_NAME): Likewise.
11249         (WRAPPER_DECL): Likewise.
11250         (WRAPPER_DECL_ff): Likewise.
11251         (WRAPPER_DECL_fFF): Likewise.
11252         (VECTOR_WRAPPER): Likewise.
11253         (VECTOR_WRAPPER_ff): Likewise.
11254         (VECTOR_WRAPPER_fFF): Likewise.
11255         (VEC_LEN): New macro.
11256         * math/test-float-vlen4.h: Include test-float.h,
11257         test-math-no-inline.h and test-math-vector.h.
11258         (FLOAT): Remove macro.
11259         (FUNC): Likewise.
11260         (MATHCONST): Likewise.
11261         (PRINTF_EXPR): Likewise.
11262         (PRINTF_XEXPR): Likewise.
11263         (PRINTF_NEXPR): Likewise.
11264         (TEST_FLOAT): Likewise.
11265         (TEST_MATHVEC): Likewise.
11266         (__NO_MATH_INLINES): Likewise.
11267         (CNCT): Likewise.
11268         (CONCAT): Likewise.
11269         (WRAPPER_NAME): Likewise.
11270         (WRAPPER_DECL): Likewise.
11271         (WRAPPER_DECL_ff): Likewise.
11272         (WRAPPER_DECL_fFF): Likewise.
11273         (VECTOR_WRAPPER): Likewise.
11274         (VECTOR_WRAPPER_ff): Likewise.
11275         (VECTOR_WRAPPER_fFF): Likewise.
11276         (VEC_LEN): New macro.
11277         * math/test-float-vlen8.h: Include test-float.h,
11278         test-math-no-inline.h and test-math-vector.h.
11279         (FLOAT): Remove macro.
11280         (FUNC): Likewise.
11281         (MATHCONST): Likewise.
11282         (PRINTF_EXPR): Likewise.
11283         (PRINTF_XEXPR): Likewise.
11284         (PRINTF_NEXPR): Likewise.
11285         (TEST_FLOAT): Likewise.
11286         (TEST_MATHVEC): Likewise.
11287         (__NO_MATH_INLINES): Likewise.
11288         (CNCT): Likewise.
11289         (CONCAT): Likewise.
11290         (WRAPPER_NAME): Likewise.
11291         (WRAPPER_DECL): Likewise.
11292         (WRAPPER_DECL_ff): Likewise.
11293         (WRAPPER_DECL_fFF): Likewise.
11294         (VECTOR_WRAPPER): Likewise.
11295         (VECTOR_WRAPPER_ff): Likewise.
11296         (VECTOR_WRAPPER_fFF): Likewise.
11297         (VEC_LEN): New macro.
11298         * math/test-float-vlen16.h: Include test-float.h,
11299         test-math-no-inline.h and test-math-vector.h.
11300         (FLOAT): Remove macro.
11301         (FUNC): Likewise.
11302         (MATHCONST): Likewise.
11303         (PRINTF_EXPR): Likewise.
11304         (PRINTF_XEXPR): Likewise.
11305         (PRINTF_NEXPR): Likewise.
11306         (TEST_FLOAT): Likewise.
11307         (TEST_MATHVEC): Likewise.
11308         (__NO_MATH_INLINES): Likewise.
11309         (CNCT): Likewise.
11310         (CONCAT): Likewise.
11311         (WRAPPER_NAME): Likewise.
11312         (WRAPPER_DECL): Likewise.
11313         (WRAPPER_DECL_ff): Likewise.
11314         (WRAPPER_DECL_fFF): Likewise.
11315         (VECTOR_WRAPPER): Likewise.
11316         (VECTOR_WRAPPER_ff): Likewise.
11317         (VECTOR_WRAPPER_fFF): Likewise.
11318         (VEC_LEN): New macro.
11319         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11320         test-vec-loop.h.
11321         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11323         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11324         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11326         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11327         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11329 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11331         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11332         (__getlogin_r): ... this.
11334 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11336         [BZ #18594]
11337         * math/s_ccosh.c (__ccosh): Compare with least normal value
11338         instead of comparing class with FP_SUBNORMAL.
11339         * math/s_ccoshf.c (__ccoshf): Likewise.
11340         * math/s_ccoshl.c (__ccoshl): Likewise.
11341         * math/s_cexp.c (__cexp): Likewise.
11342         * math/s_cexpf.c (__cexpf): Likewise.
11343         * math/s_cexpl.c (__cexpl): Likewise.
11344         * math/s_csin.c (__csin): Likewise.
11345         * math/s_csinf.c (__csinf): Likewise.
11346         * math/s_csinh.c (__csinh): Likewise.
11347         * math/s_csinhf.c (__csinhf): Likewise.
11348         * math/s_csinhl.c (__csinhl): Likewise.
11349         * math/s_csinl.c (__csinl): Likewise.
11350         * math/s_ctan.c (__ctan): Likewise.
11351         * math/s_ctanf.c (__ctanf): Likewise.
11352         * math/s_ctanh.c (__ctanh): Likewise.
11353         * math/s_ctanhf.c (__ctanhf): Likewise.
11354         * math/s_ctanhl.c (__ctanhl): Likewise.
11355         * math/s_ctanl.c (__ctanl): Likewise.
11356         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11357         csin, csinh, ctan and ctanh.
11358         * math/auto-libm-test-out: Regenerated.
11359         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11360         * sysdeps/i386/fpu/libm-test-ulps: Update.
11361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11365         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11366         return value is wrong, print the expected value too.
11368 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11370         [BZ #18585]
11371         * elf/readlib.c (is_gdb_python_file): New.
11372         (process_file): Don't issue errors on filenames with -gdb.py
11373         suffix.
11375 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11377         * math/auto-libm-test-in: Add more tests of csin and csinh.
11378         * math/auto-libm-test-out: Regenerated.
11379         * math/libm-test.inc (csin_test_data): Remove tests moved to
11380         auto-libm-test-in.
11381         (csinh_test_data): Likewise.
11383         [BZ #18593]
11384         * math/s_csin.c (__csin): Negate before rather than after possibly
11385         overflowing multiplication.
11386         * math/s_csinf.c (__csinf): Likewise.
11387         * math/s_csinh.c (__csinh): Likewise.
11388         * math/s_csinhf.c (__csinhf): Likewise.
11389         * math/s_csinhl.c (__csinhl): Likewise.
11390         * math/s_csinl.c (__csinl): Likewise.
11391         * math/auto-libm-test-in: Add some tests of csin and csinh.
11392         * math/auto-libm-test-out: Regenerated.
11393         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11394         (csinh_test_data): Likewise.
11395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11397         [BZ #18586]
11398         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11399         underflow exception for small results.
11401 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11405         variable and included header.
11406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11414         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11415         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11416         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11417         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11418         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11419         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11420         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11421         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11423 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11425         [BZ #16526]
11426         [BZ #16538]
11427         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11428         (__sin): Force underflow exception for arguments with small
11429         absolute value.
11430         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11431         (__kernel_sinf): Force underflow exception for arguments with
11432         small absolute value.
11433         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11434         (__kernel_sincosl): Force underflow exception for arguments with
11435         small absolute value.
11436         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11437         (__kernel_sinl): Force underflow exception for arguments with
11438         small absolute value.
11439         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11440         (__kernel_sincosl): Force underflow exception for arguments with
11441         small absolute value.
11442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11443         (__kernel_sinl): Force underflow exception for arguments with
11444         small absolute value.
11445         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11446         (__kernel_sinl): Force underflow exception for arguments with
11447         small absolute value.
11448         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11449         (__kernel_sinf): Force underflow exception for arguments with
11450         small absolute value.
11451         * math/auto-libm-test-in: Add more tests of sin and sincos.
11452         * math/auto-libm-test-out: Regenerated.
11454         [BZ #18245]
11455         [BZ #18583]
11456         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11457         (__kernel_standard_l): Use feholdexcept and fesetenv around
11458         conversion to double instead of special-casing overflow and
11459         underflow.
11460         * math/libm-test.inc (fmod_test_data): Add more tests.
11461         (remainder_test_data): Likewise.
11462         (sqrt_test_data): Likewise.
11464 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11466         [BZ #17403]
11467         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11468         atomic_read_barrier, atomic_write_barrier): Define.
11469         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11470         atomic_read_barrier, atomic_write_barrier): Define.
11472 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11474         * math/Makefile [$(PERL) != no]
11475         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11476         dependency on libm-test.stmp below the inclusion of Rules.
11478 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11481         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11482         and included header.
11483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11485         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11486         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11487         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11491         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11492         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11493         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11494         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11495         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11496         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11497         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11498         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11499         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11500         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11501         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11503 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11505         [BZ #18371]
11506         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11507         intermediate but not final result might underflow.
11508         * math/s_csqrtf.c (__csqrtf): Likewise.
11509         * math/s_csqrtl.c (__csqrtl): Likewise.
11510         * math/auto-libm-test-in: Add more tests of csqrt.
11511         * math/auto-libm-test-out: Regenerated.
11512         * sysdeps/i386/fpu/libm-test-ulps: Update.
11514         [BZ #18219]
11515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11516         threshold on absolute value of exponent for which scaling is used.
11517         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11518         * math/auto-libm-test-in: Add more tests of exp2.
11519         * math/auto-libm-test-out: Regenerated.
11521 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11523         [BZ #17977]
11524         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11525         when initializing interface list, based on the bug analysis
11526         and the patch proposed by Eric Newton.
11527         * resolv/tst-res_hconf_reorder.c: New test.
11528         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11529         tst-res_hconf_reorder.
11530         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11531         and $(shared-thread-library).
11532         (tst-res_hconf_reorder-ENV): New variable.
11534         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11535         in comment.
11537 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11539         [BZ #16353]
11540         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11541         (__expm1): Force underflow exception for arguments with small
11542         absolute value.
11543         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11544         (__expm1f): Force underflow exception for arguments with small
11545         absolute value.
11546         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11547         (__expm1): Force underflow exception for arguments with small
11548         absolute value.
11549         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11550         (__expm1f): Force underflow exception for arguments with small
11551         absolute value.
11552         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11553         Check for small arguments before calling __expm1.
11554         * math/auto-libm-test-in: Do not mark underflow exceptions as
11555         possibly missing for bug 16353.
11556         * math/auto-libm-test-out: Regenerated.
11558 2015-06-22  Andreas Schwab  <schwab@suse.de>
11560         [BZ #18513]
11561         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11562         PTR queries.
11564 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11566         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11568         * string/strcoll_l.c: Remove unused struct element idxnow.
11570 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11572         [BZ #18569]
11573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11574         underflow and return argument in case of subnormal argument.
11575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11576         Likewise.
11577         * math/auto-libm-test-in: Add more tests of expm1.
11578         * math/auto-libm-test-out: Regenerated.
11580         [BZ #16361]
11581         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11582         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11583         tiny results.
11584         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11585         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11586         tiny results.
11587         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11588         mark underflow exceptions as possibly missing for bug 16361.
11589         * math/auto-libm-test-out: Regenerated.
11591 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11593         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11594         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11595         Remove variable.
11596         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11597         (test-xfail-XOPEN2K8/utmpx.h/conform).
11599         * conform/conformtest.pl ($xerrors): New variable.
11600         (note_error): New function.
11601         (compiletest): New argument $xfail.  Use not_error.
11602         (runtest): Likewise.
11603         (top level): Handle xfail- lines.  Update calls to compiletest and
11604         runtest.  Handle xfail- and optional- in headers listed with
11605         allow-header.
11606         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11607         (O_EXEC): Likewise.
11608         (O_SEARCH): Likewise.
11609         * conform/data/stropts.h-data (ioctl): Likewise.
11610         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11611         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11612         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11613         (msghdr.msg_controllen): Likewise.
11614         (cmsghdr.cmsg_len): Likewise.
11615         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11616         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11617         variable.
11618         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11619         (test-xfail-XPG4/stropts.h/conform): Likewise.
11620         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11621         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11622         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11623         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11624         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11625         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11626         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11627         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11628         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11629         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11630         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11631         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11632         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11633         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11634         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11635         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11636         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11637         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11638         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11640 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11642         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11643         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11644         definitions for proper unfolding of __MATHDECL_VEC.
11646 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11648         * benchtests/bench-strcoll.c:
11649         Include string.h.
11650         (main): Remove unused variable res.
11652 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11654         * timezone/Makefile (%/UTC %/Universal):
11655         Generate test-result files for UTC and Universal.
11657 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11659         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11661 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11663         [BZ #16350]
11664         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11665         for arguments with small absolute value.
11666         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11667         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11668         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11669         (__asinh): Force underflow exception for arguments with small
11670         absolute value.
11671         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11672         (__asinhf): Force underflow exception for arguments with small
11673         absolute value.
11674         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11675         (__asinhl): Force underflow exception for arguments with small
11676         absolute value.
11677         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11678         (__asinhl): Force underflow exception for arguments with small
11679         absolute value.
11680         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11681         (__asinhl): Force underflow exception for arguments with small
11682         absolute value.
11683         * math/auto-libm-test-in: Do not mark underflow exceptions as
11684         possibly missing for bug 16350.
11685         * math/auto-libm-test-out: Regenerated.
11687         * include/bits/ipc.h: Remove file.
11688         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11689         variable.
11690         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11691         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11692         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11693         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11694         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11695         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11696         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11697         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11698         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11700         * math/auto-libm-test-in: Remove spurious underflow allowance for
11701         tests of cexp.
11702         * math/auto-libm-test-out: Regenerated.
11704         [BZ #18558]
11705         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11706         unconditional definition.
11707         (MCAST_BLOCK_SOURCE): Likewise.
11708         (MCAST_UNBLOCK_SOURCE): Likewise.
11709         (MCAST_LEAVE_GROUP): Likewise.
11710         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11711         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11712         (MCAST_MSFILTER): Likewise.
11713         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11714         Remove variable.
11715         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11716         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11717         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11718         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11719         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11721 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11723         * NEWS: Mention addition of x86_64 vector sincosf.
11724         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11725         * math/test-float-vlen4.h: Likewise.
11726         * math/test-float-vlen8.h: Likewise.
11727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11728         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11729         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11730         * sysdeps/x86_64/fpu/Versions: New versions added.
11731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11732         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11733         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11734         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11735         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11740         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11741         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11742         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11743         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11744         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11745         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11746         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11747         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11748         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11749         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11750         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11751         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11752         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11753         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11754         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11756         * NEWS: Mention addition of x86_64 vector sincos.
11757         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11758         * math/math.h (__MATHDECL_VEC): New macro.
11759         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11760         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11761         declaration under condition.
11762         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11763         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11764         TEST_VEC_LOOP change.
11765         * math/test-double-vlen4.h: Likewise.
11766         * math/test-double-vlen8.h: Likewise.
11767         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11768         * math/test-float-vlen4.h: Likewise.
11769         * math/test-float-vlen8.h: Likewise.
11770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11771         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11772         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11773         * sysdeps/x86_64/fpu/Versions: New versions added.
11774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11776         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11779         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11780         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11782         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11783         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11784         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11785         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11786         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11787         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11788         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11789         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11790         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11791         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11792         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11794         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11795         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11796         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11797         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11801         redirections for powf.
11802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11803         * sysdeps/x86_64/fpu/Versions: New versions added.
11804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11806         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11807         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11808         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11813         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11814         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11815         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11816         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11817         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11818         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11819         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11820         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11821         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11822         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11823         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11824         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11825         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11826         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11827         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11828         * math/test-float-vlen16.h: Fixed 2 argument macro.
11829         * math/test-float-vlen4.h: Likewise.
11830         * math/test-float-vlen8.h: Likewise.
11831         * NEWS: Mention addition of x86_64 vector powf.
11833 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11835         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11836         and redefine.
11837         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11838         and redefine.
11839         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11840         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11843         [BZ #18553]
11844         * resource/getpriority.c (getpriority): Rename to __getpriority
11845         and define as weak alias of __getpriority.
11846         * resource/setpriority.c (setpriority): Rename to __setpriority
11847         and define as weak alias of __setpriority.
11848         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11849         __getpriority and define as weak alias of __getpriority.
11850         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11851         __setpriority and define as weak alias of __setpriority.
11852         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11853         strong name.
11854         (setpriority): Use __setpriority as strong name.
11855         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11856         __getpriority and define as weak alias of __getpriority.
11857         * include/sys/resource.h (__getpriority): Declare.  Use
11858         libc_hidden_proto.
11859         (__setpriority): Likewise.
11860         (getpriority): Don't use libc_hidden_proto.
11861         (setpriority): Likewise.
11862         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11863         getpriority.  Call __setpriority instead of setpriority.
11864         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11865         Remove variable.
11867         [BZ #18547]
11868         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11869         as weak alias of __getttynam.  Use prototype function definition.
11870         Call __setttyent, __getttyent and __endttyent instead of
11871         setttyent, getttyent and endttyent.
11872         (getttyent): Rename to __getttyent and define as weak alias of
11873         __getttyent.  Call __setttyent instead of setttyent.  Call
11874         __fgets_unlocked instead of fgets_unlocked.
11875         (setttyent): Rename to __setttyent and define as weak alias of
11876         __setttyent.
11877         (endttyent): Rename to __endttyent and define as weak alias of
11878         __endttyent.
11879         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11880         (__setttyent): Likewise.
11881         (__endttyent): Likewise.
11882         (getttyent): Don't use libc_hidden_proto.
11883         (setttyent): Likewise.
11884         (endttyent): Likewise.
11885         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11886         __endttyent instead of setttyent, getttyent and endttyent.
11887         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11888         Remove variable.
11890         [BZ #18546]
11891         * socket/recv.c (__recv): Use libc_hidden_def.
11892         * socket/socket.c (__socket): Likewise.
11893         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11894         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11895         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11896         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11897         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11898         libc_hidden_def.
11899         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11900         libc_hidden_weak.
11901         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11902         Use libc_hidden_proto.
11903         (__recv): Likewise.
11904         * socket/Versions (libc): Export __recv and __socket at version
11905         GLIBC_PRIVATE.
11906         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11907         instead of recv.
11908         (init_mq_netlink): Call __socket instead of socket.
11909         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11910         Remove variable.
11912         [BZ #18545]
11913         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11914         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11915         hidden_weak.
11916         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11917         define as alias of __mq_timedsend.  Use hidden_weak.
11918         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11919         __mq_timedsend as strong name.
11920         (mq_timedreceive): Use __mq_timedreceive as strong name.
11921         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11922         (__mq_timedreceive): Likewise.
11923         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11924         __mq_timedreceive instead of mq_timedreceive.
11925         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11926         instead of mq_timedsend.
11927         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11928         Remove variable.
11930         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11931         hidden_def and hidden_weak instead of libc_hidden_def and
11932         libc_hidden_weak.
11933         (top level): Refer to hidden_def in comment.
11934         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11935         macro.  Use it instead of libc_hidden_def.
11936         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11937         specify __GI_* name explicitly.
11938         (mq_timedreceive): Likewise.
11939         (mq_setattr): Likewise.
11941         [BZ #18544]
11942         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11943         __pthread_barrier_init and define as weak alias of
11944         __pthread_barrier_init.
11945         * sysdeps/sparc/nptl/pthread_barrier_init.c
11946         (pthread_barrier_init): Likewise.
11947         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11948         __pthread_barrier_wait and define as weak alias of
11949         __pthread_barrier_wait.
11950         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11951         (pthread_barrier_wait): Likewise.
11952         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11953         (pthread_barrier_wait): Likewise.
11954         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11955         (pthread_barrier_wait): Likewise.
11956         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11957         (pthread_barrier_wait): Likewise.
11958         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11959         __pthread_barrier_wait at version GLIBC_PRIVATE.
11960         * include/pthread.h (__pthread_barrier_init): Declare.
11961         (__pthread_barrier_wait): Likewise.
11962         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11963         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11964         (helper_thread): Likewise.
11965         (init_mq_netlink): Call __pthread_barrier_init instead of
11966         pthread_barrier_init.
11968         [BZ #18542]
11969         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11970         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11971         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11972         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11973         vswscanf.
11974         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11975         Remove variable.
11977         [BZ #18540]
11978         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11979         strong alias of _IO_fflush.  Use libc_hidden_def.
11980         * libio/iofflush_u.c (fflush_unlocked): Rename to
11981         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11982         Use libc_hidden_weak.
11983         * include/stdio.h (__fflush_unlocked): Declare.  Use
11984         libc_hidden_proto.
11985         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11986         fflush_unlocked.
11987         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11988         Remove variable.
11990         [BZ #18539]
11991         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11992         define as weak alias of __addseverity.
11993         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11994         Remove variable.
11995         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11996         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11997         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11999         [BZ #18536]
12000         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12001         (__tfind): Likewise.
12002         (__tdelete): Likewise.
12003         (__twalk): Likewise.
12004         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12005         __twalk to GLIBC_PRIVATE.
12006         * include/search.h (__tsearch): Use libc_hidden_proto.
12007         (__tfind): Likewise.
12008         (__tdelete): Likewise.
12009         (__twalk): Likewise.
12010         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12011         Call __tdelete instead of tdelete.
12012         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12013         tfind.  Call __tsearch instead of tsearch.
12014         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12015         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12016         Remove variable.
12017         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12019         [BZ #18534]
12020         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12021         (dprintf): Define as a weak alias of __dprintf, not a strong
12022         alias.
12023         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12024         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12025         dprintf.
12026         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12027         Remove variable.
12028         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12029         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12031         [BZ #18533]
12032         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12033         not a strong alias.
12034         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12035         Remove variable.
12037         [BZ #18532]
12038         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12039         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12040         (in6addr_loopback): Rename to __in6addr_loopback and define as
12041         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12042         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12043         libc_hidden_proto.
12044         (__in6addr_any): Likewise.
12045         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12046         in6addr_any.
12047         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12048         variable.
12049         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12051 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12053         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12054         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12056         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12057         redirections for pow.
12058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12059         * sysdeps/x86_64/fpu/Versions: New versions added.
12060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12062         build of SSE, AVX2 and AVX512 IFUNC versions.
12063         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12064         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12070         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12071         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12072         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12073         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12074         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12075         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12076         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12077         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12079         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12080         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12081         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12082         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12083         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12084         * NEWS: Mention addition of x86_64 vector pow.
12086         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12087         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12088         redirections for expf.
12089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12090         * sysdeps/x86_64/fpu/Versions: New versions added.
12091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12092         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12093         build of SSE, AVX2 and AVX512 IFUNC versions.
12094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12100         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12101         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12102         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12103         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12104         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12105         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12106         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12107         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12108         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12109         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12112         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12113         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12114         * NEWS: Mention addition of x86_64 vector expf.
12116         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12117         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12120         redirections for exp.
12121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12122         * sysdeps/x86_64/fpu/Versions: New versions added.
12123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12125         build of SSE, AVX2 and AVX512 IFUNC versions.
12126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12127         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12132         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12133         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12134         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12135         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12136         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12137         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12138         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12139         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12142         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12144         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12145         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12146         * NEWS: Mention addition of x86_64 vector exp.
12148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12150         redirections for logf.
12151         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12152         * sysdeps/x86_64/fpu/Versions: New versions added.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12155         build of SSE, AVX2 and AVX512 IFUNC versions.
12156         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12157         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12162         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12163         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12164         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12165         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12166         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12167         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12168         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12169         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12170         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12171         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12172         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12174         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12175         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12176         * NEWS: Mention addition of x86_64 vector logf.
12178         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12179         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12180         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12181         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12182         redirections for log.
12183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12184         * sysdeps/x86_64/fpu/Versions: New versions added.
12185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12187         build of SSE, AVX2 and AVX512 IFUNC versions.
12188         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12189         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12190         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12191         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12192         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12193         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12194         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12195         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12196         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12197         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12198         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12199         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12200         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12201         test.
12202         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12203         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12205         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12206         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12207         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12208         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12209         * NEWS: Mention addition of x86_64 vector log.
12211 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12213         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12214         cfi_adjust_cfa_offset argument.
12215         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12216         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12218         [BZ #18034]
12219         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12220         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12221         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12222         ordering using ldar.
12223         (_dl_tlsdesc_dynamic): Likewise.
12224         (_dl_tlsdesc_return_lazy): Likewise.
12225         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12226         relaxed atomics instead of volatile and synchronize with release store.
12227         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12228         volatile.
12229         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12231 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12234         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12236         * sysdeps/x86_64/fpu/Versions: New versions added.
12237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12239         build of SSE, AVX2 and AVX512 IFUNC versions.
12240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12243         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12244         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12246         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12247         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12248         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12249         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12250         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12251         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12252         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12253         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12254         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12255         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12256         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12258         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12259         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12260         * NEWS: Mention addition of x86_64 vector sinf.
12262 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12264         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12265         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12266         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12267         Remove variable.
12268         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12269         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12271 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12273         [BZ #18530]
12274         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12275         strong alias of _IO_fputs.  Use libc_hidden_def.
12276         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12277         and define as weak alias of __fputs_unlocked.  Use
12278         libc_hidden_weak.
12279         * include/stdio.h (__fputs_unlocked): Declare.  Use
12280         libc_hidden_proto.
12281         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12282         fputs_unlocked.
12284         [BZ #18529]
12285         * resolv/netdb.h [__USE_POSIX]: Change condition to
12286         [__USE_XOPEN2K].
12287         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12288         not expect.
12289         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12290         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12291         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12292         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12293         [XPG4 || UNIX98] (AI_ALL): Likewise.
12294         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12295         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12296         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12297         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12298         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12299         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12300         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12301         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12302         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12303         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12304         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12305         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12306         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12307         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12308         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12309         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12310         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12311         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12312         [XPG4 || UNIX98] (gai_strerror): Likewise.
12313         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12314         [XPG4 || UNIX98] (getnameinfo): Likewise.
12316         [BZ #18528]
12317         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12318         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12319         __USE_XOPEN2K8].
12320         (getgrent): Likewise.
12321         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12322         expect.
12323         [XPG3 || POSIX2008] (endgrent): Likewise.
12324         [XPG3] (setgrent): Likewise.
12325         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12326         variable.
12327         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12329         [BZ #18527]
12330         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12331         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12332         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12333         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12334         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12335         * include/unistd.h (__getlogin_r): Declare.  Use
12336         libc_hidden_proto.
12337         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12338         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12339         variable.
12340         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12341         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12342         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12344 2015-06-12  Martin Sebor  <msebor@redhat.com>
12346         [BZ #18512]
12347         * Makerules (check-install-supported): New target.
12348         (install): Add check-install-supported as a dependency.
12349         * manual/install.texi (Installing the C Library): Document
12350         that overriding prefix and exec_prefix is not supported.
12351         Mention DESTDIR.
12352         * INSTALL: Regenerate from the above.
12354 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12356         [BZ #18519]
12357         * posix/Versions (libc): Export __libc_pread at version
12358         GLIBC_PRIVATE.
12359         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12360         instead of pread.
12361         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12362         variable.
12364         [BZ #18522]
12365         * misc/efgcvt_r.c
12366         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12367         (cvt_symbol): Use weak_alias instead of strong_alias.
12368         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12369         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12370         Remove variable.
12371         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12372         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12374         [BZ #18520]
12375         * inet/herrno.c (h_errno): Rename to __h_errno.
12376         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12377         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12378         to __h_errno instead of h_errno.
12379         * nptl/herrno.c (h_errno): Rename to __h_errno.
12380         (__h_errno_location): Refer to __h_errno not h_errno.
12381         * resolv/Versions (h_errno): Rename to __h_errno.
12382         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12383         Remove variable.
12384         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12386 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12388         * configure.ac: More strict check for AVX512 assembler support.
12389         * configure: Regenerated.
12391         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12392         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12393         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12394         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12396         * sysdeps/x86_64/fpu/Versions: New versions added.
12397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12399         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12406         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12407         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12408         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12409         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12410         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12411         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12413         test.
12414         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12418         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12420         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12421         * NEWS: Mention addition of x86_64 vector sin.
12423 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12425         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12426         comment.
12428 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12430         [BZ #18479]
12431         * nptl/pt-interp.c: New file.
12432         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12433         Add pt-interp.
12434         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12435         $(common-objpfx)runtime-linker.h.
12437 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12439         * Makeconfig (+interp): Remove unused variable.
12440         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12441         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12442         $(elf-objpfx)runtime-linker.h.
12443         ($(elf-objpfx)runtime-linker.h): Rename to
12444         $(common-objpfx)runtime-linker.h and move ...
12445         * Makerules [$(build-shared) = yes]: ... here.
12446         * elf/interp.c: Include <runtime-linker.h> instead of
12447         <elf/runtime-linker.h>.
12449 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12451         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12452         (__gettimeofday_syscall): Remove vsyscall fallback.
12453         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12454         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12455         Add syscall fallback function.
12456         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12457         if vDSO is not present.
12458         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12459         fallback function.
12460         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12461         present.
12462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12463         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12465 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12467         [BZ #18497]
12468         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12469         of wcscmp.
12470         (wcscmp): Define as weak alias of WCSCMP.
12471         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12472         wcscoll.
12473         (USE_HIDDEN_DEF): Define.
12474         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12475         __wcscoll.  Don't use libc_hidden_weak.
12476         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12477         wcscmp.
12478         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12479         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12480         __GI_wcscmp.
12481         (weak_alias): Undefine and redefine.
12482         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12483         __wcscmp and define as weak alias of __wcscmp.
12484         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12485         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12486         (__wcscoll): Likewise.
12487         (wcscmp): Don't use libc_hidden_proto.
12488         (wcscoll): Likewise.
12489         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12490         wcscoll.
12491         * posix/regexec.c (check_node_accept_bytes): Likewise.
12492         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12493         variable.
12494         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12495         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12497         [BZ #18507]
12498         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12499         __fstatvfs and define as weak alias of __fstatvfs.  Use
12500         libc_hidden_weak.
12501         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12502         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12503         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12504         Define as alias of __fstatvfs, not fstatvfs.
12505         (fstatvfs64): Likewise.
12506         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12507         Define as alias of __statvfs, not statvfs.
12508         (statvfs64): Likewise.
12509         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12510         Remove variable.
12512 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12515         (HAVE_GETCPU_VSYSCALL): Define.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12517         (HAVE_GETCPU_VSYSCALL): Likewise.
12518         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12519         * sysdeps/unix/sysv/linux/sched_getcpu.c
12520         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12521         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12522         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12523         prototype.
12524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12525         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12526         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12528         Define.
12529         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12530         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12531         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12532         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12534 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12536         * sysdeps/x86_64/fpu/Makefile: New file.
12537         * sysdeps/x86_64/fpu/Versions: New file.
12538         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12539         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12540         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12541         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12542         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12543         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12544         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12545         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12546         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12549         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12552         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12554         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12555         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12556         * sysdeps/x86_64/configure: Regenerated.
12557         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12559         * manual/install.texi (Configuring and compiling): Document
12560         --disable-mathvec.
12561         * INSTALL: Regenerated.
12562         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12564         * math/Makefile: Added rules for vector tests.
12565         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12566         declaration under condition.
12567         * math/test-double-vlen2.h: New file.
12568         * math/test-double-vlen4.h: New file.
12569         * math/test-double-vlen8.h: New file.
12570         * math/test-vec-loop.h: Added initialization macro.
12571         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12573         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12574         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12575         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12578         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12579         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12580         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12581         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12584         * sysdeps/x86_64/fpu/Versions: New versions added.
12585         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12588         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12589         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12590         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12591         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12592         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12593         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12594         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12595         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12596         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12597         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12601         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12602         * NEWS: Mention addition of x86_64 vector cosf.
12604         * math/Makefile: Added CFLAGS for new tests.
12605         * math/test-float-vlen16.h: New file.
12606         * math/test-float-vlen4.h: New file.
12607         * math/test-float-vlen8.h: New file.
12608         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12609         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12611         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12612         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12613         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12614         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12615         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12617         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12618         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12620 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12622         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12623         * locale/programs/ld-ctype.c: Likewise.
12625 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12627         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12628         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12629         bit_ZMM16_31_state): New macro.
12630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12631         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12633 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12635         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12637 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12639         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12641 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12643         [BZ #18498]
12644         * libio/memstream.c (open_memstream): Rename to __open_memstream
12645         and define as weak alias of __open_memstream.
12646         * include/stdio.h (__open_memstream): Declare.  Use
12647         libc_hidden_proto.
12648         (open_memstream): Don't use libc_hidden_proto.
12649         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12650         open_memstream.
12651         * posix/getopt.c (_getopt_internal_r): Likewise.
12652         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12653         variable.
12654         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12655         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12656         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12658         [BZ #18496]
12659         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12660         instead of wcrtomb.
12662         [BZ #18483]
12663         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12664         [__USE_XOPEN2K8].  Remove redundant #endif.
12665         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12666         Remove redundant #if.
12667         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12668         Remove variable.
12669         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12670         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12672         [BZ #18495]
12673         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12674         (__iswlower): Likewise.
12675         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12676         (__iswlower): Likewise.
12677         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12678         instead of towlower.
12679         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12680         instead of iswlower.  Call __towupper instead of towupper.
12681         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12682         instead of iswalnum.
12684 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12686         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12687         errors to stderr.
12689 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12691         [BZ #15661]
12692         [BZ #17322]
12693         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12694         Check for overflow properly.  Check for O_APPEND.  Ignore large
12695         file system block sizes.  Add comments about problems.
12696         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12697         * manual/filesys.texi (Storage Allocation): New node.
12699 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12701         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12702         cancellable syscalls.
12703         (SYS_ify): Add guard to no redefine it.
12704         (INLINE_SYSCALL): Likewise.
12705         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12706         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12707         SYSCALL_CANCEL instead.
12708         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12709         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12710         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12711         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12712         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12713         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12714         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12715         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12716         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12717         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12718         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12719         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12720         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12721         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12722         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12723         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12724         Likewise.
12725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12726         (__libc_pread64): Likewise.
12727         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12728         (__libc_preadv): Likewise.
12729         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12730         (__libc_readv64): Likewise.
12731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12732         (__libc_pwrite): Likewise.
12733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12734         (__libc_pwrite64): Likewise.
12735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12736         (__libc_pwritev): Likewise.
12737         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12738         (__libc_pwritev64): Likewise.
12739         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12740         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12741         (sync_file_range): Likewise.
12742         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12743         Likewise.
12744         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12745         Likewise.
12746         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12747         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12748         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12749         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12750         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12751         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12752         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12753         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12755         Likewise.
12756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12757         (__libc_read64): Likewise.
12758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12759         Likewise.
12760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12761         Likewise.
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12763         Likewise.
12764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12765         Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12767         (__libc_pread64): Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12771         (__libc_pwrite64): Likewise.
12772         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12773         (sync_file_range): Likewise.
12774         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12775         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12776         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12777         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12778         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12779         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12780         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12781         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12782         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12783         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12784         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12785         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12786         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12787         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12788         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12789         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12790         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12791         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12792         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12797         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12798         Likewise.
12799         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12800         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12801         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12802         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12803         Likewise.
12804         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12805         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12806         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12807         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12808         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12810 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12812         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12813         Include dl-vdso.
12814         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12815         Use VDSO routines for gettimeofday, clock_gettime if
12816         available.
12817         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12818         Declare VDSO symbols.
12819         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12820         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12821         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12822         * sysdeps/unix/sysv/linux/arm/Versions: Add
12823         __vdso_clock_gettime.
12825 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12827         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12828         be an inline implementation regardless of library is built within.
12829         (open_not_cancel_2): Likewise.
12830         (__read_nocancel): Likewise.
12831         (__write_nocancel): Likewise.
12832         (openat_not_cancel): Likewise.
12833         (openat_not_cancel_3): Likewise.
12834         (openat64_not_cancel): Likewise.
12835         (openat64_not_cancel_3): Likewise.
12836         (__close_nocancel): Likewise.
12837         (pause_not_cancel): Likewise.
12838         (nanosleep_not_cancel): Likewise.
12839         (sigsuspend_not_cancel): Likewise.
12841 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12843         [BZ #14958]
12844         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12845         wake-up.
12846         (__pthread_rwlock_rdlock_slow): Likewise.
12847         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12848         Likewise.
12849         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12850         Likewise.
12851         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12852         * nptl/tst-rwlock16.c: New file.
12853         * nptl/Makefile (tests): Add new test.
12855 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12857         [BZ #18324]
12858         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12859         missing wake-up of readers.
12860         * nptl/tst-rwlock15.c: New file.
12861         * nptl/Makefile (tests): Add new test.
12863 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12865         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12866         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12867         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12868         and __nacl_supply_interface_rtld.
12869         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12870         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12871         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12872         Add __nacl_supply_interface_rtld.
12873         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12875 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12877         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12878         isfinite.
12879         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12880         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12882 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12884         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12885         __signbit* with standard C99 macros.
12886         * math/e_exp10l.c: Likewise.
12887         * math/e_exp2l.c: Likewise.
12888         * math/e_scalb.c: Likewise.
12889         * math/e_scalbf.c: Likewise.
12890         * math/e_scalbl.c: Likewise.
12891         * math/s_ldexp.c: Likewise.
12892         * math/s_ldexpf.c: Likewise.
12893         * math/s_ldexpl.c: Likewise.
12894         * math/w_atan2.c: Likewise.
12895         * math/w_atan2f.c: Likewise.
12896         * math/w_atan2l.c: Likewise.
12897         * math/w_cosh.c: Likewise.
12898         * math/w_coshf.c: Likewise.
12899         * math/w_coshl.c: Likewise.
12900         * math/w_exp10.c: Likewise.
12901         * math/w_exp10f.c: Likewise.
12902         * math/w_exp10l.c: Likewise.
12903         * math/w_exp2.c: Likewise.
12904         * math/w_exp2f.c: Likewise.
12905         * math/w_exp2l.c: Likewise.
12906         * math/w_fmod.c: Likewise.
12907         * math/w_fmodf.c: Likewise.
12908         * math/w_fmodl.c: Likewise.
12909         * math/w_hypot.c: Likewise.
12910         * math/w_hypotf.c: Likewise.
12911         * math/w_hypotl.c: Likewise.
12912         * math/w_jnl.c: Likewise.
12913         * math/w_lgamma.c: Likewise.
12914         * math/w_lgamma_r.c: Likewise.
12915         * math/w_lgammaf.c: Likewise.
12916         * math/w_lgammaf_r.c: Likewise.
12917         * math/w_lgammal.c: Likewise.
12918         * math/w_lgammal_r.c: Likewise.
12919         * math/w_pow.c: Likewise.
12920         * math/w_powf.c: Likewise.
12921         * math/w_powl.c: Likewise.
12922         * math/w_remainder.c: Likewise.
12923         * math/w_remainderf.c: Likewise.
12924         * math/w_remainderl.c: Likewise.
12925         * math/w_scalb.c: Likewise.
12926         * math/w_scalbf.c: Likewise.
12927         * math/w_scalbl.c: Likewise.
12928         * math/w_scalbln.c: Likewise.
12929         * math/w_scalblnf.c: Likewise.
12930         * math/w_scalblnl.c: Likewise.
12931         * math/w_sinh.c: Likewise.
12932         * math/w_sinhf.c: Likewise.
12933         * math/w_sinhl.c: Likewise.
12934         * math/w_tgamma.c: Likewise.
12935         * math/w_tgammaf.c: Likewise.
12936         * math/w_tgammal.c: Likewise.
12937         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12938         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12939         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12940         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12941         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12942         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12943         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12944         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12945         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12946         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12947         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12948         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12950         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12951         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12952         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12953         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12954         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12963         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12966         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12967         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12968         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12969         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12970         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12971         * stdio-common/printf_fp.c: Likewise.
12972         * stdio-common/printf_fphex.c: Likewise.
12973         * stdio-common/printf_size.c: Likewise.
12975 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12977         [BZ #18470]
12978         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12979         strnlen.
12980         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12981         Remove variable.
12982         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12983         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12984         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12985         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12986         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12987         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12988         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12989         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12990         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12991         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12993         [BZ #18468]
12994         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12995         weak alias of __wmemchr.  Use libc_hidden_weak.
12996         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12997         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12998         instead of wmemchr.
13000 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13002         [BZ #18383]
13003         * elf/tst-tlsalign-extern.c: New file.
13004         * elf/tst-tlsalign-extern-static.c: New file.
13005         * elf/tst-tlsalign-vars.c: New file.
13006         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13007         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13008         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13009         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13010         (test-xfail-tst-tlsalign-extern-static): New variable.
13012 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13014         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13015         Use variable name _sc_err instead of err.
13016         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13017         instead of ret.
13018         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13019         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13020         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13021         (INLINE_SYSCALL): Likewise.
13023         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13024         * include/string.h (__strnlen): Use libc_hidden_proto.
13025         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13026         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13027         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13028         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13029         (libc_hidden_def): Undefine and redefine.
13030         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13031         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13032         __GI_strnlen.
13033         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13034         libc_hidden_def.
13035         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13037         [BZ #18469]
13038         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13039         weak alias of __towlower.  Use libc_hidden_weak.
13040         (towupper): Rename to __towupper and define as weak alias of
13041         __towupper.  Use libc_hidden_weak.
13042         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13043         (__towupper): Likewise.
13044         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13045         __towlower instead of towlower.
13047 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13049         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13050         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13052 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13054         * sysdeps/aarch64/libm-test-ulps: Update.
13056 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13058         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13059         Define.
13060         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13062         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13063         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13064         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13065         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13066         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13068 2015-06-01  Martin Sebor  <msebor@redhat.com>
13070         [BZ #18116]
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13072         (__setcontext): Use extended four-operand version of mtsf whenever
13073         possible.
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13075         (__novec_swapcontext): Likewise.
13077 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13079         * benchtests/scripts/compare_bench.py: New file.
13080         * benchtests/scripts/import_bench.py (mean): New function.
13081         (split_list): Likewise.
13082         (do_for_all_timings): Likewise.
13083         (compress_timings): Likewise.
13085         * benchtests/scripts/import_bench.py: New file.
13086         * benchtests/scripts/validate_benchout.py: Import import_bench
13087         instead of jsonschema.
13088         (validate_bench): Remove function.
13089         (main): Use import_bench.
13091 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13094         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13096 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13100 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13102         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13103         set THREAD_SELF->tid to a magic value and futex-wake it.
13104         Pass its address to the thread_exit system call.
13105         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13106         bit is clear.
13107         * sysdeps/nacl/lowlevellock.h: New file.
13108         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13110         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13111         Add TIMEOUT to current time, don't subtract it.
13113 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13115         [BZ #2981]
13116         [BZ #18422]
13117         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13118         ($(objpfx)tst-audit2.out): Also depend on
13119         $(objpfx)tst-auditmod9b.so.
13120         * elf/tst-audit2.c: Include <dlfcn.h>.
13121         (calloc_called): New.
13122         (calloc): Allow to be called more than once.
13123         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13125 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13127         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13128         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13130 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13132         * stdlib/monetary.h: Fix comment.
13134 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13136         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13137         Avoid using variables in #defines that might cause shadowing.
13138         (INTERNAL_VSYSCALL_CALL): Likewise.
13140 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13142         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13144         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13145         * nptl/lll_timedlock_wait.c: ... to this new file.
13146         * nptl/Makefile (libpthread-routines): Add it.
13147         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13148         * nptl/lll_timedwait_tid.c: ... to this new file.
13149         * nptl/Makefile (libpthread-routines): Add it.
13150         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13151         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13152         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13153         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13154         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13155         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13156         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13157         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13158         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13159         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13161 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13163         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13164         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13165         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13167         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13169         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13170         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13171         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13172         * sysdeps/unix/sysv/linux/tile/sysdep.h
13173         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13174         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13175         using vDSO syscall macro.
13177 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13179         [BZ #17293]
13180         * uk_UA: Fix sorting order for Ukrainian locale
13182 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13184         * stdlib/monetary.h: Fix comment.
13186 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13188         [BZ #18234]
13189         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13190         st_mtim and st_ctim members.
13191         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13192         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13193         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13194         (struct stat64): Likewise.
13195         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13196         (struct stat64): Likewise.
13197         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13198         (struct stat64): Likewise.
13200 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13202         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13203         Define and include sysdep-vdso.h.
13204         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13205         Likewise.
13206         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13207         Likewise.
13208         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13209         Define with VDSO_SYMBOL and use PTR_MANGLE.
13210         (__vdso_clock_gettime): Likewise.
13211         (__vdso_clock_getres): Likewise.
13212         (_libc_vdso_platform_setup): Likewise.
13213         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13214         Likewise.
13215         (_libc_vdso_platform_setup): Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13217         Likewise.
13218         (__vdso_clock_gettime): Likewise.
13219         (__vdso_clock_getres): Likewise.
13220         (__vdso_get_tbfreq): Likewise.
13221         (__vdso_getcpu): Likewise.
13222         (__vdso_time): Likewise.
13223         (__vdso_sigtramp_rt64): Likewise.
13224         (__vdso_signtramp32): Likewise.
13225         (__vdso_sigtramp_rt32): Likewise.
13226         (_libc_vdso_platform_setup): Likewise.
13227         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13228         Likewise.
13229         (__vdso_clock_gettime): Likewise.
13230         (__vdso_clock_getres): Likewise.
13231         (_libc_vdso_platform_setup): Likewise.
13232         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13233         Likewise.
13234         (__vdso_clock_gettime): Likewise.
13235         (_libc_vdso_platform_setup): Likewise.
13236         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13237         Likewise.
13238         (__vdso_getcpu): Likewise.
13239         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13240         Use VDSO_SYMBOL macro to define.
13241         (__vdso_clock_gettime): Likewise.
13242         (__vdso_clock_getres): Likewise.
13243         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13244         Likewise.
13245         (__vdso_clock_gettime): Likewise.
13246         (__vdso_clock_getres): Likewise.
13247         (__vdso_get_tbfreq): Likewise.
13248         (__vdso_getcpu): Likewise.
13249         (__vdso_time): Likewise.
13250         (__vdso_sigtramp_rt64): Likewise.
13251         (__vdso_signtramp32): Likewise.
13252         (__vdso_sigtramp_rt32): Likewise.
13253         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13254         Likewise.
13255         (__vdso_clock_gettime): Likewise.
13256         (__vdso_clock_getres): Likewise.
13257         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13258         Likewise.
13259         (__vdso_clock_gettime): Likewise.
13260         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13261         Likewise.
13262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13263         macro.
13264         (INTERNAL_VSYSCALL): Likewise.
13265         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13266         Remove macro.
13267         (INTERNAL_VSYSCALL): Likewise.
13268         (INTERNAL_VSYSCALL_NCS): Likewise.
13269         (INTERNAL_VSYSCALL_CALL): New macro.
13270         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13271         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13272         Likewise.
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/powerpc/powerpc32/sysdep.h
13278         (INLINE_VSYSCALL): Remove macro.
13279         (INTERNAL_VSYSCALL): Remove macro.
13280         (INTERNAL_VSYSCALL_NCS): Remove macro.
13281         (INTERNAL_VSYSCALL_CALL): New macro.
13282         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13283         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13284         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13285         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13286         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13288         (INLINE_VSYSCALL): Remove macro.
13289         (INTERNAL_VSYSCALL): Likewise.
13290         (INTERNAL_VSYSCALL_NCS): Likewise.
13291         (INTERNAL_VSYSCALL_CALL): New macro.
13292         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13293         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13294         PTR_DEMANGLE on vDSO pointer.
13295         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13296         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13297         macro.
13298         (INTERNAL_SYSCALL): Likewise.
13299         (INTERNAL_VSYSCALL_NCS): Remove macro.
13300         (INTERNAL_VSYSCALL_CALL): New macro.
13301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13302         Remove macro.
13303         (INTERNAL_VSYSCALL): Likewise.
13304         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13305         sysdep-vdso.h instead of libc-vdso.h.
13306         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13307         definition.
13308         (INLINE_VSYSCALL): Likewise.
13309         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13310         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13311         definition.
13312         (INLINE_VSYSCALL): Likewise.
13313         (INTERNAL_VSYSCALL): Likewise.
13314         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13315         * sysdeps/unix/sysv/linux/timespec_get.c
13316         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13317         (timespec_get): Use ANSI prototype.
13318         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13319         and definition for Linux.
13321 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13323         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13324         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13326 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13328         [BZ #2981]
13329         [BZ #18410]
13330         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13331         for missing DT_PLTRELSZ.
13333 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13335         Remove obsolete aliases that broke 'locale -a'
13336         [BZ #18412]
13337         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13338         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13339         breaking some applications that use 'locale -a' output.
13340         Change the encoding of this file from Latin-1 to ASCII to avoid
13341         other potential problems with people grepping this file.
13343 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13345         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13346         -fasynchronous-unwind-tables.
13347         (CFLAGS-sendto.c): Likewise.
13348         (CFLAGS-sendmsg.c): Likewise.
13349         (CFLAGS-connect.c): Likewise.
13350         (CFLAGS-recvmsg.c): Likewise.
13351         (CFLAGS-recvfrom.c): Likewise.
13352         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13353         (SOCKETCALL): New macro: non-cancellable socketcall.
13354         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13355         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13356         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13357         * sysdeps/unix/sysv/linux/accept.c: New file.
13358         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13359         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13360         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13361         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13362         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13363         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13364         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13365         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13366         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13367         * sysdeps/unix/sysv/linux/send.c: Likewise.
13368         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13369         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13370         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13371         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13372         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13373         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13374         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13375         prototype.
13376         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13377         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13378         instead of __internal_xxx function.
13379         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13380         prototype.
13381         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13382         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13383         instead of __internal_xxx function.
13384         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13385         prototype.
13386         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13387         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13388         instead of __internal_xxx function.
13389         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13390         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13391         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13392         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13393         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13394         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13395         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13396         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13397         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13398         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13399         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13400         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13401         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13402         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13403         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13404         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13405         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13406         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13407         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13408         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13411         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13412         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13413         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13414         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13415         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13416         * sysdeps/unix/sysv/linux/send.S: Likewise.
13417         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13418         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13419         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13420         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13421         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13422         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13423         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13424         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13425         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13426         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13427         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13428         socketcall is implemented in GLIBC.
13430 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13432         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13433         (__fma): Ignore uninitialized warnings around packing.
13434         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13435         (__fmaf): Ignore uninitialized warnings around packing.
13436         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13437         (__fmal): Ignore uninitialized warnings around packing.
13439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13440         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13442         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13444         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13445         switch statement into default case.
13446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13448         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13449         a conditional in forcing "inexact".
13450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13451         Likewise.
13453 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13455         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13456         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13457         for each INTERNAL_SYSCALL use.
13459 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13461         [BZ #438]
13462         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13463         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13464         variable.
13466         [BZ #18444]
13467         * string/basename.c (basename): Rename to __basename and define as
13468         weak alias of __basename.  Use libc_hidden_weak.
13469         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13470         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13471         __basename instead of basename.
13472         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13473         Remove variable.
13474         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13476 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13478         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13479         (_IO_JUMPS_FILE_plus): New.
13480         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13481         _IO_CAST_FIELD_ACCESS.
13482         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13483         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13484         * libio/freopen.c (freopen): Likewise.
13485         * libio/freopen64.c (freopen64): Likewise.
13486         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13487         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13488         * libio/iofwide.c (_IO_fwide): Likewise.
13489         * libio/memstream.c (open_memstream): Likewise.
13490         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13491         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13492         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13494 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13496         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13497         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13498         NADJ.
13499         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13500         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13501         NADJ.
13502         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13503         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13504         NADJ.
13506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13507         (p == 4) case.
13509         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13510         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13511         Remove variable.
13512         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13513         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13514         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13516 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13518         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13519         Adjust jump table label generation macros.
13521 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13523         * stdio-common/vfprintf.c (vfprintf): Move local variables
13524         args_malloced, specs, specs_malloced, and the code after
13525         do_positional to the printf_positional function.
13526         (printf_positional): New function.
13528 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13530         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13531         function.
13532         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13533         STEP4_TABLE, process_arg): Move macro definitions
13534         out of the vfprintf function.  (Cosmetic change only.)
13536 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13538         * benchtests/Makefile (stdio-common-bench): Define.
13539         (benchset): Add stdio-common-bench.
13540         * sprintf-inputs: New file.
13541         * sprintf-source.c: New file.
13543 2015-05-21  Andreas Schwab  <schwab@suse.de>
13545         [BZ #13028]
13546         [BZ #17053]
13547         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13548         of struct __res_state.
13549         * resolv/res_send.c (__libc_res_nsend): Likewise.
13550         (get_nsaddr): New function.
13551         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13552         statp directly.
13554 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13556         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13557         -D_POSIX_C_SOURCE=199506L.
13559         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13561         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13562         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13563         Do not mention otherwise.
13564         [POSIX] (_XOPEN_VERSION): Do not expect.
13565         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13566         [POSIX] (_POSIX2_C_BIND): Likewise.
13567         [POSIX] (_POSIX2_VERSION): Likewise.
13568         [POSIX] (_XOPEN_XPG2): Likewise.
13569         [POSIX] (_XOPEN_XPG3): Likewise.
13570         [POSIX] (_XOPEN_XPG4): Likewise.
13571         [POSIX] (_XOPEN_UNIX): Likewise.
13572         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13573         [POSIX] (_POSIX_BARRIERS): Likewise.
13574         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13575         [POSIX] (_POSIX_CPUTIME): Likewise.
13576         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13577         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13578         [POSIX] (_POSIX_SHELL): Likewise.
13579         [POSIX] (_POSIX_SPAWN): Likewise.
13580         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13581         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13582         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13583         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13584         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13585         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13586         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13587         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13588         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13589         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13590         [POSIX] (_POSIX2_PBS): Likewise.
13591         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13592         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13593         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13594         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13595         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13596         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13597         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13598         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13599         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13600         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13601         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13602         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13603         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13604         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13605         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13606         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13607         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13608         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13609         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13610         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13611         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13612         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13613         [POSIX] (_SC_2_C_BIND): Likewise.
13614         [POSIX] (_SC_2_C_VERSION): Likewise.
13615         [POSIX] (_SC_2_PBS): Likewise.
13616         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13617         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13618         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13619         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13620         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13621         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13622         [POSIX] (_SC_BARRIERS): Likewise.
13623         [POSIX] (_SC_BASE): Likewise.
13624         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13625         [POSIX] (_SC_DEVICE_IO): Likewise.
13626         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13627         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13628         [POSIX] (_SC_FD_MGMT): Likewise.
13629         [POSIX] (_SC_FIFO): Likewise.
13630         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13631         [POSIX] (_SC_FILE_LOCKING): Likewise.
13632         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13633         [POSIX] (_SC_IOV_MAX): Likewise.
13634         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13635         [POSIX] (_SC_NETWORKING): Likewise.
13636         [POSIX] (_SC_PAGE_SIZE): Likewise.
13637         [POSIX] (_SC_PASS_MAX): Likewise.
13638         [POSIX] (_SC_PIPE): Likewise.
13639         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13640         [POSIX] (_SC_REGEXP): Likewise.
13641         [POSIX] (_SC_SHELL): Likewise.
13642         [POSIX] (_SC_SIGNALS): Likewise.
13643         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13644         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13645         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13646         [POSIX] (_SC_USER_GROUPS): Likewise.
13647         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13648         [POSIX] (_SC_STREAMS): Likewise.
13649         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13650         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13651         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13652         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13653         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13654         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13655         [POSIX] (_PC_FILESIZEBITS): Likewise.
13656         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13657         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13658         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13659         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13660         [POSIX] (uid_t): Likewise.
13661         [POSIX] (gid_t): Likewise.
13662         [POSIX] (off_t): Likewise.
13663         [POSIX] (pid_t): Likewise.
13664         [POSIX] (cuserid): Allow.
13665         (_SC_2_CHAR_TERM): Require constant.
13666         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13667         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13668         variable.
13670 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13672         * sysdeps/nacl/pthread-pids.h: New file.
13673         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13674         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13676         * nptl/pthread-pids.h: New file.
13677         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13678         * nptl/nptl-init.c: Include <pthread-pids.h>.
13679         (__pthread_initialize_minimal_internal):
13680         Call __pthread_initialize_pids instead of set_tid_address syscall.
13682         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13683         * sysdeps/posix/usleep.c: ... here.
13685 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13687         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13688         call_pselect6 object.
13689         [$(subdir) = io]: Remove call_sync_file_range object.
13690         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13691         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13692         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13693         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13695 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13697         * math/s_cproj.c: Add include "math_private.h".
13698         * math/s_cprojf.c: Likewise.
13699         * math/s_cprojl.c: Likewise.
13701 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13703         [BZ #18244]
13704         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13705         high mantissa bit when testing whether P is a NaN.
13706         * math/libm-test.inc (remainder_test_data): Add more tests.
13707         (remquo_test_data): Likewise.
13709         [BZ #18049]
13710         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13711         below -32, return the argument, with underflow if subnormal.
13712         * math/auto-libm-test-in: Add more tests of atanh.
13713         * math/auto-libm-test-out: Regenerated.
13715 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13717         [BZ #18434]
13718         * nptl/tst-sem15.c: New file.
13719         * nptl/Makefile (tests): Add it.
13720         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13721         s/<</>>/ to fix typo in EOVERFLOW check.
13722         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13724 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         * manual/strings.texi (envz_remove): Fix typo in safety
13727         annotations.
13729 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13730             Steve Ellcey  <sellcey@imgtec.com>
13732         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13733         in order to avoid strict alias warnings.
13734         (iruserok_af): Ditto for ra.
13736 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13738         [BZ #17581]
13739         * malloc/hooks.c
13740         (magicbyte): Convert to a function and avoid returning 0x01.
13741         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13742         (mem2chunk_check): Fix unsigned comparisons to zero.
13743         Hoist defs of sz and magic.
13745 2015-05-19  Richard Henderson  <rth@redhat.com>
13747         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13749         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13751 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13753         [BZ #16159]
13754         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13755         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13756         (reused_arena): Find a non-corrupt arena.
13757         (heap_trim): Pass arena to unlink.
13758         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13759         malloc_printerr.
13760         (top_check): Likewise.
13761         (free_check): Likewise.
13762         (realloc_check): Likewise.
13763         * malloc/malloc.c (malloc_printerr): Add arena argument.
13764         (unlink): Likewise.
13765         (munmap_chunk): Adjust.
13766         (ARENA_CORRUPTION_BIT): New macro.
13767         (arena_is_corrupt): Likewise.
13768         (set_arena_corrupt): Likewise.
13769         (sysmalloc): Use mmap if there are no usable arenas.
13770         (_int_malloc): Likewise.
13771         (__libc_malloc): Don't fail if arena_get returns NULL.
13772         (_mid_memalign): Likewise.
13773         (__libc_calloc): Likewise.
13774         (__libc_realloc): Adjust for additional argument to
13775         malloc_printerr.
13776         (_int_free): Likewise.
13777         (malloc_consolidate): Likewise.
13778         (_int_realloc): Likewise.
13779         (_int_memalign): Don't touch corrupt arenas.
13780         * malloc/tst-malloc-backtrace.c: New test case.
13782         * Makefile (summarize-tests): Fix return value on success.
13784         * manual/string.texi (Envz Functions): Add envz_remove.
13786 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13788         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13789         (invalid_name): New function, broken out of ...
13790         (__opendirat): ... here.  Call it.
13791         (need_isdir_precheck): New function, broken out of ...
13792         (__opendirat): ... here.  Call it.
13793         Use __fxstatat64, not __xstatat64.
13794         (opendir_oflags): New function, broken out of ...
13795         (__opendirat): ... here.  Call it.
13796         (opendir_tail): New function, broken out of ...
13797         (__opendirat): ... here.  Call it.
13798         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13799         opendir_tail, rather than punting to __opendirat.
13800         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13802 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13804         * .gitignore: Ignore generated *.pyc.
13806 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13808         * include/stdio.h: Define __need_wint_t.
13809         * test-skeleton.c: Avoid `for' loop initial declaration.
13810         * nptl/tst-initializers1.c: Use test-skeleton.c.
13812 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13814         [BZ #18418]
13815         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13817 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13819         [BZ #16352]
13820         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13821         (__ieee754_atanh): Force underflow exception for results with
13822         small absolute value.
13823         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13824         (__ieee754_atanhf): Force underflow exception for results with
13825         small absolute value.
13826         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13827         (__ieee754_atanh): Force underflow exception for results with
13828         small absolute value.
13829         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13830         (__ieee754_atanhf): Force underflow exception for results with
13831         small absolute value.
13832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13833         (__ieee754_atanhl): Force underflow exception for results with
13834         small absolute value.
13835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13836         (__ieee754_atanhl): Force underflow exception for results with
13837         small absolute value.
13838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13839         (__ieee754_atanhl): Force underflow exception for results with
13840         small absolute value.
13841         * math/auto-libm-test-in: Do not allow missing underflow
13842         exceptions from atanh.
13843         * math/auto-libm-test-out: Regenerated.
13845         [BZ #18221]
13846         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13847         2**-28 as threshold for returning x or +/- 1/x.
13848         * math/auto-libm-test-in: Add more tests of tan.
13849         * math/auto-libm-test-out: Regenerated.
13851         [BZ #18220]
13852         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13853         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13854         * math/auto-libm-test-in: Add another test of lgamma.
13855         * math/auto-libm-test-out: Regenerated.
13857 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13859         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13860         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13861         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13862         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13863         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13864         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13865         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13866         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13868         (log1): Use fabs.  (my_log2): Use fabs.
13869         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13870         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13872         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13874         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13875         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13876         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13877         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13878         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13879         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13881 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13883         [BZ #18217]
13884         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13885         as threshold for returning 1 - x.
13886         * math/auto-libm-test-in: Add more tests of erfc.
13887         * math/auto-libm-test-out: Regenerated.
13889 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13891         [BZ #18196]
13892         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13893         threshold for large arguments.
13894         * math/auto-libm-test-in: Add another test of atan.
13895         * math/auto-libm-test-out: Regenerated.
13897         [BZ #16339]
13898         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13899         (__log1p): Force underflow exception for results with small
13900         absolute value.
13901         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13902         (__log1pf): Force underflow exception for results with small
13903         absolute value.
13904         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13905         (__log1p): Force underflow exception for results with small
13906         absolute value.
13907         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13908         (__log1pf): Force underflow exception for results with small
13909         absolute value.
13910         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13911         (__log1pl): Force underflow exception for results with small
13912         absolute value.
13913         * math/auto-libm-test-in: Do not allow missing underflow
13914         exceptions from log1p.
13915         * math/auto-libm-test-out: Regenerated.
13917 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13918             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13920         [BZ #16704]
13921         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13923 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13925         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13926         (libmvec): New variable.
13927         * configure.ac: Added option for mathvec build.
13928         * configure: Regenerated.
13929         * mathvec/Depend: New file.
13930         * mathvec/Makefile: New file.
13931         * shlib-versions: Added libmvec.
13932         * math/Makefile: Added rule for libm.so installation.
13934         * bits/math-vector.h: New file.
13935         * bits/libm-simd-decl-stubs.h: New header.
13936         * math/Makefile (headers): Added new header
13937         libm-simd-decl-stubs.h.
13938         * math/math.h (__MATHCALL_VEC): New macro.
13940         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13941         for conditions in testing functions.
13942         * math/Makefile: Added call of libm-have-vector-test.sh.
13943         * math/libm-test.inc (HAVE_VECTOR): New macros.
13945         * math/libm-test.inc: START refactored.
13946         * math/test-double.c (TEST_MATHVEC): Add define.
13947         * math/test-float.c: Likewise.
13948         * math/test-idouble.c: Likewise.
13949         * math/test-ifloat.c: Likewise.
13950         * math/test-ildoubl.c: Likewise.
13951         * math/test-ldouble.c: Likewise.
13952         * sysdeps/generic/math-tests-arch.h
13953         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13954         architecture check.
13956         * math/test-double.c (FUNC_TEST): New macro.
13957         * math/test-float.c: Likewise.
13958         * math/test-idouble.c: Likewise.
13959         * math/test-ifloat.c: Likewise.
13960         * math/test-ildoubl.c: Likewise.
13961         * math/test-ldouble.c: Likewise.
13962         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13964 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13966         * sysdeps/nacl/fdopendir.c: New file.
13968         * dirent/scandir-tail.c: New file.
13969         * dirent/scandir64-tail.c: New file.
13970         * dirent/Makefile (routines): Add them.
13971         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13972         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13973         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13974         [!SCANDIR] (SCANDIR_TAIL): New macro.
13975         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13976         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13977         (SCANDIRAT): Macro removed.
13978         (SCANDIR_TAIL): New macro.
13979         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13980         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13981         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13982         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13983         (READDIR): Macro removed.
13984         (SCANDIR_TAIL): New macro.
13985         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13986         (SCANDIR_TAIL): New macro.
13988         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13989         * dirent/scandir-cancel.c: ... to this new file.
13990         * dirent/Makefile (routines): Add it.
13991         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13992         * sysdeps/unix/sysv/linux/i386/scandir64.c
13993         (SKIP_SCANDIR_CANCEL): Macro removed.
13994         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13996         * dirent/tst-scandir.c: New file.
13997         * dirent/tst-scandir64.c: New file.
13998         * dirent/Makefile (tests): Add them.
14000 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14002         [BZ #18409]
14003         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14005 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14007         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14008         list.
14010 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14012         * benchtests/bench-strcoll.c: New benchmark.
14013         * benchtests/Makefile: Generate locales and run benchmark.
14014         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14015         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14016         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14017         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14018         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14019         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14020         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14021         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14022         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14023         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14024         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14025         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14026         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14027         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14028         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14029         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14030         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14031         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14032         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14033         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14034         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14035         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14036         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14037         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14039 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14041         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14042         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14044 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14046         * posix/uname-values.h: New file.
14047         * posix/uname.c: Include that instead of <config-name.h>.
14048         * sysdeps/nacl/uname-values.h: New file.
14049         * sysdeps/arm/nacl/uname-values.h: New file.
14051 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14053         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14054         splitting into fields.
14056 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14058         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14059         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14060         * locale/localeinfo.h: Add enum collation_encoding_type.
14061         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14062         * programs/ld-collate.c (collate_output): Add encoding type info.
14063         * string/strcoll_l.c (STRDIFF): New function.
14064         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14065         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14067 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14069         [BZ #18397]
14070         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14071         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14072         <fpu_control.h> instead of <math/fpu_control.c>.
14073         * sysdeps/mips/mips32/fpu/Makefile: New file.
14075 2015-05-11  Andreas Schwab  <schwab@suse.de>
14077         [BZ #18007]
14078         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14079         nss_endgrent.
14080         (_nss_compat_endgrent): Call nss_endgrent.
14081         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14082         nss_endpwent.
14083         (_nss_compat_endpwent): Call nss_endpwent.
14084         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14085         needent, call nss_setspent only if non-zero.
14086         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14087         (internal_endspent): Don't call nss_endspent.
14088         (_nss_compat_endspent): Call nss_endspent.
14089         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14090         Remove.  All uses removed.
14091         (internal_setent): Remove parameter stayopen, add parameter
14092         stream.  Use it instead of global variable.
14093         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14094         (internal_endent, internal_getent): Add parameter stream.  Use it
14095         instead of global variable.
14096         (CONCAT(_nss_files_end,ENTNAME))
14097         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14098         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14099         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14100         uses removed.
14101         (internal_setent, internal_endent): Add parameter stream.  Use it
14102         instead of global variable.
14103         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14104         stream.
14105         (get_next_alias): Add parameter stream.
14106         (_nss_files_getaliasent_r): Pass global stream.
14107         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14108         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14109         (_nss_files_gethostbyname4_r): Pass local stream to
14110         internal_setent, internal_getent and internal_endent.  Remove
14111         locking.
14113 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14115         * tst-strfmon1.c (tests): Update expected currency symbol.
14117 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14119         * sysdeps/nacl/gethostname.c: New file.
14121 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14123         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14124         and sinh.
14125         * math/auto-libm-test-out: Regenerated.
14126         * sysdeps/i386/fpu/libm-test-ulps: Update.
14127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14129 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14131         [BZ #18125]
14132         * stdlib/tst-setcontext3.c: New file.
14133         * stdlib/tst-setcontext3.sh: New file.
14134         * stdlib/Makefile (tests): Add tst-setcontext3.
14135         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14136         to verify test program created output file.
14137         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14138         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14139         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14140         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14142 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14144         [BZ #18383]
14145         * elf/tst-tlsalign.c: New file.
14146         * elf/tst-tlsalign-static.c: New file.
14147         * elf/tst-tlsalign-lib.c: New file.
14148         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14149         (tests-static): Add tst-tlsalign-static.
14150         (modules-names): Add tst-tlsalign-lib.
14151         (test-xfail-tst-tlsalign): New variable.
14152         (test-xfail-tst-tlsalign-static): New variable.
14154         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14155         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14157 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14159         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14160         csqrt, erfc, sin and sincos.
14161         * math/auto-libm-test-out: Regenerated.
14162         * sysdeps/i386/fpu/libm-test-ulps: Update.
14163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14165 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14167         * sysdeps/aarch64/libm-test-ulps: Update.
14169 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14171         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14172         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14173         * math/auto-libm-test-out: Regenerated.
14174         * sysdeps/i386/fpu/libm-test-ulps: Update.
14175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14177 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14179         [BZ #18265]
14180         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14181         (wcsncpy): Likewise.
14183 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14185         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14186         Assume __ASSUME_FALLOCATE is always true.
14187         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14188         (__posix_fallocate64_l64): Likweise.
14189         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14190         (posix_fallocate): Likewise.
14191         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14192         (__posix_fallocate64_l64): Likewise.
14193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14194         [!__ASSUME_FALLOCATE]: Add comment.
14196 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14198         * sysdeps/unix/sysv/linux/i386/Makefile
14199         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14200         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14201         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14202         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14203         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14204         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14205         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14207 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14209         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14210         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14211         tgamma.
14212         * math/auto-libm-test-out: Regenerated.
14213         * sysdeps/i386/fpu/libm-test-ulps: Update.
14214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14216 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14218         * math/auto-libm-test-in: Add more tests of tgamma.
14219         * math/auto-libm-test-out: Regenerated.
14220         * sysdeps/i386/fpu/libm-test-ulps: Update.
14221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14223         * math/auto-libm-test-in: Add more tests of tanh.
14224         * math/auto-libm-test-out: Regenerated.
14225         * sysdeps/i386/fpu/libm-test-ulps: Update.
14226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228         * math/auto-libm-test-in: Add more tests of tan.
14229         * math/auto-libm-test-out: Regenerated.
14230         * sysdeps/i386/fpu/libm-test-ulps: Update.
14231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14233         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14234         * math/auto-libm-test-out: Regenerated.
14235         * sysdeps/i386/fpu/libm-test-ulps: Update.
14236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14238         * math/auto-libm-test-in: Add another test of pow.
14239         * math/auto-libm-test-out: Regenerated.
14240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14242         * math/auto-libm-test-in: Add more tests of lgamma.
14243         * math/auto-libm-test-out: Regenerated.
14244         * sysdeps/i386/fpu/libm-test-ulps: Update.
14245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14247         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14248         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14255         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14256         Elf64_Chdr structs and ELFCOMPRESS constants.
14258 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14260         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14261         expm1.
14262         * math/auto-libm-test-out: Regenerated.
14263         * sysdeps/i386/fpu/libm-test-ulps: Update.
14264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14266         * math/auto-libm-test-in: Add more tests of erf and erfc.
14267         * math/auto-libm-test-out: Regenerated.
14268         * sysdeps/i386/fpu/libm-test-ulps: Update.
14269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14273         * config.h.in (HAVE_AARCH64_BE): Add.
14275 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14277         * math/auto-libm-test-in: Add more tests of csqrt.
14278         * math/auto-libm-test-out: Regenerated.
14279         * sysdeps/i386/fpu/libm-test-ulps: Update.
14280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14282         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14283         * math/auto-libm-test-out: Regenerated.
14284         * sysdeps/i386/fpu/libm-test-ulps: Update.
14285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14287         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14289 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14291         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14292         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14294         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14295         (euidaccess, eaccess): Define as weak aliases.
14297         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14298         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14299         but __suseconds_t is often 'long int' so some sources assume that
14300         type is being used (e.g. they use %ld to print tv_usec).
14302 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14304         [BZ #18007]
14305         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14306         (CVE-2014-8121)
14307         * nss/tst-nss-getpwent.c: New file.
14308         * nss/Makefile (tests): Add new test.
14310 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14312         [BZ #18346]
14313         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14314         exponents less than 48 as cases where high part of mantissa needs
14315         examining to determine whether argument is integral.
14316         * math/libm-test.inc (round_test_data): Add more tests.
14318 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14320         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14322 2015-04-27  David S. Miller  <davem@davemloft.net>
14324         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14325         __tls_get_addr.
14326         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14328 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14330         [BZ#18333]
14331         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14333 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14335         [BZ#18333]
14336         * time/tzset.c (parse_tzname): Return error on memory allocation
14337         failure.
14338         * test-skeleton.c (struct temp_name_list): Change type of name
14339         member to non-const.
14340         (add_temp_file): Create a copy of the file name.
14341         (delete_temp_files): Deallocate memory.
14342         (create_temp_file): Add comment.
14344 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14346         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14347         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14349 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14351         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14352         * sysdeps/arm/configure: Regenerated.
14354 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14356         [BZ #17715]
14357         * time/tzfile.c (__tzfile_read): Check for large values of
14358         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14359         * time/tzset.c (__tzstring_len): New function, based on the old
14360         __tzstring function.
14361         (__tzstring): Call __tzstring_len.
14362         (parse_tzname): New helper function extracted from
14363         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14364         the input string.
14365         (parse_offset): New helper function extracted from
14366         __tzset_parse_tz.  Replace switch with fallthrough with
14367         initialization before sscanf.
14368         (parse_rule): Likewise.
14369         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14370         new-style function definition.
14371         * timezone/Makefile (tests): Add tst-tzset.
14372         (tst-tzset.out): Dependencies on time zone files.
14373         (tst-tzset-ENV): Set TZDIR.
14374         (testdata/XT%): Copy crafted time zone files.
14375         * timezone/README: Mention crafted time zone files.
14376         * timezone/testdata/XT1, timezone/testdata/XT2,
14377         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14378         files.
14379         * timezone/tst-tzset.c: New test.
14381 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14383         * Makeconfig (+gccwarn): Remove -Winline.
14385 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14387         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14389 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14391         * NEWS: Mention sysconf() cache information support for s390.
14392         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14394 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14396         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14397         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14398         (__nearbyint): Likewise.
14399         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14400         (copysignl): Likewise.
14402 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14404         [BZ #18287]
14405         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14406         based on padding.  (CVE-2015-1781)
14408 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14410         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14411         libc-vdso.h.
14412         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14413         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14414         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14415         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14416         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14417         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14418         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14420         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14421         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14422         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14423         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14424         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14425         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14426         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14427         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14428         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14430         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14431         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14432         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14433         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14434         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14436 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14438         * stdlib/setenv.c (__add_to_environ):
14439         Dump core quickly if setenv (..., NULL, ...) is called.
14440         This time, do it the right way, and pacify GCC with a pragma.
14442 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14444         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14445         IMAP->l_prev cannot be null, and #if out the code for the contrary
14446         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14447         believe that NS (&_dl_ns[NSID]) could point outside the array.
14449         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14450         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14451         before using NSID as an index.
14453 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14455         [BZ #17825]
14456         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14457         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14458         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14460 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14462         Add preliminary port to Google Native Client on ARM.
14463         * abi-tags (.*-.*-nacl.*): New entry.
14464         * sysdeps/arm/nacl: New directory.
14465         * sysdeps/nacl: New directory.
14467 2015-04-16  David S. Miller  <davem@davemloft.net>
14469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14470         lowlevellock-futex.h
14472 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14474         * sysdeps/tile/configure.ac: New file.
14475         * sysdeps/tile/configure: Regenerated.
14477 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14479         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14480         conditionals for weak_alias and libc_hidden_weak.
14481         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14482         libc_hidden_weak and weak_alias.
14483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14484         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14485         and weak_alias for static one.
14487 2015-04-15  David S. Miller  <davem@davemloft.net>
14489         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14491 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14493         [BZ #18206]
14494         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14495           Use signed comparision instead of substraction to avoid
14496           overflow bug.
14497         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14498           Take the sign of ret.
14499         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14500           Do not expect precise return values. Only the sign matters.
14501         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14502         * wcsmbs/test-wcsncmp.c: New File.
14503         * string/test-strncmp.c: Add wcsncmp support.
14505 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14507         [BZ #6792]
14508         * math/w_log1p.c: New file.
14509         * math/w_log1pf.c: Likewise.
14510         * math/w_log1pl.c: Likewise.
14511         * math/Makefile (libm-calls): Add w_log1p.
14512         * math/s_log1pl.c (log1pl): Remove weak_alias.
14513         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14514         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14515         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14516         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14517         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14518         [NO_LONG_DOUBLE] (log1pl): Likewise.
14519         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14520         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14521         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14522         (log1p): Remove long_double_symbol.
14523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14524         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14525         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14526         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14527         remove weak_alias for corresponding log1p function.
14528         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14529         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14530         * sysdeps/ia64/fpu/w_log1p.c: New file.
14531         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14532         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14533         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14535 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14537         [BZ #18247]
14538         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14539         decimal exponent by 1.
14540         * stdlib/tst-strtod-round-data: Add more tests.
14541         * stdlib/tst-strtod-round.c (tests): Regenerated.
14543 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14545         * math/auto-libm-test-in: Add more tests of clog and clog10.
14546         * math/auto-libm-test-out: Regenerated.
14547         * sysdeps/i386/fpu/libm-test-ulps: Update.
14548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14550 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14552         * Makeconfig (module-cppflags): Exclude all .v.i files.
14553         (skip-module-cppflags): Variable removed.
14555         * configure.ac (libc_config_ok): Initialize before reading
14556         preconfigure scripts, not after.
14557         * configure: Regenerated.
14559         * test-skeleton.c (TIMEOUT): Move #define to top level.
14560         (main): Grok environment variable TEST_DIRECT.  If set, print
14561         test expectation details into that file and then behave as if
14562         given --direct.
14564 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14566         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14567         warning on 32-bit.
14569 2015-04-08  David S. Miller  <davem@davemloft.net>
14571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14573 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14575         * math/auto-libm-test-in: Add more tests of atanh.
14576         * math/auto-libm-test-out: Regenerated.
14577         * sysdeps/i386/fpu/libm-test-ulps: Update.
14578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14580         * math/auto-libm-test-in: Add more tests of atan.
14581         * math/auto-libm-test-out: Regenerated.
14582         * sysdeps/i386/fpu/libm-test-ulps: Update.
14583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14585 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14587         * elf/pldd.c (main): Rewrite to use struct
14588         scratch_buffer instead of extend_alloca.
14589         * elf/pldd-xx.c (find_maps): Likewise.
14590         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14591         <alloca.h>.
14592         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14593         scratch_buffer instead of extend_alloca.
14594         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14595         grp/compat-initgroups.c.
14596         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14597         Rewrite to use struct scratch_buffer instead of extend_alloca.
14598         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14599         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14601 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14603         * math/auto-libm-test-in: Add more tests of cbrt.
14604         * math/auto-libm-test-out: Regenerated.
14605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14607         * math/auto-libm-test-in: Add more tests of cabs.
14608         * math/auto-libm-test-out: Regenerated.
14609         * sysdeps/i386/fpu/libm-test-ulps: Update.
14610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14612         [BZ #18210]
14613         [BZ #18211]
14614         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14615         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14616         computations.
14617         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14618         clog10.
14619         * math/auto-libm-test-out: Regenerated.
14620         * sysdeps/i386/fpu/libm-test-ulps: Update.
14621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14623         [BZ #18197]
14624         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14625         (atan): Set FE_TONEAREST mode for internal computations.
14626         * math/auto-libm-test-in: Add more tests of atan.
14627         * math/auto-libm-test-out: Regenerated.
14629 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14631         [BZ #17930]
14632         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14634 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14636         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14638 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14640         * include/scratch_buffer.h: New file.
14641         * malloc/scratch_buffer_grow.c: Likewise.
14642         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14643         * malloc/scratch_buffer_set_array_size.c: Likewise.
14644         * malloc/tst-scratch_buffer.c: Likewise.
14645         * malloc/Makefile (routines): Add scratch_buffer_grow.
14646         (tests): Add test case.
14647         * malloc/Versions (GLIBC_PRIVATE): Export
14648         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14649         __libc_scratch_buffer_set_array_size.
14651 2015-04-06  Richard Henderson  <rth@redhat.com>
14653         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14654         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14656         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14657         unsigned int before printing.
14659 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14661         [BZ #17596]
14662         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14663         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14665 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14667         * include/libc-internal.h (libc_max_align_t): Define.
14669 2015-04-02  Andreas Schwab  <schwab@suse.de>
14671         [BZ #16850]
14672         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14674 2015-04-02  Mel Gorman  <mgorman@suse.de>
14676         [BZ #17195]
14677         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14678         as well as the main arena.
14680 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14682         [BZ #18185]
14683         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14684         sharing L2 cache to 2 for Silvermont/Knights Landing.
14686 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14688         [BZ #17711]
14689         * config.make.in (have-protected-data): New.
14690         * configure.ac: Check linker support for protected data symbol.
14691         * configure: Regenerated.
14692         * elf/Makefile (modules-names): Add tst-protected1moda and
14693         tst-protected1modb if $(have-protected-data) is yes.
14694         (tests): Add tst-protected1a and tst-protected1b if
14695         $(have-protected-data) is yes.
14696         ($(objpfx)tst-protected1a): New.
14697         ($(objpfx)tst-protected1b): Likewise.
14698         (tst-protected1modb.so-no-z-defs): Likewise.
14699         * elf/tst-protected1a.c: New file.
14700         * elf/tst-protected1b.c: Likewise.
14701         * elf/tst-protected1mod.h: Likewise.
14702         * elf/tst-protected1moda.c: Likewise.
14703         * elf/tst-protected1modb.c: Likewise.
14705 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14707         [BZ #17711]
14708         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14709         indicates it is called from do_lookup_x on relocation against
14710         protected data, skip the data definion in the executable from
14711         copy reloc.
14712         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14713         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14714         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14715         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14716         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14717         otherwise to 0.
14718         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14719         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14720         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14721         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14722         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14723         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14725 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14727         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14728         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14730 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14732         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14733         THREAD_SETMEM_NC.
14734         * sysdeps/x86_64/nptl/tls.h: Ditto.
14736 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14738         * dlfcn/tststatic.c (main): Converted to ...
14739         (do_test): ... this.
14740         (TEST_FUNCTION): New macro.
14741         Include test-skeleton.c.
14743 2015-03-26  Alan Modra  <amodra@gmail.com>
14745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14746         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14747         zero for undefined weak.
14748         (elf_machine_plt_conflict): Similarly.
14750 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14752         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14753         atanh.
14754         * math/auto-libm-test-out: Regenerated.
14755         * sysdeps/i386/fpu/libm-test-ulps: Update.
14756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758         * math/auto-libm-test-in: Add another test of asin.
14759         * math/auto-libm-test-out: Regenerated.
14760         * sysdeps/i386/fpu/libm-test-ulps: Update.
14761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14763         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14764         Remove macro.
14765         (LLL_EBX_REG): Likewise.
14766         (LLL_ENTER_KERNEL): Likewise.
14768         * math/auto-libm-test-in: Add more tests of asin.
14769         * math/auto-libm-test-out: Regenerated.
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14773         [BZ #18138]
14774         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14775         libc_do_syscall_args): New structure.
14776         (INTERNAL_SYSCALL_MAIN_0): New macro.
14777         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14778         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14779         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14780         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14781         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14782         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14783         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14784         Replace conditional definitions by conditional definitions of ....
14785         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14786         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14788         (libpthread-sysdep_routines): Add libc-do-syscall.
14789         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14790         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14791         to __NR_futex not 240.
14793 2015-03-25  Alan Modra  <amodra@gmail.com>
14795         * NEWS: Advertise TLS optimization.
14796         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14797         (DT_PPC_NUM): Increment.
14798         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14799         (CHECK_STATIC_TLS): Use here.
14800         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14801         TLS descriptors.
14802         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14803         * sysdeps/powerpc/dl-tls.c: New file.
14804         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14805         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14806         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14807         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14812 2015-03-25  Alan Modra  <amodra@gmail.com>
14814         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14815         for overlapping .opd entries" to "support...".
14816         * sysdeps/powerpc/powerpc64/configure: Regenerate
14818 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14820         * math/auto-libm-test-in: Add more tests of acos.
14821         * math/auto-libm-test-out: Regenerated.
14822         * sysdeps/i386/fpu/libm-test-ulps: Update.
14823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825         * math/auto-libm-test-in: Add more tests of expm1.
14826         * math/auto-libm-test-out: Regenerated.
14827         * sysdeps/i386/fpu/libm-test-ulps: Update.
14828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14832         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14833         * math/auto-libm-test-out: Regenerated.
14834         * sysdeps/i386/fpu/libm-test-ulps: Update.
14835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14840         * math/auto-libm-test-in: Add more tests of log2.
14841         * math/auto-libm-test-out: Regenerated.
14842         * sysdeps/i386/fpu/libm-test-ulps: Update.
14843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14845 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14847         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14848         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14849         _IO_IS_APPENDING bit in READ_WRITE instead.
14851 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14853         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14854         (__determine_cpumask_size): Replace extend_alloca with a
14855         variable-length array.  Do not treat res == 0 as an error.
14857 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14859         [BZ #18100]
14860         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14861         and integer overflow.
14862         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14863         (main): Add integer overflow tests.
14864         * manual/pattern.texi (Calling Wordexp): Document additional use
14865         for WRDE_SYNTAX.
14867 2015-03-23  Alan Modra  <amodra@gmail.com>
14869         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14870         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14871         and false branch of conditional.
14872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14873         Likewise.
14875 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14877         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14878         libc-modules.h
14879         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14880         unused declaration of _hurd_intr_rpc_msg_in_trap.
14881         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14882         defined instead of whether it is non-zero.
14883         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14884         input constraint instead of both input and output constraint.  Use ecx
14885         clobber instead of %ecx.
14886         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14887         mutex_unlock): Use a statement expression instead of an expression list.
14888         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14889         type to vm_size_t instead of vm_address_t.
14890         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14891         defined instead of whether it is non-zero.
14892         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14893         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14894         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14895         comparisons with mapaddr.
14896         * nscd/nscd-client.h: Include <time.h>.
14897         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14898         9th parameter to __vm_region instead of int.
14899         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14900         * scripts/check-local-headers.sh (exclude): Add device/,
14901         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14902         cthreads.h.
14904 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14906         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14907         to account for alignment padding.
14908         * sysdeps/arm/memmove.S: Likewise.
14910 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14912         * sysdeps/unix/sysv/linux/generic/README: New file.
14914 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14916         [BZ #18138]
14917         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14918         (futex_abstimed_wait)
14919         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14920         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14921         of lll_futex_timed_wait.
14923 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14925         [BZ #17542]
14926         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14928 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14930         [BZ #17090]
14931         [BZ #17620]
14932         [BZ #17621]
14933         [BZ #17628]
14934         * NEWS: Update.
14935         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14936         entries with Static TLS too.  Skip entries past the end of the
14937         allocated DTV, from Alan Modra.
14938         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14939         Static TLS DTV entry set up from...
14940         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14941         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14942         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14943         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14944         for Static TLS.
14945         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14946         that the slot we find is associated with the given map before
14947         using its generation count.
14948         * nptl_db/db_info.c: Include ldsodefs.h.
14949         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14950         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14951         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14952         (link_map::l_tls_offset): New struct field.
14953         (dtv_t::counter): Likewise.
14954         (rtld_global): New struct.
14955         (_rtld_global): New rtld variable.
14956         (dl_tls_dtv_slotinfo_list): New rtld global field.
14957         (dtv_slotinfo_list): New struct.
14958         (dtv_slotinfo): Likewise.
14959         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14960         (td_lookup): Rename to...
14961         (td_mod_lookup): ... this.  Use new mod parameter instead of
14962         LIBPTHREAD_SO.
14963         * nptl_db/td_thr_tlsbase.c: Include link.h.
14964         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14965         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14966         addresses even if the DTV is out of date or missing them.
14967         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14968         index zero-length arrays.
14969         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14970         (td_lookup): Make it a macro implemented in terms of...
14971         (td_mod_lookup): ... this declaration.
14972         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14973         (DB_MAIN_VARIABLE): Likewise.
14975 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14977         [BZ #18134]
14978         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14980 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14982         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14984 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14986         [BZ #18128]
14987         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14988         (atomic_add, atomic_increment_and_test)
14989         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14991 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14993         * stdlib/setenv.c (__add_to_environ):
14994         Dump core quickly if setenv (..., NULL, ...) is called.
14996 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14998         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14999         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15000         all the necessary asm magic in one place.
15001         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15002         using those.
15004 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15006         [BZ #14906]
15007         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15008         traced file mtime. Use consistent log message.
15009         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15010         (register_traced_file): Call install_watches. Always set mtime.
15011         (invalidate_cache): Iterate over all trace files. Call install_watches.
15012         (inotify_check_files): Don't inline. Handle watching parent
15013         directories and configuration file movement in and out.
15014         (handle_inotify_events): New function.
15015         (main_loop_poll): Call handle_inotify_events.
15016         (main_loop_epoll): Likewise.
15017         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15018         (struct traced_file): Use array of inotify fds. Add parent directory,
15019         and basename.
15020         (struct database_dyn): Remove unused file_mtime.
15021         (init_traced_file): New inline function.
15022         (define_traced_file): New macro.
15023         * nss/nss_db/db-init.c: Use define_traced_file.
15024         (_nss_db_init): Use init_traced_file.
15025         * nss/nss_files/files-init.c: Use define_traced_file.
15026         (_nss_files_init): Use init_traced_file.
15028 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15030         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15031         [_LIBC]: Do not include <stdlib.h>.
15032         [!_LIBC] (abort): Remove declaration.
15033         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15034         _FP_STATIC_ASSERT instead of conditionally calling abort.
15035         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15036         (_FP_EXTEND_CNAN): Likewise.
15037         (FP_TRUNC): Likewise.
15038         (__FP_CLZ): Likewise.
15039         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15041 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15043         * manual/string.texi (XPG basename): Fix prototype.
15045 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15047         [BZ #18080]
15048         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15049         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15050         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15051         (__setcontext): Likewise.
15052         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15053         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15054         Call rt_sigprocmask syscall one time to set new signal mask
15055         and retrieve the current signal mask instead of two calls.
15056         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15057         (__swapcontext): Likewise.
15058         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15059         * stdlib/tst-setcontext2.c: New file.
15061 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15063         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15065 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15067         [BZ #18093]
15068         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15069         the wrong size.
15071 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15073         [BZ #18043]
15074         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15076 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15078         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15079         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15080         Remove define.
15081         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15082         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15083         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15084         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15085         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15086         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15087         define.
15088         * nptl_db/td_symbol_list.c (td_lookup): Remove
15089         HAVE_ASM_GLOBAL_DOT_NAME code.
15090         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15091         HAVE_ASM_GLOBAL_DOT_NAME check.
15092         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15093         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15094         (DOT_LABEL): Remove define.
15095         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15096         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15097         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15098         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15099         (__TLS_GET_ADDR): Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15101         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15103 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15105         [BZ #18111]
15106         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15107         (_FPU_SETCW): Initialize cw from fpsr before storing.
15108         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15109         (fesetexceptflag): Rewrite using fpu_control.h.
15110         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15112 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15114         [BZ #18110]
15115         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15116         asms.
15117         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15119 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15121         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15122         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15123         abort.
15124         (_FP_FMA): Likewise.
15125         (_FP_DIV): Likewise.
15127 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15129         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15130         with 0 in that case.
15131         * Makefile (summarize-tests): New canned sequence, factored out of
15132         commands for targets tests and xtests.  Display summary lines that
15133         don't start with PASS: or XFAIL: rather than ones that do start with
15134         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15135         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15136         do start with ERROR: or FAIL:.
15137         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15138         (except for [$(build-shared) = yes]).
15139         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15140         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15141         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15142         * nptl/Makefile: Revert 2015-03-04 changes.
15143         [$(CXX) empty] (tests-unsupported): New variable.
15144         * debug/Makefile: Likewise.
15146         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15147         gnulib file.  Replace __attribute with __attribute__ throughout.
15149 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15151         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15153 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15155         [BZ #18104]
15156         * math/auto-libm-test-in: Add another test of pow.
15157         * math/auto-libm-test-out: Regenerated.
15159 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15161         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15162         $(config-cflags-nofma).
15164 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15166         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15167         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15168         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15169         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15170         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15171         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15172         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15173         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15174         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15175         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15176         Add comment on closing #endif.
15178 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15180         * posix/wordexp.c (CHAR_IN_SET): New macro.
15181         (parse_param): Use it.
15183 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15185         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15187 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15189         [BZ #18043]
15190         * posix/wordexp.c (parse_param): Fix buffer overflow.
15191         * posix/wordexp-test.c (test_case): Add test case.
15193 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15195         [BZ #18042]
15196         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15197         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15199 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15201         [BZ #18043]
15202         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15203         (do_bz18043): Delete.
15204         (at_page_end): New.
15205         (testit): Refactor to have words at the edge of unreadable page.
15207 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15209         [BZ #16734]
15210         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15211         Cleanup read-only streams as well.
15212         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15214 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15216         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15217         <bits/libc-lockP.h>
15219 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15221         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15222         on [__KERNEL__].
15223         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15224         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15225         * soft-fp/op-common.h (_FP_DECL): Likewise.
15227 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15229         * elf/ifuncdep2.c (global): Replace
15230         __attribute__((visibility("protected"))) with
15231         asm (".protected global").
15232         * elf/ifuncmod1.c (global): Likewise.
15233         * elf/ifuncmod5.c (global): Likewise.
15235 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15237         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15238         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15240 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15242         * manual/install.texi (Configuring and compiling):
15243         Document test-wrapper-env-only.
15244         * INSTALL: Regenerated.
15246 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15248         [BZ #18043]
15249         * posix/wordexp.c (parse_param): Fix buffer overflow.
15250         * posix/wordexp-test.c (do_bz18043): Add test case.
15252 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15254         * time/tst-strptime2.c (do_test): Ensure failing tests are
15255         reported correctly.
15256         * time/tst-strptime3.c (do_test): Likewise.
15258 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15260         Fix aio_error thread-safety.
15261         * sysdeps/pthread/aio_error.c: New file
15262         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15263         synchronization.
15265 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15267         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15268         (group_number, vfprintf): Use it.
15269         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15270         (JUMP, REF): Use it.
15271         (WORK_BUFFER_SIZE): New enum constant.
15272         (process_arg, vfprintf): Use it.
15274 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15276         * manual/errno.texi (Error Messages): Complete example function
15277         by adding missing #define.
15278         (program_invocation_name): Add statement indicating GNU
15279         extension and reference which header file declares the variable.
15280         (program_invocation_short_name): Likewise.
15282 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15284         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15285         compatibility note.
15287 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15289         * Makeconfig (test-wrapper-env-only): New variable.
15290         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15291         then use that with $(test-wrapper-env-only) rather than using
15292         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15294 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15296         [BZ #18082]
15297         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15298         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15299         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15300         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15301         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15302         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15303         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15304         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15305         Likewise.
15306         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15308         Likewise.
15309         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15310         Likewise.
15311         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15312         Likewise.
15313         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15314         Likewise.
15315         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15317         Likewise.
15318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15319         Likewise.
15320         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15321         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15323 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15325         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15326         (ETH_ALEN): New macro.
15327         (struct ether_addr): Use it for length of ether_addr_octet.
15329         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15330         (setdb): Don't call __nss_configure_lookup for "rpc".
15331         (do_test): Don't call test_rpc.
15332         (output_rpcent, test_rpc): Functions moved ...
15333         * sunrpc/test-rpcent.c: ... to this new file.
15334         * sunrpc/Makefile (tests): Add it.
15336         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15337         __xpg_sigpause.
15338         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15339         * nptl/tst-signal6.c: Likewise.
15340         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15341         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15343         * configure.ac (libc_cv_cxx_link_ok): New check.
15344         Reset CXX to empty if it fails to link.
15345         * configure: Regenerated.
15346         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15347         bug-atexit3-lib only if $(CXX) is nonempty.
15348         * nptl/Makefile (tests): Likewise for tst-cancel24.
15349         (tests, tests-static): Likewise for tst-cancel24-static.
15350         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15351         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15352         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15353         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15355 2015-03-04  Andreas Schwab  <schwab@suse.de>
15357         [BZ #17631]
15358         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15359         for non-GCC compilers.
15360         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15361         Likewise.
15363 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15365         [BZ #17776]
15366         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15367         integer before bitwise and assembly operations.
15368         (feclearexcept): Likewise.
15369         * math/test-fenvinline.c: New file.
15370         * math/Makefile: Add test-fenvinline test.
15372 2015-03-03  Alan Modra  <amodra@gmail.com>
15374         [BZ #16512]
15375         * scripts/localplt.awk: Strip off symbol version.
15376         * NEWS: Mention bug fix.
15378 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15380         * sysdeps/pthread/timer_routines.c
15381         (timer_free_list, thread_free_list, thread_active_list): Make static.
15383 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15385         [BZ #17779]
15386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15387         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15388         Undefine.
15389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15390         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15391         Likewise.
15392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15393         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15394         Likewise.
15396 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15398         [BZ #18036]
15399         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15400         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15402 2015-03-02  Andreas Schwab  <schwab@suse.de>
15404         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15405         variable name.
15407 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15409         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15410         Return error status.
15412 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15414         [BZ #15969]
15415         * locale/findlocale.c (_nl_find_locale): Introduce const
15416         version of loc_name and drop unsafe type casts.
15418 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15420         * dlfcn/tststatic2.c (main): Converted to ...
15421         (do_test): ... this.
15422         (TEST_FUNCTION): New macro.
15423         Include test-skeleton.c.
15425 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15427         [BZ #17711]
15428         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15429         (tests-pie): Add vismain.
15430         (CFLAGS-vismain.c): New.
15431         * elf/vismain.c: Add comments for PIE requirement.
15433 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15435         [BZ #18046]
15436         [BZ #18047]
15437         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15438         0x1p-56L as threshold for just returning the argument.
15439         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15440         0x1p-32L as threshold for just returning the argument.
15441         * math/auto-libm-test-in: Add more tests of atanh.
15442         * math/auto-libm-test-out: Regenerated.
15443         * sysdeps/i386/fpu/libm-test-ulps: Update.
15444         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15446 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15448         * string/bcopy.c (bcopy): Call memmove for performance.
15450 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15452         * string/bzero.c (__bzero): Call memset for performance.
15454 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15456         [BZ #18068]
15457         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15458         to 00100000.
15460 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15462         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15464 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15466         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15467         (__kernel_standard): Use CSTR macro when setting exc.name.
15468         * sysdeps/ieee754/Makefile [$(subdir) = math]
15469         (CFLAGS-k_standard.c): Remove variable.
15471         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15472         setting p and q from "else if" to "else".
15473         (qzero): Likewise.
15474         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15475         (qone): Likewise.
15476         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15477         (qzerof): Likewise.
15478         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15479         (qonef): Likewise.
15480         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15481         (qzero): Likewise.
15482         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15483         (qone): Likewise.
15485         [BZ #18038]
15486         [BZ #18039]
15487         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15488         return pi/2 for arguments below 0x1p-113L.
15489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15490         return pi/2 for arguments below 0x1p-106L.
15491         * math/auto-libm-test-in: Add more tests of acos.
15492         * math/auto-libm-test-out: Regenerated.
15494         [BZ #16351]
15495         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15496         (MO): New macro.
15497         (__ieee754_asin): Force underflow exception for results with small
15498         absolute value.
15499         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15500         (MO): New macro.
15501         (__ieee754_asinf): Force underflow exception for results with
15502         small absolute value.
15503         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15504         (__ieee754_asin): Force underflow exception for results with small
15505         absolute value.
15506         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15507         (__ieee754_asinf): Force underflow exception for results with
15508         small absolute value.
15509         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15510         (__ieee754_asinl): Force underflow exception for results with
15511         small absolute value.
15512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15513         (__ieee754_asinl): Force underflow exception for results with
15514         small absolute value.
15515         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15516         (__ieee754_asinl): Force underflow exception for results with
15517         small absolute value.
15518         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15519         Include <math.h>.
15520         * math/auto-libm-test-in: Do not mark underflow exceptions as
15521         possibly missing for bug 16351.
15522         * math/auto-libm-test-out: Regenerated.
15524         [BZ #18030]
15525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15526         of power of 2 down when low part has opposite sign.
15527         * math/libm-test.inc (logb_test_data): Add more tests.
15529 2015-02-26  Andreas Schwab  <schwab@suse.de>
15531         [BZ #18032]
15532         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15533         over collating symbol inside a bracket expression.  Minor cleanup.
15534         * posix/tst-fnmatch3.c (do_test): Add test case.
15536 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15538         [BZ #18029]
15539         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15540         Adjust exponent of power of 2 down when low part has opposite
15541         sign.
15542         * math/libm-test.inc (ilogb_test_data): Add more tests.
15544 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15546         [BZ #15969]
15547         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15548         the previous change.
15550         [BZ #15969]
15551         * locale/findlocale.c (_nl_find_locale): Retry archive search
15552         after alias expansion.
15554 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15556         * iconv/tst-iconv3.c (main): Converted to ...
15557         (do_test): ... this.
15558         (TEST_FUNCTION): New macro.
15559         Include test-skeleton.c.
15561         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15562         (convert): Make function static.
15563         (test_unalign): Likewise.  Add const to argument pointee types.
15564         (main): Replace with static function do_test.
15565         Print "Succeeded." only if RET is zero.
15566         (TEST_FUNCTION): New macro.
15567         Include test-skeleton.c.
15569         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15570         returns a null pointer.
15572 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15575         to __memcpy_ppc only for static builds.
15577 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15579         [BZ #18020]
15580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15581         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15582         * math/auto-libm-test-in: Add more tests of asinh.
15583         * math/auto-libm-test-out: Regenerated.
15584         * sysdeps/i386/fpu/libm-test-ulps: Update.
15585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15587 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15589         [BZ #15850]
15590         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15591         and ip6_mtuinfo definitions here.
15592         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15593         in this define too.  Update comment.
15595 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15597         * elf/sprof.c (load_shobj): Tweak error message to match others.
15599 2015-02-24  Kevin Easton  <kevin@guarana.org>
15601         [BZ #16145] (partial fix)
15602         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15603         to reduce lock contention.
15605 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15607         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15608         (struct timex): Update time comment.
15609         (ADJ_SETOFFSET): Define.
15611 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15613         [BZ #18019]
15614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15615         2**56 not 2**28 as threshold for log (2x) formula.
15616         * math/auto-libm-test-in: Add more tests of acosh.
15617         * math/auto-libm-test-out: Regenerated.
15618         * sysdeps/i386/fpu/libm-test-ulps: Update.
15619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15621 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15623         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15624         parenthesis around the buf assignment.
15625         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15627 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15629         [BZ #16783]
15630         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15631         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15632         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15633         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15634         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15635         * math/libm-test.inc (scalb_test_data): Add more tests.
15637 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15639         [BZ #17916]
15640         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15641         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15643 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15645         [BZ #17523]
15646         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15647         * io/bits/fcntl2.h (open): Use it.
15648         (openat): Likewise.
15649         * io/open.c (__libc_open): Likewise.
15650         * io/open64.c (__libc_open64): Likewise.
15651         * io/open64_2.c (__open64_2): Likewise.
15652         * io/open_2.c (__open_2): Likewise.
15653         * io/openat.c (__openat): Likewise.
15654         * io/openat64.c (__openat64): Likewise.
15655         * io/openat64_2.c (__openat64_2): Likewise.
15656         * io/openat_2.c (__openat_2): Likewise.
15657         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15658         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15659         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15660         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15661         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15662         (__open_nocancel): Likewise.
15663         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15664         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15665         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15667 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15669         [BZ #14841]
15670         * resolv/gethnamaddr.c (getanswer): Skip logging if
15671         RES_USE_DNSSEC is set.
15672         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15674 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15676         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15678 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15680         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15681         201304L, for Unicode 7.
15683 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15685         [BZ #17836]
15686         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15687         shared library.  Add gmon-start.os otherwise.
15688         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15689         $(objpfx)gmon-start.os if builing shared library.
15690         ($(objpfx)g$(static-start-installed-name)): Likewise.
15692 2015-02-23  Andreas Schwab  <schwab@suse.de>
15694         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15696 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15698         [BZ #17269]
15699         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15700         (enlarge_userbuf): Likewise.
15702 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15704         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15705         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15706         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15707         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15709 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15711         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15712         expression inside statement expression.
15714 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15716         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15717         <sysdeps/nptl/lowlevellock.h> and remove macros and
15718         functions that are now defined there.
15719         (SYS_futex): Remove.
15720         (lll_compare_and_swap): Remove.
15721         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15723 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15725         [BZ #17999]
15726         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15727         instead of scandirat.
15728         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15729         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15730         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15731         __scandirat.
15732         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15733         (__scandirat): Declare.  Use libc_hidden_proto.
15734         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15735         Remove variable.
15736         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15738 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15740         [BZ #15319]
15741         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15742         (MO): New macro.
15743         (__ieee754_atan2): For results with small absolute value, force
15744         underflow exception and remove excess range and precision from
15745         return value.
15746         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15747         (MO): New macro.
15748         (__ieee754_atan2f): For results with small absolute value, force
15749         underflow exception and remove excess range and precision from
15750         return value.
15751         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15752         (MO): New macro.
15753         (__atan): For results with small absolute value, force underflow
15754         exception and remove excess range and precision from return value.
15755         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15756         (MO): New macro.
15757         (__atanf): For results with small absolute value, force underflow
15758         exception and remove excess range and precision from return value.
15759         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15760         <math.h>.
15761         (__ieee754_atan2): Force underflow exception for results with
15762         small absolute value.
15763         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15764         <math_private.h>.
15765         (atan): Force underflow exception for results with small absolute
15766         value.
15767         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15768         (__atanf): Force underflow exception for results with small
15769         absolute value.
15770         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15771         <math.h>.
15772         (__atanl): Force underflow exception for results with small
15773         absolute value.
15774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15775         (__atanl): Force underflow exception for results with small
15776         absolute value.
15777         * sysdeps/x86/fpu/bits/mathinline.h
15778         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15779         (__ieee754_atan2): Only define inline for long double.
15780         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15781         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15782         * math/auto-libm-test-in: Do not mark underflow exceptions as
15783         possibly missing for bug 15319.  Add more tests of atan2.
15784         * math/auto-libm-test-out: Regenerated.
15785         * math/libm-test.inc (casin_test_data): Do not mark underflow
15786         exceptions as possibly missing for bug 15319.
15787         (casinh_test_data): Likewise.
15788         * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15792         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15793         * sysdeps/mips/bits/endian.h: Fix comments.
15795 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15797         [BZ #17996]
15798         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15799         (hdestroy_r): Likewise.
15800         (hsearch_r): Likewise.
15801         (__hcreate_r): Declare and use libc_hidden_proto.
15802         (__hdestroy_r): Likewise.
15803         (__hsearch_r): Likewise.
15804         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15805         (hcreate): Call __hcreate_r instead of hcreate_r.
15806         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15807         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15808         as weak alias of __hcreate_r.
15809         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15810         __hdestroy_r.
15811         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15812         __hsearch_r.
15813         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15814         Remove variable.
15815         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15816         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15817         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15818         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15820 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15822         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15823         arena_lock into a single arena_get.
15825 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15827         * dl-reloc.c: Inlucde libc-internal.h.
15828         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15829         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15830         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15831         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15832         (grow_heap): Likewise.
15833         * malloc/malloc.c: Include libc-internal.h.
15834         (do_check_malloc): Call powerof2.
15835         (sysmalloc): Use pagesize. Call ALIGN_UP.
15836         (systrim): Use pagesize.
15837         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15838         (__libc_valloc): Use pagesize.
15839         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15841 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15843         [BZ #17991]
15844         * include/sys/resource.h (__getrlimit64): Declare.  Use
15845         libc_hidden_proto.
15846         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15847         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15848         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15849         getrlimit64.
15850         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15851         __getrlimit64.
15852         [!getrlimit64] (getrlimit64): Define as weak alias of
15853         __getrlimit64.  Use libc_hidden_weak.
15854         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15855         using __getrlimit64 not __new_getrlimit64.
15856         (__GI_getrlimit64): Likewise.
15857         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15858         Likewise.
15859         (__GI_getrlimit64): Likewise.
15860         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15862         (getrlimit): Add __getrlimit64 alias.
15863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15864         Likewise.
15865         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15866         Remove variable.
15867         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15868         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15870 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15872         * libio/fileops.c: Add missing sys/mman.h
15873         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15875 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15877         * manual/math.texi (Errors in Math Functions): Clarify goals
15878         regarding inexact and underflow exceptions.
15880 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15882         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15883         * sysdeps/mips/memset.S: Ditto.
15885 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15887         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15889 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15891         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15892         (__v1longjmp): Remove versioned symbol.
15893         (__v1siglongjmp): Remove alias and versioned symbol.
15894         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15895         (__v2siglongjmp): Likewise.
15897 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15899         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15901 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15903         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15905 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15907         [BZ #17987]
15908         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15909         zero result does not depend on the sign resulting from
15910         subtraction.
15911         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15912         Likewise.
15913         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15914         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15916         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15917         * math/libm-test.inc (remquo_test_data): Add more tests.
15919 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15921         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15922         Problem reported by J William Piggott.
15924 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15926         [BZ #17978]
15927         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15928         products 4 * y and 2 * y where those would overflow.
15929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15930         Likewise.
15931         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15932         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15933         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15934         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15935         * math/libm-test.inc (remquo_test_data): Add more tests.
15937         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15939         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15940         [defined _COMPILING_NEWLIB].
15941         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15942         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15944         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15945         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15947 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15949         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15950         acquired.
15952 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15954         [BZ #17792]
15955         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15956         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15957         HOST_STACK_END_ADDR): Likewise.
15959 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15961         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15962         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15963         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15965 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15967         * sysdeps/generic/c++-types.data: New file.
15968         * sysdeps/generic/ld.abilist: New file.
15969         * sysdeps/generic/libBrokenLocale.abilist: New file.
15970         * sysdeps/generic/libanl.abilist: New file.
15971         * sysdeps/generic/libc.abilist: New file.
15972         * sysdeps/generic/libcrypt.abilist: New file.
15973         * sysdeps/generic/libdl.abilist: New file.
15974         * sysdeps/generic/libm.abilist: New file.
15975         * sysdeps/generic/libpthread.abilist: New file.
15976         * sysdeps/generic/libresolv.abilist: New file.
15977         * sysdeps/generic/librt.abilist: New file.
15979 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15981         [BZ #17569]
15982         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15983         Compute absolute value of x as modified by fmod, not original
15984         value of x.
15985         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15986         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15987         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15988         RUN_TEST_ffI_f1_mod8.
15989         (remquo_test_data): Add more tests.
15991 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15993         * sysdeps/init_array/pt-crti.S: New file.
15995 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15997         [BZ #17967]
15998         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15999         __builtin_fmaf instead of relying on contraction of a * b + c.
16001 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16003         [BZ #17969]
16004         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16005         node.
16007 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #17964]
16010         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16011         __builtin_fma instead of relying on contraction of a * b + c.
16013 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16015         * Makeconfig (ASFLAGS): Add -Werror=undef.
16016         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16017         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16018         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16020         * Makeconfig (after-link): New variable.
16021         (+link-pie, +link-pie-tests): Use it.
16022         (+link-static, +link-static-tests): Likewise.
16023         (+link, +link-tests): Likewise.
16024         * Makerules (build-module, build-module-asneeded): Likewise.
16025         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16026         Likewise.
16027         * elf/Makefile ($(objpfx)ld.so): Likewise.
16029 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16031         [BZ #17965]
16032         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16033         both struct timeval and struct timespec.
16035 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16037         [BZ #16560]
16038         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16039         and redefine.
16040         (__ieee754_exp2l): Do not multiply small fractional parts by
16041         M_LN2l.
16042         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16043         small argument.
16044         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16045         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16046         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16047         * math/auto-libm-test-in: Add more tests of exp2.
16048         * math/auto-libm-test-out: Regenerated.
16050 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16052         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16053         unaligned path.
16055 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16057         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16058         little endian.
16060 2015-02-12  Andreas Schwab  <schwab@suse.de>
16062         [BZ #15790]
16063         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16064         Filter out elision flags from value returned in kind.
16065         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16066         * nptl/tst-pthread-mutexattr.c: New file.
16068 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16070         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16071         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16072         into gnu-gnu, and update comment to refer to abi-tags.
16074 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16076         [BZ #15467]
16077         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16078         (__sincos): Set errno to EDOM for infinite argument.
16079         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16080         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16081         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16082         (__sincosl): Set errno to EDOM for infinite argument.
16083         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16084         (__sincosl): Set errno to EDOM for infinite argument.
16085         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16086         (__sincosl): Set errno to EDOM for infinite argument.
16087         * math/libm-test.inc (sincos_test_data): Test errno setting.
16089 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16091         * string/strxfrm_l.c: Remove #define STRCMP.
16092         * string/strcoll_l.c: Remove #define STRLEN.
16093         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16094         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16096 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16098         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16099         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16100         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16101         * sysdeps/mips/mips64/Makefile: ... here.
16102         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16103         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16104         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16105         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16106         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16107         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16108         * sysdeps/mips/mips64/n64/Implies: Likewise.
16110 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16112         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16113         <sys/time.h>, <string.h>, and <errno.h>.
16114         (dest_offset, dest_address, value, zero): Remove unused variables.
16115         (ldouble): Remove typedef.
16116         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16117         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16118         1).  Fix code style.
16119         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16120         (check): Function removed.
16121         (CHECK): New macro.
16122         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16123         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16124         Don't call set_sigaction_FP and remove_sigaction_FP here.
16125         (ldouble_test): Just use 'long double' as macro argument, no need for
16126         the 'ldouble' typedef.
16127         (do_test): Set up SIGFPE handler at start, using plain signal rather
16128         than sigaction.  Fix code style.
16130 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16132         [BZ #17949]
16133         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16134         jump label.
16136 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16138         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16139         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16141         * sysdeps/powerpc/configure.ac: Remove file.
16142         * sysdeps/powerpc/configure: Likewise.
16144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16145         [sysdep_routines]: Remove wordcopy-power6 object.
16146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16147         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16149         (__memmove_ppc32): Likewise.
16150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16151         file.
16152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16154         Remove preprocessor.
16156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16157         [sysdep_routines]: Remove wide chars objects.
16158         [wcsmbs]: New rule for wide char objects.
16160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16161         Remove wordcopy-power6 obejct.
16162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16163         Use local call for wordcopy and memcpy symbols.
16164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16166         implementation for loader.
16167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16170         Remove wordcopy-power7 object.
16171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16173         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16174         (_wordcopy_fwd_dest_aligned): Likewise.
16175         (_wordcopy_bwd_aligned): Likewise.
16176         (_wordcopy_bwd_dest_aligned): Likewise.
16178         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16179         Rewrite to call __memmove_ppc instead of include default
16180         implementation.
16182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16183         Remove wide chars objects.
16184         [wcsmbs]: New rule for wide char objects.
16186 2015-02-09  Andreas Schwab  <schwab@suse.de>
16188         [BZ #17912]
16189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16190         in terms of __O_DIRECTORY.
16192 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16194         * time/getdate.c: Include <stdbool.h>.
16195         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16196         call PTR_MANGLE.
16197         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16198         PTR_DEMANGLE.
16200 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16202         Add ersatz _Static_assert on older C hosts
16203         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16204         pre-C11 C platform that is not known to support _Static_assert.
16206 2015-02-07  Richard Braun  <rbraun@sceen.net>
16208         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16209         sigstate.
16210         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16212 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16214         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16215         priority against unexistent AIO_PRIO_DELTA_MAX.
16216         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16217         instead of int.
16218         * misc/fchflags.c (fchflags): Likewise.
16219         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16220         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16221         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16222         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16223         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16224         Declare macros.
16225         [__USE_MISC] (chflags, fchflags): Declare functions.
16226         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16227         EINVAL when nfds is greater than FD_SETSIZE.
16228         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16229         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16230         45.
16231         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16232         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16233         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16234         MACH_RCV_TIMED_OUT.
16235         * hurd/hurd/signal.h (_hurd_self_sigstate,
16236         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16237         Explicit casts from void *.
16238         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16239         * abi-tags: Rename gnu-gnu os into gnu.
16241         [BZ #4719]
16242         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16243         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16244         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16245         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16246         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16247         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16249         [BZ #17944]
16250         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16251         duplicates ADDR->sun_path with sockaddr LEN limitation.
16252         * sysdeps/mach/hurd/connect.c: Include <string.h>
16253         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16254         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16255         * sysdeps/mach/hurd/sendto.c: Likewise.
16256         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16257         implementing it by hand.
16259 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16261         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16262         Use sfi_breg on ldr.
16263         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16264         Likewise.
16266         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16267         it's defined.
16268         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16269         Test SIGSETXID only if it's defined.
16271         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16273         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16274         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16276         * nptl/tst-align2.c: Moved ...
16277         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16278         * nptl/Makefile (tests): Remove tst-align2.
16279         * sysdeps/unix/sysv/linux/Makefile
16280         [$(subdir) = nptl] (tests): Add tst-align-clone.
16281         * nptl/tst-getpid1.c: Moved ...
16282         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16283         * nptl/tst-getpid2.c: Moved ...
16284         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16285         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16286         * sysdeps/unix/sysv/linux/Makefile
16287         [$(subdir) = nptl] (tests): ... here.
16288         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16289         * sysdeps/unix/sysv/linux/Makefile
16290         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16292         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16293         Drop trailing \n from perror argument.  Use return rather than exit.
16295         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16296         on [SA_SIGINFO].
16297         * nptl/tst-cancel21.c (do_test): Likewise.
16298         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16299         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16300         [!SA_SIGINFO]: Make it a stub test.
16302         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16303         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16305         * posix/tst-getlogin.c: Move to ...
16306         * login/tst-getlogin.c: ... here.
16307         * posix/Makefile (tests): Move tst-getlogin to ...
16308         * login/Makefile (tests): ... here.
16310         * libio/tst-atime.c (do_test): Move local variables SV and E
16311         inside [ST_NOATIME] conditional.
16313         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16315         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16317         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16318         (wait_code): New function replaces macro.
16319         Call nanosleep rather than syscall.
16321         * nptl/pt-system.c: Rewritten.  Put everything under
16322         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16323         Use IFUNC to redirect when possible.
16325         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16326         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16327         Use IFUNC to redirect when possible.
16329         * nptl/pt-fork.c: Rewritten.  Put everything under
16330         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16331         Use IFUNC to redirect when possible.
16332         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16334         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16335         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16336         unconditionally nowadays.  This included the only reference to
16337         __vdso_clock_gettime that appears outside libc proper.
16338         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16339         Remove version set (containing only __vdso_clock_gettime).
16340         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16341         Add attribute_hidden.
16342         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16343         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16344         libc_hidden_data_def.
16345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16346         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16348         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16349         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16350         setrpcent, and getrpcport to ...
16351         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16352         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16353         getrpcbynumber_r, and getrpcent_r to ...
16354         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16355         * inet/getrpcbyname.c: Moved ...
16356         * sunrpc/getrpcbyname.c: ... here.
16357         * inet/getrpcbyname_r.c: Moved ...
16358         * sunrpc/getrpcbyname_r.c: ... here.
16359         * inet/getrpcbynumber.c: Moved ...
16360         * sunrpc/getrpcbynumber.c: ... here.
16361         * inet/getrpcbynumber_r.c: Moved ...
16362         * sunrpc/getrpcbynumber_r.c: ... here.
16363         * inet/getrpcent.c: Moved ...
16364         * sunrpc/getrpcent.c: ... here.
16365         * inet/getrpcent_r.c: Moved ...
16366         * sunrpc/getrpcent_r.c: ... here.
16367         * inet/Makefile (routines): Move those to ...
16368         * sunrpc/Makefile (routines): ... here.
16369         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16370         the $(subdirs) list.
16371         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16372         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16373         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16374         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16376         * elf/Makefile (routines): Include $(all-dl-routines), not just
16377         $(dl-routines).
16378         (rtld-routines): Likewise.  Use = rather than :=.
16379         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16380         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16381         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16382         * sysdeps/arm/Makefile: Likewise.
16383         * sysdeps/i386/Makefile: Likewise.
16384         * sysdeps/x86_64/Makefile: Likewise.
16385         * sysdeps/hppa/Makefile [$(subdir) = elf]
16386         (sysdep_routines, sysdep-rtld-routines): Don't add
16387         $(sysdep-dl-routines) to these.
16388         * sysdeps/ia64/Makefile: Likewise.
16389         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16390         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16391         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16392         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16393         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16394         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16395         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16396         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16397         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16398         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16399         these; sysdep-dl-routines alone is enough.
16401 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16403         [BZ #17932]
16404         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16405         where multiplication results in zero and third argument is finite
16406         and nonzero.
16407         * math/auto-libm-test-in: Add more tests of fma.
16408         * math/auto-libm-test-out: Regenerated.
16410         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16411         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16412         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16413         (_FP_CMP_EQ): Likewise.
16414         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16416         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16417         extra argument CHECK_NAN.  Redefine as wrapper around
16418         _FP_EXTEND_CNAN.
16420 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16422         * version.h (RELEASE): Set to "stable".
16423         (VERSION): Set to "2.21"
16424         * include/features.h (__GLIBC_MINOR__): Set to 21.
16426         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16428 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16429             Paul Eggert  <eggert@cs.ucla.edu>
16431         [BZ #16618]
16432         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16434         size in bytes. Store needed elements in wpmax. Use needed size
16435         in bytes for extend_alloca.
16437 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16439         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16440         binutls 2.25, and texinfo 5.2.
16441         * INSTALL: Regenerate.
16442         * sysdeps/nios2/configure: Regenerate.
16443         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16444         * manual/contrib.texi: Update.
16445         * po/be.po: Update.
16446         * po/bg.po: Update.
16447         * po/ca.po: Update.
16448         * po/cs.po: Update.
16449         * po/da.po: Update.
16450         * po/de.po: Update.
16451         * po/el.po: Update.
16452         * po/eo.po: Update.
16453         * po/es.po: Update.
16454         * po/fi.po: Update.
16455         * po/fr.po: Update.
16456         * po/gl.po: Update.
16457         * po/hr.po: Update.
16458         * po/hu.po: Update.
16459         * po/ia.po: Update.
16460         * po/id.po: Update.
16461         * po/it.po: Update.
16462         * po/ja.po: Update.
16463         * po/ko.po: Update.
16464         * po/lt.po: Update.
16465         * po/nb.po: Update.
16466         * po/nl.po: Update.
16467         * po/pl.po: Update.
16468         * po/pt_BR.po: Update.
16469         * po/ru.po: Update.
16470         * po/rw.po: Update.
16471         * po/sk.po: Update.
16472         * po/sl.po: Update.
16473         * po/sv.po: Update.
16474         * po/tr.po: Update.
16475         * po/uk.po: Update.
16476         * po/vi.po: Update.
16477         * po/zh_CN.po: Update.
16478         * po/zh_TW.po: Update.
16480         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16481         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16482         * sysdeps/hppa/dl-irel.h: Remove #warning.
16483         * sysdeps/hppa/entry.h: Provide prototype for
16484         __canonicalize_funcptr_for_compare and cast argument.
16485         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16486         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16487         * sysdeps/hppa/sotruss-lib.c: New file.
16488         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16489         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16490         (atomic_compare_and_exchange_bool_acq): Likewise.
16491         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16492         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16494         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16495         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16496         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16498 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16500         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16501         called function in non-PIC case.
16503 2015-01-31  David S. Miller  <davem@davemloft.net>
16505         * sysdeps/sparc/sparc32/bits/atomic.h
16506         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16507         unlock not after it.
16508         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16509         volatile register usage warnings from the compiler.
16511         * sysdeps/sparc/nptl/sem_init.c: Delete.
16512         * sysdeps/sparc/nptl/sem_post.c: Delete.
16513         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16514         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16515         * sysdeps/sparc/sparc32/sem_init.c: New file.
16516         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16517         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16518         padding explicitly initialized.
16519         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16520         padding for in-semaphore spinlock.
16521         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16522         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16523         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16524         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16525         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16526         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16527         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16528         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16529         version.
16530         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16531         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16533 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16535         [BZ #17801]
16536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16537         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16538         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16539         New.
16540         (index_AVX_Fast_Unaligned_Load): Likewise.
16541         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16542         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16543         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16544         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16545         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16546         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16547         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16548         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16549         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16551 2015-01-29  Andreas Schwab  <schwab@suse.de>
16553         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16555 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16557         [BZ #17892]
16558         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16560 2015-01-28  Martin Sebor  <msebor@redhat.com>
16562         * math/README.libm-test: Clarify. Add "How to read the test output."
16564 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16566         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16567         Define to 0.
16569 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16571         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16572         (__HAVE_64B_ATOMICS): Define to 0.
16574 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16576         [BZ #17885]
16577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16578         value to set as new flag.
16580         [BZ #16576]
16581         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16582         and use _ARCH_PPCSQ instead.
16583         (__ieee754_sqrt): Likewise.
16584         (__ieee754_sqrtf): Likewise.
16585         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16586         _ARCH_PPCSQ is defined.
16587         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16588         fsqrt instruction.
16589         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16590         _ARCH_PPCSQ is defined.
16591         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16592         fsqrts instruction.
16593         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16595 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16597         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16598         bug (GCC BZ #64739).
16600 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16602         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16603         Mark _retval as used.
16604         (lll_futex_wake_unlock): Likewise.
16605         (lll_futex_timed_wait_requeue_pi): Likewise.
16607         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16608         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16609         register variables.
16611         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16612         libm_hidden_def.
16614         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16615         (__bswap_64): Mark as __always_inline.
16617 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16619         [BZ #15378]
16620         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16621         when none of the search directories exist.
16623 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16625         [BZ #17869]
16626         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16627         power8 in .machine directive.
16629         [BZ #17868]
16630         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16631         set dependency from opd value.
16633 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16636         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16637         architecture.
16639 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16641         [BZ #17870]
16642         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16643         with uint64_t.
16644         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16645         (uint64_t) 1.
16646         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16647         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16648         Replace 1UL with (uint64_t) 1.
16649         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16650         int with uint64_t.
16652 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16654         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16655         (if_freenameindex): Likewise.
16657         * resource/getrlimit64.c: Add missing libc_hidden_def.
16659 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16661         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16662         __label__.
16663         (_FP_FMA): Likewise.
16664         (_FP_TO_INT_ROUND): Likewise.
16665         (_FP_FROM_INT): Likewise.
16667 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16669         [BZ #16418]
16670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16671         Make code racy and cancel safe.
16673 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16675         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16676         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16677         attribution.
16679         * pwd/tst-getpw.c: Rewrite.
16681         [BZ #17702]
16682         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16683         (modules-names): Add moddummy1 and moddummy2.
16684         ($(objpfx)tst-rec-dlopen): Define.
16685         * dlfcn/moddummy1.c: New file.
16686         * dlfcn/moddummy2.c: New file.
16687         * dlfcn/tst-rec-dlopen.c: New file.
16688         * elf/dl-cache.c (_dl_load_cache_lookup):
16689         Return char*. Copy result with alloca/strcpy/strdup.
16690         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16691         returns char*. Free cached. If not saving realname
16692         free cached.
16693         * elf/dl-open.c (dl_open_worker): Do not assert that
16694         _r_debug->r_state is RT_CONSISTENT.
16695         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16696         returns char*.
16698 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16699             Carlos O'Donell  <carlos@redhat.com>
16701         [BZ #12674]
16702         * nptl/sem_waitcommon.c: New file.
16703         * nptl/sem_wait.c: Include sem_waitcommon.c.
16704         (__sem_wait_cleanup, do_futex_wait): Remove.
16705         (__new_sem_wait): Adapt.
16706         (__new_sem_trywait): New function.
16707         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16708         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16709         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16710         (sem_timedwait): Adapt.
16711         * nptl/sem_post.c (__new_sem_post): Adapt.
16712         (futex_wake): New function.
16713         (__old_sem_post): Add release MO fence.
16714         * nptl/sem_open.c (sem_open): Adapt.
16715         * nptl/sem_init.c (__new_sem_init): Adapt.
16716         (futex_private_if_supported): New function.
16717         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16718         (__old_sem_getvalue): Add using previous code.
16719         * sysdeps/nptl/internaltypes.h: Adapt.
16720         * nptl/tst-sem13.c (do_test): Adapt.
16721         * nptl/tst-sem11.c (main): Adapt.
16722         * nptl/sem_trywait.c: Remove.
16723         * nptl/DESIGN-sem.txt: Remove.
16724         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16725         (gen-as-const-headers): Remove structsem.sym.
16726         * nptl/structsem.sym: Remove.
16727         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16728         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16729         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16731         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16732         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16733         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16734         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16735         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16736         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16737         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16738         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16739         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16741         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16742         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16743         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16744         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16745         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16746         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16747         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16748         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16750 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16752         * INSTALL: Regenerated.
16754         * po/libc.pot: Regenerated.
16756 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16757             Sandra Loosemore  <sandra@codesourcery.com>
16758             Andrew Jenner  <andrew@codesourcery.com>
16759             Joseph Myers  <joseph@codesourcery.com>
16760             Nathan Sidwell  <nathan@codesourcery.com>
16762         * NEWS: Mention new Nios II port.
16763         * sysdeps/nios2/Implies: New file.
16764         * sysdeps/nios2/Makefile: New file.
16765         * sysdeps/nios2/Subdirs: New file.
16766         * sysdeps/nios2/Versions: New file.
16767         * sysdeps/nios2/__longjmp.S: New file.
16768         * sysdeps/nios2/abort-instr.h: New file.
16769         * sysdeps/nios2/backtrace.c: New file.
16770         * sysdeps/nios2/bits/endian.h: New file.
16771         * sysdeps/nios2/bits/fenv.h: New file.
16772         * sysdeps/nios2/bits/link.h: New file.
16773         * sysdeps/nios2/bits/setjmp.h: New file.
16774         * sysdeps/nios2/bsd-_setjmp.S: New file.
16775         * sysdeps/nios2/bsd-setjmp.S: New file.
16776         * sysdeps/nios2/configure: New generated file.
16777         * sysdeps/nios2/configure.ac: New file.
16778         * sysdeps/nios2/crti.S: New file.
16779         * sysdeps/nios2/crtn.S: New file.
16780         * sysdeps/nios2/dl-init.c: New file.
16781         * sysdeps/nios2/dl-machine.h: New file.
16782         * sysdeps/nios2/dl-sysdep.h: New file.
16783         * sysdeps/nios2/dl-tls.h: New file.
16784         * sysdeps/nios2/dl-trampoline.S: New file.
16785         * sysdeps/nios2/gccframe.h: New file.
16786         * sysdeps/nios2/gmp-mparam.h: New file.
16787         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16788         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16789         * sysdeps/nios2/ldsodefs.h: New file.
16790         * sysdeps/nios2/libc-tls.c: New file.
16791         * sysdeps/nios2/libm-test-ulps: New file.
16792         * sysdeps/nios2/machine-gmon.h: New file.
16793         * sysdeps/nios2/math-tests.h: New file.
16794         * sysdeps/nios2/math_private.h: New file.
16795         * sysdeps/nios2/memusage.h: New file.
16796         * sysdeps/nios2/nptl/Makefile: New file.
16797         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16798         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16799         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16800         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16801         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16802         * sysdeps/nios2/nptl/tls.h: New file.
16803         * sysdeps/nios2/preconfigure: New file.
16804         * sysdeps/nios2/s_fma.c: New file.
16805         * sysdeps/nios2/s_fmaf.c: New file.
16806         * sysdeps/nios2/setjmp.S: New file.
16807         * sysdeps/nios2/sfp-machine.h: New file.
16808         * sysdeps/nios2/sotruss-lib.c: New file.
16809         * sysdeps/nios2/stackguard-macros.h: New file.
16810         * sysdeps/nios2/stackinfo.h: New file.
16811         * sysdeps/nios2/start.S: New file.
16812         * sysdeps/nios2/sysdep.h: New file.
16813         * sysdeps/nios2/tls-macros.h: New file.
16814         * sysdeps/nios2/tst-audit.h: New file.
16815         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16816         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16817         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16818         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16819         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16820         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16821         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16822         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16823         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16824         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16825         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16826         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16827         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16828         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16829         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16830         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16831         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16832         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16833         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16834         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16835         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16836         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16837         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16838         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16839         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16840         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16841         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16842         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16843         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16844         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16845         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16846         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16847         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16848         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16849         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16850         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16851         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16852         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16853         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16854         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16855         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16856         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16857         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16858         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16860 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16862         [BZ #17844]
16863         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16864         (getutent): Use weak_alias in non SHARED case
16865         and default_symbol_version in SHARED case.
16866         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16867         (getutent_r, pututline): Likewise.
16868         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16869         (getutid): Likewise.
16870         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16871         (getutid_r): Likewise.
16872         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16873         (getutline): Likewise.
16874         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16875         (getutline_r): Likewise.
16876         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16877         (updwtmp): Likewise.
16879 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16881         [BZ #17848]
16882         * sysdeps/s390/s390-32/memcmp.S
16883         (memcmp_g5): Rename to __memcmp_g5.
16884         * sysdeps/s390/s390-32/memcpy.S
16885         (memcpy_g5): Rename to __memcpy_g5.
16886         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16887         (memcpy_mvcle) Rename to __memcpy_mvcle.
16888         * sysdeps/s390/s390-32/memset.S
16889         (memset_g5): Rename to __memset_g5.
16890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16891         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16892         and use prefixed functions.
16893         * sysdeps/s390/s390-32/multiarch/memcmp.S
16894         (memcmp_z196): Rename to __memcmp_z196.
16895         (memcmp_z10): Rename to __memcmp_z10.
16896         (memcmp): Set alias to __memcmp_g5.
16897         (bcmp): Set alias to __memcmp_g5.
16898         * sysdeps/s390/s390-32/multiarch/memcpy.S
16899         (memcpy_z196): Rename to __memcpy_z196.
16900         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16901         (memcpy_z10): Rename to __memcpy_z10.
16902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16903         (memcpy): Set alias to __memcpy_g5.
16904         * sysdeps/s390/s390-32/multiarch/memset.S
16905         (memset_z196): Rename to __memset_z196.
16906         Jump to __memset_mvcle instead of memset_mvcle.
16907         (memset_z10): Rename to __memset_z10.
16908         Jump to __memset_mvcle instead of memset_mvcle.
16909         (memset_mvcle) Rename to __memset_mvcle.
16910         (memset): Set alias to __memset_g5.
16911         * sysdeps/s390/s390-64/memcmp.S
16912         (memcmp_z900): Rename to __memcmp_z900.
16913         * sysdeps/s390/s390-64/memcpy.S
16914         (memcpy_z900): Rename to __memcpy_z900.
16915         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16916         (memcpy_mvcle) Rename to __memcpy_mvcle.
16917         * sysdeps/s390/s390-64/memset.S
16918         (memset_z900): Rename to __memset_z900.
16919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16920         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16921         and use prefixed functions.
16922         * sysdeps/s390/s390-64/multiarch/memcmp.S
16923         (memcmp_z196): Rename to __memcmp_z196.
16924         (memcmp_z10): Rename to __memcmp_z10.
16925         (memcmp): Set alias to __memcmp_z900.
16926         (bcmp): Set alias to __memcmp_z900.
16927         * sysdeps/s390/s390-64/multiarch/memcpy.S
16928         (memcpy_z196): Rename to __memcpy_z196.
16929         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16930         (memcpy_z10): Rename to __memcpy_z10.
16931         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16932         (memcpy): Set alias to __memcpy_z900.
16933         * sysdeps/s390/s390-64/multiarch/memset.S
16934         (memset_z196): Rename to __memset_z196.
16935         Jump to __memset_mvcle instead of memset_mvcle.
16936         (memset_z10): Rename to __memset_z10.
16937         Jump to __memset_mvcle instead of memset_mvcle.
16938         (memset_mvcle) Rename to __memset_mvcle.
16939         (memset): Set alias to __memset_z900.
16941 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #17748]
16944         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16945         __fesetenv instead of fesetenv.
16947 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16949         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16950         macro.
16952 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16954         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16955         regression on LE.
16957         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16958         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16960         strncmp-power8 object.
16961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16962         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16963         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16964         * NEWS: Update.
16966 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16969         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16970         trailing byte check.
16972 2015-01-13  David S. Miller  <davem@davemloft.net>
16974         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16976 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16978         * login/logout.c (logout): Use memset rather than bzero.
16979         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16980         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16981         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16982         (_gethtbyaddr): Likewise.
16983         * locale/programs/simple-hash.c (bcopy): Macro removed.
16985 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16987         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16988         Add strcmp-power8 object.
16989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16990         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16991         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16992         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16993         __strcmp_power8 implementation.
16994         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16995         * NEWS: Update.
16997         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16998         Add strncpy-power8 and stpncpy-power8 objects.
16999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17000         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17001         implementations.
17002         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17004         __stpncpy_power8 implementation.
17005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17006         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17007         __strncpy_power8 implementation.
17008         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17009         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17010         * NEWS: Update.
17012         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17013         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17014         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17017         strncat-power8 object.
17018         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17019         __strcat_power8 implementation.
17020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17021         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17023         optimized strcat for power8.
17025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17026         strcpy-power8 and stpcpy-power8 objects.
17027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17028         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17029         implementations.
17030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17031         multiarch stpcpy implementation for POWER8.
17032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17033         multiarch strcpy implementation for POWER8.
17034         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17035         __strcpy_power8 function.
17036         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17037         stpcpy for POWER8.
17038         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17039         strcpy for POWER8.
17040         * NEWS: Update.
17042 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17044         [BZ #16009]
17045         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17046         weights and rules. Use do_xfrm_cached if data fits in cache,
17047         do_xfrm otherwise.  Moved former main loop to...
17048         * (do_xfrm_cached): New function.
17049         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17050         find_idx, find_position and stack_push.
17051         * (find_idx): New function.
17052         * (find_position): Likewise.
17053         * localedata/sort-test.sh: Added test run for do_xfrm.
17054         * localedata/xfrm-test.c (main): Added command line option
17055         -nocache to run the test with strings that are too large for
17056         the STRXFRM cache.
17058 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17060         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17061         variable to lll_futex_wake call, not the value itself.
17063 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #17803]
17066         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17067         twom64.  Adjust value to 0x1p-64L.
17068         (__scalblnl): Only return standard underflowing result for K <=
17069         -64 not K <= -63; adjust exponent for underflowing result by 64
17070         not 63.
17071         * math/libm-test.inc (scalbn_test_data): Add more tests.
17072         (scalbln_test_data): Likewise.
17074         [BZ #17834]
17075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17076         0x1p63L.
17077         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17078         not HX.
17079         * math/libm-test.inc (scalbn_test_data): Add more tests.
17080         (scalbln_test_data): Likewise.
17082 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17083             Stefani Seibold  <stefani@seibold.net>
17085         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17086         (sysdep_routines): Add dl-vdso here, ...
17087         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17088         (sysdep_routines): ... not here.
17089         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17090         fallback when vDSO is not presented.
17091         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17092         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17093         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17094         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17095         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17096         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17097         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17099         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17101         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17102         fallback configurable symbol when vDSO is not available.
17103         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17104         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17105         be able to redefine fallback symbol when vDSO is not available.
17106         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17107         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17109 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17111         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17112         (TLS_INIT_TP): Add tm_capable initialization.
17113         (TLS_DEFINE_INIT_TP): Likewise.
17114         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17115         TCB.
17116         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17117         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17118         calculation.
17119         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17120         transactoion is lock elision is built and TCB tm_capable is set.
17121         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17123         (INTERNAL_SYSCALL_NCS): Likewise.
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17125         (INTERNAL_SYSCALL_NCS): Likewise.
17126         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17128         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17129         for powerpc.
17130         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17131         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17132         and remove it for 32 bits case.
17133         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17135         initialization.
17136         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17137         Disable lock elision with rdlocks if elision is not available.
17139         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17140         (sysdep_routines): Add lock elision objects.
17141         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17142         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17143         [pthread_mutex_t] (__elision): Add field.
17144         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17145         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17146         elision definitions for powerpc.
17147         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17148         implementation of lock elision for powerpc.
17149         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17150         implementation of timed lock elision for powerpc.
17151         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17152         implementation of trylock with lock elision for powerpc.
17153         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17154         implementaion of unlock for lock elision for powerpc.
17155         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17156         automatic enable lock elision for mutexes.
17157         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17158         transaction execution definitions for powerpc.
17159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17160         definitions.
17161         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17162         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17163         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17165         * NEWS: Update.
17167 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17169         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17170         for #include of <shm-directory.h>.
17172 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17175         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17177 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17179         [BZ #17791]
17180         * NEWS: Mention bug fix.
17181         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17182         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17183         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17185 2015-01-09  Torvald Riegel <triegel@redhat.com>
17187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17189 2015-01-09  Torvald Riegel <triegel@redhat.com>
17191         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17193 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17195         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17196         pointer and cast to uintptr_t.
17198 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17200         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17201         removed.
17202         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17204 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17206         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17207         of 0.
17209 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17211         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17212         <nptl/pthreadP.h> instead.
17213         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17215         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17216         already defined.
17217         [__SIGRTMIN] (init): Function removed.
17218         [__SIGRTMIN] (initialized): Variable removed.
17219         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17220         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17221         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17222         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17223         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17224         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17225         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17226         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17227         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17228         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17229         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17230         * sysdeps/nptl/allocrtsig.c: New file.
17231         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17232         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17233         * sysdeps/generic/testrtsig.h: File removed.
17235         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17236         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17238         * nptl/nptl-init.c (pthread_functions): Conditionalize
17239         .ptr__nptl_setxid initialization on [SIGSETXID].
17241         * sysdeps/nptl/sys/procfs.h: New file.
17242         * nptl_db/Makefile (headers): Add it.
17243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17245         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17246         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17247         * nptl/pthread_attr_setaffinity.c: Include it.
17248         * nptl/pthread_setattr_default_np.c: Likewise.
17249         * nptl/check-cpuset.h: New file.
17251 2015-01-08  Richard Henderson  <rth@redhat.com>
17253         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17254         (CFLAGS-tst-execstack-prog.c): Likewise.
17255         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17257 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17258             Sandra Loosemore  <sandra@codesourcery.com>
17259             Andrew Jenner  <andrew@codesourcery.com>
17260             Joseph Myers  <joseph@codesourcery.com>
17261             Nathan Sidwell  <nathan@codesourcery.com>
17263         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17264         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17265         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17266         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17267         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17268         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17269         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17270         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17271         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17272         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17273         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17274         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17275         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17276         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17277         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17278         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17279         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17281 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17283         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17284         timespec struct member in syscall macro.
17285         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17286         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17287         first timeval struct member in syscall macro.
17288         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17290 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17292         [BZ #17748]
17293         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17294         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17295         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17296         __feupdateenv and define as weak alias of __feupdateenv.  Use
17297         libm_hidden_weak.
17298         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17299         libm_hidden_def.
17300         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17301         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17302         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17303         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17304         libm_hidden_def.
17305         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17306         __feupdateenv and define as weak alias of __feupdateenv.  Use
17307         libm_hidden_weak.
17308         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17309         libm_hidden_def.
17310         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17311         __feupdateenv and define as weak alias of __feupdateenv.  Use
17312         libm_hidden_weak.
17313         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17314         libm_hidden_def.
17315         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17316         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17317         (__feupdateenv): Likewise.
17318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17319         __feupdateenv and define as weak alias of __feupdateenv.  Use
17320         libm_hidden_weak.
17321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17323         libm_hidden_def.
17324         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17325         function.
17326         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17327         libm_hidden_def.
17328         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17329         __feupdateenv instead of feupdateenv.
17330         (default_libc_feupdateenv_test): Likewise.
17331         (libc_feresetround_ctx): Likewise.
17333 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17335         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17336         prototype.
17338 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17340         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17341         COLL_SYM in a couple of places to avoid uninitialized variable
17342         wanings on tilegx gcc 4.8.2.
17344 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17346         * sysdeps/aarch64/strcpy.S: New file.
17347         * sysdeps/aarch64/stpcpy.S: New file.
17348         * NEWS: Updated.
17350 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17352         * sysdeps/aarch64/strrchr.S: New file.
17353         * NEWS: Updated.
17355 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17357         [BZ #17658]
17358         * stdlib/setenv.c: Fix memory leak when setting large,
17359         duplicate string.
17361 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17363         [BZ #17273]
17364         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17365         and tabs from buffer before parsing fstab entry.
17366         * misc/tst-mntent.c (main): Add test for mount entry with
17367         trailing spaces and tabs.
17369 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17371         [BZ #17748]
17372         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17373         * math/fesetround.c (fesetround): Rename to __fesetround and
17374         define as weak alias of __fesetround.  Use libm_hidden_weak.
17375         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17376         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17377         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17378         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17379         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17380         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17381         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17382         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17383         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17384         __fesetround_inline.
17385         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17386         __fesetround_inline instead of __fesetround.
17387         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17388         __fesetround and define as weak alias of __fesetround.  Use
17389         libm_hidden_weak.  Call __fesetround_inline instead of
17390         __fesetround.
17391         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17392         __fesetround and define as weak alias of __fesetround.  Use
17393         libm_hidden_weak.
17394         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17395         Likewise.
17396         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17398         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17399         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17400         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17401         __fesetround and define as weak alias of __fesetround.  Use
17402         libm_hidden_weak.
17403         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17404         __fesetround instead of fesetround.
17405         (default_libc_feholdexcept_setround): Likewise.
17406         (libc_feholdsetround_ctx): Likewise.
17407         (libc_feholdsetround_noex_ctx): Likewise.
17409         [BZ #17748]
17410         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17411         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17412         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17413         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17414         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17415         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17416         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17417         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17418         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17419         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17420         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17421         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17422         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17423         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17425         libm_hidden_def.
17426         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17427         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17428         Likewise.
17429         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17430         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17431         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17432         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17433         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17434         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17435         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17436         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17437         __fesetenv instead of fesetenv.
17438         (libc_feresetround_noex_ctx): Likewise.
17439         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17440         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17441         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17442         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17443         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17444         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17445         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17446         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17447         (__feupdateenv): Likewise.
17448         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17449         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17450         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17451         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17453 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17455         [BZ #17806]
17456         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17457         addresses have been freed.
17459 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17461         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17462         and nservall.
17464 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17466         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17467         Clean up check_pf allocation pattern. addresses
17469 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17471         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17472         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17473         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17474         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17475         * nptl/pthread_join.c (pthread_join): Likewise.
17476         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17477         * sysdeps/posix/waitid.c (__waitid): Likewise.
17478         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17479         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17480         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17481         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17483         Likewise.
17484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17485         (__libc_pread64): Likewise.
17486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17487         (__libc_pwrite): Likewise.
17488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17489         (__libc_pwrite64): Likewsie.
17490         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17491         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17492         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17493         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17494         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17495         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17498         Likewise.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17500         (__libc_pread64): Likewise.
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17502         Likewise.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17504         (__libc_pwrite64): Likewise.
17505         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17506         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17507         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17508         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17509         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17510         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17511         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17512         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17513         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17514         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17515         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17516         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17517         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17518         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17519         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17520         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17521         Likewise.
17523 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17525         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17526         (CFLAGS-test-double.c): Likewise.
17527         (CFLAGS-test-ldouble.c): Likewise.
17528         (CPPFLAGS-test-ifloat.c): Likewise.
17529         (CPPFLAGS-test-idouble.c): Likewise.
17530         (CPPFLAGS-test-ildoubl.c): Likewise.
17531         (CFLAGS-test-test-fenv.c): Remove variable.
17532         (CFLAGS-test-misc.c): Likewise.
17534 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17536         [BZ #17797]
17537         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17538         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17539         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17540         CLOCKS_PER_SEC == 1000000.
17541         * time/clocktest.c (main): Replace %ld with %jd and cast to
17542         intmax_t.
17544 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17546         * sysdeps/generic/unwind-resume.h: New file.
17547         * sysdeps/gnu/unwind-resume.c: Include it.
17548         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17549         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17550         argument list.
17551         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17552         global rather than static.
17553         (_Unwind_Resume): Update user.
17554         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17555         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17556         rather than static.  Add __attribute__ ((cold)).
17557         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17558         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17559         * sysdeps/arm/arm-unwind-resume.S: New file.
17560         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17561         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17562         * sysdeps/arm/Makefile [$(subdir) = csu]
17563         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17564         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17565         Add rt-arm-unwind-resume.
17566         [$(subdir) = nptl]
17567         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17568         Add pt-arm-unwind-resume.
17569         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17570         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17572 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17574         [BZ #17748]
17575         * include/fenv.h (__feholdexcept): Declare.  Use
17576         libm_hidden_proto.
17577         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17578         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17579         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17580         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17582         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17583         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17584         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17585         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17586         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17587         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17588         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17589         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17590         (feholdexcept): Likewise.
17591         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17592         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17593         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17594         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17595         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17596         __feholdexcept instead of feholdexcept.
17597         (default_libc_feholdexcept_setround): Likewise.
17599 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17601         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17602         to avoid using stl/str to align destination.
17604 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17606         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17608 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17610         [BZ #17796]
17611         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17612         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17613         Define as weak alias not strong alias.
17615 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17617         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17618         bltzal with addiupc.
17619         (RTLD_START): Ditto.
17621 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17623         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17624         for __vdso_* functions in declarations.
17625         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17626         definitions.
17627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17628         INTERNAL_VSYSCALL): Use struct return types to check for error.
17630         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17631         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17632         function with cast from llround().
17633         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17634         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17635         Define.
17637 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17639         [BZ #17793]
17640         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17641         Define as weak alias not strong alias.
17643         [BZ #17635]
17644         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17645         ...
17646         * ctype/ctype-extn.c: ... here.
17647         (__isblank_l): Move to ...
17648         * ctype/ctype-c99_l.c: ... here.  New file.
17649         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17650         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17651         Remove variable.
17652         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17653         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17654         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17655         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17656         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17658         [BZ #17777]
17659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17660         (posix_fadvise64): Define as weak alias not strong alias.
17661         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17662         (posix_fallocate64): Likewise.
17663         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17664         Remove variable.
17665         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17666         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17667         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17668         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17669         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17671 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17673         [BZ #16191]
17674         * NEWS: Mention bug fix.
17675         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17676         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17677         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17678         (HOST_STACK_END_ADDR): Likewise.
17680 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17682         [BZ #17748]
17683         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17684         * math/fegetround.c (fegetround): Rename to __fegetround and
17685         define as weak alias of __fegetround.  Use libm_hidden_weak.
17686         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17687         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17688         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17689         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17690         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17691         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17692         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17693         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17694         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17695         Undefine after rather than before function definition; use
17696         parentheses around function name in definition.
17697         (__fegetround): Also undefine macro after function definition.
17698         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17699         __fegetround and define as weak alias of __fegetround.  Use
17700         libm_hidden_weak.  Do not undefine as macro.
17701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17702         Likewise.
17703         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17704         __fegetround and define as weak alias of __fegetround.  Use
17705         libm_hidden_weak.
17706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17707         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17708         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17709         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17710         __fegetround and define as weak alias of __fegetround.  Use
17711         libm_hidden_weak.
17712         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17713         __fegetround instead of fegetround.
17715         [BZ #17782]
17716         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17717         Condition macro definition on [__USE_MISC].
17719         [BZ #17781]
17720         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17721         (struct sigaction): Change type of sa_flags field to int.
17723         [BZ #17780]
17724         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17725         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17726         __glibc_reserved0.
17728         * nptl/version.c (banner): Use single year in copyright notice.
17730         * NEWS: Update copyright dates.
17731         * catgets/gencat.c (print_version): Likewise.
17732         * csu/version.c (banner): Likewise.
17733         * debug/catchsegv.sh: Likewise.
17734         * debug/pcprofiledump.c (print_version): Likewise.
17735         * debug/xtrace.sh (do_version): Likewise.
17736         * elf/ldconfig.c (print_version): Likewise.
17737         * elf/ldd.bash.in: Likewise.
17738         * elf/pldd.c (print_version): Likewise.
17739         * elf/sotruss.sh: Likewise.
17740         * elf/sprof.c (print_version): Likewise.
17741         * iconv/iconv_prog.c (print_version): Likewise.
17742         * iconv/iconvconfig.c (print_version): Likewise.
17743         * locale/programs/locale.c (print_version): Likewise.
17744         * locale/programs/localedef.c (print_version): Likewise.
17745         * login/programs/pt_chown.c (print_version): Likewise.
17746         * malloc/memusage.sh (do_version): Likewise.
17747         * malloc/memusagestat.c (print_version): Likewise.
17748         * malloc/mtrace.pl: Likewise.
17749         * manual/libc.texinfo: Likewise.
17750         * nptl/version.c (banner): Likewise.
17751         * nscd/nscd.c (print_version): Likewise.
17752         * nss/getent.c (print_version): Likewise.
17753         * nss/makedb.c (print_version): Likewise.
17754         * posix/getconf.c (main): Likewise.
17755         * scripts/test-installation.pl: Likewise.
17756         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17758 2015-01-02  Will Newton  <will.newton@linaro.org>
17760         * sysdeps/arm/armv7/configure: Removed.
17761         * sysdeps/arm/armv7/configure.ac: Likewise.
17763 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17765         * All files with FSF copyright notices: Update copyright dates
17766         using scripts/update-copyrights.
17767         * intl/plural.c: Regenerated.
17768         * locale/programs/charmap-kw.h: Likewise.
17769         * locale/programs/locfile-kw.h: Likewise.
17771 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17773         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17775 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17777         [BZ #17748]
17778         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17779         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17780         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17781         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17782         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17783         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17784         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17785         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17786         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17787         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17788         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17789         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17790         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17791         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17792         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17793         libm_hidden_def.
17794         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17796         Likewise.
17797         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17798         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17799         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17800         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17801         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17802         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17803         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17804         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17805         __fegetenv instead of fegetenv.
17806         (libc_feholdsetround_noex_ctx): Likewise.
17808 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17810         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17811         (Elf_MIPS_ABIFlags_v0): New structure.
17812         (EF_MIPS_FP64): Define.
17813         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17814         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17815         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17816         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17817         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17818         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17819         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17820         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17821         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17822         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17823         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17824         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17825         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17826         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17827         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17828         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17829         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17830         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17831         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17832         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17833         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17834         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17835         field.
17836         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17837         EF_MIPS_FP64.
17838         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17839         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17840         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17841         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17842         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17843         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17844         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17845         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17846         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17847         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17848         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17849         record the current FP ABI extension.
17850         (mips-mode-switch): Define to show if kernel headers support mode
17851         switching.
17852         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17853         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17854         supported SYSV ABI version to 3.
17855         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17856         feature.
17858 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17859             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17861         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17862         path.
17863         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17865 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17867         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17868         __fegetround and redefine to call __fegetround.  Remove condition
17869         on [!__NO_MATH_INLINES].
17870         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17871         function.
17872         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17874         Remove macro.
17875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17876         instead of <fenv_libc.h>.
17877         (__llrintl): Call fegetround instead of __fegetround.
17878         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17879         instead of <fenv_libc.h>.
17880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17881         (__lrintl): Call fegetround instead of __fegetround.
17882         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17883         instead of <fenv_libc.h>.
17884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17885         (__rintl): Call fegetround instead of __fegetround.
17887 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17889         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17890         arrays.
17892 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17894         [BZ #17775]
17895         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17896         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17897         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17899 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17901         * sysdeps/i386/tls-macros.h: Include <features.h>.
17902         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17903         (TLS_IE): Likewise.
17904         (TLS_LD): Likewise.
17905         (TLS_GD): Likewise.
17906         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17907         define for GCC >= 5.0.
17909 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17911         * math/test-fenv.c (test_single_exception, set_single_exc,
17912         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17913         feexcp_mask_test, feenable_test, fe_single_test): Add
17914         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17915         case where they are not used.
17916         * math/libm-test.inc: Likewise.
17917         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17918         unused in the absence of FP rounding/exception support.
17919         * stdio-common/tst-printf-round.c: Likewise.
17920         * stdlib/tst-strtod-round.c: Likewise.
17921         * stdlib/tst-strtod-underflow.c: Likewise.
17923 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #17723]
17926         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17927         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17928         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17930         libm_hidden_weak.
17931         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17932         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17933         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17934         libm_hidden_def.
17935         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17936         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17937         libm_hidden_weak.
17938         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17939         Likewise.
17940         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17941         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17942         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17943         libm_hidden_weak.
17944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17945         libm_hidden_def.
17946         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17947         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17948         (__feraiseexcept): Likewise.
17949         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17950         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17951         libm_hidden_weak.
17952         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17953         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17954         libm_hidden_def.
17955         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17956         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17957         Use libm_hidden_def.
17958         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17959         libm_hidden_def.
17960         (feraiseexcept): Define as weak not strong alias.  Use
17961         libm_hidden_weak.
17962         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17963         New inline function.  Factored out of ...
17964         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17965         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17966         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17967         feraiseexcept.
17968         * math/w_acos.c (__acos): Likewise.
17969         * math/w_asin.c (__asin): Likewise.
17970         * math/w_ilogb.c (__ilogb): Likewise.
17971         * math/w_j0.c (y0): Likewise.
17972         * math/w_j1.c (y1): Likewise.
17973         * math/w_jn.c (yn): Likewise.
17974         * math/w_log.c (__log): Likewise.
17975         * math/w_log10.c (__log10): Likewise.
17976         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17977         * sysdeps/aarch64/fpu/math_private.h
17978         (libc_feupdateenv_test_aarch64): Likewise.
17979         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17980         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17981         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17982         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17983         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17984         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17985         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17987         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17988         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17990 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17992         [BZ #17732]
17993         * io/test-utime.c (main): Replace %ld with %jd and cast to
17994         intmax_t.
17995         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17996         * nptl/tst-mutex5.c: Include <stdint.h>.
17997         (do_test): Replace %ld with %jd and cast to intmax_t.
17998         * posix/tst-regex.c (run_test): Likewise.
17999         (run_test_backwards): Likewise.
18000         * rt/tst-clock.c: Include <stdint.h>.
18001         (clock_test): Replace %ld with %jd and cast to intmax_t.
18002         * rt/tst-cpuclock1.c: Include <stdint.h>.
18003         (do_test): Replace %lu with %ju and cast to uintmax_t.
18004         * rt/tst-cpuclock2.c: Include <stdint.h>.
18005         (do_test): Replace %lu with %ju and cast to uintmax_t.
18006         * rt/tst-mqueue1.c: Include <stdint.h>.
18007         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18008         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18009         intmax_t.
18010         * rt/tst-mqueue4.c (do_test): Likewise.
18011         * rt/tst-timer4.c: Include <stdint.h>.
18012         (check_ts): Replace %ld with %jd and cast to intmax_t.
18013         (do_test): Likewise.
18014         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18015         and cast to intmax_t.
18016         * sysdeps/pthread/tst-timer.c (main): Likewise.
18017         * time/clocktest.c (main): Likewise.
18018         * time/tst-posixtz.c (do_test): Likewise.
18019         * timezone/tst-timezone.c (main): Likewise.
18021 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18022             H.J. Lu  <hongjiu.lu@intel.com>
18024         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18025         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18026         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18027         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18028         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18029         version if bit_Fast_Unaligned_Load is set.
18030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18037         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18038         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18039         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18040         to 4.
18041         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18042         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18043         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18044         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18046 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18048         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18049         instead of #if to avoid a Wundef warning.
18050         * stdlib/tst-limits.c (do_test): Likewise.
18052         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18053         parallel other exception macros.
18054         (fegetenv): Convert from macro to extern inline so that it applies
18055         retroactively to inline functions already seen by the compiler.
18056         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18058         * posix/Makefile (before-compile): Use $(objpfx) for
18059         posix-conf-vars-def.h.
18061 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18063         * posix/getconf.c (main): Use size_t for type of I.
18064         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18065         NSPEC.
18067         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18068         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18069         * posix/posix-envs.def: Likewise.
18070         * sysdeps/posix/sysconf.c: Likewise.
18071         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18072         (specs): Remove array.
18073         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18074         array.
18076         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18077         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18078         (__sysconf): Use CONF_IS_* macros.
18080         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18081         ($(objpfx)posix-conf-vars-def.h): New target.
18082         * posix/posix-conf-vars.list: New file.
18083         * posix/posix-conf-vars.h: New file.
18084         * posix/confstr.c: Include posix-conf-vars.h.
18085         (confstr): Use CONF_IS_* macros.
18086         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18087         CONF_IS_* macros.
18088         * scripts/gen-posix-conf-vars.awk: New file.
18090 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18092         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18093         fegetround): Add no-op macros to avoid linknamespace issues.
18095         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18096         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18098         * sysdeps/unix/sysv/linux/tile/sysdep.h
18099         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18100         assembly-specific section to avoid a redefinition warning.
18102         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18103         long before casting to pointer to avoid a cast warning.
18105 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18107         * sysdeps/tile/tilegx/Implies: New file.
18109 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18111         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18113 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18115         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18117 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18120         not define.
18121         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18122         <kernel-features.h>.
18123         (__utimes) [__NR_utimes]: Make code unconditional.
18124         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18126         (__ASSUME_UTIMES): Do not undefine.
18127         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18128         (__ASSUME_UTIMES): Likewise.
18129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18130         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18131         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18132         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18134 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18136         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18138 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18140         [BZ #17747]
18141         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18142         alias to weak alias for j0l, y0l.
18143         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18144         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18146         [BZ #17746]
18147         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18148         conversion.
18150 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18152         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18153         to zero if not already defined.
18155 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18157         [BZ #17724]
18158         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18159         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18160         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18161         (char *) casts added.
18162         * sysdeps/ieee754/k_standardf.c: New file.
18163         * sysdeps/ieee754/k_standardl.c: Likewise.
18164         * math/Makefile (libm-support): Remove k_standard.
18165         (libm-calls): Add k_standard.
18167 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18169         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18170         Optimize to avoid an unnecessary FPCR read.
18172 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18174         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18175         Optimize to reduce FPCR/FPSR accesses.
18177 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18179         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18180         Call libc_fetestexcept_aarch64.
18182 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18184         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18185         Call libc_fesetround_aarch64.
18187 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18189         [BZ #17733]
18190         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18191         (__bind): Do not define as weak alias.
18192         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18193         define.
18194         (__getsockname): Do not define as weak alias.
18196 2014-12-22  Will Newton  <will.newton@linaro.org>
18198         * manual/install.texi: Document that we require bison 2.7
18199         or above.
18200         * INSTALL: Regenerate.
18201         * configure.ac: Use AC_CHECK_PROG_VER instead of
18202         AC_PATH_PROG when checking for bison and check for
18203         version 2.7 or above.
18204         * configure: Regenerate.
18206 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18208         [BZ #17745]
18209         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18210         * sysdeps/tile/ffsll.c (ffsll): To here.
18212         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18214 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18216         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18217         if not defined.
18218         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18219         definition.
18220         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18221         hidden ___tls_get_addr.
18222         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18223         hidden __tls_get_addr.
18224         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18225         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18226         Likewise.
18228 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18230         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18231         _dl_init call.
18233 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18235         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18236         from "call _dl_init@PLT".
18237         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18239 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18241         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18242         guarantees.
18244 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18246         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18248 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18250         [BZ #17744]
18251         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18252         strnlen.
18254 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18256         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18257         of multu on MIPSr6.
18258         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18259         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18260         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18261         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18262         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18264 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18266         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18267         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18268         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18269         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18270         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18271         mips32r6/mips64r6.
18272         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18274 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18276         * string/strncat.c (STRNCAT): Simplify implementation.
18278 2014-12-19  David S. Miller  <davem@davemloft.net>
18280         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18281         access the quad as both a long double and as a series of 4 words.
18283         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18284         link_map->l_info array access.
18286 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18288         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18290         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18291         * math/atest-exp2.c (TIMEOUT): Likewise.
18292         * math/atest-sincos.c (TIMEOUT): Likewise.
18294 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18296         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18297         -Wno-error with -fno-builtin-lround.
18299 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18301         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18302         Contains futex constants and functions moved over from ...
18303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18304         <lowlevellock-futex.h>.
18305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18306         (lll_timedwait_tid): Add comments and parentheses around macro
18307         arguments.
18309 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18312         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18313         (__lll_private_flag): Remove.
18314         (lll_futex_wait): Likewise.
18315         (lll_futex_timed_wait): Likewise.
18316         (lll_futex_wake): Likewise.
18317         (lll_futex_requeue): Likewise.
18318         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18319         (__lll_timedwait_tid): Spell out argument names.
18320         (lll_timedwait_tid): Add comments and parentheses around macro
18321         arguments.
18322         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18323         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18325 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18327         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18328         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18329         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18330         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18331         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18332         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18333         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18335         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18341         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18342         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18343         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18344         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18345         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18347 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18349         * sysdeps/x86_64/x32/Makefile: New file.
18351 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18353         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18354         1L with (mp_limb_t) 1.
18356 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18358         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18359         * nptl/libc_pthread_init.c: ... here.
18360         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18361         * nptl/register-atfork.c: ... here.
18363         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18364         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18365         Use assert_perror to check its return value.
18366         (__gai_create_helper_thread): Likewise.
18368         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18370         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18372 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18374         [BZ #17725]
18375         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18376         __profil_counter.
18377         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18378         Likewise.
18379         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18380         Likewise.
18381         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18382         Likewise.
18383         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18384         (profil_counter): Likewise.
18385         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18386         (profil_counter): Likewise.
18387         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18388         Likewise.
18389         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18390         Likewise.
18391         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18392         (profil_counter): Likewise.
18393         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18394         Likewise.
18395         [!__profil_counter] (profil_counter): Define as weak alias of
18396         __profil_counter.
18397         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18398         (profil_counter): Rename to __profil_counter.
18399         [!__profil_counter] (profil_counter): Define as weak alias of
18400         __profil_counter.
18401         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18402         (profil_counter): Rename to __profil_counter.
18403         [!__profil_counter] (profil_counter): Define as weak alias of
18404         __profil_counter.
18405         * sysdeps/posix/profil.c: Update comment referring to
18406         profil_counter.
18407         (__profil): Use __profil_counter instead of profil_counter.
18408         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18409         __profil_counter.  Use __profil_counter_ushort and
18410         __profil_counter_uint in definitions.
18411         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18412         instead of profil_counter_uint and profil_counter_ushort.
18414         [BZ #17722]
18415         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18416         define as weak alias of __inet_makeaddr.
18417         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18418         as weak alias of __inet_addr.
18419         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18420         as weak alias of __inet_pton.  Use libc_hidden_weak.
18421         * include/arpa/inet.h (__inet_pton): Declare.  Use
18422         libc_hidden_proto.
18423         (inet_makeaddr): Don't use libc_hidden_proto.
18424         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18425         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18426         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18427         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18428         Remove variable.
18429         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18430         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18432 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18434         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18436 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18438         * stdio-common/bug-vfprintf-nargs.c (do_test):
18439         Cast value to intptr_t to avoid format warning
18440         for usage with PRIdPTR printing macro.
18442 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18444         * libio/tst-widetext.c (do_test):
18445         Use format type %td instead of %Zd for ptrdiff_t
18446         in order to avoid format warning.
18448 2014-12-17  Andreas Schwab  <schwab@suse.de>
18450         * nscd/mem.c (gc): Add size_t cast to match printf format.
18452 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18454         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18455         (init): Apply PTR_MANGLE to pointers before storing them.
18456         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18457         before using them.
18459 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18461         [BZ #17719]
18462         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18463         define as weak alias of __memrchr.
18464         (__memrchr): Do not define as strong alias of memrchr.
18465         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18466         Remove variable.
18467         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18468         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18469         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18471         [BZ #17717]
18472         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18473         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18474         (if_indextoname): Rename to __if_indextoname and define as weak
18475         alias of __if_indextoname.  Use libc_hidden_weak.
18476         (if_freenameindex): Rename to __if_freenameindex and define as
18477         weak alias of __if_freenameindex.
18478         (if_nameindex): Rename to __if_nameindex and define as weak alias
18479         of __if_nameindex.
18480         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18481         __if_nametoindex and define as weak alias of __if_nametoindex.
18482         Use libc_hidden_weak.
18483         (if_freenameindex): Rename to __if_freenameindex and define as
18484         weak alias of __if_freenameindex.
18485         (if_nameindex): Rename to __if_nameindex and define as weak alias
18486         of __if_nameindex.
18487         (if_indextoname): Rename to __if_indextoname and define as weak
18488         alias of __if_indextoname.  Use libc_hidden_weak.
18489         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18490         __if_nametoindex and define as weak alias of __if_nametoindex.
18491         Use libc_hidden_weak.
18492         (if_freenameindex): Rename to __if_freenameindex and define as
18493         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18494         (if_nameindex_netlink): Use __if_freenameindex instead of
18495         if_freenameindex.
18496         (if_nameindex): Rename to __if_nameindex and define as weak alias
18497         of __if_nameindex.  Use libc_hidden_weak.
18498         (if_indextoname): Rename to __if_indextoname and define as weak
18499         alias of __if_indextoname.  Use libc_hidden_weak.
18500         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18501         libc_hidden_proto.
18502         [!_ISOMAC] (__if_freenameindex): Likewise.
18503         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18504         if_nametoindex.
18505         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18506         variable.
18507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18508         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18509         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18510         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18511         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18512         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18513         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18515         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18516         Remove variable.
18517         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18518         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18520 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18522         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18523         subscript above bounds'
18525         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18526         bounds.
18528 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18530         * libio/tst-fopenloc.c: Use test-skeleton.c.
18532         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18533         (entry): Rename to ITEM.
18534         (do_test, comp): Adjust.
18536         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18538 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18540         * string/tester.c: Include <libc-internal.h>.
18541         (test_memset): Ignore -Wmemset-transposed-args.
18543 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18545         * misc/tst-mntent2.c (do_test): Fix warning.
18547 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18549         * elf/tst-unique4lib.cc(a): Mark as used.
18551 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18553         [BZ #17630]
18554         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18555         names.
18557 2014-12-16  Allan McRae  <allan@archlinux.org>
18559         * stdio-common/Makefile (tests): Re-add bug26.
18561 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18563         [BZ #17657]
18564         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18565         static array.
18567 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18569         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18570         (__lll_lock_wait): Likewise.
18571         (__lll_timedlock_wait): Likewise.
18572         (__lll_timedwait_tid): Likewise.
18573         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18574         (__lll_robust_timedlock_wait): Likewise.
18575         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18576         (lll_cond_trylock): Likewise.
18577         (__lll_lock): Likewise.
18578         (__lll_robust_lock): Likewise.
18579         (__lll_cond_lock): Likewise.
18580         (lll_robust_cond_lock): Likewise.
18581         (__lll_timedlock): Likewise.
18582         (__lll_robust_timedlock): Likewise.
18583         (__lll_unlock): Likewise.
18584         (__lll_robust_unlock): Likewise.
18585         (lll_wait_tid): Likewise.
18586         (lll_timedwait_tid): Likewise.
18588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18590         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18592 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18594         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18596 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18598         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18599         * stdio-common/tst-sprintf.c: Likewise.
18601 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18603         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18605 2014-12-15  Jeff Law  <law@redhat.com>
18607         [BZ #16617]
18608         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18609         on the heap.  (CVE-2012-3406)
18610         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18611         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18612         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18614 2014-12-15  Will Newton  <will.newton@linaro.org>
18616         * manual/install.texi: Bump required version of texinfo
18617         to 4.7 from 4.5.
18618         * INSTALL: Regenerated.
18619         * configure.ac: Check for makeinfo version 4.7 and above.
18620         * configure: Regenerated.
18622 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18624         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18625         PREFIX, string constant to insert between directory and name.
18626         * sysdeps/posix/shm_open.c: Update caller.
18627         * sysdeps/posix/shm_unlink.c: Likewise.
18628         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18629         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18630         (SEM_SHM_PREFIX): New macro.
18631         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18632         [$(have-thread-library) = no].
18633         * nptl/Makefile (libpthread-routines): Add shm-directory.
18634         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18635         * sysdeps/nptl/shm-directory.h: New file.
18636         * sysdeps/posix/shm-directory.c
18637         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18638         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18639         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18640         INTERNAL_SYSCALL.
18641         (__where_is_shmfs): Function removed.
18642         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18643         Variables removed.
18644         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18645         Use SHM_GET_NAME.
18646         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18648         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18649         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18650         unconditional for use inside libpthread.
18651         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18653 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18655         * nptl/pthread_getaffinity.c: New file.
18656         * nptl/pthread_setaffinity.c: New file.
18657         * nptl/pthread_getname.c: New file.
18658         * nptl/pthread_setname.c: New file.
18660         * nptl/pthread_create.c (START_THREAD_DEFN)
18661         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18663 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18664             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18666         * resolv/res_send.c (send_vc): Disable warning resplen may
18667         be used uninitialized.
18669 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18671         * nptl/tst-mutex6.c
18672         (ATTR_NULL): New define checks ATTR against NULL.
18673         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18674         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18676 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18678         [BZ #17581]
18679         * malloc/hooks.c
18680         (mem2mem_check): Revert my previous change.
18681         (malloc_check_get_size): Revert my previous change.
18682         (mem2chunk_check): Revert my previous change.
18684 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18686         * sysdeps/posix/shm-directory.c: New file.
18687         * sysdeps/posix/shm-directory.h: New file.
18688         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18689         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18690         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18691         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18692         Transmute EPERM to EACCES.
18693         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18694         from ...
18695         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18696         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18698 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18700         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18701         pointer and cast to uintptr_t.
18702         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18704         Add cast to avoid warning.
18705         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18707 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18709         * nptl/semaphore.h: Move to ...
18710         * sysdeps/pthread/semaphore.h: ... here.
18711         * Makefile (installed-headers): Change nptl/semaphore.h to
18712         sysdeps/pthread/semaphore.h.
18714 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18716         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18717         generated error format strings.
18719         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18720         -Wformat-extra-args warnings for scanf formats.
18721         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18722         test of zero-length format (duh).
18723         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18724         corner-case scanf format test.
18725         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18726         generated fprintf format string.
18727         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18728         corner-case sprintf format tests.
18729         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18730         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18731         -Wformat-extra-args warnings throughout.
18732         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18733         (CFLAGS-scanf4.c): Likewise.
18734         (CFLAGS-scanf7.c): Likewise.
18735         (CFLAGS-tst-sprintf.c): Likewise.
18736         (CFLAGS-tst-printf.c): Likewise.
18737         (CFLAGS-tst-printfsz.c): Likewise.
18739 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18741         * include/cpio.h: New file.
18742         * include/fmtmsg.h: Likewise.
18744         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18745         corresponding format argument to size_t.
18746         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18747         arguments.
18748         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18749         corresponding format argument to size_t.
18750         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18751         arguments.
18752         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18753         corresponding format argument to size_t.
18754         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18755         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18756         (CFLAGS-tst-mbswcs2.c): Likewise.
18757         (CFLAGS-tst-mbswcs3.c): Likewise.
18758         (CFLAGS-tst-mbswcs4.c): Likewise.
18759         (CFLAGS-tst-mbswcs5.c): Likewise.
18760         (CFLAGS-tst-trans.c): Likewise.
18762 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18764         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18765         rather than assuming they won't contain any '%'s.
18767 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18769         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18770         inhibit_loop_to_libcall to avoid recursive calls.
18771         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18772         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18774 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18776         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18777         prototype.
18779 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18781         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18782         integer value instead of boolean.
18784 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18786         * malloc/malloc.c: Fix powerof2 check.
18788 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18790         * locale/programs/locfile.h (maybe_swap_uint32):
18791         Remove inline and add unused attribute.
18793 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18796         Truncating assembler expression to a .long expression.
18798 2014-12-11  Andreas Schwab  <schwab@suse.de>
18800         * elf/rtld.c (struct map_args): Constify str member.
18801         (do_preload): Constify fname argument.
18803 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18806         constants definition.
18808 2014-12-11  Andreas Schwab  <schwab@suse.de>
18810         [BZ #16657]
18811         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18812         FORCE_ELISION instead of DO_ELISION.
18813         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18814         Remove.
18815         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18816         Likewise.
18818         * iconvdata/gconv-modules: Remove duplicate entry.
18820 2014-12-11  Will Newton  <will.newton@linaro.org>
18822         Merge gettext 0.19.3 into intl/.
18824         This involves a number of cosmetic changes to comments
18825         and ANSI function definitions and prototypes throughout
18826         all the files. The gettext copyright header is used but
18827         with the date ranges taken from the glibc copy.
18829         * NEWS: Add gettext merge to 2.21.
18830         * intl/bindtextdom.c: Switch to gettext copyright.
18831         Use ANSI definitions and prototypes.
18832         Use gl_* locking primitives rather than __libc_* ones.
18833         Use __builtin_expect rather than __glibc_likely/unlikely.
18834         * intl/dcgettext.c: Switch to gettext copyright.
18835         Use ANSI definitions and prototypes.
18836         * intl/dcigettext.c: Switch to gettext copyright.
18837         Use ANSI definitions and prototypes.
18838         (INTDIV0_RAISES_SIGFPE): New define.
18839         Use gl_* locking primitives rather than __libc_* ones.
18840         Include eval-plural.h instead of plural-eval.c.
18841         Use __builtin_expect rather than __glibc_likely/unlikely.
18842         * intl/dcngettext.c: Switch to gettext copyright.
18843         Use ANSI definitions and prototypes.
18844         * intl/dgettext.c: Likewise.
18845         * intl/dngettext.c: Likewise.
18846         * intl/plural-eval.c: Renamed to...
18847         * intl/eval-plural.h: ...this.
18848         * intl/explodename.c: Switch to gettext copyright.
18849         Use ANSI definitions and prototypes.
18850         (_nl_explode_name): Use strchr instead of __rawmemchr.
18851         * intl/finddomain.c: Switch to gettext copyright.
18852         Use ANSI definitions and prototypes.
18853         Use gl_* locking primitives rather than __libc_* ones.
18854         (_nl_find_domain): Use malloc rather than alloca for
18855         allocation of temporary locale name.
18856         * intl/gettext.c: Switch to gettext copyright.
18857         Use ANSI definitions and prototypes.
18858         * intl/gettextP.h: Switch to gettext copyright.
18859         Use ANSI definitions and prototypes.
18860         Use gl_* locking primitives rather than __libc_* ones.
18861         * intl/gmo.h: Switch to gettext copyright.
18862         (struct sysdep_string): Move struct segment_pair outside of
18863         struct definition.
18864         * intl/hash-string.c: Use ANSI definitions and prototypes.
18865         * intl/hash-string.h: Switch to gettext copyright.
18866         Use ANSI definitions and prototypes.
18867         * intl/l10nflist.c: Switch to gettext copyright.
18868         Use ANSI definitions and prototypes.
18869         (_nl_normalize_codeset): Avoid integer overflow.
18870         * intl/loadinfo.h: Switch to gettext copyright.
18871         Use ANSI definitions and prototypes.
18872         (LIBINTL_DLL_EXPORTED): New define.
18873         (PATH_SEPARATOR): New define.
18874         * intl/loadmsgcat.c: Switch to gettext copyright.
18875         * intl/localealias.c: Switch to gettext copyright.
18876         Use ANSI definitions and prototypes.
18877         (_nl_expand_alias): Use PATH_SEPARATOR.
18878         * intl/ngettext.c: Switch to gettext copyright.
18879         Use ANSI definitions and prototypes.
18880         * intl/plural-exp.c: Likewise.
18881         * intl/plural-exp.h: Switch to gettext copyright.
18882         Use ANSI definitions and prototypes.
18883         (struct expression): Move definition of enum operator outside
18884         of struct definition.
18885         * intl/plural.c: Regenerate.
18886         * intl/plural.y: Switch to gettext copyright.
18887         Use ANSI definitions and prototypes.
18888         Port to bison 3.0.
18889         * intl/textdomain.c: Switch to gettext copyright.
18890         Use ANSI definitions and prototypes.
18891         Use gl_* locking primitives rather than __libc_* ones.
18893 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18895         * debug/warning-nop.c: Add used atrribute.
18897 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18899         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18901         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18902         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18903         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18905 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18908         [BZ #17634]
18909         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18910         Undefine after defining function.  Define as weak alias of
18911         __wcschr.  Use libc_hidden_weak.
18912         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18913         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18914         (libc_hidden_def): Also define __GI___wcschr alias.
18915         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18916         __wcschr and define as weak alias of __wcschr.
18917         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18918         __wcschr.
18919         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18920         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18921         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18922         libc_hidden_weak.  Do not use libc_hidden_def.
18923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18924         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18925         __GI___wcschr alias.
18926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18927         [IS_IN (libc)] (wcschr): Define as macro expanding to
18928         __redirect_wcschr.
18929         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18930         [IS_IN (libc)] (__wcschr_power6): Likewise.
18931         [IS_IN (libc)] (__wcschr_power7): Likewise.
18932         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18933         instead of wcschr.
18934         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18935         __libc_wcschr.
18936         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18937         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18938         __wcschr and define as weak alias of __wcschr.  Use
18939         libc_hidden_builtin_def.
18940         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18941         as weak alias of __wcschr.  Use libc_hidden_weak.
18942         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18943         wcschr.
18944         * time/era.c (_nl_init_era_entries): Likewise.
18945         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18946         variable.
18947         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18948         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18950 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18952         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18953         format for long int variable.
18955 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18957         [BZ #10672]
18958         * manual/search.texi: (Array Sort Function): Remove claim how to make
18959         qsort stable.
18961 2014-12-10  Andreas Schwab  <schwab@suse.de>
18963         [BZ #12847]
18964         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18965         user-controlled locks.
18967 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18969         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18970         register.
18972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18974         * configure.ac (--disable-werror): New configure option.
18975         (enable_werror): New AC_SUBST.
18976         * configure: Regenerated.
18977         * config.make.in (enable-werror): New variable.
18978         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18979         -Wno-error=undef.
18980         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18981         * manual/install.texi (Configuring and compiling): Document
18982         --disable-werror.
18983         * INSTALL: Regenerated.
18984         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18985         (CFLAGS-tst-chk2.c): Likewise.
18986         (CFLAGS-tst-chk3.c): Likewise.
18987         (CFLAGS-tst-chk4.cc): Likewise.
18988         (CFLAGS-tst-chk5.cc): Likewise.
18989         (CFLAGS-tst-chk6.cc): Likewise.
18990         (CFLAGS-tst-lfschk1.c): Likewise.
18991         (CFLAGS-tst-lfschk2.c): Likewise.
18992         (CFLAGS-tst-lfschk3.c): Likewise.
18993         (CFLAGS-tst-lfschk4.cc): Likewise.
18994         (CFLAGS-tst-lfschk5.cc): Likewise.
18995         (CFLAGS-tst-lfschk6.cc): Likewise.
18997         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18998         (main): Disable -Wdeprecated-declarations around calls to
18999         register_printf_function.
19001         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19002         (do_test): Disable -Wdiv-by-zero around some calls to
19003         fwrite_unlocked and fread_unlocked.
19005         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19006         (DIAG_POP_NEEDS_COMMENT): Likewise.
19007         (_DIAG_STR1): Likewise.
19008         (_DIAG_STR): Likewise.
19009         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19010         * stdio-common/bug21.c: Include <libc-internal.h>.
19011         (do_test): Disable -Wformat around call to sscanf.
19012         * stdio-common/scanf14.c: Include <libc-internal.h>.
19013         (main): Disable -Wformat around some calls to scanf functions.
19015 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19017         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19019 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19021         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19022         stack variable alignment.
19024 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19026         [BZ #17682]
19027         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19028         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19029         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19030         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19031         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19032         __getrlimit instead of getrlimit.
19033         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19034         __gettimeofday instead of gettimeofday.
19035         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19036         Likewise.
19037         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19038         Likewise.
19039         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19040         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19041         Remove variable.
19042         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19043         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19045 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19047         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19048         for wide-character tests.
19050 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19052         * io/openat64.c: #include <libc-internal.h>
19053         (__openat64): Prototypify.  Use ignore_value on MODE.
19054         * io/openat.c: Likewise.
19055         * misc/reboot.c: #include <libc-internal.h>
19056         (reboot): Prototypify.  Use ignore_value on HOWTO.
19057         * misc/ptrace.c: #include <libc-internal.h>
19058         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19060 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19062         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19063         XPG4, UNIX98 and XOPEN2K.
19064         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19065         Remove variable.
19066         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19068 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19070         * libio/fileops.c: Use ISO C style for function definitions.
19071         * libio/iofopen.c: Likewise.
19072         * libio/wfileops.c: Likewise.
19074         [BZ #17653]
19075         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19076         offset on EOF.
19077         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19078         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19079         (fgets_func): Function pointer to fgets and fgetws.
19080         (do_ftell_test): Add test to verify ftell value after read
19081         EOF.
19082         (do_test): Set fgets_func.
19084         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19085         O_TRUNC flag for w and w+ modes.
19086         (do_rewind_test): Likewise.
19087         (do_ftell_test): Likewise.
19088         (do_write_test): Likewise.
19090         [BZ #17647]
19091         * libio/fileops.c (do_ftell): Seek only when there are
19092         unflushed writes.
19093         * libio/wfileops.c (do_ftell_wide): Likewise.
19094         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19095         test case.
19096         (do_one_test): Call it.
19098 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19100         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19101         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19102         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19103         Remove variable.
19104         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19105         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19106         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19108 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19110         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19111         Remove variable.
19112         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19114         [BZ #17668]
19115         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19116         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19117         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19118         __freeifaddrs.  Use libc_hidden_weak.
19119         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19120         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19121         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19122         __freeifaddrs.  Use libc_hidden_weak.
19123         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19124         __getifaddrs and define as weak alias of __getifaddrs.  Use
19125         libc_hidden_weak.
19126         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19127         __freeifaddrs.  Use libc_hidden_weak.
19128         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19129         Remove variable.
19130         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19131         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19133 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19135         [BZ #17601]
19136         * sysdeps/mips/start.S (__start): Use indirect jump to call
19137         __libc_start_main.
19139 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19141         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19143         * nptl/tst-mutex1.c: Include <stdbool.h>.
19144         [!ATTR] (ATTR_NULL): New macro.
19145         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19146         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19147         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19149         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19150         to char *.
19152         [BZ #17665]
19153         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19154         Change conditional to [__USE_MISC].
19156         [BZ #17664]
19157         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19158         fgets_unlocked.
19159         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19160         __fgets_unlocked.
19161         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19162         fgets_unlocked.
19163         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19164         Remove variable.
19165         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19166         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19167         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19168         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19169         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19170         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19171         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19172         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19173         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19175         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19177 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19180         Remove strpbrk objects.
19181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19182         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19183         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19184         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19185         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19186         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19189         Remove strcspn objects.
19190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19191         (__libc_ifunc_impl_list): Remove strcspn implementation.
19192         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19193         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19194         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19195         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19198         Remove strspn objetcs.
19199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19200         (__libc_ifunc_impl_list): Remove strspn implementation.
19201         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19203         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19204         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19206 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19208         [BZ #17581]
19209         * malloc/hooks.c
19210         (mem2mem_check): Add a terminator to the chain of checking blocks.
19211         (malloc_check_get_size): Use it here.
19212         (mem2chunk_check): Ditto.
19214 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19216         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19217         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19219 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19221         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19223         * nptl/nptl-init.c: Include libc-internal.h.
19224         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19226         * elf/ldconfig.c (search_dir): Expand comment.
19228 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19230         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19231         variable.
19232         (linknamespace-symlist-stdlibs-tests): Likewise.
19233         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19234         instead of $(objpfx)symlist-stdlibs.
19235         (linknamespace-libs-isoc): New variable.
19236         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19237         (linknamespace-libs-ISO): New variable.
19238         (linknamespace-libs-ISO99): Likewise.
19239         (linknamespace-libs-ISO11): Likewise.
19240         (linknamespace-libs-XPG3): Likewise.
19241         (linknamespace-libs-XPG4): Likewise.
19242         (linknamespace-libs-POSIX): Likewise.
19243         (linknamespace-libs-UNIX98): Likewise.
19244         (linknamespace-libs-XOPEN2K): Likewise.
19245         (linknamespace-libs-POSIX2008): Likewise.
19246         (linknamespace-libs-XOPEN2K8): Likewise.
19247         ($(objpfx)symlist-stdlibs): Replace by
19248         $(linknamespace-symlist-stdlibs-tests).  Use
19249         $(linknamespace-libs-$*) as set of libraries.
19250         ($(linknamespace-header-tests)): Update dependencies.  Use
19251         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19252         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19253         * conform/linknamespace.pl: Remove comment about considering
19254         definitions of symbols from irrelevant libraries.
19256 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19258         [BZ #13862]
19259         * elf/dl-tls.c: Include <atomic.h>.
19260         (oom): Remove #ifdef SHARED/#endif.
19261         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19262         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19263         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19264         big enough.
19265         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19266         * nptl/Makefile (tests): Add tst-stack4.
19267         (modules-names): Add tst-stack4mod.
19268         ($(objpfx)tst-stack4): New.
19269         (tst-stack4mod.sos): Likewise.
19270         ($(objpfx)tst-stack4.out): Likewise.
19271         ($(tst-stack4mod.sos)): Likewise.
19272         (clean): Likewise.
19273         * nptl/tst-stack4.c: New file.
19274         * nptl/tst-stack4mod.c: Likewise.
19276 2014-11-27  J. Brown  <jb999@gmx.de>
19278         * sysdeps/x86/bits/string.h: Add recent CPUs.
19280 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19282         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19283         sigblock.
19285         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19286         feof.
19288         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19289         variable.
19291 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19293         * nscd/connections.c: Include libc-internal.h because of macro
19294         usage ignore_value.
19296 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298         * string/bits/string3.h (__warn_memset_zero_len): Don't
19299         declare for gcc newer than 5.0.
19300         (memset): Don't test for zero-length __LEN for gcc newer than
19301         5.0.
19303 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19305         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19306         size_t for %zu format.
19308         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19309         difference, not %ju.
19311 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19313         * include/libc-internal.h (ignore_value): New macro.
19314         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19315         with ignore_value.
19317         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19318         definition.
19320         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19321         pthread_cleanup_push to void *.
19323         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19324         Undefine.
19326         [BZ #16619]
19327         [BZ #16740]
19328         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19329         instead of 1L << 52.
19331         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19332         * libio/bug-rewind2.c (do_test): Likewise.
19334         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19335         * debug/test-strcpy_chk-ifunc.c: Likewise.
19336         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19337         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19338         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19339         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19340         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19341         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19342         * Rules [$(multi-arch) = no] (tests): Do not filter out
19343         $(tests-ifunc).
19344         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19345         * debug/Makefile (tests-ifunc): Remove variable.
19346         (tests): Do not add $(tests-ifunc).
19347         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19348         (tests): Do not add $(tests-ifunc).
19349         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19350         [TEST_IFUNC]: Remove conditionals.
19351         * string/test-string.h (TEST_IFUNC): Remove macro.
19352         [TEST_IFUNC]: Remove conditionals.
19354         * string/test-strchr.c [!WIDE] (L): New macro.
19355         [WIDE] (L): Likewise.
19356         (check1): Use CHAR instead of char.  Use L on string and character
19357         constants.
19359 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19361         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19362         tests.
19363         * sysdeps/powerpc/bits/atomic.h
19364         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19365         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19366         (atomic_exchange_and_add_acq): Likewise.
19367         (atomic_exchange_and_add_rel): Likewise.
19368         * sysdeps/powerpc/powerpc32/bits/atomic.h
19369         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19370         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19371         * sysdeps/powerpc/powerpc64/bits/atomic.h
19372         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19373         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19375 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19377         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19378         Change synchronization of __sched_fifo_min_prio and
19379         __sched_fifo_max_prio.
19380         * nptl/pthread_mutexattr_getprioceiling.c
19381         (pthread_mutexattr_getprioceiling): Likewise.
19382         * nptl/pthread_mutexattr_setprioceiling.c
19383         (pthread_mutexattr_setprioceiling): Likewise.
19384         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19385         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19386         Likewise.
19388 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19390         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19391         void.
19393 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19395         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19396         third argument const.
19398 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19400         fnmatch: work around GCC compiler warning bug with uninit var
19401         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19402         This works around a bug with x86-64 GCC 4.9.2 and earlier
19403         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19404         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19405         used uninitialized in this function [-Wmaybe-uninitialized]".
19407 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19409         * posix/bug-regex31.c (main): Return RES not 0.
19411 2014-11-25  Anton Blanchard <anton@samba.org>
19413         * sysdeps/powerpc/bits/atomic.h
19414         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19416 2014-11-24  Sterling Augustine  <saugustine@google.com>
19418         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19420 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19422         [BZ #17608]
19423         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19425 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #17633]
19428         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19429         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19430         variable.
19431         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19432         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19434 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19436         * string/strncpy.c (strncpy): Improve performance by using memset.
19438 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19440         * string/strcpy.c (strcpy):
19441         Improve performance by using strlen and memcpy.
19443 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19445         * string/strcoll_l.c (get_next_seq): __always_inline.
19446         * string/strcoll_l.c (do_compare): __always_inline.
19448 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19450         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19451         defined.
19452         * include/mqueue.h: Likewise.
19453         * include/stdlib.h: Likewise.
19455         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19456         (get_null_defines): Adjust.
19457         * sunrpc/Makefile: Adjust comment.
19458         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19459         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19460         (CFLAGS-interp.c): Likewise.
19461         (CFLAGS-ldconfig.c): Likewise.
19462         (CPPFLAGS-.os): Likewise.
19463         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19464         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19465         * extra-modules.mk (extra-modules.mk): Likewise.
19466         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19467         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19468         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19469         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19470         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19471         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19472         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19473         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19474         * iconvdata/Makefile (CPPFLAGS): Likewise.
19475         (cpp-srcs-left): Add libof for all iconvdata routines.
19476         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19477         * include/assert.h: Likewise.
19478         * include/ctype.h: Likewise.
19479         * include/errno.h: Likewise.
19480         * include/libc-symbols.h: Likewise.
19481         * include/math.h: Likewise.
19482         * include/netdb.h: Likewise.
19483         * include/resolv.h: Likewise.
19484         * include/stdio.h: Likewise.
19485         * include/stdlib.h: Likewise.
19486         * include/string.h: Likewise.
19487         * include/sys/stat.h: Likewise.
19488         * include/wctype.h: Likewise.
19489         * intl/l10nflist.c: Likewise.
19490         * libidn/idn-stub.c: Likewise.
19491         * libio/libioP.h: Likewise.
19492         * nptl/libc_multiple_threads.c: Likewise.
19493         * nptl/pthreadP.h: Likewise.
19494         * posix/regex_internal.h: Likewise.
19495         * resolv/res_hconf.c: Likewise.
19496         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19497         * sysdeps/arm/memmove.S: Likewise.
19498         * sysdeps/arm/sysdep.h: Likewise.
19499         * sysdeps/generic/_itoa.h: Likewise.
19500         * sysdeps/generic/symbol-hacks.h: Likewise.
19501         * sysdeps/gnu/errlist.awk: Likewise.
19502         * sysdeps/gnu/errlist.c: Likewise.
19503         * sysdeps/i386/i586/memcpy.S: Likewise.
19504         * sysdeps/i386/i586/memset.S: Likewise.
19505         * sysdeps/i386/i686/memcpy.S: Likewise.
19506         * sysdeps/i386/i686/memmove.S: Likewise.
19507         * sysdeps/i386/i686/mempcpy.S: Likewise.
19508         * sysdeps/i386/i686/memset.S: Likewise.
19509         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19511         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19512         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19513         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19514         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19515         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19516         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19517         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19525         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19526         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19527         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19534         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19535         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19539         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19542         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19543         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19545         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19546         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19547         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19548         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19549         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19550         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19552         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19553         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19554         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19555         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19556         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19560         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19562         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19563         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19564         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19565         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19566         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19567         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19568         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19569         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19570         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19571         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19572         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19573         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19574         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19575         * sysdeps/posix/closedir.c: Likewise.
19576         * sysdeps/posix/opendir.c: Likewise.
19577         * sysdeps/posix/readdir.c: Likewise.
19578         * sysdeps/posix/rewinddir.c: Likewise.
19579         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19580         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19581         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19582         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19583         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19585         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19590         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19592         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19594         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19595         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19596         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19597         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19599         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19600         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19601         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19602         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19603         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19605         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19607         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19615         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19617         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19618         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19619         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19620         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19621         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19623         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19624         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19625         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19627         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19628         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19629         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19630         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19636         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19637         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19638         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19639         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19640         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19642         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19643         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19645         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19646         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19647         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19648         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19649         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19650         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19652         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19653         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19654         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19655         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19656         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19657         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19658         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19659         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19660         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19661         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19663         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19665         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19666         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19667         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19669         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19670         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19671         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19673         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19675         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19677         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19678         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19679         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19680         * sysdeps/unix/alpha/sysdep.S: Likewise.
19681         * sysdeps/unix/alpha/sysdep.h: Likewise.
19682         * sysdeps/unix/make-syscalls.sh: Likewise.
19683         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19686         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19687         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19688         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19689         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19690         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19691         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19692         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19693         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19694         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19697         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19698         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19699         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19700         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19701         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19702         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19703         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19705         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19706         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19707         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19708         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19709         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19712         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19713         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19717         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19721         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19722         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19723         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19724         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19726         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19727         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19733         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19734         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19735         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19736         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19738         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19739         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19741         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19742         * sysdeps/x86_64/memcpy.S: Likewise.
19743         * sysdeps/x86_64/memmove.c: Likewise.
19744         * sysdeps/x86_64/memset.S: Likewise.
19745         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19748         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19749         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19750         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19752         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19753         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19755         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19757         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19760         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19762         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19763         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19764         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19765         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19766         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19767         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19769         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19770         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19771         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19772         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19774         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19776         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19777         * sysdeps/x86_64/strcmp.S: Likewise.
19779         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19781         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19782         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19783         * elf/rtld-Rules: Likewise.
19784         * elf/setup-vdso.h: Likewise.
19785         * include/assert.h: Likewise.
19786         * include/bits/stdlib-float.h: Likewise.
19787         * include/errno.h: Likewise.
19788         * include/sys/stat.h: Likewise.
19789         * include/unistd.h: Likewise.
19790         * sysdeps/aarch64/setjmp.S: Likewise.
19791         * sysdeps/alpha/setjmp.S: Likewise.
19792         * sysdeps/arm/__longjmp.S: Likewise.
19793         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19794         * sysdeps/arm/setjmp.S: Likewise.
19795         * sysdeps/arm/sysdep.h: Likewise.
19796         * sysdeps/generic/_itoa.h: Likewise.
19797         * sysdeps/generic/dl-sysdep.h: Likewise.
19798         * sysdeps/generic/ldsodefs.h: Likewise.
19799         * sysdeps/i386/dl-tls.h: Likewise.
19800         * sysdeps/i386/setjmp.S: Likewise.
19801         * sysdeps/m68k/setjmp.c: Likewise.
19802         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19803         * sysdeps/mach/hurd/opendir.c: Likewise.
19804         * sysdeps/posix/getcwd.c: Likewise.
19805         * sysdeps/posix/opendir.c: Likewise.
19806         * sysdeps/posix/profil.c: Likewise.
19807         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19808         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19809         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19811         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19812         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19814         * sysdeps/s390/dl-tls.h: Likewise.
19815         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19816         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19817         * sysdeps/sh/sh3/setjmp.S: Likewise.
19818         * sysdeps/sh/sh4/setjmp.S: Likewise.
19819         * sysdeps/unix/alpha/sysdep.h: Likewise.
19820         * sysdeps/unix/arm/sysdep.S: Likewise.
19821         * sysdeps/unix/i386/sysdep.S: Likewise.
19822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19823         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19824         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19828         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19830         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19831         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19832         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19837         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19840         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19842         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19845         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19846         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19847         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19849         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19850         * sysdeps/x86_64/setjmp.S: Likewise.
19852         * include/math.h: Use IS_IN instead of IS_IN_libm.
19853         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19854         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19855         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19857         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19858         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19862         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19863         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19864         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19865         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19866         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19867         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19868         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19869         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19870         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19871         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19872         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19873         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19874         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19875         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19876         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19877         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19878         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19879         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19880         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19881         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19882         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19883         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19884         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19885         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19887         Likewise.
19888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19889         Likewise.
19890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19891         Likewise.
19892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19893         Likewise.
19894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19895         Likewise.
19896         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19897         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19898         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19899         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19900         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19901         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19907         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19908         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19909         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19910         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19912         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19913         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19914         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19915         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19916         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19920         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19922         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19924         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19925         * nptl/pthreadP.h: Likewise.
19926         * nptl_db/structs.def: Likewise.
19927         * sysdeps/arm/sysdep.h: Likewise.
19928         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19929         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19930         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19931         * sysdeps/unix/alpha/sysdep.h: Likewise.
19932         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19934         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19936         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19937         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19939         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19940         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19941         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19942         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19943         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19944         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19945         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19950         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19953         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19954         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19955         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19956         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19957         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19959         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19960         * nptl/pthreadP.h: Likewise.
19961         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19962         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19963         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19964         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19965         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19966         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19967         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19968         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19969         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19970         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19971         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19972         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19974         Likewise.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19976         Likewise.
19977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19979         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19983         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19984         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19986         * dlfcn/dladdr.c: Use IS_IN.
19987         * dlfcn/dladdr1.c: Likewise.
19988         * dlfcn/dlclose.c: Likewise.
19989         * dlfcn/dlerror.c: Likewise.
19990         * dlfcn/dlinfo.c: Likewise.
19991         * dlfcn/dlmopen.c: Likewise.
19992         * dlfcn/dlopen.c: Likewise.
19993         * dlfcn/dlsym.c: Likewise.
19994         * dlfcn/dlvsym.c: Likewise.
19996         * include/ifaddrs.h: Use IS_IN.
19997         * inet/check_pf.c: Likewise.
19998         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19999         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20001         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20002         IS_IN_ldconfig.
20003         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20004         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20006         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20007         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20008         IS_IN (libc).
20010         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20012         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20013         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20014         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20015         * include/libc-symbols.h (IS_IN_LIB): New macro.
20016         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20017         * include/netdb.h: Likewise.
20018         * include/stap-probe.h: Remove all uses of IN_LIB.
20020         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20021         instead of IN_MODULE.
20022         * include/libc-symbols.h (IN_MODULE): Define using
20023         MODULE_NAME.
20024         (PASTE_NAME, PASTE_NAME1): New macros.
20025         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20026         of IN_LIB.
20027         (STAP_PROBE_ASM): Likewise.
20029 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20031         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20032         __mach_init in dlopened libc.
20034 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20036         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20037         * sysdeps/arm/preconfigure: Regenerate.
20039 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20041         * nptl/pthread_create.c (__pthread_create_2_1): Set
20042         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20043         when copying values from IATTR into PD.
20045 2014-11-21  Will Newton  <will.newton@linaro.org>
20046             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20048         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20049         Refactor inline-asm.  Also add comment.
20051         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20052         ElfW macro instead of hardcoded Elf64 types.
20053         (la_aarch64_gnu_pltenter): Likewise.
20054         * sysdeps/aarch64/dl-machine.h
20055         (elf_machine_runtime_setup): Use ElfW(Addr).
20057         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20058         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20059         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20060         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20061         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20062         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20063         (R_AARCH64_TLS_DTPMOD): This.
20064         (R_AARCH64_TLS_DTPREL64): Rename to ...
20065         (R_AARCH64_TLS_DTPREL): This.
20066         (R_AARCH64_TLS_TPREL64): Rename to ...
20067         (R_AARCH64_TLS_TPREL): This.
20068         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20069         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20070         R_AARCH64_TLS_TPREL64.
20071         (elf_machine_rela): Likewise.
20073 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20075         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20076         by setting it to 0.  64b atomics are not supported currently.
20078 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20080         [BZ #16469]
20081         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20082         search domain names.
20084 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20086         [BZ #16469]
20087         * NEWS: Update.
20088         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20089         trailing dot.
20090         * posix/tst-getaddrinfo5.c: New.
20091         * posix/Makefile (tests): Add it.
20093 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20095         [BZ #14498]
20096         * NEWS: Fixed.
20097         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20098         after parsing line but before break_if_match.
20099         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20100         if there is a protocol mismatch.
20102 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20104         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20105         because the potential race is on the user-supplied stream.
20107 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20109         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20110         string literal if not passed a buffer.
20111         * manual/job.texi (ctermid): Update reasoning, note deviation
20112         from posix, suggest mtasurace when not passed a buffer, for
20113         future non-preliminary safety notes.
20115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20117         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20118         of not passing it a buffer.
20119         Reported by Peng Haitao.
20121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20123         * manual/Makefile ($(objpfx)stamp-summary): Require
20124         check-safety.sh to pass.
20125         * manual/check-safety.sh: Wish for verification that every
20126         @deftypefn and @deftypefun is followed by a @safety remark.
20128 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20130         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20132         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20133         PTHREAD_CANCEL_ASYNCHRONOUS.
20134         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20135         send SIGCANCEL.
20137         * nptl/default-sched.h: New file.
20138         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20139         * nptl/pthread_create.c: Include it.
20140         (__pthread_create_2_1): Use collect_default_sched instead of making
20141         Linux syscalls here directly.
20143 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20145         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20146         __pthread_once): Use C11 atomics.
20148 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20150         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20152 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20154         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20155         atomic_thread_fence_acquire, atomic_thread_fence_release,
20156         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20157         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20158         atomic_compare_exchange_weak_relaxed,
20159         atomic_compare_exchange_weak_acquire,
20160         atomic_compare_exchange_weak_release,
20161         atomic_exchange_acquire, atomic_exchange_release,
20162         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20163         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20164         atomic_fetch_and_acquire,
20165         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20167 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20169         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20170         USE_ATOMIC_COMPILER_BUILTINS): Define.
20171         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20173         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20175         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20177         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20179         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20181         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20183         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20185         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20187         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20189         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20191         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20193         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20197         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20199         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20201         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20203         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20205         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20206         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20207         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20209         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20212 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20214         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20215         the sched_priority value here.  It was already checked when the user
20216         called pthread_attr_setschedparam.
20218         * nptl/tst-bad-schedattr.c: New file.
20219         * nptl/Makefile (tests): Add it.
20221 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20222             Florian Weimer  <fweimer@redhat.com>
20223             Joseph Myers  <joseph@codesourcery.com>
20224             Adam Conrad  <adconrad@0c3.net>
20225             Andreas Schwab  <schwab@suse.de>
20226             Brooks  <bmoses@google.com>
20228         [BZ #17625]
20229         * wordexp-test.c (__dso_handle): Add prototype.
20230         (__register_atfork): Likewise.
20231         (__app_register_atfork): New function.
20232         (registered_forks): New global.
20233         (register_fork): New function.
20234         (test_case): Add 3 new tests for WRDE_CMDSUB.
20235         (main): Call __app_register_atfork.
20236         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20237         fork count is non-zero fail the test.
20238         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20239         is set.
20240         (parse_dollars): Remove check for WRDE_NOCMD.
20241         (parse_dquote): Likewise.
20243 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20245         * Makeconfig (built-modules): List non-library modules to be
20246         built.
20247         (module-cppflags): Include libc-modules.h for
20248         everything except shlib-versions.v.i.
20249         (CPPFLAGS): Use it.
20250         (before-compile): Add libc-modules.h.
20251         ($(common-objpfx)libc-modules.h,
20252         $(common-objpfx)libc-modules.stmp): New targets.
20253         (common-generated): Add libc-modules.h and libc-modules.stmp.
20254         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20255         * include/libc-symbols.h: Don't include libc-modules.h.
20256         * include/libc-modules.h: Remove file.
20257         * scripts/gen-libc-modules.awk: New script to generate
20258         libc-modules.h.
20259         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20260         Depend on libc-modules.stmp.
20262         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20264         * Makeconfig (in-module): Get value of libof set for the
20265         translation unit.
20266         (CPPFLAGS): Use $(in-module).
20267         * Makerules: Don't suffix routine names for nonlib.
20268         * include/libc-modules.h: New file.
20269         * include/libc-symbols.h: Include libc-modules.h
20270         (IS_IN): New macro to replace IS_IN_* macros.
20271         * elf/Makefile: Set libof-* for each routine.
20272         * elf/rtld-Rules: Likewise.
20273         * extra-modules.mk: Likewise.
20274         * iconv/Makefile: Likewise.
20275         * iconvdata/Makefile: Likewise.
20276         * locale/Makefile: Likewise.
20277         * malloc/Makefile: Likewise.
20278         * nss/Makefile: Likewise.
20279         * sysdeps/gnu/Makefile: Likewise.
20280         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20281         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20282         * sysdeps/s390/s390-64/Makefile: Likewise.
20283         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20284         CPPFLAGS for nscd instead of nonlib.
20286 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20288         * nptl/createthread.c: New file.
20290         * nptl/createthread.c: Moved ...
20291         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20293         * nptl/createthread.c: Add proper top-line comment.
20294         (do_clone): Folded into ...
20295         (create_thread): ... here.  Take new arguments STOPPED_START and
20296         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20297         increment __nptl_threads, do event-reporting logic, do
20298         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20299         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20300         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20301         just send SIGCANCEL.
20302         * nptl/pthread_create.c: Forward-declare create_thread before
20303         including createthread.c.
20304         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20305         declaration, and new macro START_THREAD_SELF to replace argument.
20306         Remove return statement.
20307         (report_thread_creation): New function.
20308         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20309         synchronization logic, and __nptl_nthreads increment here, around
20310         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20311         PD->parent_cancelhandling here, before create_thread.  When
20312         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20313         __deallocate_stack, and ENOMEM translation here.
20315 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20317         [BZ #17616]
20318         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20319         (mptwo): Rename to __mptwo.
20320         (__inv): Use __mptwo instead of mptwo.
20321         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20322         (mptwo): Rename to __mptwo.
20323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20324         of mpone and __mptwo instead of mptwo.
20325         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20326         instead of mpone.
20327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20328         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20329         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20330         of mpone and __mptwo instead of mptwo.
20331         (__mpranred): Use __mpone instead of mpone.
20332         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20333         variable.
20334         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20335         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20336         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20337         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20338         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20339         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20340         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20341         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20342         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20343         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20344         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20345         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20346         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20347         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20348         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20349         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20350         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20351         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20352         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20354 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20356         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20357         replace BSD Handler xref with BSD Signal Handling.
20359 2014-11-17  Richard Henderson  <rth@redhat.com>
20361         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20362         (_FP_PACK_RAW_2): Remove.
20363         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20364         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20365         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20366         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20367         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20368         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20369         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20370         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20371         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20372         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20373         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20374         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20375         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20376         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20377         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20378         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20380 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20382         * signal/signal.h [__USE_MISC]
20383         (struct sigvec): Remove type.
20384         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20385         (sigvec): Remove declaration.
20386         * sysdeps/posix/sigvec.c: Moved ...
20387         * signal/sigvec.c: ... here, replacing old file.
20388         (struct sigvec): New type, copied from old signal.h definition.
20389         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20390         (__sigvec): Convert definition to prototype.
20391         (sigvec): Replace weak_alias with compat_symbol.
20392         * signal/Versions (libc: GLIBC_2.21): New version set.
20393         * include/signal.h: Remove __sigvec declaration.
20394         * sysdeps/unix/bsd/sigvec.c: Remove file.
20395         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20396         * manual/signal.texi (BSD Handler): Remove subsection.
20397         Move siginterrupt up to ...
20398         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20399         (Blocking in BSD): Fold subsection into its parent.
20400         * NEWS: Mention sigvec removal.
20402 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20404         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20405         (DLA_FMS): Make definition conditional only on [__FMA4__].
20406         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20407         definition.
20409         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20410         Make definition conditional only on [PROF].
20411         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20412         definition.
20413         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20414         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20416         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20417         !__GNUC__].
20418         * include/signal.h (__sigpause): Move declaration above call to
20419         libc_hidden_proto.
20420         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20421         variable.
20422         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20423         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20425 2014-11-14  David S. Miller  <davem@davemloft.net>
20427         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20428         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20430 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20432         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20433         * configure: Regenerated.
20434         * manual/install.texi (Tools for Compilation): Document a
20435         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20436         compiler verified to work.
20437         * INSTALL: Regenerated.
20439         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20440         redeclare with asm name.
20441         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20442         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20443         including <string.h>.
20444         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20445         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20446         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20447         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20448         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20450         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20452 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20454         * stdlib/strtol.c (__strtol): Use prototype definition.
20456         [BZ #17594]
20457         * stdlib/strtol.c (SYM__): New macro.
20458         (SYM__1): Likewise.
20459         (__strtol): Likewise.
20460         (strtol): Rename to __strtol and define as weak alias of
20461         __strtol.  Use libc_hidden_weak.
20463 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20465         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20466         Use numbered labels in inline assembly.
20468 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20470         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20471         Add setjmp LIBC_PROBE.
20472         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20473         Likewise.
20474         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20475         Add longjmp, longjmp_target LIBC_PROBE.
20476         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20477         Likewise.
20479 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20482         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20483         to get rid of unused variable warning.
20485 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20487         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20488         Check for unwind_backtrace ==  NULL only in SHARED case.
20489         (__backchain_backtrace): Compile only in SHARED case.
20490         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20491         Likewise.
20492         (__backchain_backtrace): Declare as static.
20494 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20496         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20497         (__libc_multiple_threads_ptr): Variable moved ...
20498         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20500 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20502         * conform/GlibcConform.pm: New file.
20503         * conform/conformtest.pl: Use GlibcConform module.
20504         * conform/linknamespace.pl: New file.
20505         * conform/list-header-symbols.pl: Likewise.
20506         * conform/Makefile (linknamespace-symlists-base): New variable.
20507         (linknamespace-symlists-tests): Likewise.
20508         (linknamespace-header-base): Likewise.
20509         (linknamespace-header-tests): Likewise.
20510         (tests-special): Add new tests.
20511         ($(linknamespace-symlists-tests)): New rule.
20512         (linknamespace-libs): New variable.
20513         ($(objpfx)symlist-stdlibs): New rule.
20514         ($(linknamespace-header-tests)): Likewise.
20515         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20516         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20517         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20518         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20519         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20520         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20521         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20522         (test-xfail-ISO/math.h/linknamespace): Likewise.
20523         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20524         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20525         (test-xfail-ISO/time.h/linknamespace): Likewise.
20526         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20527         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20528         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20529         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20530         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20531         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20532         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20533         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20534         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20535         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20536         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20537         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20538         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20539         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20540         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20541         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20542         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20543         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20544         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20545         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20546         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20547         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20548         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20549         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20550         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20551         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20552         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20553         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20554         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20555         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20556         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20557         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20558         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20559         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20560         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20561         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20562         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20563         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20564         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20565         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20566         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20567         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20568         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20569         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20570         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20571         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20572         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20573         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20574         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20575         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20576         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20577         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20578         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20579         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20580         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20581         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20582         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20583         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20584         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20585         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20586         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20587         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20588         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20589         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20590         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20591         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20592         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20593         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20594         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20595         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20596         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20597         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20598         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20599         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20600         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20601         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20602         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20603         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20604         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20605         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20606         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20607         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20608         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20609         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20610         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20611         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20612         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20613         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20614         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20615         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20616         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20617         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20618         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20619         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20620         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20621         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20622         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20623         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20624         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20625         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20626         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20627         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20628         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20629         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20630         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20631         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20632         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20633         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20634         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20635         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20636         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20637         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20638         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20639         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20640         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20641         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20642         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20643         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20644         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20645         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20646         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20647         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20648         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20649         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20650         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20651         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20652         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20653         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20654         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20655         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20656         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20657         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20658         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20659         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20660         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20661         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20663         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20665         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20666         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20667         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20668         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20669         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20670         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20671         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20672         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20673         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20674         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20675         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20677         [BZ #17589]
20678         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20679         of fgets_unlocked.
20681         [BZ #17585]
20682         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20683         (memmem): Rename to __memmem and define as weak alias of
20684         __memmem.  Use libc_hidden_weak.
20685         (__memmem): Use libc_hidden_def.
20686         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20687         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20688         memmem.
20690         [BZ #17582]
20691         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20692         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20693         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20694         and define as weak alias of __fgets_unlocked.  Use
20695         libc_hidden_weak.
20696         (__fgets_unlocked): Use libc_hidden_def.
20697         * include/stdio.h (__fgets_unlocked): Declare.  Use
20698         libc_hidden_proto.
20699         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20700         __fgets_unlocked instead of fgets_unlocked.
20701         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20702         (GET_NPROCS_CONF_PARSER): Likewise.
20703         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20704         (GET_NPROCS_CONF_PARSER): Likewise.
20706         [BZ #17574]
20707         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20708         weak alias of __wmemset.  Use libc_hidden_weak.
20709         (__wmemset): Use libc_hidden_def.
20710         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20711         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20712         of wmemset.
20714         [BZ #17573]
20715         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20716         with asm name __mempcpy.
20717         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20719         [BZ #17572]
20720         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20721         and define as weak alias of __rawmemchr.
20722         (__rawmemchr): Do not define as strong alias of rawmemchr.
20724         [BZ #17571]
20725         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20726         alias of __qsort_r.
20727         (qsort): Call __qsort_r instead of qsort_r.
20728         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20729         (__qsort_r): Declare.  Call libc_hidden_proto.
20730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20731         instead of qsort_r.
20732         * nscd/gai.c (__qsort_r): Define to qsort_r.
20733         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20734         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20735         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20737         [BZ #17570]
20738         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20739         define as weak alias of __malloc_info.
20741         [BZ #17584]
20742         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20743         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20744         (__rewinddir): Use libc_hidden_def.
20745         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20746         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20747         (__rewinddir): Use libc_hidden_def.
20748         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20749         weak alias of __rewinddir.  Don't use libc_hidden_def.
20750         (__rewinddir): Use libc_hidden_def.
20751         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20752         (__rewinddir): Use libc_hidden_proto.
20753         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20754         rewinddir.
20755         (__getcwd): Use __rewinddir instead of rewinddir.
20757         [BZ #17583]
20758         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20759         alias of __fileno.  Use libc_hidden_weak.
20760         (__fileno): Use libc_hidden_def.
20761         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20762         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20763         alias of __ftello.
20764         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20765         __ftello.
20766         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20767         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20768         libc_hidden_def.
20769         (fread_unlocked): Don't use libc_hidden_ver.
20770         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20771         and define as weak alias of __fread_unlocked.  Don't use
20772         libc_hidden_def.
20773         (__fread_unlocked): Use libc_hidden_def.
20774         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20775         (ftello): Don't use libc_hidden_proto.
20776         (__ftello): Declare.  Use libc_hidden_proto.
20777         (fread_unlocked): Don't use libc_hidden_proto.
20778         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20779         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20780         and __ftello instead of fileno, fread_unlocked and ftello.
20782 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20784         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20785         GOT12.
20786         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20787         Likewise.
20788         (_dl_start_user): Likewise.
20789         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20791 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20792             Siddhesh Poyarekar  <siddhesh@redhat.com>
20794         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20795         Move argv and envp down instead of moving argc up.
20796         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20798 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20800         [BZ #17506]
20801         * test-skeleton.c (main): Return successful if one of
20802         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20803         * string/tst-strcoll-overflow.c: Define expected status.
20805 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20807         [BZ #17475]
20808         * locale/iso-639.def: Define Bhili and Tulu language codes.
20810 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20812         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20814 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20816         [BZ #17555]
20817         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20819 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20821         * configure.ac: Updated check of minimal required version to
20822         2.22.
20823         * manual/install.texi (Tools for Compilation): Updated version
20824         number.
20825         * configure: Regenerated.
20826         * INSTALL: Likewise.
20828 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20830         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20831         __tls_get_addr.
20833 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20835         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20836         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20837         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20838         libc_hidden_weak.
20839         (waitpid): Define as alias of __waitpid.
20840         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20841         __waitpid.
20842         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20843         libc_hidden_weak.
20844         (waitpid): Define as alias of __waitpid.
20845         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20846         __libc_waitpid alias.
20847         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20848         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20849         Likewise.
20850         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20851         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20852         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20853         alias.
20854         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20855         __waitpid.
20856         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20857         libc_hidden_weak.
20858         (waitpid): Define as alias of __waitpid.
20860 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20862         * manual/llio.texi: Add comment that write safety has been
20863         fixed in Linux.
20865         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20866         (localplt-build-dso): Add elf/ld.so.
20867         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20868         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20869         and free for ld.so.
20870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20871         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20873         Likewise.
20874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20877         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20878         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20879         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20880         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20881         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20882         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20883         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20884         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20885         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20886         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20888 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20890         [BZ #14132]
20891         * include/libc-symbols.h (INTUSE): Remove macro.
20892         (INTDEF): Likewise.
20893         (INTVARDEF): Likewise.
20894         (_INTVARDEF): Likewise.
20895         (INTDEF2): Likewise.
20896         (INTVARDEF2): Likewise.
20897         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20898         rtld_hidden_def instead of INTVARDEF.
20899         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20900         (_dl_starting_up_internal): Remove declaration.
20901         (_dl_starting_up): Use rtld_hidden_proto.
20902         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20903         declaration.
20904         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20905         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20906         _dl_starting_up.
20907         * elf/dl-writev.h (_dl_writev): Likewise.
20908         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20909         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20910         _dl_starting_up_internal.
20912 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20914         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20915         test-skeleton.c.
20917 2014-11-05  Will Newton  <will.newton@linaro.org>
20919         * benchtests/Makefile: (bench-malloc): Add malloc thread
20920         scalability benchmark.
20921         * benchtests/bench-malloc-threads.c: New file.
20923 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20925         * sysdeps/aarch64/strchrnul.S: New file.
20927 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20929         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20930         definition.
20931         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20932         Likwise.
20933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20934         Likewise.
20935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20936         Likewise.
20937         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20938         Likewise.
20939         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20940         Likewise.
20942 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20944         * catgets/test-gencat.c: Use test-skeleton.c.
20945         * catgets/tst-catgets.c: Likewise.
20946         * csu/tst-empty.c: Likewise.
20947         * elf/tst-audit2.c: Likewise.
20948         * elf/tst-global1.c: Likewise.
20949         * elf/tst-pathopt.c: Likewise.
20950         * elf/tst-piemod1.c: Likewise.
20951         * elf/tst-tls10.c: Likewise.
20952         * elf/tst-tls11.c: Likewise.
20953         * elf/tst-tls12.c: Likewise.
20954         * gnulib/tst-gcc.c: Likewise.
20955         * iconvdata/tst-e2big.c: Likewise.
20956         * iconvdata/tst-loading.c: Likewise.
20957         * iconv/tst-iconv1.c: Likewise.
20958         * iconv/tst-iconv2.c: Likewise.
20959         * inet/test-inet6_opt.c: Likewise.
20960         * inet/tst-gethnm.c: Likewise.
20961         * inet/tst-network.c: Likewise.
20962         * inet/tst-ntoa.c: Likewise.
20963         * intl/tst-codeset.c: Likewise.
20964         * intl/tst-gettext2.c: Likewise.
20965         * intl/tst-gettext3.c: Likewise.
20966         * intl/tst-ngettext.c: Likewise.
20967         * intl/tst-translit.c: Likewise.
20968         * io/test-stat.c: Likewise.
20969         * libio/test-fmemopen.c: Likewise.
20970         * libio/tst-freopen.c: Likewise.
20971         * libio/tst-sscanf.c: Likewise.
20972         * libio/tst-ungetwc1.c: Likewise.
20973         * libio/tst-ungetwc2.c: Likewise.
20974         * libio/tst-widetext.c: Likewise.
20975         * localedata/tst-ctype.c: Likewise.
20976         * localedata/tst-digits.c: Likewise.
20977         * localedata/tst-leaks.c: Likewise.
20978         * localedata/tst-mbswcs1.c: Likewise.
20979         * localedata/tst-mbswcs2.c: Likewise.
20980         * localedata/tst-mbswcs3.c: Likewise.
20981         * localedata/tst-mbswcs4.c: Likewise.
20982         * localedata/tst-mbswcs5.c: Likewise.
20983         * localedata/tst-setlocale.c: Likewise.
20984         * localedata/tst-trans.c: Likewise.
20985         * localedata/tst-wctype.c: Likewise.
20986         * localedata/tst-xlocale1.c: Likewise.
20987         * login/tst-grantpt.c: Likewise.
20988         * malloc/tst-calloc.c: Likewise.
20989         * malloc/tst-malloc.c: Likewise.
20990         * malloc/tst-mallocstate.c: Likewise.
20991         * malloc/tst-mcheck.c: Likewise.
20992         * malloc/tst-mtrace.c: Likewise.
20993         * malloc/tst-obstack.c: Likewise.
20994         * math/atest-exp2.c: Likewise.
20995         * math/atest-exp.c: Likewise.
20996         * math/atest-sincos.c: Likewise.
20997         * math/test-matherr.c: Likewise.
20998         * math/test-misc.c: Likewise.
20999         * math/test-powl.c: Likewise.
21000         * math/tst-definitions.c: Likewise.
21001         * misc/tst-dirname.c: Likewise.
21002         * misc/tst-efgcvt.c: Likewise.
21003         * misc/tst-fdset.c: Likewise.
21004         * misc/tst-hsearch.c: Likewise.
21005         * misc/tst-mntent2.c: Likewise.
21006         * nptl/tst-sem7.c: Likewise.
21007         * nptl/tst-sem8.c: Likewise.
21008         * nptl/tst-sem9.c: Likewise.
21009         * nss/test-netdb.c: Likewise.
21010         * posix/tst-fnmatch.c: Likewise.
21011         * posix/tst-getlogin.c: Likewise.
21012         * posix/tst-gnuglob.c: Likewise.
21013         * posix/tst-mmap.c: Likewise.
21014         * pwd/tst-getpw.c: Likewise.
21015         * resolv/tst-inet_ntop.c: Likewise.
21016         * rt/tst-timer.c: Likewise.
21017         * stdio-common/test-fseek.c: Likewise.
21018         * stdio-common/test-popen.c: Likewise.
21019         * stdio-common/test-vfprintf.c: Likewise.
21020         * stdio-common/tst-cookie.c: Likewise.
21021         * stdio-common/tst-fileno.c: Likewise.
21022         * stdio-common/tst-gets.c: Likewise.
21023         * stdio-common/tst-obprintf.c: Likewise.
21024         * stdio-common/tst-perror.c: Likewise.
21025         * stdio-common/tst-sprintf2.c: Likewise.
21026         * stdio-common/tst-sprintf3.c: Likewise.
21027         * stdio-common/tst-sprintf.c: Likewise.
21028         * stdio-common/tst-swprintf.c: Likewise.
21029         * stdio-common/tst-tmpnam.c: Likewise.
21030         * stdio-common/tst-unbputc.c: Likewise.
21031         * stdio-common/tst-wc-printf.c: Likewise.
21032         * stdlib/tst-environ.c: Likewise.
21033         * stdlib/tst-fmtmsg.c: Likewise.
21034         * stdlib/tst-limits.c: Likewise.
21035         * stdlib/tst-rand48-2.c: Likewise.
21036         * stdlib/tst-rand48.c: Likewise.
21037         * stdlib/tst-random2.c: Likewise.
21038         * stdlib/tst-random.c: Likewise.
21039         * stdlib/tst-strtol.c: Likewise.
21040         * stdlib/tst-strtoll.c: Likewise.
21041         * stdlib/tst-tls-atexit.c: Likewise.
21042         * stdlib/tst-xpg-basename.c: Likewise.
21043         * string/test-ffs.c: Likewise.
21044         * string/tst-bswap.c: Likewise.
21045         * string/tst-inlcall.c: Likewise.
21046         * string/tst-strtok.c: Likewise.
21047         * string/tst-strxfrm.c: Likewise.
21048         * sysdeps/x86_64/tst-audit10.c: Likewise.
21049         * sysdeps/x86_64/tst-audit3.c: Likewise.
21050         * sysdeps/x86_64/tst-audit4.c: Likewise.
21051         * sysdeps/x86_64/tst-audit5.c: Likewise.
21052         * time/tst-ftime_l.c: Likewise.
21053         * time/tst-getdate.c: Likewise.
21054         * time/tst-mktime3.c: Likewise.
21055         * time/tst-mktime.c: Likewise.
21056         * time/tst-posixtz.c: Likewise.
21057         * time/tst-strptime2.c: Likewise.
21058         * time/tst-strptime3.c: Likewise.
21059         * wcsmbs/tst-btowc.c: Likewise.
21060         * wcsmbs/tst-mbrtowc.c: Likewise.
21061         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21062         * wcsmbs/tst-wchar-h.c: Likewise.
21063         * wcsmbs/tst-wcpncpy.c: Likewise.
21064         * wcsmbs/tst-wcrtomb.c: Likewise.
21065         * wcsmbs/tst-wcsnlen.c: Likewise.
21066         * wcsmbs/tst-wcstof.c: Likewise.
21068 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21070         [BZ #14132]
21071         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21072         INTDEF.
21073         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21074         declaration.
21075         (_dl_mcount): Use rtld_hidden_proto.
21076         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21077         _dl_mcount.
21078         * elf/rtld.c (_rtld_global_ro): Likewise.
21080         [BZ #14132]
21081         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21082         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21083         of _dl_init_internal.
21084         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21085         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21086         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21087         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21088         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21089         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21090         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21091         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21092         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21093         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21094         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21095         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21096         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21098         * sysdeps/tile/dl-start.S (_start): Likewise.
21099         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21100         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21102         [BZ #14132]
21103         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21104         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21105         (rtld_progname): Make macro definition unconditional.
21106         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21107         INTDEF.
21108         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21109         (dl_main): Likewise.
21110         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21111         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21112         instead of _dl_argv_internal.
21113         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21114         __GI__dl_argv instead of INTUSE(_dl_argv).
21115         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21116         __GI__dl_argv instead of _dl_argv_internal.
21118         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21119         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21120         macro.
21121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21122         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21123         New macro.
21124         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21125         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21126         macro.
21127         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21128         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21130 2014-11-04  Andreas Schwab  <schwab@suse.de>
21132         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21134 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21136         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21137         mtvsrd instruction in binary form.
21139 2014-11-03  Andreas Schwab  <schwab@suse.de>
21141         [BZ #17522]
21142         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21143         for less than MB_LEN_MAX use a local buffer of that size.
21144         * libio/tst-fputws.c: New file.
21145         * libio/Makefile (tests): Add tst-fputws.
21147 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21149         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21150         the size of the fpu_fr.fpu_dregs[] array.
21152 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21154         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21155         (__nanosleep): Do not define as alias.
21156         (nanosleep): Define as alias of __nanosleep.
21157         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21158         __libc_nanosleep name.
21160 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21162         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21163         install.texi in comment.
21165 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21167         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21168         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21169         ... add here and use lwsync or sync ...
21170         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21171         ... and add here using lwsync.
21173 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21175         * elf/dl-machine-reject-phdr.h: New file.
21176         * elf/dl-load.c: #include that.
21177         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21178         if that returned true.
21180 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21182         [BZ #17496]
21183         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21184         gen-as-const-headers chunk.  Add a big scare comment after the last
21185         safe place to touch before-compile.
21187 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21189         * manual/install.texi (Tools for Compilation): Update autoconf
21190         version requirements.
21191         * INSTALL: Regenerated.
21193         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21194         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21195         (__libc_pselect): Likewise.
21197         [BZ #14138]
21198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21203 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21205         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21206         correct barrier instruction.
21207         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21208         Likewise.
21209         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21210         Likewise.
21212 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21214         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21215         after defining inlines.  Instead, just use parens to defeat macro
21216         expansion of __isctype in its declaration.
21218 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21220         * include/sys/uio.h (__libc_readv): Remove declaration.
21221         (__libc_writev): Likewise.
21222         * misc/readv.c (__libc_readv): Rename to __readv.
21223         (__readv): Do not define as alias.
21224         (readv): Define as alias of __readv.
21225         * misc/writev.c (__libc_writev): Rename to __writev.
21226         (__writev): Do not define as alias.
21227         (writev): Define as alias of __writev.
21228         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21229         (__readv): Do not define as alias.
21230         (readv): Define unconditionally as alias of __readv.
21231         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21232         (__writev): Do not define as alias.
21233         (writev): Define unconditionally as alias of __writev.
21234         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21235         name.
21236         (writev): Do not define __libc_writev name.
21238 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21240         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21241         (convert_charseq): New function, broken out of ...
21242         (use_from_charmap): ... here.  Call it.
21243         (use_to_charmap): Use convert_charseq and free instead of duplicating
21244         its code with a variable-length stack struct.
21246 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21248         * include/fcntl.h (__libc_creat): Remove declaration.
21249         * io/creat.c (__libc_creat): Rename to creat.
21250         (creat): Do not define as alias.
21251         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21252         of creat instead of __libc_creat.
21253         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21254         to creat.
21255         (creat): Do not define as alias.
21256         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21257         __libc_creat.
21258         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21259         __libc_creat name.
21260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21261         Likewise.
21263 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21265         * manual/llio.texi: Add comments discussing why write() may be
21266         considered MT-unsafe on Linux.
21268 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21270         * dl-load.c (local_strdup): Remove.
21271         (expand_dynamic_string_token): Use __strdup.
21272         (decompose_rpath): Likewise.
21273         (_dl_map_object): Likewise.
21275 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #14132]
21278         * sysdeps/generic/unwind-dw2-fde.c
21279         (__register_frame_info_bases_internal): Do not declare.
21280         (__register_frame_info_table_bases_internal): Likewise.
21281         (__deregister_frame_info_bases_internal): Likewise.
21282         (__register_frame_info_bases): Declare and use hidden_proto before
21283         definition.  Use hidden_def instead of INTDEF.
21284         (__register_frame_info_table_bases): Likewise.
21285         (__deregister_frame_info_bases): Likewise.
21286         (__register_frame_info): Do not use INTUSE.
21287         (__register_frame): Likewise.
21288         (__register_frame_info_table): Likewise.
21289         (__register_frame_table): Likewise.
21290         (__deregister_frame_info): Likewise.
21291         (__deregister_frame): Likewise.
21293 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21296         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21297         not undefine.
21298         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21299         Likewise.
21300         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21301         Likewise.
21303 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21305         [BZ #14138]
21306         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21307         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21308         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21309         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21310         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21311         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21312         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21313         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21314         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21315         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21316         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21317         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21318         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21319         syscall.
21320         (setfsuid): Likewise.
21321         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21322         (setfsuid): Likewise.
21323         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21324         (setfsuid): Likewise.
21325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21326         Likewise.
21327         (setfsuid): Likewise.
21328         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21329         (setfsuid): Likewise.
21330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21331         Likewise.
21332         (setfsuid): Likewise.
21334 2014-10-27  Andreas Schwab  <schwab@suse.de>
21336         [BZ #17501]
21337         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21338         check for Slow_SSE4_2 feature bit.
21339         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21340         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21341         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21342         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21344 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21346         * configure.ac: Validate compiler version with a empirical test of
21347         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21348         $CC -v output.
21349         * configure: Regenerated.
21351         * inet/htons.c (htons): Prototypify.
21352         * inet/htonl.c (htonl): Likewise.
21354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21356         * string/strncat.c (strncat): Improve performance by using strlen.
21358 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21360         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21362 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21364         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21365         Call libc_fetestexcept_aarch64.
21367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21369         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21370         Call libc_feholdexcept_aarch64.
21372 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21374         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21375         Call get_rounding_mode.
21377 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21380         Simplify logic.
21382 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21384         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21385         Simplify logic.
21387 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21389         [BZ #14138]
21390         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21391         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21392         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21393         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21394         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21395         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21396         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21397         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21398         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21399         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21400         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21401         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21402         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21403         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21404         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21405         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21406         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21407         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21408         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21409         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21410         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21411         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21412         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21413         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21414         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21415         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21416         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21417         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21418         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21419         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21420         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21421         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21422         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21423         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21424         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21425         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21426         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21427         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21428         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21429         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21430         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21431         syscall.
21432         (geteuid): Likewise.
21433         (getgid): Likewise.
21434         (getuid): Likewise.
21435         (getresgid): Likewise.
21436         (getresuid): Likewise.
21437         (getgroups): Likewise.
21438         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21439         (geteuid): Likewise.
21440         (getgid): Likewise.
21441         (getuid): Likewise.
21442         (getresgid): Likewise.
21443         (getresuid): Likewise.
21444         (getgroups): Likewise.
21445         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21446         (geteuid): Likewise.
21447         (getgid): Likewise.
21448         (getuid): Likewise.
21449         (getresgid): Likewise.
21450         (getresuid): Likewise.
21451         (getgroups): Likewise.
21452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21453         Likewise.
21454         (geteuid): Likewise.
21455         (getgid): Likewise.
21456         (getuid): Likewise.
21457         (getresgid): Likewise.
21458         (getresuid): Likewise.
21459         (getgroups): Likewise.
21460         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21461         (geteuid): Likewise.
21462         (getgid): Likewise.
21463         (getuid): Likewise.
21464         (getresgid): Likewise.
21465         (getresuid): Likewise.
21466         (getgroups): Likewise.
21467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21468         Likewise.
21469         (geteuid): Likewise.
21470         (getgid): Likewise.
21471         (getuid): Likewise.
21472         (getgroups): Likewise.
21474         [BZ #14138]
21475         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21476         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21477         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21478         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21479         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21481         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21482         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21483         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21484         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21485         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21486         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21487         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21488         __chown.
21489         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21490         (lchown): Likewise.
21491         (fchown): Likewise.
21492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21493         Likewise.
21494         (lchown): Likewise.
21495         (fchown): Likewise.
21496         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21497         (lchown): Likewise.
21498         (fchown): Likewise.
21499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21500         Likewise.
21501         (lchown): Likewise.
21502         (fchown): Likewise.
21504 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21506         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21507         Simplify logic.
21509 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21511         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21512         Cleanup logic.
21514 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21516         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21517         Remove unused include.
21519 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21521         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21522         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21523         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21524         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21526 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21527             Helge Deller <deller@gmx.de>
21529         [BZ #17508]
21530         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21531         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21532         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21534 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21536         [BZ #14132]
21537         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21538         Remove macro definition.
21539         (__ashrdi3_v_glibc20): Likewise.
21540         (__lshrdi3_v_glibc20): Likewise.
21541         (__cmpdi2_v_glibc20): Likewise.
21542         (__ucmpdi2_v_glibc20): Likewise.
21543         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21544         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21545         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21546         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21547         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21548         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21552         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21553         old GNU extension [0] syntax.
21554         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21555         alloca rather than an array member with variable length.
21556         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21557         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21558         (parse_opt): ... here.  Likewise use alloca there.
21559         Validate the -i argument before checking for rootness.
21560         (send_shutdown): New function, broken out of ...
21561         (parse_opt): ... here.
21563 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21565         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21566         macro to get at the _rt_local_ro field.
21567         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21568         ([PIC] case) or _dl_hwcap ([!PIC] case).
21569         * sysdeps/arm/setjmp.S: Likewise.
21571         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21572         * sysdeps/arm/configure.ac: New check to define it.
21573         * sysdeps/arm/configure: Regenerated.
21574         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21575         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21576         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21577         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21578         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21579         Use move/movt pair instead of a load.
21580         (LDST_GLOBAL): Macro removed.
21581         (LDR_GLOBAL): New macro replaces it.
21582         (LDR_HIDDEN): New macro.
21583         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21584         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21586         * setjmp/tst-setjmp-static.c: New file.
21587         * setjmp/Makefile (tests): Add it.
21588         (tests-static): New variable.
21590 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21592         [BZ #17485]
21593         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21595 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21597         [BZ #14132]
21598         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21600 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21602         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21604 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21606         * io/fts.c (dirent_not_directory): New function.
21607         (fts_build): Call it.
21609 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21611         * nptl/version.c (__nptl_main): Use normal __write rather than
21612         INTERNAL_SYSCALL.
21613         (banner): Update copyright years.
21615         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21616         gettimeofday.
21617         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21618         * nptl/pthread_cond_timedwait.c: Likewise.
21619         * nptl/pthread_mutex_timedlock.c: Likewise.
21620         * nptl/sem_timedwait.c: Likewise.
21622         * sysdeps/nptl/bits/libc-lock.h
21623         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21624         (__libc_lock_init_recursive): Return void, not 0.
21625         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21626         (__libc_rwlock_init): Likewise.
21627         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21629 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21631         [BZ #15215]
21632         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21633         (__pthread_once_slow): ... here.
21634         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21635         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21637 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21639         [BZ #15215]
21640         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21641         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21642         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21643         * nptl/pthread_once.c (__pthread_once): Likewise.
21644         Update comments.
21646 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21648         [BZ #14138]
21649         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21650         name.
21651         (writev): Use __libc_writev as strong name.
21652         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21653         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21655 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21657         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21659         * sysdeps/i386/nptl/tls.h
21660         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21661         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21662         New macros.
21663         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21664         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21665         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21666         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21667         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21668         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21670         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21671         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21672         on [__NR_futex].
21673         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21674         broken out of ...
21675         (__pthread_mutex_init): ... here.  Call it.
21676         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21677         Conditionalize PI cases on [__NR_futex].
21678         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21679         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21680         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21682         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21683         conditional on [SIGSETXID].
21684         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21685         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21686         is defined.  Likewise for SIGSETXID.
21687         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21688         Conditionalize definitions on [SIGSETXID].
21689         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21690         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21691         unblocking on [SIGCANCEL].
21693         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21694         [__NR_set_robust_list].
21696 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21698         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21699         (do_compare): Likewise.
21701 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21703         [BZ #15884]
21704         * string/strcoll_l.c: Don't include stdio.h.
21705         (coll_seq): Remove members idxarr and rulearr.
21706         (get_next_seq_cached): Remove function.
21707         (get_next_seq): Likewise.
21708         (get_next_seq_nocache): Rename to get_next_seq.
21709         (do_compare): Remove function.
21710         (do_compare_nocache): Rename to do_compare.
21711         (STRCOLL): Remove weight and rules cache.
21713 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21715         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21716         * sysdeps/arm/sfp-machine.h: ... to here.
21717         * sysdeps/arm/Implies: Remove arm/soft-fp.
21719 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21721         * conform/data/sys/utsname.h-data (*_t): Allow.
21722         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21723         [POSIX] (WEXITED): Do not expect constant.
21724         [POSIX] (WSTOPPED): Likewise.
21725         [POSIX] (WNOHANG): Likewise.
21726         [POSIX] (WNOWAIT): Likewise.
21727         [POSIX] (siginfo_t): Do not expect type or elements.
21728         [POSIX] (pid_t): Do not expect type.
21729         [POSIX] (signal.h): Do not allow header.
21730         [POSIX] (sys/resource.h): Likewise.
21731         [POSIX] (si_*): Do not allow pattern.
21732         [POSIX] (W*): Likewise.
21733         [POSIX] (P_*): Likewise.
21734         [POSIX] (BUS_*): Likewise.
21735         [POSIX] (CLD_*): Likewise.
21736         [POSIX] (FPE_*): Likewise.
21737         [POSIX] (ILL_*): Likewise.
21738         [POSIX] (POLL_*): Likewise.
21739         [POSIX] (SEGV_*): Likewise.
21740         [POSIX] (SI_*): Likewise.
21741         [POSIX] (TRAP_*): Likewise.
21742         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21743         variable.
21745 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21747         [BZ #12926]
21748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21749         infinite loop when __recvmsg returns 0.
21751 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21753         * CANCEL-FCT-WAIVE: Remove file.
21754         * CANCEL-FILE-WAIVE: Likewise.
21756         [BZ #14132]
21757         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21758         instead of INTVARDEF.
21759         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21760         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21761         rtld_hidden_data_def instead of INTVARDEF.
21762         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21763         * elf/dl-deps.c (expand_dst): Likewise.
21764         * elf/dl-load.c (_dl_dst_count): Likewise.
21765         (_dl_dst_substitute): Likewise.
21766         (decompose_rpath): Likewise.
21767         (_dl_init_paths): Likewise.
21768         (open_path): Likewise.
21769         (_dl_map_object): Likewise.
21770         * elf/rtld.c (dl_main): Likewise.
21771         (process_dl_audit): Likewise.
21772         (process_envvars): Likewise.
21773         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21774         Remove declaration.
21775         (__libc_enable_secure): Use rtld_hidden_proto.
21777 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21779         * elf/dl-load.c
21780         (add_path): New function broken out of _dl_rtld_di_serinfo.
21781         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21783 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21785         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21786         parentheses around macro arguments.
21787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21791         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21795         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21798         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21799         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21800         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21801         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21802         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21803         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21805         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21808         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21816         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21817         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21818         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21820         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21821         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21822         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21823         Likewise.
21824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21831         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21832         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21835         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21836         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21845         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21846         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21850         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21851         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21852         (_FP_FRAC_SRS_1): Likewise.
21853         (_FP_FRAC_CLZ_1): Likewise.
21854         (_FP_MUL_MEAT_1_imm): Likewise.
21855         (_FP_MUL_MEAT_1_wide): Likewise.
21856         (_FP_MUL_MEAT_1_hard): Likewise.
21857         (_FP_SQRT_MEAT_1): Likewise.
21858         (_FP_FRAC_ASSEMBLE_1): Likewise.
21859         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21860         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21861         (__FP_CLZ_2): Likewise.
21862         (_FP_MUL_MEAT_2_wide): Likewise.
21863         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21864         (_FP_MUL_MEAT_2_gmp): Likewise.
21865         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21866         (_FP_SQRT_MEAT_2): Likewise.
21867         (_FP_FRAC_ASSEMBLE_2): Likewise.
21868         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21869         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21870         (_FP_FRAC_CLZ_4): Likewise.
21871         (_FP_MUL_MEAT_4_wide): Likewise.
21872         (_FP_MUL_MEAT_4_gmp): Likewise.
21873         (_FP_SQRT_MEAT_4): Likewise.
21874         (_FP_FRAC_ASSEMBLE_4): Likewise.
21875         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21876         * soft-fp/op-common.h (_FP_CMP): Likewise.
21877         (_FP_CMP_EQ): Likewise.
21878         (_FP_CMP_UNORD): Likewise.
21879         (_FP_TO_INT): Likewise.
21880         (_FP_FROM_INT): Likewise.
21881         [!__FP_CLZ] (__FP_CLZ): Likewise.
21882         (_FP_DIV_HELP_imm): Likewise.
21883         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21884         Likewise.
21885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21886         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21888         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21889         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21896         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21897         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21898         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21900         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21901         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21914         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21916         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21917         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21918         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21919         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21920         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21921         (FP_UNPACK_RAW_SP): Likewise.
21922         (FP_PACK_RAW_S): Likewise.
21923         (FP_PACK_RAW_SP): Likewise.
21924         (FP_UNPACK_S): Likewise.
21925         (FP_UNPACK_SP): Likewise.
21926         (FP_UNPACK_SEMIRAW_S): Likewise.
21927         (FP_UNPACK_SEMIRAW_SP): Likewise.
21928         (FP_PACK_S): Likewise.
21929         (FP_PACK_SP): Likewise.
21930         (FP_PACK_SEMIRAW_S): Likewise.
21931         (FP_PACK_SEMIRAW_SP): Likewise.
21932         (_FP_SQRT_MEAT_S): Likewise.
21933         (FP_CMP_S): Likewise.
21934         (FP_CMP_EQ_S): Likewise.
21935         (FP_CMP_UNORD_S): Likewise.
21936         (FP_TO_INT_S): Likewise.
21937         (FP_FROM_INT_S): Likewise.
21939         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21941         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21942         (FP_EX_INVALID_IMZ): Likewise.
21943         (FP_EX_INVALID_IMZ_FMA): Likewise.
21944         (FP_EX_INVALID_ISI): Likewise.
21945         (FP_EX_INVALID_ZDZ): Likewise.
21946         (FP_EX_INVALID_IDI): Likewise.
21947         (FP_EX_INVALID_SQRT): Likewise.
21948         (FP_EX_INVALID_CVI): Likewise.
21949         (FP_EX_INVALID_VC): Likewise.
21950         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21951         "invalid" exceptions.
21952         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21953         (_FP_ADD_INTERNAL): Likewise.
21954         (_FP_MUL): Likewise.
21955         (_FP_FMA): Likewise.
21956         (_FP_DIV): Likewise.
21957         (_FP_CMP_CHECK_NAN): Likewise.
21958         (_FP_SQRT): Likewise.
21959         (_FP_TO_INT): Likewise.
21960         (FP_EXTEND): Likewise.
21962 2014-10-09  Allan McRae  <allan@archlinux.org>
21964         * po/fr.po: Update French translation from translation project.
21966 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21968         [BZ #14132]
21969         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21970         of INTDEF.
21971         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21972         (__cxa_atexit): Use libc_hidden_proto.
21973         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21975         [BZ #14132]
21976         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21977         declaration.
21978         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21979         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21980         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21981         [!_ISOMAC] (__iswctype_internal): Likewise.
21982         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21983         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21984         alias.
21985         (fcntl): Remove __fcntl_internal alias.
21986         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21987         __connect_internal alias.
21988         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21989         Likewise.
21991         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21992         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21993         FP_DENORM_ZERO.
21994         (_FP_CHECK_FLUSH_ZERO): New macro.
21995         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21996         (_FP_CMP): Likewise.
21997         (_FP_CMP_EQ): Likewise.
21998         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21999         FP_DENORM_ZERO.
22000         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22001         (FP_TRUNC): Likewise.
22003         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22004         treated as invalid conversion, not as normal exponent.
22006         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22007         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22008         (_FP_CMP_EQ): Likewise.
22009         (_FP_CMP_UNORD): Likewise.
22010         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22011         (FP_CMP_EQ_D): Likewise.
22012         (FP_CMP_UNORD_D): Likewise.
22013         * soft-fp/extended.h (FP_CMP_E): Likewise.
22014         (FP_CMP_EQ_E): Likewise.
22015         (FP_CMP_UNORD_E): Likewise.
22016         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22017         (FP_CMP_EQ_Q): Likewise.
22018         (FP_CMP_UNORD_Q): Likewise.
22019         * soft-fp/single.h (FP_CMP_S): Likewise.
22020         (FP_CMP_EQ_S): Likewise.
22021         (FP_CMP_UNORD_S): Likewise.
22022         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22023         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22024         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22025         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22026         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22027         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22028         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22029         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22030         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22031         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22032         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22033         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22034         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22035         to FP_CMP_Q.
22036         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22037         FP_CMP_Q.
22038         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22039         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22040         FP_CMP_EQ_Q.
22041         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22042         FP_CMP_Q.
22043         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22044         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22045         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22046         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22047         FP_CMP_EQ_Q.
22048         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22049         FP_CMP_Q.
22050         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22051         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22052         FP_CMP_EQ_Q.
22053         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22054         FP_CMP_Q.
22055         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22056         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22057         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22058         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22059         FP_CMP_EQ_Q.
22061         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22062         a subnormal result, set the underflow exception if trapping on
22063         underflow is enabled.
22064         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22065         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22066         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22067         redefine to 0.
22068         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22069         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22070         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22071         * soft-fp/extendxftf2.c (__extendxftf2): Use
22072         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22074         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22075         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22076         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22077         FP_HANDLE_EXCEPTIONS.
22078         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22079         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22080         FP_HANDLE_EXCEPTIONS.
22081         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22082         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22083         FP_HANDLE_EXCEPTIONS.
22084         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22085         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22086         FP_HANDLE_EXCEPTIONS.
22088 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22090         [BZ #14132]
22091         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22092         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22093         use INTUSE.
22094         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22095         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22096         Remove alias.
22097         (__adjtimex): Define using libc_hidden_ver.
22098         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22099         Remove declaration.
22100         (ntp_gettime): Call __adjtimex directly.
22101         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22102         Remove declaration.
22103         (ntp_gettimex): Call __adjtimex directly.
22104         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22105         __adjtimex_internal alias.
22107 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22109         [BZ #17460]
22110         * nscd/nscd.c (more_help): Rewrite list of tables collection
22111         using xstrdup and asprintf.
22113         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22115 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22116             Roland McGrath  <roland@hack.frob.com>
22118         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22119         (do_lookup_unique): ... local function 'enter' here; update callers.
22121 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22123         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22124         compat_symbol calls on [SHARED].
22125         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22126         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22127         Remove.
22128         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22129         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22130         (oldsetrlimit): Remove.
22131         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22133         (lchown): New syscall entry.
22134         (oldsetrlimit): Remove.
22135         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22137         (oldsetrlimit): Remove.
22138         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22140         [BZ #14138]
22141         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22142         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22143         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22144         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22145         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22146         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22147         (fchown): Likewise.
22148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22149         (fchown): Likewise.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22151         Likewise.
22153 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22156         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22157         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22158         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22160         Likewise.
22161         (__old_sem_post): Likewise.
22163 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22166         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22167         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22168         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22169         Use INLINE_VSYSCALL macro.
22170         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22171         __vdso_clock_gettime.
22172         * sysdeps/unix/sysv/linux/tile/init-first.c
22173         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22174         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22175         __vdso_clock_gettime.
22177         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22178         to set up frame more cleanly.
22180         * sysdeps/tile/memcmp.c: New file.
22182         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22184         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22185         * sysdeps/tile/tilegx/strcasestr.c: New file.
22186         * sysdeps/tile/tilegx/strnlen.c: New file.
22187         * sysdeps/tile/tilegx/strstr.c: New file.
22189         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22191 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22193         * nptl/tst-setuid3.c: Write errors to stdout.
22195 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22197         * elf/dl-deps.c
22198         (preload): New functions broken out of _dl_map_object_deps.
22199         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22201 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22203         [BZ #14138]
22204         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22205         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22207 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22209         * sysdeps/mips/strcmp.S: New.
22211 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22213         [BZ #14138]
22214         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22215         (linkat): Likewise.
22216         (mkdirat): Likewise.
22217         (readlinkat): Likewise.
22218         (renameat): Likewise.
22219         (symlinkat): Likewise.
22220         (unlinkat): Likewise.
22221         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22222         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22223         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22224         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22225         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22226         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22227         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22229 2014-09-30  Will Newton  <will.newton@linaro.org>
22231         * math/math.h: Define long double math functions if
22232         _LIBC_TEST is defined.
22233         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22235         * localedata/Makefile: Move assignment to tests-special
22236         into an ifdef testing run-built-tests.
22237         * timezone/Makefile: Likewise.
22239 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22241         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22242         with $(BASH) not $(SHELL).
22244 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22245             Matthew LeGendre  <legendre1@llnl.gov>
22247         [BZ #17411]
22248         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22249         l_reloc_result.
22251 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22253         * stdio-common/printf_fp.c
22254         (hack_digit): New function, broken out of ...
22255         (__printf_fp): ... local function here.  Update call sites.
22256         hack_digit now takes an additional parameter that is a pointer
22257         to a struct of the referenced locals.  Those locals moved inside
22258         the struct and references updated.
22260 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22262         * aclocal.m4: Require autoconf 2.69.
22263         * configure: Regenerated.
22264         * sysdeps/aarch64/configure: Likewise.
22265         * sysdeps/alpha/configure: Likewise.
22266         * sysdeps/arm/armv7/configure: Likewise.
22267         * sysdeps/arm/configure: Likewise.
22268         * sysdeps/ia64/configure: Likewise.
22269         * sysdeps/mach/configure: Likewise.
22270         * sysdeps/mips/configure: Likewise.
22271         * sysdeps/s390/configure: Likewise.
22272         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22275         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22276         file.
22277         * sysdeps/ia64/configure.ac: Likewise.
22279 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22282         specify symbol version for ld.so.  Do not include entry for
22283         libpthread.
22284         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22286         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22288         [BZ #14171]
22289         * Makeconfig [$(build-shared) = yes]
22290         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22291         makefiles.
22292         [$(build-shared) = yes && $(soversions.mk-done) = t]
22293         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22294         [$(build-shared) = yes && $(soversions.mk-done) = t]
22295         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22296         to Makerules.
22297         [$(build-shared) = yes && $(soversions.mk-done) = t]
22298         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22299         here.
22300         [$(build-shared) = yes && $(soversions.mk-done) = t]
22301         (common-generated): Don't append gnu/lib-names.h and
22302         gnu/lib-names.stmp here.
22303         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22304         (lib-names-h-abi): New variable.
22305         [$(build-shared) = yes && $(soversions.mk-done) = t]
22306         (lib-names-stmp-abi): Likewise.
22307         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22308         abi-variants] (before-compile): Append
22309         $(common-objpfx)$(lib-names-h-abi).
22310         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22311         abi-variants] (common-generated): Append gnu/lib-names.h.
22312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22313         abi-variants] (install-others-nosubdir): Depend on
22314         $(inst_includedir)/$(lib-names-h-abi).
22315         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22316         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22317         [$(build-shared) = yes && $(soversions.mk-done) = t]
22318         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22319         [$(build-shared) = yes && $(soversions.mk-done) = t]
22320         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22321         [$(build-shared) = yes && $(soversions.mk-done) = t]
22322         (common-generated): Append $(lib-names-h-abi) and
22323         $(lib-names-stmp-abi).
22324         * scripts/lib-names.awk: Do not handle multi being set.
22325         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22326         Remove variable.
22327         (abi-lp64_be-ld-soname): Likewise.
22328         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22329         Likewise.
22330         (abi-hard-ld-soname): Likewise.
22331         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22332         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22333         Remove variable.
22334         (abi-o32_hard-ld-soname): Likewise.
22335         (abi-o32_soft_2008-ld-soname): Likewise.
22336         (abi-o32_hard_2008-ld-soname): Likewise.
22337         (abi-n32_soft-ld-soname): Likewise.
22338         (abi-n32_hard-ld-soname): Likewise.
22339         (abi-n32_soft_2008-ld-soname): Likewise.
22340         (abi-n32_hard_2008-ld-soname): Likewise.
22341         (abi-n64_soft-ld-soname): Likewise.
22342         (abi-n64_hard-ld-soname): Likewise.
22343         (abi-n64_soft_2008-ld-soname): Likewise.
22344         (abi-n64_hard_2008-ld-soname): Likewise.
22345         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22346         Likewise.
22347         (abi-64-v2-ld-soname): Likewise.
22348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22349         ld.so entries.
22350         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22351         variable.
22352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22353         entry.
22354         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22355         variable.
22356         (abi-64-ld-soname): Likewise.
22357         (abi-x32-ld-soname): Likewise.
22358         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22359         entry.
22360         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22362 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22364         [BZ #14138]
22365         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22366         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22367         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22368         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22369         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22370         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22371         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22372         syscall entry for GLIBC_2.2 symbol version.
22373         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22374         Likewise.
22375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22376         (setrlimit): Likewise.
22377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22378         Likewise.
22380 2014-09-23  Will Newton  <will.newton@linaro.org>
22382         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22383         _LINUX_ARM_SYSDEP_H include guard too.
22384         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22385         define.
22387 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22389         * sysdeps/unix/sysv/linux/eventfd.c:
22390         Make first argument unsigned.
22391         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22392         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22394 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22396         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22397         * socket/sys/socket.h: Likewise.
22398         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22400 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22402         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22404 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22406         * time/tst-ftime.c: New test.
22407         * time/Makefile (tests): Add tst-ftime.
22409 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22411         * soft-fp/extended.h: Fix comment formatting.
22412         * soft-fp/op-1.h: Likewise.
22413         * soft-fp/op-2.h: Likewise.
22414         * soft-fp/op-4.h: Likewise.
22415         * soft-fp/op-8.h: Likewise.
22416         * soft-fp/op-common.h: Likewise.
22417         * soft-fp/soft-fp.h: Likewise.
22419         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22421 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22423         [BZ #6652]
22424         * Makeconfig (soversions-default-setname): Remove variable.
22425         ($(common-objpfx)soversions.i): Don't pass default_setname to
22426         soversions.awk.
22427         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22428         oldest_abi to abi-versions.awk.
22429         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22430         * config.make.in (oldest-abi): Remove variable.
22431         * configure.ac (--enable-oldest-abi): Remove configure option.
22432         * configure: Regenerated.
22433         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22434         text.
22435         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22436         * scripts/soversions.awk: Do not handle default_setname variable.
22437         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22438         variable.
22439         * sysdeps/mach/hurd/configure: Regenerated.
22440         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22441         variable.
22442         * sysdeps/unix/sysv/linux/configure: Regenerated.
22444 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446         * elf/Makefile (CFLAGS-interp.c): Remove.
22447         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22448         path string.
22449         * elf/interp.c: Include generated runtime-linker.h
22451         * Makerules (lib%.so): Don't include $(+interp) in
22452         prerequisites.
22453         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22454         * dlfcn/eval.c: Remove file.
22456         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22457         macros.
22459         [BZ #17266]
22460         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22461         4.2 and newer.
22463         [BZ #17370]
22464         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22466 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22467             Jakub Jelinek  <jakub@redhat.com>
22469         [BZ #17266]
22470         * libio/stdio.h: Check definition of __fortify_function
22471         instead of __extern_always_inline to include bits/stdio2.h.
22472         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22473         check if __extern_always_inline is defined.
22474         [__USE_MISC || __USE_XOPEN]: Likewise.
22475         [__USE_ISOC99] Likewise.
22476         * misc/sys/cdefs.h (__fortify_function): Define only if
22477         __extern_always_inline is defined.
22478         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22479         __extern_always_inline and __extern_inline only for g++-4.3
22480         and newer or a compatible gcc.
22482 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22484         [BZ #17371]
22485         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22486         last change to handle zero prefix length.
22488 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22490         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22491         _SC_REGEX_VERSION.
22493         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22494         _POSIX_RAW_SOCKETS.
22496 2014-09-13  Allan McRae  <allan@archlinux.org>
22498         * po/ru.po: Update Russian translation from translation project.
22500 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22502         * locale/programs/locale.c (show_locale_vars): Inline local function
22503         into its sole call site.  Clean up some style nits.
22504         (print_item): New function, broken out of ...
22505         (show_info): ... local function here.  Clean up style nits.
22507         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22508         out of ...
22509         (set_class_defaults): ... local function set_default here.
22510         Define set_default as a macro locally to pass constant parameters.
22511         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22512         rather than a shared local.
22514         * stdlib/rpmatch.c (try): New function, broken out of ...
22515         (rpmatch): ... local function here.  Also, prototypify definition.
22517 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22519         * scripts/soversions.awk: Do not handle configuration names.
22520         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22521         vendor and os variables to soversions.awk.
22522         * configure.ac: Do not modify gnu-* host_os.
22523         * configure: Regenerated
22524         * shlib-versions: Remove first column with configuration names.
22525         * nptl/shlib-versions: Likewise.
22526         * nptl_db/shlib-versions: Likewise.
22527         * sysdeps/hppa/shlib-versions: Likewise.
22528         * sysdeps/m68k/shlib-versions: Likewise.
22529         * sysdeps/mach/hurd/shlib-versions: Likewise.
22530         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22531         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22532         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22533         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22534         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22535         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22536         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22537         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22539         Likewise.
22540         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22541         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22542         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22543         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22544         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22545         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22546         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22547         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22550         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22552         Regenerated.
22553         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22555         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22557         * shlib-versions: Remove OS-specific entries.  Moved to files in
22558         sysdeps.
22559         * sysdeps/mach/hurd/shlib-versions: New file.
22560         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22562         * nptl/shlib-versions: Remove architecture-specific entries.
22563         Moved to files in sysdeps.
22564         * shlib-versions: Likewise.
22565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22566         file.
22567         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22568         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22569         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22570         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22572         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22573         (UDP_NO_CHECK6_RX): Likewise.
22575 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22577         * sysdeps/posix/sysconf.c (__sysconf): Spell
22578         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22580 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22582         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22583         loading.
22584         * iconv/Versions (__gconv_transliterate): Export for use from
22585         gconv modules.
22586         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22587         (struct __gconv_trans_data, __gconv_trans_fct,
22588         __gconv_trans_context_fct, __gconv_trans_query_fct,
22589         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22590         definitions.
22591         (struct __gconv_step_data): Remove __trans member.
22592         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22593         longer hidden.  Remove unused trans_data argument.
22594         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22595         (__gconv_translit_find): Remove declaration.
22596         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22597         prototype.
22598         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22599         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22600         trans_data argument.  Add hidden definition.
22601         (__gconv_translit_find): Remove.
22602         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22603         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22604         * iconv/skeleton.c: Remove transliteration initialization.
22605         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22606         __gconv_step_data initialization.
22607         * libio/iofwide.c (__libio_translit_): Remove.
22608         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22609         * wcsmbs/btowc.c (__btowc): Likewise.
22610         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22611         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22612         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22613         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22614         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22615         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22616         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22617         * wcsmbs/wctob.c (wctob): Likewise.
22619 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621         [BZ #16194]
22622         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22623         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22624         register usage.
22625         * sysdeps/x86/Makefile: Adjust.
22627 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22628             Roland McGrath  <roland@hack.frob.com>
22630         * locale/weight.h: Add include guard.
22631         (findidx): Make static rather than auto; take new parameters
22632         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22633         * locale/weightwc.h: Likewise.
22634         * posix/fnmatch_loop.c
22635         (FCT): Change type of EXTRA from int32_t to wint_t.
22636         Don't include either header inside the function.
22637         Call FINDIDX rather than findidx, and pass new arguments.
22638         #undef FINDIDX at the end of the file.
22639         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22640         FINDIDX before including fnmatch_loop.c for the non-wide version.
22641         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22642         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22643         for the wide version.
22644         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22645         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22646         Pass new arguments to findidx.
22647         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22648         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22649         Don't #include it inside the function.  Pass new arguments to findidx.
22650         * posix/regex_internal.h
22651         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22652         (re_string_elem_size_at): Don't #include it inside the function.
22653         Pass new arguments to findidx.
22654         * string/strcoll_l.c: #include WEIGHT_H at top level.
22655         (get_next_seq): Don't #include it inside the function.
22656         Pass new arguments to findidx.
22657         (get_next_seq_nocache): Likewise.
22658         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22659         (STRXFRM): Don't #include it inside the function.
22660         Pass new arguments to findidx.
22662 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22664         [BZ #17344]
22665         * malloc/malloc.c (unlink): Turn asserts into a call to
22666         malloc_printerr.
22668 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22670         [BZ #17370]
22671         * libio/wfileops (do_ftell_wide): Free OUT.
22673 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22675         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22677 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22679         [BZ #17363]
22680         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22681         group if the current group is empty.
22683 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22685         * benchtests/bench-memset.c (test_main): Add more test from size
22686         from 32 to 512 bytes.
22687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22688         Add POWER8 memset object.
22689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22690         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22691         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22692         implementation.
22693         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22694         Likewise.
22695         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22696         multiarch POWER8 memset optimization.
22697         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22698         POWER8 memset optimization.
22700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22701         Remove bzero multiarch objects.
22702         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22703         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22704         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22705         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22706         Remove define.
22707         [__bzero]: Redefine to specific name.
22708         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22709         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22710         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22711         define.
22712         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22713         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22715 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22717         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22718         warnings into errors.
22720         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22721         __cxa_thread_atexit_impl prototype.
22723 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22725         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22726         Fix capitalization of error message.
22728 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22730         * sysdeps/mips/preconfigure: Modify ABI tests.
22732 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22734         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22736 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22737             Carlos O'Donell  <carlos@systemhalted.org>
22739         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22740         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22741         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22742         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22743         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22745         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22746         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22747         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22748         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22750         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22751         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22752         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22754         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22755         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22756         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22757         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22758         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22760         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22761         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22762         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22763         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22764         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22765         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22766         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22767         Deconditionalize the code that was previously under [RESET_PID].
22768         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22769         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22770         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22771         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22772         include sysdep.h.
22774 2014-09-08  Allan McRae  <allan@archlinux.org>
22776         * version.h (RELEASE): Set to "development".
22777         (VERSION): Set to "2.20.90"
22779 2014-09-07  Allan McRae  <allan@archlinux.org
22781         * version.h (RELEASE): Set to "stable".
22782         (VERSION): Set to "2.20"
22783         * include/features.h (__GLIBC_MINOR__): Set to 20.
22785         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22786         Liebler.
22788         * po/ko.po: Update Korean translation from translation project.
22790 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22792         [BZ #17354]
22793         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22794         macro for handling signed relocations.
22796 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22798         [BZ #17325]
22799         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22800         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22801         assert.
22802         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22803         * iconvdata/ibm935.c (BODY): Likewise.
22804         * iconvdata/ibm937.c (BODY): Likewise.
22805         * iconvdata/ibm939.c (BODY): Likewise.
22806         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22807         assert.
22808         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22809         script.
22810         * iconvdata/run-iconv-test.sh: New test loop for checking for
22811         decoder crashers.
22813 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22815         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22816         libm_hidden_ver.
22818 2014-09-01  Allan McRae  <allan@archlinux.org>
22820         * po/eo.po: Update Esperanto translation from translation project.
22822         * po/ca.po: Update Catalan translation from translation project.
22824 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22826         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22827         __proc_dostop call.
22829 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22831         [BZ #17319]
22832         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22833         to call set_thread_area instead of hand written asm.
22834         (__NR_set_thread_area): Removed define.
22835         (TLS_FLAG_WRITABLE): Likewise.
22836         (__ASSUME_SET_THREAD_AREA): Remove check.
22837         (TLS_EBX_ARG): Remove define.
22838         (TLS_LOAD_EBX): Likewise.
22840 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22842         Simplify atomicity of socket creation in bind.
22844         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22845         looking up the name after linking the file.
22847 2014-08-27  Allan McRae  <allan@archlinux.org>
22849         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22851 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22853         [BZ #17187]
22854         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22855         trans_compare, open_translit, __gconv_translit_find):
22856         Remove module loading code.
22858 2014-08-26  Allan McRae  <allan@archlinux.org>
22860         * po/vi.po: Update Vietnamese translation from translation project.
22862         * po/uk.po: Update Ukrainian translation from translation project.
22864         * po/fr.po: Update French translation from translation project.
22866         * po/ru.po: Update Russian translation from translation project.
22868         * po/pl.po: Update Polish translation from translation project.
22870         * po/cs.po: Update Czech translation from translation project.
22872         * po/de.po: Update German translation from translation project.
22874         * po/bg.po: Update Bulgarian translation from translation project.
22876         * po/sv.po: Update Sweedish translation from translation project.
22878         * po/nl.po: Update Dutch translation from translation project.
22880         * po/es.po: Update Spanish translation from translation project.
22882 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22884         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22886         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22887         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22888         (CPPFLAGS-iconvconfig): Likewise.
22889         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22891         * include/libc-symbols.h: Remove unnecessary check for
22892         NOT_IN_libc.
22893         * nptl/pthreadP.h: Likewise.
22894         * sysdeps/aarch64/setjmp.S: Likewise.
22895         * sysdeps/alpha/setjmp.S: Likewise.
22896         * sysdeps/arm/sysdep.h: Likewise.
22897         * sysdeps/i386/setjmp.S: Likewise.
22898         * sysdeps/m68k/setjmp.c: Likewise.
22899         * sysdeps/posix/getcwd.c: Likewise.
22900         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22901         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22902         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22903         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22904         * sysdeps/sh/sh3/setjmp.S: Likewise.
22905         * sysdeps/sh/sh4/setjmp.S: Likewise.
22906         * sysdeps/unix/alpha/sysdep.h: Likewise.
22907         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22909         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22915         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22918         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22920         * sysdeps/x86_64/setjmp.S: Likewise.
22922 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22924         [BZ #17263]
22925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22926         <stdint.h>.
22927         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22928         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22930 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22934         [BZ #17262]
22935         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22936         and __x86_64__ when disabling x87 inline functions.
22938 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22940         [BZ #17259]
22941         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22942         asm statement with __cpuid_count.
22944 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22946         * configure.ac: Change __ehdr_start code to dereference the struct.
22947         Run readelf on the output to look for relocations.
22948         * configure: Regenerated.
22950 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22952         [BZ #17261]
22953         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22954         value to 0.
22955         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22957 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22959         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22961 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22963         [BZ #16892]
22964         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22965         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22967 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22969         * malloc/malloc.c: Fix typo in comment.
22971 2014-08-09  Allan McRae  <allan@archlinux.org>
22973         * Regenerate libc.po.
22975 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22977         * intl/tst-gettext2.sh: Check every lang file for creation.
22979 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22981         * sysdeps/aarch64/fpu/math_private.h
22982         (libc_feholdsetround_noex_aarch64_ctx): New function.
22984 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22986         * sysdeps/arm/armv6/strcpy.S (strcpy):
22987         Fix performance issue in misaligned cases.
22989 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22991         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22992         Move definition from termios.h.
22993         (struct termio): Likewise.
22994         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22995         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22996         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22997         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22998         Likewise.
22999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23000         Move definition to ioctl-types.h
23001         (struct termio): Likewise.
23002         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23003         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23004         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23005         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23006         Likewise.
23008 2014-08-05  Richard Henderson  <rth@redhat.com>
23010         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23011         exceptions.
23012         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23013         Add fraiseexcpt.
23014         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23015         Use __feraiseexcept.
23016         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23017         Protect libm symbols with IS_IN_libm.
23019         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23021 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23023         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23025 2014-08-04  Will Newton  <will.newton@linaro.org>
23027         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23028         file.
23030 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23032         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23033         variants for each function.
23035 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23037         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23038         appended ...
23039         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23040         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23041         appended ...
23042         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23043         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23044         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23045         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23046         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23047         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23048         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23049         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23050         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23051         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23052         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23053         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23054         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23055         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23056         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23057         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23058         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23059         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23060         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23061         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23062         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23066         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23068         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23069         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23070         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23074         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23078         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23079         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23081         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23082         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23084         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23086         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23087         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23088         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23090         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23092         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23093         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23094         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23095         Update #include.
23096         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23097         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23099 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23101         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23102         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23104         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23106         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23108 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23110         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23111         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23112         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23113         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23115 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23117         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23118         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23119         (__libc_vfork): Define function under this name.
23120         (__vfork): Define as an alias.
23121         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23122         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23124 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23126         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23127         that was previously under [RESET_PID].
23128         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23130 2014-08-04  Andreas Schwab  <schwab@suse.de>
23132         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23134 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23136         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23137         (main): Likewise.
23139 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23141         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23143 2014-08-01  Richard Henderon  <rth@redhat.com>
23145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23146         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23147         typo in exact zero test.
23148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23149         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23150         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23152 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23155         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23156         * sysdeps/arm/sysdep.h: ... here.
23157         [!__ASSEMBLER__]: Include <stdint.h>.
23159 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23161         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23162         (HAVE_WCTYPE_H): Likewise.
23163         (HAVE_ISWCTYPE): Likewise.
23164         (ENABLE_NLS): Likewise.
23165         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23166         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23168         * posix/regex_internal.c: Check if DEBUG is defined and is
23169         set.
23171         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23172         (HAVE_MBSRTOWCS): Likewise.
23173         * posix/fnmatch.c: Include string.h unconditionally.
23175 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23177         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23178         reversal.
23180 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23182         * sysdeps/generic/safe-fatal.h: New file.
23183         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23184         * nptl/forward.c: Include it.
23185         (__pthread_unwind): Use __safe_fatal as default action, rather
23186         than a bogus use of INTERNAL_SYSCALL that could never work.
23188         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23189         * configure.ac (libc_cv_builtin_trap): New test.
23190         * configure: Regenerated.
23191         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23192         (ABORT_INSTRUCTION): Define using __builtin_trap.
23194         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23195         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23196         * sysdeps/nptl/nptl-signals.h: New file.
23197         * nptl/pthreadP.h: Include <nptl-signals.h>.
23199 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23201         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23202         (ONE_DIRECTION): Define.
23203         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23204         (ONE_DIRECTION): Define.
23205         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23206         (ONE_DIRECTION): Define.
23208 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23210         * sysdeps/s390/Makefile: Delete file.
23211         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23212         * sysdeps/s390/__longjmp.c: Delete file.
23213         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23214         Remove fields __flags and __reserved.
23215         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23216         and add versioning.
23217         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23218         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23219         * sysdeps/s390/rtld-setjmp.S: Likewise.
23220         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23221         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23222         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23223         * sysdeps/s390/s390-32/setjmp.S: ... here.
23224         Add versioning.
23225         (__sigsetjmp): Remove setting __flags field.
23226         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23227         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23228         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23229         * sysdeps/s390/s390-64/setjmp.S: ... here.
23230         Add versioning.
23231         (__sigsetjmp): Remove setting __flags field.
23232         * sysdeps/s390/setjmp.S: Delete file.
23233         * sysdeps/s390/sigjmp.c: Likewise.
23234         * sysdeps/s390/v1-longjmp.c: Likewise.
23235         * sysdeps/s390/v1-setjmp.h: Likewise.
23236         * sysdeps/s390/v1-sigjmp.c: Likewise.
23237         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23238         Remove v1-longjmp_chk.
23239         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23240         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23241         Include debug/longjmp_chk.c and add versioning.
23242         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23243         Include nptl/pt-longjmp.c and add versioning.
23244         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23245         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23246         Include __longjmp.c.
23247         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23248         Move to ...
23249         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23250         (__getcontext): Remove setting __flags field.
23251         Add versioning.
23252         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23253         Don't restore upper high grps.
23254         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23255         Likewise.
23256         (__swapcontext): Remove setting uc_flags field.
23257         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23258         Delete file.
23259         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23260         Include __longjmp.c.
23261         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23262         Move to ...
23263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23264         (__getcontext): Remove setting __flags field.
23265         Add versioning.
23266         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23267         (__swapcontext): Remove setting uc_flags field.
23268         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23269         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23270         Remove fields uc_high_gprs and __reserved.
23271         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23272         New file with reverted content.
23273         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23275         Regenerated.
23276         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23277         Regenerated.
23279 2014-07-31  Andreas Schwab  <schwab@suse.de>
23281         * config.h.in (HAVE_IFUNC): Define to 0.
23282         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23283         definedness.
23285 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23288         memmove-avx-unaligned, memcpy-avx-unaligned and
23289         mempcpy-avx-unaligned.
23290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23291         Add tests for AVX memcpy functions.
23292         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23293         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23294         memcpy_chk.
23295         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23296         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23297         memmove_chk.
23298         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23299         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23300         mempcpy_chk.
23301         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23302         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23303         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23305 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23307         [BZ #17213]
23308         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23309         powerpc64le.
23311 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23313         [BZ #16839]
23314         * manual/llio.texi: Add section about open file description locks.
23315         * manual/examples/ofdlocks.c: Example of open file description
23316         lock usage.
23317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23318         F_OFD_SETLK, and F_OFD_SETLKW.
23320 2014-07-23  Allan McRae  <allan@archlinux.org>
23322         * po/es.po: Update Spanish translation from translation project.
23324 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23326         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23328 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23330         [BZ #17078]
23331         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23332         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23333         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23335 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23337         [BZ #17088]
23338         * math/fesetenv.c (__fesetenv)
23339         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23340         * math/feupdateenv.c (__feupdateenv)
23341         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23343         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23345         (__ASSUME_SOCKETCALL): Do not define.
23347         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23348         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23349         (__ASSUME_SOCKETCALL): Do not define.
23350         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23351         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23352         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23353         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23354         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23355         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23357         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23359         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23360         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23361         (__ASSUME_SOCKETCALL): Do not define.
23362         (__ASSUME_IPC64): Define unconditionally.
23363         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23364         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23365         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23367         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23369         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23370         Likewise.
23372         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23373         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23374         (__ASSUME_SOCKETCALL): Do not define.
23375         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23376         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23377         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23378         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23379         (__ASSUME_REQUEUE_PI): Define unconditionally.
23380         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23381         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23382         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23383         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23384         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23385         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23387         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23388         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23389         (__ASSUME_SOCKETCALL): Do not define.
23390         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23392         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23393         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23394         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23395         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23397         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23398         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23400         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23402         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23404         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23405         (__ASSUME_GETCPU_SYSCALL): Likewise.
23407         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23408         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23409         cases for individual architectures.
23410         * sysdeps/gnu/configure: Regenerated.
23411         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23412         LIBC_SLIBDIR_RTLDDIR.
23413         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23414         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23415         LIBC_SLIBDIR_RTLDDIR.
23416         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23418         LIBC_SLIBDIR_RTLDDIR.
23419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23420         Regenerated.
23421         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23422         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23423         file.
23424         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23425         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23426         file.
23427         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23428         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23429         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23430         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23432         * sysdeps/aarch64/shlib-versions: Move to ...
23433         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23434         * sysdeps/alpha/shlib-versions: Move to ...
23435         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23436         * sysdeps/arm/shlib-versions: Move to ...
23437         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23438         * sysdeps/hppa/shlib-versions: Move all contents except for
23439         libgcc_s entry to ...
23440         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23441         entry from ...
23442         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23443         * sysdeps/ia64/shlib-versions: Move to ...
23444         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23445         entry from ...
23446         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23447         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23448         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23449         * sysdeps/microblaze/shlib-versions: Move to ...
23450         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23451         * sysdeps/mips/shlib-versions: Move to ...
23452         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23453         entry from ...
23454         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23455         * sysdeps/tile/shlib-versions: Move to ...
23456         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23457         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23458         from ...
23459         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23460         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23461         entry from ...
23462         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23464 2014-07-17  Will Newton  <will.newton@linaro.org>
23466         * sysdeps/arm/bits/atomic.h
23467         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23468         (__arch_compare_and_exchange_bool_16_int): Likewise.
23469         (__arch_compare_and_exchange_bool_64_int): Likewise.
23471         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23472         into an #else block.
23474 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23476         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23477         just Linux configurations.  Test empirically that the compiler sets
23478         __ARM_EABI__, rather than using the tuple to decide.
23479         * sysdeps/arm/preconfigure: Regenerated.
23480         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23481         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23482         contents appended ...
23483         * sysdeps/arm/configure.ac: ... here.
23484         * sysdeps/arm/configure: Regenerated.
23486 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23488         * nptl/pthread_kill.c: New file.
23489         * nptl/pthread_sigmask.c: New file.
23490         * nptl/pthread_sigqueue.c: New file.
23492         * sysdeps/nptl/lowlevellock.h: New file.
23493         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23494         * sysdeps/nptl/lowlevellock-futex.h: New file.
23496         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23497         Remove dead declarations.
23499 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23501         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23502         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23503         config-cflags-avx2.
23504         * sysdeps/x86_64/configure.ac: Likewise.
23505         * sysdeps/i386/configure: Regenerated.
23506         * sysdeps/x86_64/configure: Likewise.
23507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23508         memset-avx2 only if config-cflags-avx2 is yes.
23509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23510         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23511         defined.
23512         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23513         only if HAVE_AVX2_SUPPORT is defined.
23514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23516 2014-07-14  Alan Modra  <amodra@gmail.com>
23518         [BZ #17153]
23519         * elf/elf.h (DT_PPC64_NUM): Correct value.
23520         * NEWS: Add to fixed bug list.
23522 2014-07-13  Jim Meyering  <meyering@fb.com>
23524         [BZ 17150]
23525         regex: don't deref NULL upon heap allocation failure
23526         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23527         failure in one more place.
23528         To trigger the segfault, configure grep -with-included-regex,
23529         build it, and run these commands:
23530         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23532 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23534         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23536 2014-07-11  Richard Henderson  <rth@redhat.com>
23538         * sysdeps/aarch64/libm-test-ulps: Update.
23540 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23542         [BZ #17135]
23543         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23544         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23545         (__nptl_setxid): Initialize error member.  Call
23546         __nptl_setxid_error.
23547         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23548         * nptl/descr.h (struct xid_command): Add error member.
23549         * nptl/tst-setuid3.c: New file.
23550         * nptl/Makefile (tests): Add it.
23552 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23555         New define.
23556         (__lll_trylock): Use __lll_base_trylock.
23557         (__lll_cond_trylock): Likewise.
23559 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23561         * nptl/pthread_create.c (start_thread): Use atomic_or and
23562         lll_futex_wake directly rather than lll_robust_dead.
23563         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23564         (lll_robust_dead): Macro removed.
23565         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23566         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23568         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23570         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23571         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23572         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23573         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23574         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23575         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23576         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23577         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23578         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23581         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23582         Use atomic_compare_and_exchange_val_acq directly rather than
23583         lll_robust_trylock.
23584         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23585         (__lll_robust_trylock, lll_robust_trylock): Removed.
23586         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23587         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23588         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23589         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23590         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23591         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23592         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23593         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23594         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23595         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23597         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23598         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23603         * manual/locale.texi (Locale Names): New section documenting
23604         locale name syntax.  Adjust menu and node chaining accordingly.
23605         (Choosing Locale): Reference Locale Names, Locale Categories.
23606         Mention setting LC_ALL=C.  Reflect that name syntax is now
23607         documented.
23608         (Locale Categories): New section title.  Reference Locale Names.
23609         LC_ALL is an environment variable, but not a category.
23610         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23611         description, now in Locale Name.  Reference that section.  Locale
23612         name syntax is now documented.
23614 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23616         [BZ #17137]
23617         * locale/findlocale.c (name_present, valid_locale_name): New
23618         functions.
23619         (_nl_find_locale): Use the loc_name variable to store name
23620         candidates.  Call name_present and valid_locale_name to check and
23621         validate locale names.  Return an error if the locale is invalid.
23623 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23625         * locale/setlocale.c (setlocale): Use strdup for allocating
23626         composite name copy.
23628 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23630         Sync up with gnulib.
23631         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23632         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23633         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23634         and _GL_ARG_NONNULL.
23635         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23636         [!_LIBC]: Include code for Windows and Cygwin.
23637         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23638         Include prototype for int strerror_r.
23639         [!_LIBC] (is_open): New function.
23640         (flush_stdout): New function.
23641         (print_errno_message): Use it.
23642         (error): Likewise.
23643         (error_at_line): Likewise.
23644         (error_tail) Add function attribute macros.  Use
23645         __builtin_expect.
23647         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23649         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23651         * io/ftw.c: Include sys/param.h unconditionally.
23653         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23655         [BZ #17125]
23656         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23657         libc_freeres_ptr.
23658         (freecache): New function to free CACHE on exit.
23660         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23661         initialization.
23663 2014-07-09  David S. Miller  <davem@davemloft.net>
23665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23667         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23668         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23669         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23670         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23671         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23672         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23673         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23674         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23675         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23676         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23677         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23678         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23679         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23681 2014-07-09  Andreas Schwab  <schwab@suse.de>
23683         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23684         output.
23685         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23686         (do_test): Likewise.
23688         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23690 2014-07-09  Will Newton  <will.newton@linaro.org>
23692         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23693         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23694         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23695         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23696         * sysdeps/hppa/start.S (_start): Likewise.
23698 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23700         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23702         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23703         defined.
23705 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23707         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23708         after checking that it is non-NULL.
23710         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23712 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23714         * sysdeps/powerpc/memmove.c: Remove file.
23715         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23716         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23717         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23718         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23720         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23722         string memmove instead of removed powerpc one.
23724         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23725         [weak_alias]: Fix compiler warning due trailing data.
23726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23727         [weak_alias]: Likewise.
23728         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23729         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23732         (__libc_ifunc_impl_list): Add memmove functions.
23734 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23737         Remove code.
23738         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23739         Likewise.
23740         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23741         Likewise.
23742         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23743         Likewise.
23744         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23745         Likewise.
23746         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23747         Likewise.
23748         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23749         Likewise.
23750         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23751         Likewise.
23752         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23753         Likewise.
23754         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23755         Likewise.
23756         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23757         Likewise.
23758         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23759         Likewise.
23760         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23761         Likewise.
23762         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23763         Likewise.
23764         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23765         Likewise.
23766         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23767         Likewise.
23768         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23769         Likewise.
23771 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23774         to avoid alignment traps in non-cacheable memory.
23775         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23778         multiarch objects.
23779         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23780         file: multiarch power7 memmove.
23781         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23782         multiarch default memmove.
23783         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23784         multiarch memove for powerpc32/power4.
23786         * string/bcopy.c: Use full path to include memmove.c.
23787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23788         multiarch objects.
23789         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23790         bcopy for powerpc64.
23791         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23792         bcopy for powerpc64.
23793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23794         and memmove implementations.
23795         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23796         optimized multiarch memmove for POWER7/powerpc64.
23797         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23798         default multiarch memmove for powerpc64.
23799         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23800         multiarch for powerpc64.
23801         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23802         for POWER7/powerpc64.
23803         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23804         memmove for POWER7/powerpc64.
23806         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23807         glibc default one.
23809         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23810         __ELF_NATIVE_CLASS equal to 64.
23812 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23814         * sysdeps/nptl/lowlevellock.h: File removed.
23816         * NEWS: NPTL is no longer an add-on!
23817         * nptl/internaltypes.h: Moved ...
23818         * sysdeps/nptl/internaltypes.h: ... here.
23819         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23820         * sysdeps/nptl/fork.c: Likewise.
23821         * sysdeps/nptl/gai_misc.h: Likewise.
23822         * sysdeps/nptl/librt-cancellation.c: Likewise.
23823         * sysdeps/nptl/jmp-unwind.c: Likewise.
23824         * sysdeps/nptl/setxid.h: Likewise.
23825         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23826         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23827         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23828         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23829         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23830         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23831         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23832         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23833         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23834         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23835         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23836         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23837         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23838         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23839         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23840         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23841         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23842         * nptl/Makeconfig: Moved ...
23843         * sysdeps/nptl/Makeconfig: ... here.
23844         * nptl/configure: File removed.
23845         * nptl/ANNOUNCE: File removed.
23846         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23847         * sysdeps/unix/sysv/linux/configure: Regenerated.
23849         * nptl/Makefile (routines): Add libc_pthread_init,
23850         libc_multiple_threads, register-atfork and unregister-atfork.
23851         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23852         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23853         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23854         pthread-pi-defines.sym, structsem.sym.
23855         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23856         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23857         [$(subdir) = nptl] (tests): Add tst-setgetname.
23858         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23859         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23860         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23861         [!LIBC_SIGACTION]: Remove aliases.
23862         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23863         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23864         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23865         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23866         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23867         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23868         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23870         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23871         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23872         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23873         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23874         __libc_allocate_rtsig_private.
23875         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23876         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23877         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23878         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23879         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23880         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23881         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23882         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23883         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23884         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23885         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23886         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23887         * nptl/internaltypes.h: ... here.
23888         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23889         * sysdeps/nptl/jmp-unwind.c: ... here.
23890         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23891         * nptl/libc-lowlevellock.c: ... here.
23892         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23893         * nptl/libc_multiple_threads.c: ... here.
23894         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23895         * nptl/libc_pthread_init.c: ... here.
23896         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23897         * nptl/lowlevelbarrier.sym: ... here.
23898         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23899         * nptl/lowlevelcond.sym: ... here.
23900         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23901         * nptl/lowlevellock.c: ... here.
23902         * nptl/lowlevellock.h: Moved ...
23903         * sysdeps/nptl/lowlevellock.h: ... here.
23904         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23905         * nptl/lowlevelrobustlock.c: ... here.
23906         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23907         * nptl/lowlevelrobustlock.sym: ... here.
23908         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23909         * nptl/lowlevelrwlock.sym: ... here.
23910         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23911         * nptl/pt-fork.c: ... here.
23912         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23913         * nptl/pthread-pi-defines.sym: ... here.
23914         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23915         * nptl/pthread_attr_getaffinity.c: ... here.
23916         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23917         * nptl/pthread_attr_setaffinity.c: ... here.
23918         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23919         * nptl/pthread_mutex_cond_lock.c: ... here.
23920         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23921         Update #include.
23922         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23923         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23924         * nptl/pthread_once.c: ... here, replacing old file.
23925         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23926         * nptl/pthread_yield.c: ... here.
23927         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23928         * nptl/register-atfork.c: ... here.
23929         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23930         * nptl/sem_post.c: ... here.
23931         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23932         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23933         * nptl/sem_timedwait.c: ... here.
23934         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23935         * nptl/sem_trywait.c: ... here.
23936         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23937         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23938         * nptl/sem_wait.c: ... here.
23939         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23940         * nptl/structsem.sym: ... here.
23941         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23942         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23943         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23944         * nptl/unregister-atfork.c: ... here.
23945         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23946         * nptl/unwindbuf.sym: ... here.
23947         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23948         * sysdeps/nptl/fork.c: ... here.
23949         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23950         * sysdeps/nptl/fork.h: ... here.
23951         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23952         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23953         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23954         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23955         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23956         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23957         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23958         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23959         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23960         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23961         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23962         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23963         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23964         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23965         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23966         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23967         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23968         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23969         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23970         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23971         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23972         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23973         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23974         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23975         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23976         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23977         * sysdeps/unix/sysv/linux/raise.c: ... here.
23978         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23979         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23980         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23981         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23982         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23983         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23984         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23985         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23987         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23988         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23989         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23990         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23991         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23992         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23994 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * sysdeps/generic/memcopy.h: Add comment for
23997         MEMCPY_OK_FOR_FWD_MEMMOVE.
23999 2014-07-04  Will Newton  <will.newton@linaro.org>
24001         * string/memchr.c: Merge from gnulib.
24002         [_LIBC]: Remove conditionals.
24003         (__ptr_t): Remove define.
24004         (LONG_MAX_32_BITS): Likewise.
24005         (LONG_MAX): Likewise.
24006         (MEMCHR): Use ANSI prototype and optimize algorithm.
24008         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24010 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24012         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24013         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24015         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24016         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24017         in a bare environment with no <stdlib.h> installed.
24018         * sysdeps/nptl/configure: Regenerated.
24020         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24022         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24023         AC_EGREP_CPP for kernel header checks, so they only succeed if
24024         including <linux/version.h> actually works right.
24025         * sysdeps/unix/sysv/linux/configure: Regenerated.
24027         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24028         value so it's not diagnosed as unused.
24030         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24031         thing) with "ifeq ($(subdir),rt)".
24033 2014-07-03  Richard Henderson  <rth@redhat.com>
24035         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24036         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24037         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24039         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24040         (math_force_eval): New.
24042         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24043         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24045         * sysdeps/alpha/fpu/s_round.c: Remove file.
24046         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24048         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24049         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24050         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24051         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24052         (_dl_start, print_statistics): Likewise.
24053         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24054         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24056         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24057         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24058         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24059         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24060         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24061         (HP_SMALL_TIMING_AVAIL): Define.
24062         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24063         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24064         (HP_SMALL_TIMING_AVAIL): Define.
24065         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24066         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24068         * sysdeps/aarch64/hp-timing.h: New file.
24070         * sysdeps/generic/hp-timing.h: Remove dead comment.
24071         * sysdeps/generic/hp-timing-common.h: New file.
24072         * sysdeps/alpha/hp-timing.h: Include it.
24073         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24074         * sysdeps/i386/i686/hp-timing.h: Likewise.
24075         * sysdeps/ia64/hp-timing.h: Likewise.
24076         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24077         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24078         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24079         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24080         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24081         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24082         (hp_timing_t): New.
24084         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24085         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24086         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24087         * elf/rtld.c (_dl_start_final): Likewise.
24088         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24089         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24090         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24091         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24092         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24094         (HP_TIMING_DIFF_INIT): Remove.
24095         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24096         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24097         (HP_TIMING_DIFF_INIT): Remove.
24098         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24099         * sysdeps/i386/i686/hp-timing.c: Remove file.
24100         * sysdeps/x86_64/hp-timing.c: Remove file.
24101         * sysdeps/ia64/hp-timing.c: Remove file.
24102         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24103         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24104         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24105         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24107         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24108         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24109         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24110         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24112         (HP_TIMING_ACCUM): Remove.
24113         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24114         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24115         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24117         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24118         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24119         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24120         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24121         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24122         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24123         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24124         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24126         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24128 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24130         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24134         Sync up with gettext.
24135         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24136         [_MSC_VER]: Include malloc.h
24137         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24138         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24139         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24140         TEMP_FAILURE_RETRY.  Cast return of alloca.
24141         [!_LIBC] Call gl_rwlock_init.
24142         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24144 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24146         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24147         before checking its value.
24149 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24151         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24153         * debug/memcpy_chk.c: Don't include pagecopy.h.
24154         * debug/mempcpy_chk.c: Likewise.
24155         * string/memcpy.c: Likewise.
24156         * string/memmove.c: Likewise.
24157         * sysdeps/powerpc/memmove.c: Likewise.
24158         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24159         definition of PAGE_COPY_FWD_MAYBE here...
24160         * sysdeps/generic/pagecopy.h: ... from here.
24161         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24163 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24164             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24166         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24168         optimizations.
24169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24170         (__libc_ifunc_impl_list): Likewise.
24171         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24172         multiarch strcat for PPC64.
24173         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24174         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24176 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24178         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24180 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24182         * intl/loadmsgcat.c: Remove declaration of
24183         get_sysdep_segment_value.
24184         (get_sysdep_segment_value): Use ISO C style.
24185         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24186         semicolon.  Fix typo and formatting in comment.
24187         (_nl_unload_domain): Use ISO C style.
24189         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24191 2014-07-02  Will Newton  <will.newton@linaro.org>
24193         * malloc/obstack.c: Merge from gnulib master.
24194         [HAVE_CONFIG_H]: Remove conditional code.
24195         [!_LIBC]: Include config.h.
24196         [!ELIDE_CODE]: Don't include inttypes.h, include
24197         stdint.h unconditionally.
24198         (print_and_abort): Mark as _Noreturn.
24199         (_obstack_allocated_p): Mark as __attribute_pure__.
24200         (obstack_free): Rename to __obstack_free.
24201         [!__attribute__]: Remove conditional code.
24202         * malloc/obstack.h: Merge from gnulib master.
24203         [__cplusplus]: Move conditional down.
24204         [!__attribute_pure__]: Define __attribute_pure__ here
24205         if it is not already defined.
24206         (_obstack_memory_used): Mark as __attribute_pure__.
24207         [!__obstack_free]: Define as obstack_free.
24208         [__GNUC__]: Remove check for ancient NeXT gcc.
24210 2014-07-02  Will Newton  <will.newton@linaro.org>
24211             Paul Eggert  <eggert@cs.ucla.edu>
24213         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24215 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24217         * resolv/gethnamaddr.c: Add comment warning that the file is
24218         not maintained.
24220 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24222         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24223         entries.
24225         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24226         entry for aio_cancel and aio_cancel64.
24227         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24228         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24229         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24230         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24231         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24232         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24233         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24234         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24235         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24236         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24237         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24238         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24239         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24241 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24243         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24244         * nptl/pthread_mutex_lock.c: Likewise.
24245         * nptl/pthread_mutex_timedlock.c: Likewise.
24246         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24248 2014-07-01  Richard henderson  <rth@redhat.com>
24250         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24251         (__isnan, __isnanl): Remove.
24252         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24254         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24256 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24258         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24260 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24262         * resolv/nss_dns/dns-host.c (getanswer_r)
24263         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24265 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24267         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24268         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24269         undefine.
24270         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24271         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24273 2014-07-01  Roland McGrath <roland@hack.frob.com>
24275         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24276         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24278         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24279         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24281         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24282         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24283         ... here.
24284         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24285         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24287         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24288         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24289         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24290         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24292         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24293         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24294         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24295         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24296         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24297         Moved ...
24298         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24299         ... here.
24300         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24301         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24302         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24303         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24304         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24305         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24306         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24307         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24308         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24309         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24310         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24311         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24312         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24313         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24314         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24315         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24316         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24317         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24318         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24319         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24320         ... here.
24321         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24322         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24323         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24324         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24325         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24326         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24327         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24328         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24330 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24332         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24333         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24334         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24335         Add sysdep.
24337 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24341 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24343         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24344         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24346         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24348         * sysdeps/arm/libm-test-ulps: Regenerated.
24350 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24351             Roland McGrath <roland@hack.frob.com>
24353         * test-skeleton.c (signal_handler): Kill the whole process group
24354         before killing the child individually.
24355         (main): Report any failure on `setpgid'.
24357 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24359         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24360         from _TLS_H to _ARM_NPTL_TLS_H.
24361         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24362         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24364 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24366         [BZ #16539]
24367         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24368         (__expm1l): Return argument unchanged when small but not
24369         subnormal.
24371         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24372         include macro name.
24373         (_FP_UNPACK_RAW_1_P): Likewise.
24374         (_FP_PACK_RAW_1): Likewise.
24375         (_FP_PACK_RAW_1_P): Likewise.
24376         (_FP_MUL_MEAT_1_wide): Likewise.
24377         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24378         (_FP_MUL_MEAT_1_hard): Likewise.
24379         (_FP_DIV_MEAT_1_imm): Likewise.
24380         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24381         (_FP_DIV_MEAT_1_udiv): Likewise.
24382         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24383         (_FP_UNPACK_RAW_2): Likewise.
24384         (_FP_UNPACK_RAW_2_P): Likewise.
24385         (_FP_PACK_RAW_2): Likewise.
24386         (_FP_PACK_RAW_2_P): Likewise.
24387         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24388         (_FP_MUL_MEAT_2_wide): Likewise.
24389         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24390         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24391         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24392         (_FP_MUL_MEAT_2_gmp): Likewise.
24393         (_FP_DIV_MEAT_2_udiv): Likewise.
24394         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24395         (_FP_FRAC_SRL_4): Likewise.
24396         (_FP_FRAC_SRST_4): Likewise.
24397         (_FP_FRAC_SRS_4): Likewise.
24398         (_FP_UNPACK_RAW_4): Likewise.
24399         (_FP_UNPACK_RAW_4_P): Likewise.
24400         (_FP_PACK_RAW_4): Likewise.
24401         (_FP_PACK_RAW_4_P): Likewise.
24402         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24403         (_FP_MUL_MEAT_4_wide): Likewise.
24404         (_FP_MUL_MEAT_4_gmp): Likewise.
24405         (umul_ppppmnnn): Likewise.
24406         (_FP_DIV_MEAT_4_udiv): Likewise.
24407         (__FP_FRAC_ADD_4): Likewise.
24408         (__FP_FRAC_SUB_3): Likewise.
24409         (__FP_FRAC_SUB_4): Likewise.
24410         (__FP_FRAC_DEC_3): Likewise.
24411         (__FP_FRAC_DEC_4): Likewise.
24412         (__FP_FRAC_ADDI_4): Likewise.
24413         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24414         (_FP_FRAC_SRL_8): Likewise.
24415         (_FP_FRAC_SRS_8): Likewise.
24417         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24418         include macro name.
24419         (FP_UNPACK_RAW_EP): Likewise.
24420         (FP_PACK_RAW_E): Likewise.
24421         (FP_PACK_RAW_EP): Likewise.
24422         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24423         (_FP_ISSIGNAN): Likewise.
24424         (_FP_ADD_INTERNAL): Likewise.
24425         (_FP_FMA): Likewise.
24426         (_FP_CMP): Likewise.
24427         (_FP_SQRT): Likewise.
24428         (_FP_TO_INT): Likewise.
24429         (_FP_FROM_INT): Likewise.
24430         (FP_EXTEND): Likewise.
24431         (_FP_DIV_MEAT_N_loop): Likewise.
24433 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24435         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24436         throughout.
24438 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #17097]
24441         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24442         result with correct sign in case of exponents that produce
24443         overflow except for X very close to 1.
24445 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24447         mktime: merge #if/#ifdef usage from glibc
24448         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24449         as that works with both Glibc's and Gnulib's style.
24450         See thread starting at Siddhesh Poyarekar's bug report at:
24451         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24453 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24455         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24456         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24457         * sysdeps/tile/tilegx/memmove.c: Remove file.
24459 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24461         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24462         abi-name definition.
24463         * scripts/soversions.awk: Do not handle or generate ABI lines.
24464         * shlib-versions: Remove ABI entries.
24465         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24466         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24468 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24471         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24472         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24473         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24475         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24477         Moved ...
24478         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24479         ... here.
24480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24481         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24483         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24485         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24487         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24489         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24491         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24493         Moved ...
24494         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24498         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24500         Moved ...
24501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24503         Moved ...
24504         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24506         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24508         Moved ...
24509         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24511         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24513         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24515         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24517         Moved ...
24518         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24520         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24521         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24522         Moved ...
24523         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24528         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24530         Moved ...
24531         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24532         ... here.
24533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24534         Identical file removed.
24535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24536         Moved ...
24537         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24539         Identical file removed.
24540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24541         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24543         Moved ...
24544         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24546         Identical file removed.
24547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24548         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24550         Identical file removed.
24551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24552         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24553         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24554         Identical file removed.
24555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24556         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24558         Identical file removed.
24559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24560         Moved ...
24561         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24563         Identical file removed.
24564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24565         Moved ...
24566         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24568         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24570         Identical file removed.
24571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24572         Moved ...
24573         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24574         ... here.
24575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24576         Identical file removed.
24577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24581         Identical file removed.
24582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24583         Moved ...
24584         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24586         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24588         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24590         Moved ...
24591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24592         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24593         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24595         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24596         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24597         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24598         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24599         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24601 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24603         [BZ #17092]
24604         * nscd/nscd.c (monitor_child): Return exit status of child
24605         instead of return value from wait syscall.
24607 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24609         * configure.ac (libc_commonpagesize): Remove variable.
24610         (libc_relro_required): Likewise.
24611         (libc_cv_z_relro): Remove configure test.
24612         * configure: Regenerated.
24613         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24614         variable.
24615         (libc_relro_required): Likewise.
24616         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24617         (libc_relro_required): Likewise.
24618         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24619         (libc_relro_required): Likewise.
24620         * sysdeps/arm/preconfigure: Regenerated.
24621         * sysdeps/ia64/preconfigure: Remove file.
24622         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24623         variable.
24624         (libc_relro_required): Likewise.
24626         [BZ #16561]
24627         [BZ #16562]
24628         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24629         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24630         recompute overflowing results in original rounding mode.
24631         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24632         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24633         recompute overflowing results in original rounding mode.
24634         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24635         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24636         recompute overflowing results in original rounding mode.
24637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24638         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24639         recompute overflowing results in original rounding mode.
24640         * sysdeps/ieee754/ldbl-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24644         (libc_feholdsetround_ctx): New macro.
24645         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24646         * sysdeps/i386/fpu/libm-test-ulps: Update.
24647         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24649 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24651         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24652         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24653         corresponding .cpsetup call.
24655 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24657         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24658         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24659         * sysdeps/arm/Makefile [$(subdir) = csu]
24660         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24661         (static-only-routines): Add aeabi_read_tp here.
24662         (shared-only-routines): Add libc-aeabi_read_tp here.
24663         (CFLAGS-libc-start.c): Add -fexceptions here.
24664         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24665         (sysdep_routines, static-only-routines, shared-only-routines):
24666         Don't add to these here.
24667         (CFLAGS-libc-start.c): Likewise.
24669         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24670         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24671         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24672         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24673         * sysdeps/arm/Makefile [$(subdir) = rt]
24674         (librt-sysdep_routines, librt-shared-only-routines):
24675         Append rt-aeabi_unwind_cpp_pr1 here.
24676         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24677         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24678         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24679         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24680         Append nptl-aeabi_unwind_cpp_pr1 here.
24681         (tests): Filter out tst-cleanupx4 here.
24682         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24683         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24684         Don't do those here.
24686 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24688         * scripts/list-sources.sh: Do not handle ports specially.
24690 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24692         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24693         * sysdeps/arm/feupdateenv.c: Likewise.
24695         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24697 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24699         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24700         trailing whitespace removed.
24701         * scripts/config.guess: Update to version 2014-03-23.
24702         * scripts/config.sub: Update to version 2014-05-01
24703         * scripts/install-sh: Update to version 2013-12-25.23.
24704         * scripts/move-if-change: Update from gnulib.
24706 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24708         * debug/memmove_chk.c: Remove pagecopy.h include.
24710 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24712         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24713         identical to gnulib mktime.
24715 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24717         * configure.ac: Do not test for machine being rs6000.  Do not test
24718         for powerpc*-*soft.
24719         * configure: Regenerated.
24721         [BZ #11505]
24722         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24723         test.
24724         * configure: Regenerated.
24725         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24726         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24727         Remove configure test.
24728         * sysdeps/arm/configure: Regenerated.
24729         * sysdeps/nptl/configure.ac: Do not check
24730         libc_cv_asm_cfi_directives.
24731         * sysdeps/nptl/configure: Regenerated.
24732         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24733         * sysdeps/x86_64/nptl/configure: Remove generated file.
24734         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24735         unconditional.
24736         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24738 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24740         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24741         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24742         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24743         it is defined.
24745         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24746         instead of whether it is defined.
24747         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24748         * sysdeps/hppa/dl-machine.h: Likewise.
24749         * sysdeps/ia64/dl-machine.h: Likewise.
24750         * sysdeps/m68k/dl-machine.h: Likewise.
24751         * sysdeps/microblaze/dl-machine.h: Likewise.
24752         * sysdeps/mips/dl-machine.: Likewise.
24753         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24754         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24755         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24756         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24757         * sysdeps/sh/dl-machine.h: Likewise.
24758         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24760         * sysdeps/tile/dl-machine.h: Likewise.
24761         * sysdeps/x86_64/dl-machine.h: Likewise.
24763         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24764         code.
24765         (verify_persistent_db): Likewise.
24767 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24770         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24772         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24774         Moved ...
24775         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24776         ... here.
24777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24778         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24780         Identical file removed.
24781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24782         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24784         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24786         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24788         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24790         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24792         Moved ...
24793         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24795         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24797         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24799         Moved ...
24800         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24802         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24804         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24806         Identical file removed.
24807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24808         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24810         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24812         Moved ...
24813         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24814         ... here.
24815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24818         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24820         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24822         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24824         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24826         Moved ...
24827         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24829         Moved ...
24830         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24832         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24834         Moved ...
24835         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24837         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24839         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24840         folded into ...
24841         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24842         * sysdeps/unix/sysv/linux/s390/Versions
24843         (libpthread: GLIBC_2.19): New version set.
24844         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24845         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24846         (librt: GLIBC_2.3.3): New version set.
24847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24848         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24849         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24850         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24851         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24852         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24853         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24854         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24855         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24856         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24857         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24859         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24860         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24861         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24863         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24865         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24867         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24869         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24870         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24871         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24873         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24874         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24875         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24876         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24877         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24878         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24881         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24883         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24885         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24887         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24889         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24890         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24891         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24893         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24894         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24895         (__libc_vfork): Define the function under this name.
24896         [!NOT_IN_libc] (__vfork): Make this an alias.
24897         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24899         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24900         (__libc_vfork): Define the function under this name.
24901         [!NOT_IN_libc] (__vfork): Make this an alias.
24902         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24903         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24904         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24905         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24906         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24907         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24909         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24910         code that was previously under [RESET_PID].
24911         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24912         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24915         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24916         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24917         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24918         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24919         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24920         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24921         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24922         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24923         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24924         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24925         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24926         Moved ...
24927         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24928         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24929         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24930         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24931         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24932         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24933         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24934         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24935         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24936         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24937         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24938         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24939         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24940         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24941         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24942         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24943         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24944         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24945         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24946         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24947         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24948         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24949         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24950         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24951         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24952         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24953         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24954         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24955         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24957 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24959         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24960         that was previously under [RESET_PID].
24961         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24963 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24965         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24966         not undefine and redefine.
24967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24968         [O_CLOEXEC]: Make code unconditional.
24969         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24970         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24971         <kernel-features.h>.
24972         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24973         conditional variable definition.
24974         (shm_open) [O_CLOEXEC]: Make code unconditional.
24975         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24976         code.
24978         * configure.ac (USE_REGPARMS): Don't define here.
24979         * configure: Regenerated.
24980         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24981         * sysdeps/i386/configure: Regenerated.
24983         * nptl/createthread.c: Don't include kernel-features.h.
24984         * nptl/pthread_cancel.c: Likewise.
24985         * nptl/pthread_condattr_setclock.c: Likewise.
24986         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24987         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24988         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24989         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24990         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24991         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24992         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24995         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24996         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24997         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24998         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24999         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25000         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25001         * nscd/gai.c: Likewise.
25002         * nss/nss_db/db-open.c: Likewise.
25003         * sysdeps/generic/ldsodefs.h: Likewise.
25004         * sysdeps/sh/nptl/tls.h: Likewise.
25005         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25006         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25007         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25008         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25009         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25010         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25011         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25012         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25013         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25014         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25015         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25016         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25017         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25018         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25019         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25020         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25021         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25022         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25023         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25024         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25027         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25033         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25034         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25035         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25036         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25037         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25038         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25039         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25040         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25041         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25042         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25043         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25044         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25045         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25046         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25047         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25048         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25049         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25050         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25051         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25052         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25053         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25054         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25055         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25056         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25057         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25058         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25059         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25060         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25061         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25062         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25085         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25086         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25087         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25088         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25089         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25090         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25091         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25092         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25093         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25094         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25095         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25096         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25097         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25098         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25099         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25100         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25101         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25102         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25103         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25104         * sysdeps/unix/sysv/linux/system.c: Likewise.
25105         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25106         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25107         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25108         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25109         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25110         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25111         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25113         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25114         * configure: Regenerated.
25115         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25117         * configure.ac (base_machine): Do not set specially for particular
25118         machines here.
25119         * configure: Regenerated.
25120         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25121         settings from configure.ac.
25122         * sysdeps/i386/preconfigure: New file.
25123         * sysdeps/s390/preconfigure: Likewise.
25124         * sysdeps/sh/preconfigure: Likewise.
25125         * sysdeps/sparc/preconfigure: Likewise.
25127 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25129         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25130         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25131         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25132         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25133         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25134         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25135         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25136         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25137         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25138         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25139         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25140         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25141         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25142         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25144         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25146         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25147         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25149         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25150         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25151         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25152         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25153         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25154         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25155         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25156         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25157         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25158         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25159         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25160         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25161         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25162         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25163         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25164         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25165         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25166         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25167         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25168         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25170         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25174         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25180         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25181         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25182         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25184         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25185         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25186         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25189         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25191         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25193         Moved ...
25194         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25195         ... here.
25196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25197         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25199         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25201         Moved ...
25202         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25204         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25206         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25208         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25210         Moved ...
25211         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25213         Moved ...
25214         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25216         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25218         Moved ...
25219         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25221         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25223         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25225         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25227         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25229         Moved ...
25230         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25231         ... here.
25232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25233         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25235         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25237         Moved ...
25238         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25240         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25242         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25244         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25246         Moved ...
25247         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25249         Moved ...
25250         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25252         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25254         Moved ...
25255         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25257         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25259         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25261 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25263         * timezone/checktab.awk: Update from tzcode 2014e.
25264         * timezone/private.h: Likewise.
25265         * timezone/tzfile.h: Likewise.
25266         * timezone/zdump.c: Likewise.
25267         * timezone/zic.c: Likewise.
25269         * sysdeps/unix/sysv/linux/kernel-features.h
25270         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25271         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25272         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25273         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25274         Remove conditional code.
25276 2014-06-25  Will Newton  <will.newton@linaro.org>
25278         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25279         (_dl_arm_cap_flags): Add HWCAP2 values.
25280         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25281         (_DL_HWCAP_COUNT): Increase to 37.
25282         (_DL_HWCAP_LAST): New define.
25283         (_DL_HWCAP2_LAST): New define.
25284         (_dl_procinfo): Add support for printing
25285         AT_HWCAP2 entries.
25286         (_dl_string_hwcap): Use _dl_hwcap_string.
25288 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25292 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25294         * README: Do not mention ports directory.
25296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25297         Remove macro.
25298         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25299         <kernel-features.h>.
25300         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25301         conditional variable definition.
25302         (__futimes): Update comment.
25303         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25304         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25306         [BZ #16560]
25307         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25308         arguments close to 0.
25309         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25310         Likewise.
25311         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25312         Likewise.
25313         * math/auto-libm-test-in: Add more tests of exp10.
25314         * math/auto-libm-test-out: Regenerated.
25315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25317         * sysdeps/unix/sysv/linux/kernel-features.h
25318         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25319         * sysdeps/unix/sysv/linux/readv.c: Do not include
25320         <kernel-features.h>.
25321         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25322         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25323         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25324         unconditional.
25325         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25326         conditional code.
25327         * sysdeps/unix/sysv/linux/writev.c: Do not include
25328         <kernel-features.h>.
25329         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25330         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25331         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25332         unconditional.
25333         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25334         conditional code.
25336 2014-06-25  Will Newton  <will.newton@linaro.org>
25338         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25339         comment changes throughout the file.  Remove checks
25340         for HAVE_*_H definitions that are not required.
25341         (__gen_tempname): Call abort if an unknown kind value is
25342         passed.
25344 2014-06-25  Andreas Schwab  <schwab@suse.de>
25346         [BZ #17086]
25347         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25348         scalbln, scalblnf, scalblnl in libc.
25350 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25352         [BZ #17086]
25353         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25354         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25355         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25357 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25359         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25360         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25361         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25362         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25363         Update #include.
25364         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25365         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25366         Update #include.
25367         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25368         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25369         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25370         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25371         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25372         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25373         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25374         * sysdeps/x86/bits/semaphore.h: ... here.
25375         * sysdeps/x86/nptl/elide.h: Moved ...
25376         * sysdeps/x86/elide.h: ... here.
25377         * sysdeps/x86_64/nptl/Implies: File removed.
25378         * sysdeps/i386/nptl/Implies: File removed.
25380 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25382         [BZ #16539]
25383         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25384         return the argument for normal arguments with exponent below -64.
25385         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25386         Likewise.
25387         * math/auto-libm-test-in: Add another test of expm1.
25388         * math/auto-libm-test-out: Regenerated.
25390         [BZ #16287]
25391         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25392         calling __erfcl for arguments at least 16.
25393         * math/auto-libm-test-in: Add more tests of erf.
25394         * math/auto-libm-test-out: Regenerated.
25396         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25397         individual architectures.
25398         * sysdeps/unix/sysv/linux/configure: Regenerated.
25399         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25400         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25401         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25402         (ldd_rewrite_script): Define variable.
25403         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25405         file.
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25407         generated file.
25408         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25409         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25410         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25411         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25412         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25413         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25414         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25415         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25417 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25419         [BZ #17084]
25420         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25421         Rename member __data.d to __data.__elision_data.
25423 2014-06-24  Wilco  <wdijkstr@arm.com>
25425         * NEWS: Add 16918 to fixed bug list.
25427 2014-06-24  Wilco  <wdijkstr@arm.com>
25429         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25431 2014-06-24  Wilco  <wdijkstr@arm.com>
25433         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25434         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25435         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25436         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25437         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25438         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25439         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25440         Use _FPU_MASK_RM.
25442 2014-06-24  Wilco  <wdijkstr@arm.com>
25444         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25446 2014-06-24  Wilco  <wdijkstr@arm.com>
25448         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25449         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25450         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25451         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25453 2014-06-24  Wilco  <wdijkstr@arm.com>
25455         [BZ #16918]
25456         * sysdeps/arm/feupdateenv.c (feupdateenv):
25457         Rewrite to reduce FPSCR accesses and fix return value.
25459 2014-06-24  Wilco  <wdijkstr@arm.com>
25461         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25462         Optimize to avoid unnecessary FPSCR writes.
25463         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25464         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25465         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25466         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25468 2014-06-24  Wilco  <wdijkstr@arm.com>
25470         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25471         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25472         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25473         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25474         Call libc_fetestexcept_vfp.
25475         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25476         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25477         __SOFTFP__ ifdef so that they can be built for softfp.
25479 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25481         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25482         argument type signed char.
25484         * Makerules (check-abi): Dump diff of symlist if the test
25485         fails.
25487 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25489         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25490         using abort.
25492         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25493         Remove unused variable ST.
25495 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25497         [BZ #16354]
25498         [BZ #17061]
25499         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25500         small arguments before calling __expm1.
25501         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25502         small arguments before calling __expm1f.
25503         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25504         small arguments before calling __expm1l.
25505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25506         Likewise.
25507         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25508         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25509         spurious underflow for some cosh tests.
25510         * math/auto-libm-test-out: Regenerated.
25511         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         [BZ #17050]
25514         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25515         (__ieee754_y1): Set errno if return value overflows.
25516         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25517         (__ieee754_y1f): Set errno if return value overflows.
25518         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25519         (__ieee754_y1l): Set errno if return value overflows.
25520         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25521         (__ieee754_y1l): Set errno if return value overflows.
25522         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25523         * math/auto-libm-test-out: Regenerated.
25525         * math/gen-auto-libm-tests.c: Document use of
25526         ignore-zero-inf-sign.
25527         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25528         (input_flags): Add ignore-zero-inf-sign.
25529         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25530         * math/gen-libm-test.pl (generate_testfile): Handle
25531         ignore-zero-inf-sign.
25532         * math/auto-libm-test-in: Mark some cpow tests with
25533         ignore-zero-inf-sign and some with xfail-rounding.
25534         * math/auto-libm-test-out: Regenerated.
25535         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25536         * sysdeps/i386/fpu/libm-test-ulps: Update.
25537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25539         [BZ #16315]
25540         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25541         overflowing or underflowing operations take place with sign of
25542         result.
25543         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25544         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25545         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25546         (__ieee754_pow): Recompute overflowing and underflowing results in
25547         original rounding mode.
25548         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25549         (__powl_helper): Allow negative argument X and scale negated value
25550         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25551         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25552         overflowing or underflowing operations take place with sign of
25553         result.
25554         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25555         Include <math.h>.
25556         * math/auto-libm-test-in: Add more tests of pow.
25557         * math/auto-libm-test-out: Regenerated.
25558         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25559         (pow_tonearest_test_data): Remove.
25560         (pow_test_tonearest): Likewise.
25561         (pow_towardzero_test_data): Likewise.
25562         (pow_test_towardzero): Likewise.
25563         (pow_downward_test_data): Likewise.
25564         (pow_test_downward): Likewise.
25565         (pow_upward_test_data): Likewise.
25566         (pow_test_upward): Likewise.
25567         (main): Don't call removed functions.
25568         * sysdeps/i386/fpu/libm-test-ulps: Update.
25569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25571 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25574         Moved ...
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25577         Moved ...
25578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25580         Moved ...
25581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25583         Moved ...
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25586         File removed.
25587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25588         File removed.
25589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25590         File removed.
25591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25592         File removed.
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25594         File removed.
25595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25596         File removed.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25598         File removed.
25599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25600         File removed.
25601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25602         File removed.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25604         File removed.
25605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25606         File removed.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25608         File removed.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25610         Moved ...
25611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25613         Moved ...
25614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25615         ... here.
25616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25617         Moved ...
25618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25620         Moved ...
25621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25623         Moved ...
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25626         Moved ...
25627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25629         Moved ...
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25632         Moved ...
25633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25635         Moved ...
25636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25639         ... here.
25640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25641         Moved ...
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25644         Moved ...
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25646         ... here.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25648         Moved ...
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25650         ... here.
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25652         Moved ...
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25654         ... here.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25656         Moved ...
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25659         Moved ...
25660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25664         Moved ...
25665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25666         ... here.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25668         Moved ...
25669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25670         ... here.
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25672         Moved ...
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25675         Moved ...
25676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25678         Moved ...
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25681         Moved ...
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25684         Moved ...
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25686         ... here.
25687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25688         Moved ...
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25691         Moved ...
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25694         Moved ...
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25697         Moved ...
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25702         Moved ...
25703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25705         Moved ...
25706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25708         Moved ...
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25710         ... here.
25711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25712         Moved ...
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25714         ... here.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25716         Moved ...
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25718         ... here.
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25720         Moved ...
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25723         Moved ...
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25726         Moved ...
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25729         Moved ...
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25731         ... here.
25732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25733         Moved ...
25734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25735         ... here.
25736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25737         Moved ...
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25739         ... here.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25741         Moved ...
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25744         Moved ...
25745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25747 2014-06-23  Will Newton  <will.newton@linaro.org>
25748             Wilco  <wdijkstr@arm.com>
25750         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25751         implementation.  Include get-rounding-mode.h.
25752         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25753         [!libc_feholdsetround_noex_ctx]: Define
25754         libc_feholdsetround_noex_ctx.
25755         [!libc_feholdsetround_noexf_ctx]: Define
25756         libc_feholdsetround_noexf_ctx.
25757         [!libc_feholdsetround_noexl_ctx]: Define
25758         libc_feholdsetround_noexl_ctx.
25759         (libc_feholdsetround_ctx): New function.
25760         (libc_feresetround_ctx): New function.
25761         (libc_feholdsetround_noex_ctx): New function.
25762         (libc_feresetround_noex_ctx): New function.
25764 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25766         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25767         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25768         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25769         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25770         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25771         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25773         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25774         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25775         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25776         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25777         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25778         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25780         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25782         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25784         Moved ...
25785         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25786         ... here.
25787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25788         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25789         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25790         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25792         Moved ...
25793         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25795         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25797         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25799         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25801         Moved ...
25802         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25804         Moved ...
25805         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25806         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25807         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25808         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25809         Moved ...
25810         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25812         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25813         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25814         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25815         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25816         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25818         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25820         Moved ...
25821         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25822         ... here.
25823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25824         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25826         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25828         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25830         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25832         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25833         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25834         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25835         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25836         Moved ...
25837         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25839         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25840         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25841         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25843         Moved ...
25844         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25845         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25846         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25847         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25848         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25850         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25851         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25852         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25853         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25854         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25855         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25856         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25857         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25859         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25860         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25867         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25868         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25869         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25870         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25871         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25873         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25877         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25879 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25882         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25883         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25884         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25885         (IPV6_PMTUDISC_INTERFACE): Likewise.
25886         (IPV6_PMTUDISC_OMIT): Likewise.
25888 2014-06-23  Andreas Schwab  <schwab@suse.de>
25890         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25891         Remove unused errout label.
25893 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25895         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25896         macro: hardware supports Vector Crypto instructions.
25898 2014-06-23  Will Newton  <will.newton@linaro.org>
25900         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25901         rather than __builtin_expect.
25903         * elf/dl-lookup.c (undefined_msg): Remove variable.
25904         (_dl_lookup_symbol_x): Replace undefined_msg with string
25905         literal.
25907         * elf/dl-lookup.c (do_lookup_unique): New function.
25908         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25909         to a separate function.
25911 2014-06-23  Andreas Schwab  <schwab@suse.de>
25913         [BZ #17079]
25914         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25915         before reading the next line.
25917 2014-06-23  Will Newton  <will.newton@linaro.org>
25919         * test-skeleton.c (signal_handler): Use printf and %m
25920         rather than perror.  Use printf rather than fprintf to
25921         stderr.  Use puts rather than fputs to stderr.
25922         (main): Likewise.
25924 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25926         * nscd/nscd.c (thread_info_t): Remove typedef.
25927         (thread_info): Remove variable.
25929 2014-06-21  Allan McRae  <allan@archlinux.org>
25931         * NEWS: Mention CVE-2014-4043.
25933 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25935         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25936         * nptl/smp.h: ... here.
25938         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25940         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25941         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25942         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25943         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25945         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25946         * nptl/stack-aliasing.h: New file.
25947         * sysdeps/i386/i686/stack-aliasing.h: New file.
25948         * sysdeps/i386/i686/nptl/Makefile: File removed.
25949         * sysdeps/x86_64/stack-aliasing.h: New file.
25950         * sysdeps/x86_64/nptl/Makefile
25951         (CFLAGS-pthread_create.c): Variable removed.
25953         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25954         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25955         old file.
25956         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25957         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25958         old file.
25960 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25963         (__ASSUME_SIGFRAME_V2): Remove macro.
25964         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25965         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25966         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25967         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25968         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25969         Declare as function.  Remove conditional macro definitions.
25970         (__default_rt_sa_restorer): Likewise.
25971         (__default_sa_restorer_v1): Remove declaration.
25972         (__default_sa_restorer_v2): Likewise.
25973         (__default_rt_sa_restorer_v1): Likewise.
25974         (__default_rt_sa_restorer_v2): Likewise.
25975         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25976         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25977         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25979 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25981         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25982         (libpthread-routines): Add sysdep.
25983         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25984         * sysdeps/unix/sysv/linux/sparc/Versions
25985         (libpthread: GLIBC_2.3.3): New version set.
25986         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25987         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25988         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25989         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25990         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25991         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25992         Moved ...
25993         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25994         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25995         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25996         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25997         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25998         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25999         * sysdeps/sparc/nptl/sem_init.c: ... here.
26000         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26001         * sysdeps/sparc/nptl/sem_post.c: ... here.
26002         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26003         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26004         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26005         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26006         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26007         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26008         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26009         (libpthread-routines): Add cpu_relax.
26010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26011         File removed.
26012         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26013         (librt: GLIBC_2.3.3): New version set.
26014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26015         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26016         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26017         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26020         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26022         Moved ...
26023         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26025         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26027         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26029         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26031         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26033         Moved ...
26034         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26035         Update #include.
26036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26037         Moved ...
26038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26039         Update #include.
26040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26041         Moved ...
26042         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26043         Update #include.
26044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26045         Moved ...
26046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26047         Update #include.
26048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26049         Moved ...
26050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26051         Update #include.
26052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26053         Moved ...
26054         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26055         Update #include.
26056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26057         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26063         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26065         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26067         Moved ...
26068         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26070         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26072         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26074 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26076         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26077         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26078         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26079         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26080         * nscd/nscd.c: Likewise.
26081         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26082         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26083         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26084         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26086         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26087         <kernel-features.h>.
26088         (init_mq_netlink): Remove conditional have_sock_cloexec
26089         definitions.  Remove code conditional on have_sock_cloexec < 0.
26090         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26091         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26092         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26093         <kernel-features.h>.
26094         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26095         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26097 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26100         Add tests for memset_chk and memset.
26102         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26103         with AVX2_Usable.
26105 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26107         [BZ #16046]
26108         * elf/tst-dl-iter-static.c: New file.
26109         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26111         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26112         error.
26114 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26116         * sysdeps/unix/sysv/linux/kernel-features.h
26117         (__ASSUME_F_GETOWN_EX): Remove macro.
26118         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26119         <kernel-features.h>.
26120         (miss_F_GETOWN_EX): Remove variable or macro.
26121         (do_fcntl): Do not check miss_F_GETOWN_EX.
26122         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26125         Remove macro.
26126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26127         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26128         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26130         * sysdeps/unix/sysv/linux/kernel-features.h
26131         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26132         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26133         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26134         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26136 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26138         [BZ #17075]
26139         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26140         Fix calculation of the symbol's value.
26141         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26142         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26143         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26144         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26145         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26146         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26147         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26148         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26149         (modules-names): Add `tst-armtlsdescmod',
26150         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26151         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26152         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26153         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26154         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26155         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26156         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26157         ($(objpfx)tst-armtlsdescloc): New dependency.
26158         ($(objpfx)tst-armtlsdescextnow): Likewise.
26159         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26160         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26161         TLS scheme support.
26162         * sysdeps/arm/configure: Regenerate.
26164 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26166         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26167         (__atfct_seterrno_2): Likewise.
26168         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26169         <kernel-features.h>.
26170         (__ASSUME_ATFCTS): Do not undefine and redefine.
26171         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26172         (__have_atfcts): Remove conditional definition.
26173         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26174         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26175         unreachable if [__ASSUME_ATFCTS].
26176         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26177         not undefine and redefine.
26178         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26179         <kernel-features.h>.
26180         (faccessat) [__NR_faccessat]: Make code unconditional.
26181         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26182         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26183         <kernel-features.h>.
26184         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26185         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26186         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26187         <kernel-features.h>.
26188         (fchownat) [__NR_fchownat]: Make code unconditional.
26189         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26190         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26191         <kernel-features.h>.
26192         (futimesat) [__NR_futimesat]: Make code unconditional.
26193         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26194         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26195         <kernel-features.h>.
26196         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26197         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26198         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26199         <kernel-features.h>.
26200         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26201         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26202         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26203         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26204         <kernel-features.h>.
26205         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26206         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26207         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26208         <kernel-features.h>.
26209         (linkat) [__NR_linkat]: Make code unconditional.
26210         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26211         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26212         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26213         <kernel-features.h>.
26214         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26215         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26216         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26217         <kernel-features.h>.
26218         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26219         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26220         * sysdeps/unix/sysv/linux/openat.c: Do not include
26221         <kernel-features.h>.
26222         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26223         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26224         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26225         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26226         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26227         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26228         <kernel-features.h>.
26229         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26230         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26231         result of INLINE_SYSCALL directly, not via int variable.
26232         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26233         <kernel-features.h>.
26234         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26235         (renameat) [__NR_renameat]: Make code unconditional.
26236         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26237         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26238         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26239         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26240         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26241         (__ASSUME_ATFCTS): Do not undefine and redefine.
26242         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26243         <kernel-features.h>.
26244         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26245         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26246         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26247         <kernel-features.h>.
26248         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26249         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26250         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26251         (__ASSUME_ATFCTS): Do not undefine and redefine.
26252         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26253         <kernel-features.h>.
26254         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26255         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26256         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26257         <kernel-features.h>.
26258         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26259         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26261 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26263         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26265 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26267         [BZ #17069]
26268         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26269         constructed tree before returning error.
26270         * posix/bug-regexp36.c: Expand test case.
26272 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26274         [BZ #6803]
26275         * math/libm-test.inc (scalbln_test_date):
26276         Add errno expectations.
26277         * math/w_scalblnf.c: New File.
26278         Add wrapper which checks for setting errno to ERANGE.
26279         Add weak_alias for corresponding scalbln function.
26280         * math/w_scalbln.c: Likewise.
26281         * math/w_scalblnl.c: Likewise.
26282         * math/Makefile (libm-calls): Add w_scalbln.
26283         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26284         Remove weak_alias for corresponding scalbln function.
26285         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26286         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26287         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26289         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26290         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26291         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26292         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26293         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26294         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26295         Remove long_double_symbol for scalblnl function in libm, libc.
26296         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26297         Add wrapper which checks for setting errno to ERANGE.
26298         Add long_double_symbol for scalblnl function in libm, libc.
26299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26300         Remove long_double_symbol for scalblnl in libm.
26301         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26302         Add wrapper which checks for setting errno to ERANGE.
26303         Add long_double_symbol for scalblnl function in libm.
26304         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26305         Do not use wrapper because of own implementation.
26307 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26309         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26310         3 bytes for __pad1 for x32.
26311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26313 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26314             H.J. Lu  <hongjiu.lu@intel.com>
26316         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26317         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26318         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26319         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26320         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26322 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26324         [BZ #17069]
26325         * posix/regcomp.c (parse_expression): Deallocate partially
26326         constructed tree before returning error.
26327         * posix/Makefile.c (tests): Add bug-regex36.
26328         (generated): Add bug-regex36.mtrace.
26329         (tests-special): Add $(objpfx)bug-regex36-mem.out
26330         (bug-regex36-ENV): New variable.
26331         ($(objpfx)bug-regex36-mem.out): New rule.
26332         * posix/bug-regex36.c: New file.
26334 2014-06-19  Will Newton  <will.newton@linaro.org>
26336         * malloc/malloc.c (systrim): If extra is zero then return
26337         early.
26339 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26341         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26343 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26345         * sysdeps/aarch64/strchr.S: New file.
26347 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26349         [BZ #17022]
26350         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26351         from arguments -2 or below.
26352         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26353         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26355 2014-06-18  Andreas Schwab  <schwab@suse.de>
26357         [BZ #17062]
26358         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26359         of a bracket expr not to run off the end of the string.
26360         * posix/Makefile (tests): Add tst-fnmatch3.
26361         * posix/tst-fnmatch3.c: New file.
26363 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26365         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26366         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26367         [$(cross-compiling) = no]: Likewise.
26368         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26369         [$(cross-compiling) = no]: Likewise.
26371 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26373         [BZ #17031]
26374         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26375         double, adjusted for any remainder from the high double.
26376         * math/libm-test.inc (nearbyint): Add tests.
26377         (rint): Likewise.
26379 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26381         * nptl/sysdeps/powerpc/Makefile: Moved ...
26382         * sysdeps/powerpc/nptl/Makefile: ... here.
26383         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26384         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26385         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26386         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26387         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26388         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26389         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26390         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26391         * nptl/sysdeps/powerpc/tls.h: Moved ...
26392         * sysdeps/powerpc/nptl/tls.h: ... here.
26394 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26396         [BZ #16681]
26397         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26398         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26399         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26400         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26401         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26402         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26403         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26404         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26405         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26407 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26409         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26411 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26413         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26414         defined operator.
26416         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26417         $TIMEOUTFACTOR.
26419 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26421         [BZ #17058]
26422         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26423         non-executed part of the test.
26425 2014-06-16  Andreas Schwab  <schwab@suse.de>
26427         * string/bits/string2.h (strdup, strndup): Update feature guard.
26429 2014-06-14  David S. Miller  <davem@davemloft.net>
26431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26433 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26435         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26436         that was previously under [RESET_PID].
26437         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26439         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26440         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26441         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26442         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26443         (__libc_vfork): New strong alias.
26444         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26446 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26448         * sysdeps/generic/elide.h: New file.
26450 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26452         * Makefile (installed-headers): Adjust path of pthread.h header.
26454 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26456         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26457         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26458         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26459         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26461         * nptl/sysdeps/s390/Makefile: Moved ...
26462         * sysdeps/s390/nptl/Makefile: ... here.
26463         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26464         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26465         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26466         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26467         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26468         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26469         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26470         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26471         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26472         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26473         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26474         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26475         * nptl/sysdeps/s390/tls.h: Moved ...
26476         * sysdeps/s390/nptl/tls.h: ... here.
26478         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26479         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26481 2014-06-13  David S. Miller  <davem@davemloft.net>
26483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26486         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26490         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26491         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26492         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26493         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26494         Remove RESET_PID cpp guards.
26495         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26496         Remove RESET_PID cpp guards.
26497         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26499 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26501         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26502         __sp to uintptr_t.
26504 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26507         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26508         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26511         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26512         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26515         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26521         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26525         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26527         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26528         (pthread_rwlock_rdlock): Add elision.
26529         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26530         (pthread_rwlock_wrlock): Add elision.
26531         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26532         (pthread_rwlock_trywrlock): Add elision.
26533         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26534         (pthread_rwlock_tryrdlock): Add elision.
26535         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26536         (pthread_rwlock_tryrdlock): Add elision unlock.
26537         * nptl/sysdeps/pthread/pthread.h:
26538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26539         (PTHREAD_RWLOCK_INITIALIZER,
26540         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26541         Handle new elision field.
26542         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26543         * sysdeps/arm/nptl/bits/pthreadtypes.h
26544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26545         * sysdeps/sh/nptl/bits/pthreadtypes.h
26546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26547         * sysdeps/tile/nptl/bits/pthreadtypes.h
26548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26549         * sysdeps/a/nptl/bits/pthreadtypes.h
26550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26551         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26553         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26555         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26557         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26559         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26561         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26562         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26563         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26565         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26566         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26567         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26568         (elision_init): Set try_xbegin to zero when no RTM.
26569         * sysdeps/x86/nptl/bits/pthreadtypes.h
26570         (pthread_rwlock_t): Change __pad1 to __rwelision.
26571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26573 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26575         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26576         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26577         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26578         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26580 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26582         [BZ #16996]
26583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26584         that the cached result has been set before returning it.
26586 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26588         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26589         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26590         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26591         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26592         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26593         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26595         * nptl/sysdeps/sparc/Makefile: Moved ...
26596         * sysdeps/sparc/nptl/Makefile: ... here.
26597         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26598         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26599         * nptl/sysdeps/sparc/tls.h: Moved ...
26600         * sysdeps/sparc/nptl/tls.h: ... here.
26601         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26602         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26603         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26604         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26605         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26606         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26607         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26608         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26609         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26610         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26611         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26612         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26613         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26614         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26615         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26616         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26617         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26619         Update #include.
26620         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26622         Update #include.
26623         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26625         Update #include.
26626         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26628         Update #include.
26630         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26632         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26633         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26635         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26636         (struct list_links): Type removed.
26637         (struct thread_node, struct timer_node): Replace struct list_links
26638         with struct list_head.
26639         (list_unlink_ip): Likewise.
26640         * sysdeps/pthread/timer_routines.c
26641         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26642         (list_append, list_insbefore): Likewise.
26643         (list_init): Function removed.
26644         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26645         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26646         * sysdeps/pthread/Makefile: ... here, new file.
26648         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26649         * sysdeps/nptl/Implies: ... here.
26650         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26651         * nptl/sysdeps/pthread/list.h: Moved ...
26652         * include/list.h: ... here.
26653         * nptl/sysdeps/pthread/createthread.c: Moved ...
26654         * nptl/createthread.c: ... here.
26655         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26656         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26657         * nptl/pt-longjmp.c: ... here.
26658         * nptl/sysdeps/pthread/Makefile: Moved ...
26659         * sysdeps/nptl/Makefile: ... here.
26660         * nptl/sysdeps/pthread/Subdirs: Moved ...
26661         * sysdeps/nptl/Subdirs: ... here.
26662         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26663         * sysdeps/nptl/aio_misc.h: ... here.
26664         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26665         * sysdeps/nptl/bits/libc-lock.h: ... here.
26666         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26667         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26668         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26669         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26670         * nptl/sysdeps/pthread/configure: Moved ...
26671         * sysdeps/nptl/configure: ... here.
26672         * nptl/sysdeps/pthread/configure.ac: Moved ...
26673         * sysdeps/nptl/configure.ac: ... here.
26674         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26675         * sysdeps/nptl/gai_misc.h: ... here.
26676         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26677         * sysdeps/nptl/librt-cancellation.c: ... here.
26678         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26679         * sysdeps/nptl/malloc-machine.h: ... here.
26680         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26681         * sysdeps/nptl/pthread-functions.h: ... here.
26682         * nptl/sysdeps/pthread/pthread.h: Moved ...
26683         * sysdeps/nptl/pthread.h: ... here.
26684         * nptl/sysdeps/pthread/setxid.h: Moved ...
26685         * sysdeps/nptl/setxid.h: ... here.
26686         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26687         * sysdeps/nptl/sigfillset.c: ... here.
26688         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26689         * sysdeps/nptl/tcb-offsets.h: ... here.
26690         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26691         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26692         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26693         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26694         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26695         * sysdeps/pthread/allocalim.h: ... here.
26696         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26697         * sysdeps/pthread/bits/sigthread.h: ... here.
26698         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26699         * sysdeps/pthread/flockfile.c: ... here.
26700         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26701         * sysdeps/pthread/ftrylockfile.c: ... here.
26702         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26703         * sysdeps/pthread/funlockfile.c: ... here.
26704         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26705         * sysdeps/pthread/posix-timer.h: ... here.
26706         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26707         * sysdeps/pthread/timer_create.c: ... here.
26708         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26709         * sysdeps/pthread/timer_delete.c: ... here.
26710         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26711         * sysdeps/pthread/timer_getoverr.c: ... here.
26712         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26713         * sysdeps/pthread/timer_gettime.c: ... here.
26714         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26715         * sysdeps/pthread/timer_routines.c: ... here.
26716         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26717         * sysdeps/pthread/timer_settime.c: ... here.
26718         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26719         * sysdeps/pthread/tst-timer.c: ... here.
26720         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26721         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26723         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26724         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26726         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26727         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26728         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26729         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26730         Update #include target.
26731         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26732         * sysdeps/i386/i686/nptl/Makefile: ... here.
26733         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26734         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26735         Update #include target.
26736         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26737         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26738         * nptl/sysdeps/i386/Makefile: Moved ...
26739         * sysdeps/i386/nptl/Makefile: ... here.
26740         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26741         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26742         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26743         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26744         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26745         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26746         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26747         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26748         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26749         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26750         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26751         * nptl/sysdeps/i386/tls.h: Moved ...
26752         * sysdeps/i386/nptl/tls.h: ... here.
26754         * sysdeps/sh/Makefile [$(subdir) = csu]
26755         (gen-as-const-headers): Add tcb-offsets.sym.
26756         * nptl/sysdeps/sh/Makefile: File removed.
26757         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26758         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26759         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26760         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26761         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26762         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26763         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26764         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26765         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26766         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26767         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26768         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26769         * nptl/sysdeps/sh/tls.h: Moved ...
26770         * sysdeps/sh/nptl/tls.h: ... here.
26771         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26772         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26773         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26774         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26775         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26776         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26777         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26778         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26779         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26780         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26782         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26784         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26786         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26788         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26790         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26792         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26793         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26796         Moved ...
26797         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26798         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26799         Moved ...
26800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26802         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26803         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26805         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26806         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26807         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26808         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26810         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26812         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26814         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26816         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26818         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26820 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26822         * posix/spawn_faction_addopen.c: Include string.h.
26824 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26826         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26827         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26828         * nptl/sysdeps/x86_64/Makefile: Moved ...
26829         * sysdeps/x86_64/nptl/Makefile: ... here.
26830         * nptl/sysdeps/x86_64/configure: Moved ...
26831         * sysdeps/x86_64/nptl/configure: ... here.
26832         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26833         * sysdeps/x86_64/nptl/configure.ac: ... here.
26834         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26835         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26836         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26837         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26838         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26839         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26840         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26841         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26842         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26843         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26844         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26845         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26846         * nptl/sysdeps/x86_64/tls.h: Moved ...
26847         * sysdeps/x86_64/nptl/tls.h: ... here.
26848         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26849         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26850         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26851         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26853         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26855 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26859 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26861         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26862         type.
26863         [POSIX] (off_t): Likewise.
26864         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26865         [POSIX] (S_ISBLK): Require macro.
26866         [POSIX] (S_ISCHR): Likewise.
26867         [POSIX] (S_ISDIR): Likewise.
26868         [POSIX] (S_ISFIFO): Likewise.
26869         [POSIX] (S_ISREG): Likewise.
26870         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26871         optional-macro.
26872         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26873         type.
26874         [POSIX] (time_t): Likewise.
26875         [POSIX] (timer_t): Likewise.
26877 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26879         [BZ #17048]
26880         * posix/spawn_int.h (struct __spawn_action): Make the path string
26881         non-const to support deallocation.
26882         * posix/spawn_faction_addopen.c
26883         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26884         * posix/spawn_faction_destroy.c
26885         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26886         path in all spawn_do_open actions.
26887         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26888         posix_spawn_file_actions_addopen.
26890 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26892         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26893         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26894         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26895         conditional code always true.
26896         (__libc_vfork): New alias.
26898 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26900         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26901         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26903         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26905         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26906         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26908         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26909         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26911         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26912         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26914 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26916         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26917         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26918         multiarch strcmp for PPC64.
26919         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26920         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26922         multiarch optimizations.
26923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26924         (__libc_ifunc_impl_list): Likewise.
26926 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26928         * benchtests/scripts/validate_benchout.py: New script.
26929         * benchtests/Makefile (bench-func): Call it.
26930         * benchtests/scripts/benchout.schema.json: New file.
26932 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26934         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26935         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26936         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26937         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26938         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26939         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26940         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26941         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26942         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26943         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26944         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26945         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26946         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26947         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26948         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26949         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26951         Moved ...
26952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26953         ... here.
26954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26955         Moved ...
26956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26958         Moved ...
26959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26960         ... here.
26961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26962         Moved ...
26963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26964         ... here.
26965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26966         Moved ...
26967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26969         Moved ...
26970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26971         ... here.
26972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26973         Moved ...
26974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26975         ... here.
26976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26977         Moved ...
26978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26980         Moved ...
26981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26982         ... here.
26983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26984         Moved ...
26985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26986         ... here.
26987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26988         Moved ...
26989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26990         ... here.
26991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26992         Moved ...
26993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26995         Moved ...
26996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26997         ... here.
26998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26999         Moved ...
27000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27001         ... here.
27002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27003         Moved ...
27004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27005         ... here.
27006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27007         Moved ...
27008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27010         Moved ...
27011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27012         ... here.
27013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27014         Moved ...
27015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27016         ... here.
27017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27018         Moved ...
27019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27021         Moved ...
27022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27023         ... here.
27024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27025         Moved ...
27026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27028         Moved ...
27029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27031         Moved ...
27032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27033         ... here.
27034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27035         Moved ...
27036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27037         ... here.
27038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27039         Moved ...
27040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27041         ... here.
27042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27043         Moved ...
27044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27046         Moved ...
27047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27048         ... here.
27049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27050         Moved ...
27051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27052         ... here.
27053         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27054         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27056         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27058         Moved ...
27059         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27060         ... here.
27061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27062         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27064         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27066         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27068         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27072         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27074         Moved ...
27075         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27077         Moved ...
27078         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27079         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27080         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27081         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27082         Moved ...
27083         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27085         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27086         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27087         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27088         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27089         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27091 2014-06-10  Wilco  <wdijkstr@arm.com>
27093         * math/test-fenv-return.c: New file.
27094         * math/Makefile: Add new test test-fenv-return.
27096 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27098         [BZ #17042]
27099         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27100         when x - 1 is zero.
27101         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27102         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27103         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27104         0.0L for an argument of 1.0L.
27105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27106         Likewise.
27107         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27108         value when x - 1 is zero.
27109         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27110         * sysdeps/i386/fpu/libm-test-ulps: Update.
27111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27115         [BZ #15119]
27116         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27118 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27120         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27121         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27123 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27125         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27126         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27128         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27129         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27131         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27132         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27134         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27135         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27137         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27138         if not already defined.
27139         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27140         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27141         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27142         (TLS_INIT_TP): Use it.
27143         (TLS_DEFINE_INIT_TP): New macro.
27144         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27146 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27148         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27149         constant.
27150         [POSIX] (IXANY): Likewise.
27151         [POSIX] (OLCUC): Likewise.
27152         [POSIX || POSIX2008] (CBAUD): Do not allow.
27153         [POSIX || POSIX2008] (DEFECHO): Likewise.
27154         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27155         [POSIX || POSIX2008] (ECHOKE): Likewise.
27156         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27157         [POSIX || POSIX2008] (EXTA): Likewise.
27158         [POSIX || POSIX2008] (EXTB): Likewise.
27159         [POSIX || POSIX2008] (FLUSHO): Likewise.
27160         [POSIX || POSIX2008] (LOBLK): Likewise.
27161         [POSIX || POSIX2008] (PENDIN): Likewise.
27162         [POSIX || POSIX2008] (SWTCH): Likewise.
27163         [POSIX || POSIX2008] (VDISCARD): Likewise.
27164         [POSIX || POSIX2008] (VDSUSP): Likewise.
27165         [POSIX || POSIX2008] (VLNEXT): Likewise.
27166         [POSIX || POSIX2008] (VREPRINT): Likewise.
27167         [POSIX || POSIX2008] (VSTATUS): Likewise.
27168         [POSIX || POSIX2008] (VWERASE): Likewise.
27169         (B*): Change to B[0123456789]*.
27170         * conform/data/time.h-data [POSIX || UNIX98]
27171         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27172         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27173         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27174         [POSIX] (tm_*): Do not allow.
27176 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27178         * Makefile (install): Don't set LANGUAGE.
27179         * Makefile.in (install): Likewise.
27180         * assert/Makefile (test-assert-ENV): Remove variable.
27181         (test-assert-perr-ENV): Likewise.
27182         * elf/Makefile (neededtest4-ENV): Likewise.
27183         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27184         [$(cross-compiling) = no]: Don't set LANGUAGE.
27185         * io/ftwtest-sh (LANG): Remove variable.
27186         * libio/Makefile (tst-widetext-ENV): Likewise.
27187         * manual/install.texi (Running make install): Don't refer to
27188         environment settings for make install.
27189         * INSTALL: Regenerated.
27190         * nptl/tst-tls6.sh: Don't set LANG.
27191         * posix/globtest.sh (LANG): Remove variable.
27192         * string/Makefile (tester-ENV): Likewise.
27193         (inl-tester-ENV): Likewise.
27194         (noinl-tester-ENV): Likewise.
27195         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27196         [$(cross-compiling) = no]: Don't set LANGUAGE.
27197         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27198         without explicit environment settings.
27200 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27202         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27203         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27204         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27205         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27207 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27209         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27210         other files in the crypt directory.
27211         * crypt/crypt.c: Remove duplicate includes.
27212         * crypt/crypt-entry.c: Likewise.
27213         * crypt/crypt_util.c: Likewise.
27215 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27217         * Makeconfig (run-program-env): New variable.
27218         (run-program-prefix-before-env): Likewise.
27219         (run-program-prefix-after-env): Likewise.
27220         (run-program-prefix): Define in terms of new variables.
27221         (built-program-cmd-before-env): New variable.
27222         (built-program-cmd-after-env): Likewise.
27223         (built-program-cmd): Define in terms of new variables.
27224         (test-program-prefix-before-env): New variable.
27225         (test-program-prefix-after-env): Likewise.
27226         (test-program-prefix): Define in terms of new variables.
27227         (test-program-cmd-before-env): New variable.
27228         (test-program-cmd-after-env): Likewise.
27229         (test-program-cmd): Define in terms of new variables.
27230         * Rules (make-test-out): Use $(run-program-env).
27231         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27232         (help): Do not mention environment variables.  Mention
27233         --timeoutfactor option.
27234         (timeoutfactor): New variable.
27235         (blacklist_exports): Remove function.
27236         (exports): Remove variable.
27237         (command): Do not include ${exports}.
27238         * manual/install.texi (Configuring and compiling): Do not mention
27239         test wrappers preserving environment variables.  Mention that last
27240         assignment to a variable must take precedence.
27241         * INSTALL: Regenerated.
27242         * benchtests/Makefile (run-bench): Use $(run-program-env).
27243         * catgets/Makefile ($(objpfx)test1.cat): Use
27244         $(built-program-cmd-before-env), $(run-program-env) and
27245         $(built-program-cmd-after-env).
27246         ($(objpfx)test2.cat): Do not specify environment variables
27247         explicitly.
27248         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27249         $(run-program-env) and $(built-program-cmd-after-env).
27250         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27251         $(run-program-env) and $(test-program-cmd-after-env).
27252         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27253         explicitly.
27254         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27255         run_program_env and test_program_cmd_after_env arguments.
27256         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27257         * elf/tst-pathopt.sh: Use run_program_env argument.
27258         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27259         $(test-wrapper-env) and $(run-program-env).
27260         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27261         run_program_env arguments.
27262         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27263         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27264         $(test-program-prefix-before-env), $(run-program-env) and
27265         $(test-program-prefix-after-env).
27266         ($(objpfx)tst-gettext2.out): Likewise.
27267         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27268         run_program_env and test_program_prefix_after_env arguments.
27269         * intl/tst-gettext2.sh: Likewise.
27270         * intl/tst-gettext4.sh: Do not set environment variables
27271         explicitly.
27272         * intl/tst-gettext6.sh: Likewise.
27273         * intl/tst-translit.sh: Likewise.
27274         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27275         $(test-program-prefix-before-env), $(run-program-env) and
27276         $(test-program-prefix-after-env).
27277         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27278         run_program_env and test_program_prefix_after_env arguments.
27279         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27280         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27281         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27282         explicitly with each use of ${test_wrapper_env}.
27283         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27284         $(test-program-prefix-before-env), $(run-program-env) and
27285         $(test-program-prefix-after-env).
27286         * posix/tst-getconf.sh: Do not set environment variables
27287         explicitly.
27288         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27289         run_program_env and test_program_prefix_after_env arguments.
27290         * stdio-common/tst-printf.sh: Do not set environment variables
27291         explicitly.
27292         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27293         $(test-program-prefix-before-env), $(run-program-env) and
27294         $(test-program-prefix-after-env).
27295         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27296         run_program_env and test_program_prefix_after_env arguments.
27297         Split $test calls into $test_pre and $test.
27298         * timezone/Makefile (build-testdata): Use
27299         $(built-program-cmd-before-env), $(run-program-env) and
27300         $(built-program-cmd-after-env).
27302 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27304         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27305         strlen for non SHARED builds.
27307 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27309         * nptl/allocatestack.c (check_list): Inlined function...
27310         (__reclaim_stacks): ... here.
27312 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27314         [BZ #15698]
27315         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27316         memory overrun.
27318 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27320         * Rules (make-test-out): Include
27321         LOCPATH=$(common-objpfx)localedata in default environment.
27322         * debug/Makefile (tst-chk1-ENV): Remove variable.
27323         (tst-chk2-ENV): Likewise.
27324         (tst-chk3-ENV): Likewise.
27325         (tst-chk4-ENV): Likewise.
27326         (tst-chk5-ENV): Likewise.
27327         (tst-chk6-ENV): Likewise.
27328         (tst-lfschk1-ENV): Likewise.
27329         (tst-lfschk2-ENV): Likewise.
27330         (tst-lfschk3-ENV): Likewise.
27331         (tst-lfschk4-ENV): Likewise.
27332         (tst-lfschk5-ENV): Likewise.
27333         (tst-lfschk6-ENV): Likewise.
27334         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27335         (tst-iconv7-ENV): Likewise.
27336         * intl/Makefile (LOCPATH-ENV): Likewise.
27337         (tst-codeset-ENV): Likewise.
27338         (tst-gettext3-ENV): Likewise.
27339         (tst-gettext5-ENV): Likewise.
27340         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27341         (tst-fopenloc-ENV): Likewise.
27342         (tst-fgetws-ENV): Remove variable.
27343         (tst-ungetwc1-ENV): Likewise.
27344         (tst-ungetwc2-ENV): Likewise.
27345         (bug-ungetwc2-ENV): Likewise.
27346         (tst-swscanf-ENV): Likewise.
27347         (bug-ftell-ENV): Likewise.
27348         (tst-fgetwc-ENV): Likewise.
27349         (tst-fseek-ENV): Likewise.
27350         (tst-ftell-partial-wide-ENV): Likewise.
27351         (tst-ftell-active-handler-ENV): Likewise.
27352         (tst-ftell-append-ENV): Likewise.
27353         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27354         (tst-regexloc-ENV): Likewise.
27355         (bug-regex1-ENV): Likewise.
27356         (tst-regex-ENV): Likewise.
27357         (tst-regex2-ENV): Likewise.
27358         (bug-regex5-ENV): Likewise.
27359         (bug-regex6-ENV): Likewise.
27360         (bug-regex17-ENV): Likewise.
27361         (bug-regex18-ENV): Likewise.
27362         (bug-regex19-ENV): Likewise.
27363         (bug-regex20-ENV): Likewise.
27364         (bug-regex22-ENV): Likewise.
27365         (bug-regex23-ENV): Likewise.
27366         (bug-regex25-ENV): Likewise.
27367         (bug-regex26-ENV): Likewise.
27368         (bug-regex30-ENV): Likewise.
27369         (bug-regex32-ENV): Likewise.
27370         (bug-regex33-ENV): Likewise.
27371         (bug-regex34-ENV): Likewise.
27372         (bug-regex35-ENV): Likewise.
27373         (tst-rxspencer-ENV): Likewise.
27374         (tst-rxspencer-no-utf8-ENV): Likewise.
27375         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27376         (tst-sscanf-ENV): Likewise.
27377         (tst-swprintf-ENV): Likewise.
27378         (tst-swscanf-ENV): Likewise.
27379         (test-vfprintf-ENV): Likewise.
27380         (scanf13-ENV): Likewise.
27381         (bug14-ENV): Likewise.
27382         (tst-grouping-ENV): Likewise.
27383         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27384         (tst-strtod3-ENV): Likewise.
27385         (tst-strtod4-ENV): Likewise.
27386         (tst-strtod5-ENV): Likewise.
27387         (testmb2-ENV): Likewise./
27388         * string/Makefile (tst-strxfrm-ENV): Likewise.
27389         (tst-strxfrm2-ENV): Likewise.
27390         (bug-strcoll1-ENV): Likewise.
27391         (test-strcasecmp-ENV): Likewise.
27392         (test-strncasecmp-ENV): Likewise.
27393         * time/Makefile (tst-strptime-ENV): Likewise.
27394         (tst-ftime_l-ENV): Likewise.
27395         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27396         (tst-mbrtowc-ENV): Likewise.
27397         (tst-wcrtomb-ENV): Likewise.
27398         (tst-mbrtowc2-ENV): Likewise.
27399         (tst-c16c32-1-ENV): Likewise.
27400         (tst-mbsnrtowcs-ENV): Likewise.
27402 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27404         * manual/resource.texi (How to get information about the memory
27405         subsystem?): Fix typo.
27406         Reported by Peon de la Parra Ivan <peon@keba.com>
27408 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27410         [BZ #16882]
27411         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27412         (pthread_spin_lock): Branch out of spin loop to proper location.
27413         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27414         (pthread_spin_lock): Likewise.
27416         * nptl/tst-spin4.c: New test.
27417         * nptl/Makefile (tests): Add tst-spin4.
27419 2014-06-03  Andreas Schwab  <schwab@suse.de>
27421         [BZ #15946]
27422         * resolv/res_send.c (send_dg): Reload file descriptor after
27423         calling reopen.
27425 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27427         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27429 2014-06-03  Richard Henderson  <rth@redhat.com>
27431         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27432         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27433         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27434         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27435         in the SAVE_PID block.
27436         (__libc_vfork): New alias.
27437         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27439         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27440         child in registers, not on the stack.  Remove RESET_PID conditionals.
27441         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27443 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27445         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27447 2014-06-03  Wilco  <wdijkstr@arm.com>
27449         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27450         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27451         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27452         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27453         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27454         Likewise.
27456 2014-06-03  Wilco  <wdijkstr@arm.com>
27458         * sysdeps/aarch64/fpu/math_private.h
27459         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27460         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27461         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27462         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27463         Fix declarations.
27465 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27467         * crypt/crypt-private.h: Include ufc-crypt.h.
27468         (__b64_from_24bit): Declare extern.
27469         * crypt/crypt_util.c(__b64_from_24bit): New function.
27470         (b64t): New static const variable.
27471         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27472         (b64t): Remove variable.
27473         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27474         * crypt/sha256-crypt.c: Include crypt-private.h.
27475         (b64t): Remove variable.
27476         (__sha256_crypt_r): Remove b64_from_24bit and replace
27477         with __b64_from_24bit.
27478         * crypt/sha512-crypt.c: Likewise.
27480 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27482         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27483         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27484         Label the code __libc_vfork rather than __vfork.
27485         [!NOT_IN_libc] (vfork): Define as weak alias.
27486         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27487         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27488         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27490 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27492         * malloc/malloc.c (malloc_info): Fix format specifier for
27493         n_mmaps.
27495 2014-06-02  Wilco  <wdijkstr@arm.com>
27497         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27498         FPCR write.
27500 2014-06-02  Wilco  <wdijkstr@arm.com>
27502         [BZ #17009]
27503         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27504         Rewrite to reduce FPCR/FPSR accesses.
27506 2014-06-01  David S. Miller  <davem@davemloft.net>
27508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27510 2014-05-31  David S. Miller  <davem@davemloft.net>
27512         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27513         to occur in round to nearest mode when |x| >= 2.0
27515 2014-05-30  Richard Henderson  <rth@twiddle.net>
27517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27518         (PSEUDO_RET_NOERRNO): Remove.
27519         (ret): Don't redefine.
27520         (ret_NOERRNO): Define in terms of ret.
27521         (ret_ERRVAL): Likewise.
27523         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27524         use of PSEUDO_RET; perform the error check directly.
27526 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27528         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27529         with __int128_t.
27531 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27533         * malloc/malloc (malloc_info): Fix formatting.
27535 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27536             Roland McGrath  <roland@hack.frob.com>
27538         * malloc/malloc (malloc_info): Also print mmapped statistics.
27540 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27542         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27543         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27545 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27547         * malloc/malloc.c (malloc_info): Inline mi_arena.
27549 2014-05-29  Richard Henderson  <rth@twiddle.net>
27551         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27552         Remove comma before expanding ASM_ARGS_##nr.
27553         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27554         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27555         of ASM_ARGS_##nr.
27556         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27557         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27558         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27559         (ASM_ARGS_1): Add leading comma.
27561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27562         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27563         to __errno_location.
27564         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27565         Remove the expected plt for __errno_location.
27567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27568         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27569         call to __read_tp.
27571         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27572         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27573         it and break it down.
27574         (DOCARGS_0, DOCARGS_1): Do nothing.
27575         (DOCARGS_2): Update to store into the new stack frame.
27576         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27577         (UNDOCARGS_1): Update to restore from the new stack frame.
27578         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27579         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27582         (SINGLE_THREAD_P): New parameter for result regno.
27583         (PSEUDO): Update to match; use cbz instead of beq.
27585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27586         Use ENTRY to define the _nocancel entry point.  Share the syscall
27587         and syscall error check paths with the cancel path.
27588         (PSEUDO_END): New.
27590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27591         whitespace; tabs before and after asm mnemonics.
27593 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27595         [BZ #15132]
27596         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27597         Call fstat64 or stat64 internally, depending on arguments passed.
27598         Replace stat buffer argument with file descriptor argument.
27599         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27600         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27601         Pass fd to __internal_statvfs instead of calling fstat64.
27602         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27603         Pass fd to __internal_statvfs64 instead of calling fstat64.
27604         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27605         Pass -1 to __internal_statvfs instead of calling stat64.
27606         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27607         Pass -1 to __internal_statvfs64 instead of calling stat64.
27609 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27611         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27612         that was previously under [RESET_PID].
27613         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27615         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27616         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27618 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27620         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27622         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27623         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27625 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27627         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27629 2014-05-27  Andreas Schwab  <schwab@suse.de>
27631         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27632         TLS_INIT_TP macro.
27633         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27634         * elf/rtld.c (init_tls, dl_main): Likewise.
27635         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27636         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27637         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27638         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27639         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27640         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27641         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27642         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27643         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27644         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27645         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27646         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27647         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27648         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27649         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27650         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27651         * sysdeps/generic/tls.h: Update description.
27653 2014-05-27  Will Newton  <will.newton@linaro.org>
27655         [BZ #16990]
27656         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27657         and restore r2 rather than just restoring.
27659 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27661         [BZ #16724]
27662         * libio/tst-ftell-append.c: New test case.
27663         * libio/Makefile (tests): Add test case.
27664         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27665         append mode.
27666         * libio/wfileops.c (do_ftell_wide): Likewise.
27668 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27672         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27673         ...
27674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27676         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27677         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27678         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27679         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27680         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27683         Moved ...
27684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27686         Moved ...
27687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27688         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27689         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27690         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27691         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27692         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27693         ...
27694         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27695         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27696         Moved ...
27697         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27698         here.
27699         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27700         ...
27701         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27702         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27703         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27705         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27706         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27707         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27708         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27711         merge into ...
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27714         ...
27715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27717         ...
27718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27720         Moved ...
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27722         here.
27723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27724         Moved ...
27725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27727         Moved ...
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27731         conditional [RESET_PID].
27732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27734         removed.
27735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27736         removed.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27739         <tcb-offsets.h>.
27740         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27741         (__libc_vfork): New strong alias.
27742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27743         removed.
27744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27745         Removed.
27747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27748         <tcb-offsets.h>.
27749         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27750         (__libc_vfork): New strong alias.
27751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27752         removed.
27753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27754         removed.
27756 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27758         * malloc/malloc.c (mi_arena): New function.
27759         (malloc_info): Remove nested function mi_arena. Call non-nosted
27760         function mi_arena.
27762 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27764         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27765         by insrwi.
27766         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27767         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27768         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27769         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27770         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27771         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27772         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27774 2014-05-26  Andreas Schwab  <schwab@suse.de>
27776         [BZ #16984]
27777         * locale/programs/repertoire.c (repertoire_read): Add slash
27778         between I18NPATH element and file name.
27779         * locale/programs/locfile.c (locfile_read): Likewise.
27781 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27783         * nptl/pthread_mutexattr_settype.c
27784         (__pthread_mutexattr_settype):
27785         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27787 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27789         * nptl/tst-mutex5 (do_test):
27790         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27792 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27794         * benchtests/README: Document 'init' directive.
27795         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27796         BENCH_INIT.
27797         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27798         (parse_file): Recognize 'init' directive.
27800 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27802         [BZ #16796]
27803         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27804         alignment of struct pthread.
27806 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27808         [BZ #16878]
27809         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27810         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27811         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27812         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27814 2014-05-25  Richard Henderson  <rth@twiddle.net>
27816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27817         (SINGLE_THREAD_P_PIC): Remove.
27818         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27819         (SINGLE_THREAD_P_PIC): Remove.
27821         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27822         branch to syscall error ...
27823         (PSEUDO): ... here.
27824         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27825         from __local_syscall_error to .Lsyscall_error.
27826         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27827         (SYSCALL_ERROR): Update label name.
27829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27830         Do not use DOARGS/UNDOARGS.
27831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27832         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27833         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27834         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27835         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27838         block comment.
27840         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27841         define if !NOT_IN_libc.
27842         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27843         define with non-default symbol versions.
27845 2014-05-23  Richard Henderson  <rth@twiddle.net>
27847         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27848         (vfork, __vfork): Define via compat_symbol.
27850         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27851         [!HAVE_IFUNC] (vfork_compat): Remove.
27852         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27854 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27856         [BZ #16978]
27857         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27858         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27859         variable.
27861 2014-05-23  Richard Henderson  <rth@twiddle.net>
27863         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27864         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27865         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27866         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27868         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27869         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27870         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27871         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27872         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27873         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27874         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27875         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27876         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27877         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27878         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27879         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27880         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27881         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27882         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27883         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27884         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27885         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27886         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27887         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27888         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27889         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27890         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27891         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27892         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27893         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27894         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27895         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27896         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27897         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27898         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27899         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27900         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27901         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27902         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27903         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27904         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27905         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27906         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27907         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27908         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27909         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27910         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27911         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27912         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27913         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27915         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27917         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27919         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27920         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27921         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27923         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27925         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27926         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27927         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27928         before exiting on error.
27929         (__libc_vfork): New strong alias.
27930         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27931         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27933         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27934         that was previously under [RESET_PID].
27935         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27937         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27939 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27941         [BZ #16977]
27942         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27943         value when x - 1 is zero.
27944         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27945         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27946         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27947         0.0L for an argument of 1.0L.
27948         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27949         Likewise.
27950         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27951         value when x - 1 is zero.
27952         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27953         * sysdeps/i386/fpu/libm-test-ulps: Update.
27954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27956 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27958         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27959         alphasort and versionsort.
27961 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27963         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27964         macro.
27965         [copysignf]: Likewise.
27967 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27969         * crypt/md5-crypt.c: Fix formatting.
27971 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27973         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27974         (b64_from_24bit): New function.
27976 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27979         libc_hidden_builtin_def to ifunc.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27981         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27983 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27985         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27986         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27988 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27990         * nscd/Depend (linuxthreads): Remove.
27991         (nptl): Add.
27992         * resolv/Depend (linuxthreads): Remove.
27993         * rt/Depend (linuxthreads): Remove.
27995         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27996         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27997         $(common-objpfx)elf/.
27998         (link-libc-before-gnulib): Likewise.
27999         (elfobjdir): Remove variable.
28000         * Makefile (install): Use $(elf-objpfx) instead of
28001         $(common-objpfx)elf/.
28002         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28003         $(elfobjdir)/.
28004         (link-libc-deps): Likewise.
28005         ($(common-objpfx)libc.so): Likewise.
28006         ($(common-objpfx)linkobj/libc.so): Likewise.
28007         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28008         instead of $(common-objpfx)elf/.
28009         (symbolic-link-list): Likewise.
28010         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28011         [$(cross-compiling) = no]: Likewise.
28012         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28013         $(elfobjdir)/.
28014         (static-gnulib-arch): Likewise.
28015         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28016         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28017         $(common-objpfx)elf/.
28019 2014-05-21  Richard Henderson  <rth@redhat.com>
28021         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28022         (SINGLE_THREAD_P): Use the correct width load.  Fold
28023         into the ldr offset.
28025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28026         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28028 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28030         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28031         (libgcc_s_resume): Use __attribute_used__.
28032         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28033         Likewise.
28035 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28037         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28038         optimization when used with float constants.
28040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28042 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28044         [BZ #16915]
28045         * locale/nl_langinfo_l.c: Make direct reference to every
28046         _nl_current_CATEGORY symbol.
28047         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28048         (tests-static): Add tst-langinfo-static.
28049         (tests-special): Add tst-langinfo-static.out.
28050         ($(objpfx)tst-langinfo.out): Redirect output.
28051         ($(objpfx)tst-langinfo-static.out): New.
28052         * localedata/tst-langinfo.sh: Send output to stdout.
28053         * localedata/tst-langinfo-static.c: New file.
28055         [BZ #16965]
28056         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28057         when the shift amount is modulo the limb size.
28059 2014-05-20  Richard Henderson  <rth@redhat.com>
28061         [BZ #16967]
28062         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28063         Change type of sa_flags from unsigned int to int.
28065         [BZ #16966]
28066         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28068         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28070 2014-05-20  Will Newton  <will.newton@linaro.org>
28072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28073         Test the return value of the system call in the nocancel case.
28075 2014-05-20  Will Newton  <will.newton@linaro.org>
28076             Yvan Roux  <yvan.roux@linaro.org>
28078         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28079         #include of asm/ptrace.h.
28080         (PTRACE_GET_THREAD_AREA): Remove #undef.
28081         (PTRACE_GETHBPREGS): Likewise.
28082         (PTRACE_SETHBPREGS): Likewise.
28083         (struct user_regs_struct): New structure.
28084         (struct user_fpsimd_struct): New structure.
28085         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28086         #include of asm/ptrace.h and second #include of sys/user.h.
28087         (PTRACE_GET_THREAD_AREA): Remove #undef.
28088         (PTRACE_GETHBPREGS): Likewise.
28089         (PTRACE_SETHBPREGS): Likewise.
28090         (ELF_NGREG): Use new struct user_regs_struct.
28091         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28093 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28095         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28098 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28100         [BZ #16958]
28101         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28102         membar to avoid block loads/stores to overlap previous stores.
28104 2014-05-17  Richard Henderson  <rth@redhat.com>
28106         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28107         Create the __##syscall_name##_nocancel entry point.
28108         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28109         Remove; let the sysdep-cancel.h code create it.
28111 2014-05-17  David S. Miller  <davem@davemloft.net>
28113         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28114         Protect with __USE_GNU.
28115         (TIOCSET_TEMPT): Likewise.
28116         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28117         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28118         these are already provided in bits/ioctl-types.h
28120 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28122         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28123         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28125         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28126         Use wait4 regardless of [__NR_waitpid].
28128 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28130         PR libgcc/60166
28131         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28132         (_FP_NANSIGN_Q): Set the quiet bit.
28134 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28136         * benchtests/Makefile
28137         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28138         not $(common-objpfx)math/libm.so.
28139         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28140         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28141         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28142         $(common-objpfx)dlfcn/libdl.so.
28143         ($(objpfx)tst-audit8): Depend on $(libm), not
28144         $(common-objpfx)math/libm.so.
28145         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28146         not $(common-objpfx)dlfcn/libdl.so.
28147         * math/Makefile
28148         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28149         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28150         [$(build-shared) = yes].
28151         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28152         $(common-objpfx)nptl/libpthread.so.
28153         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28154         $(common-objpfx)math/libm.so$(libm.so-version) or
28155         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28156         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28157         $(common-objpfx)dlfcn/libdl.so.
28158         * setjmp/Makefile (link-libm): Remove variable.
28159         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28160         * stdio-common/Makefile (link-libm): Remove variable.
28161         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28162         * stdlib/Makefile (link-libm): Remove variable.
28163         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28164         ($(objpfx)tst-strtod-round): Likewise.
28165         ($(objpfx)tst-tininess): Likewise.
28166         ($(objpfx)tst-strtod-underflow): Likewise.
28167         ($(objpfx)tst-strtod6): Likewise.
28168         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28169         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28170         $(common-objpfx)dlfcn/libdl.so.
28172 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28174         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28175         BSD terminal modes definitions.
28177 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28179         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28180         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28182         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28183         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28184         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28185         Don't do #include_next.
28186         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28187         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28188         Don't do #include_next.
28189         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28190         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28191         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28192         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28194 2014-05-16  Allan McRae  <allan@archlinux.org>
28196         * po/sv.po: Update Swedish translation from translation project.
28198         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28199         in sed expression.
28201 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28203         [BZ #16917]
28204         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28205         errno if the TIOCGPTN ioctl fails with an error different than
28206         EINVAL.
28207         * login/tst-ptsname.c: New file.
28208         * login/Makefile (tests): Add tst-ptsname.
28210         [BZ #16943]
28211         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28212         and prlimit64.
28214 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216         [BZ #16849]
28217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28218         herrno to return EAI_AGAIN.
28220 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28222         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28223         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28224         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28225         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28226         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28227         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28228         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28229         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28231         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28232         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28233         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28234         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28235         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28236         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28237         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28238         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28239         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28240         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28241         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28243         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28244         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28245         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28246         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28247         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28248         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28249         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28250         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28251         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28253         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28255         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28257         Moved ...
28258         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28260         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28262         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28264         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28266         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28268         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28270         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28272         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28276         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28278         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28280         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28282         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28284         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28286         Moved ...
28287         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28291         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28293         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28295         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28297         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28299         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28301         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28305         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28307         Moved ...
28308         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28312         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28313         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28314         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28315         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28316         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28317         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28318         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28319         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28320         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28321         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28322         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28323         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28324         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28326         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28328         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28330         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28331         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28332         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28333         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28334         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28336         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28337         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28338         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28339         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28340         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28341         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28342         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28344         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28345         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28347         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28348         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28349         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28350         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28351         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28352         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28353         Moved ...
28354         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28356         Moved ...
28357         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28359         Moved ...
28360         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28362         Moved ...
28363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28364         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28365         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28366         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28367         Moved ...
28368         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28369         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28370         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28372         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28373         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28374         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28376         Moved ...
28377         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28378         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28379         Moved ...
28380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28381         ... here.
28382         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28383         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28384         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28385         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28386         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28387         Moved ...
28388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28389         ... here.
28390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28391         Moved ...
28392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28393         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28394         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28396         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28397         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28398         Moved ...
28399         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28401         Moved ...
28402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28404         Moved ...
28405         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28407         Moved ...
28408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28409         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28410         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28411         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28412         Moved ...
28413         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28415         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28417         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28419         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28421         Moved ...
28422         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28423         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28424         Moved ...
28425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28426         ... here.
28427         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28428         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28429         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28430         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28431         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28432         Moved ...
28433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28434         ... here.
28435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28436         Moved ...
28437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28438         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28439         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28440         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28441         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28442         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28444         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28445         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28447         Moved ...
28448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28450         Moved ...
28451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28452         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28453         Moved ...
28454         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28456         Moved ...
28457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28458         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28459         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28460         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28461         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28462         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28463         Moved ...
28464         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28465         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28466         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28467         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28468         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28469         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28470         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28471         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28472         Moved ...
28473         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28474         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28475         Moved ...
28476         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28477         ... here.
28478         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28479         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28480         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28481         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28482         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28483         Moved ...
28484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28485         ... here.
28486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28487         Moved ...
28488         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28489         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28490         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28491         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28492         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28493         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28494         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28495         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28496         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28497         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28498         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28500         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28501         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28503         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28504         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28506         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28507         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28508         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28509         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28510         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28511         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28512         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28513         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28514         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28515         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28516         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28517         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28518         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28519         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28520         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28522         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28524         Moved ...
28525         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28526         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28527         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28528         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28529         Moved ...
28530         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28532         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28533         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28534         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28536         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28538         Moved ...
28539         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28541         Moved ...
28542         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28543         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28544         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28545         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28546         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28548         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28549         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28550         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28551         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28552         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28553         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28554         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28555         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28556         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28557         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28558         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28561         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28562         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28563         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28564         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28566         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28567         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28568         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28569         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28570         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28571         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28572         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28573         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28574         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28575         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28580         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28581         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28582         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28583         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28584         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28585         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28586         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28587         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28588         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28589         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28590         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28591         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28592         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28593         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28595         Update #include.
28596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28597         Likewise.
28598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28599         Likewise.
28600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28601         Likewise.
28602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28603         Likewise.
28604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28605         Likewise.
28606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28607         Likewise.
28608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28609         Likewise.
28610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28611         Likewise.
28612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28613         Likewise.
28614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28619         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28620         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28630         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28631         that was previously under [RESET_PID].
28632         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28633         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28634         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28636         * sysdeps/i386/nptl/Implies: New file.
28637         * sysdeps/x86_64/nptl/Implies: New file.
28638         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28639         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28640         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28641         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28643         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28644         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28645         (__libc_vfork): New strong alias.
28646         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28647         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28649         * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
28653         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28655         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28659         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28660         * nptl/pt-vfork.c: New file.
28661         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28662         (libpthread: GLIBC_2.20): New version set (empty).
28664 2014-05-14  Will Newton  <will.newton@linaro.org>
28666         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28667         rather than #if.
28669 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28671         [BZ #16564]
28672         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28673         arguments with exponent 65 or above.
28674         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28675         arguments 0x1p113L or above.
28676         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28677         to arguments 0x1p107L or above.
28678         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28679         positive arguments with exponent 65 or above.
28680         * math/auto-libm-test-in: Add more tests of log1p.
28681         * math/auto-libm-test-out: Regenerated.
28683         [BZ #16928]
28684         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28685         non-finite arguments is +0.
28686         * math/s_cacosf.c (__cacosf): Likewise.
28687         * math/s_cacosl.c (__cacosl): Likewise.
28688         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28689         * sysdeps/i386/fpu/libm-test-ulps: Update.
28690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28692         [BZ #16927]
28693         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28694         value.
28695         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28696         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28697         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28698         for explicit high bit of mantissa when testing for argument equal
28699         to 1.
28700         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28701         * sysdeps/i386/fpu/libm-test-ulps: Update.
28702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28704         [BZ #16516]
28705         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28706         (__erf): Scale by 16 instead of 8 in potentially underflowing
28707         case.  Ensure exception if result actually underflows.
28708         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28709         (__erff): Scale by 16 instead of 8 in potentially underflowing
28710         case.  Ensure exception if result actually underflows.
28711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28712         (efx8): Remove variable.
28713         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28714         case.  Ensure exception if result actually underflows.
28715         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28716         (efx8): Remove variable.
28717         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28718         case.  Ensure exception if result actually underflows.
28719         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28720         (efx8): Remove variable.
28721         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28722         case.  Ensure exception if result actually underflows.
28723         * math/auto-libm-test-in: Add more tests of erf.
28724         * math/auto-libm-test-out: Regenerated.
28726 2014-05-14  Andreas Schwab  <schwab@suse.de>
28728         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28729         Remove code conditionalized on USE___THREAD.
28731         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28732         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28733         not definedness.
28735 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28737         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28738         Define unconditionally.
28739         (__ASSUME_O_CLOEXEC): Likewise.
28740         (__ASSUME_SOCK_CLOEXEC): Likewise.
28741         (__ASSUME_IN_NONBLOCK): Likewise.
28742         (__ASSUME_PIPE2): Likewise.
28743         (__ASSUME_EVENTFD2): Likewise.
28744         (__ASSUME_SIGNALFD4): Likewise.
28745         (__ASSUME_DUP3): Likewise.
28746         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28747         (__ASSUME_DUP3): Do not define.
28748         (__ASSUME_EVENTFD2): Likewise.
28749         (__ASSUME_IN_NONBLOCK): Likewise.
28750         (__ASSUME_O_CLOEXEC): Likewise.
28751         (__ASSUME_PIPE2): Likewise.
28752         (__ASSUME_SIGNALFD4): Likewise.
28753         (__ASSUME_SOCK_CLOEXEC): Likewise.
28754         (__ASSUME_UTIMES): Undefine.
28755         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28756         (__ASSUME_UTIMES): Do not define.
28757         (__ASSUME_O_CLOEXEC): Likewise.
28758         (__ASSUME_SOCK_CLOEXEC): Likewise.
28759         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28760         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28761         0x020621].
28762         (__ASSUME_PIPE2): Likewise.
28763         (__ASSUME_EVENTFD2): Likewise.
28764         (__ASSUME_SIGNALFD4): Likewise.
28765         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28766         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28767         Do not define.
28768         (__ASSUME_EVENTFD2): Likewise.
28769         (__ASSUME_SIGNALFD4): Likewise.
28770         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28771         (__ASSUME_32BITUIDS): Likewise.
28772         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28773         (__ASSUME_IPC64): Likewise.
28774         (__ASSUME_ST_INO_64_BIT): Likewise.
28775         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28776         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28777         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28778         (__ASSUME_UTIMES): Do not define.
28779         (__ASSUME_PSELECT): Likewise.
28780         (__ASSUME_PPOLL): Likewise.
28781         (__ASSUME_O_CLOEXEC): Likewise.
28782         (__ASSUME_SOCK_CLOEXEC): Likewise.
28783         (__ASSUME_IN_NONBLOCK): Likewise.
28784         (__ASSUME_PIPE2): Likewise.
28785         (__ASSUME_EVENTFD2): Likewise.
28786         (__ASSUME_SIGNALFD4): Likewise.
28787         (__ASSUME_DUP3): Likewise.
28788         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28789         (__ASSUME_UTIMES): Likewise.
28790         (__ASSUME_O_CLOEXEC): Likewise.
28791         (__ASSUME_SOCK_CLOEXEC): Likewise.
28792         (__ASSUME_IN_NONBLOCK): Likewise.
28793         (__ASSUME_PIPE2): Likewise.
28794         (__ASSUME_EVENTFD2): Likewise.
28795         (__ASSUME_SIGNALFD4): Likewise.
28796         (__ASSUME_DUP3): Likewise.
28797         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28798         (__ASSUME_UTIMES): Likewise.
28799         (__ASSUME_O_CLOEXEC): Likewise.
28800         (__ASSUME_SOCK_CLOEXEC): Likewise.
28801         (__ASSUME_IN_NONBLOCK): Likewise.
28802         (__ASSUME_PIPE2): Likewise.
28803         (__ASSUME_EVENTFD2): Likewise.
28804         (__ASSUME_SIGNALFD4): Likewise.
28805         (__ASSUME_DUP3): Likewise.
28806         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28807         Likewise.
28808         (__ASSUME_UTIMES): Likewise.
28809         (__ASSUME_EVENTFD2): Likewise.
28810         (__ASSUME_SIGNALFD4): Likewise.
28811         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28812         (__ASSUME_O_CLOEXEC): Likewise.
28813         (__ASSUME_SOCK_CLOEXEC): Likewise.
28814         (__ASSUME_IN_NONBLOCK): Likewise.
28815         (__ASSUME_PIPE2): Likewise.
28816         (__ASSUME_EVENTFD2): Likewise.
28817         (__ASSUME_SIGNALFD4): Likewise.
28818         (__ASSUME_DUP3): Likewise.
28819         (__ASSUME_UTIMES): Undefine.
28821         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28822         feclearexcept.  Remove symbol versioning code.
28823         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28824         symbol versioning code.
28825         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28826         symbol versioning code.
28827         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28828         feupdateenv.  Remove symbol versioning code.
28829         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28830         fegetexceptflag.  Remove symbol versioning code.
28831         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28832         fesetexceptflag.  Remove symbol versioning code.
28833         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28834         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28835         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28836         (__posix_fadvise64_l32): Remove prototype.
28837         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28838         code.
28840 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28842         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28843         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28844         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28845         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28847 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28849         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28850         current working directory
28852 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28854         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28855         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28856         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28857         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28858         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28859         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28860         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28861         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28865         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28866         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28867         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28868         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28869         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28871         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28872         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28873         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28874         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28875         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28876         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28877         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28878         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28879         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28881         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28882         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28883         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28884         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28885         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28886         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28887         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28888         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28889         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28890         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28891         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28892         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28893         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28894         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28895         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28897         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28898         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28900         * sysdeps/unix/sysv/linux/arm/Makefile
28901         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28902         Add rt-aeabi_unwind_cpp_pr1.
28903         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28904         Add nptl-aeabi_unwind_cpp_pr1.
28905         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28906         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28907         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28908         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28909         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28910         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28912         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28913         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28914         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28915         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28917         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28918         Deconditionalize the code that was previously under [RESET_PID].
28919         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28921         * sysdeps/generic/exit-thread.h: New file.
28922         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28923         * include/unistd.h (__exit_thread): Remove declaration.
28924         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28925         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28926         * csu/libc-start.c: Include <exit-thread.h>.
28927         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28928         * nptl/pthread_create.c: Include <exit-thread.h>.
28929         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28930         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28931         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28932         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28933         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28934         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28935         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28936         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28937         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28938         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28939         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28940         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28941         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28942         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28943         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28944         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28945         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28947 2014-05-13  Andreas Schwab  <schwab@suse.de>
28949         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28951 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28953         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28954         (__ASSUME_UTIMES): Do not condition on kernel version.
28955         (__ASSUME_PSELECT): Define unconditionally.
28956         (__ASSUME_PPOLL): Likewise.
28957         (__ASSUME_ATFCTS): Likewise.
28958         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28959         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28960         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28961         (__ASSUME_UTIMENSAT): Define unconditionally.
28962         (__ASSUME_PRIVATE_FUTEX): Likewise.
28963         (__ASSUME_FALLOCATE): Likewise.
28964         (__ASSUME_O_CLOEXEC): Likewise.
28965         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28966         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28967         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28968         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28969         (__ASSUME_IN_NONBLOCK): Likewise.
28970         (__ASSUME_PIPE2): Likewise.
28971         (__ASSUME_EVENTFD2): Likewise.
28972         (__ASSUME_SIGNALFD4): Likewise.
28973         (__ASSUME_DUP3): Likewise.
28974         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28975         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28976         (__ASSUME_AT_RANDOM): Likewise.
28977         (__ASSUME_PREADV): Likewise.
28978         (__ASSUME_PWRITEV): Likewise.
28979         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28980         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28981         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28982         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28983         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28984         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28985         (__ASSUME_O_CLOEXEC): Define unconditionally.
28986         (__ASSUME_PSELECT): Do not undefine conditionally.
28987         (__ASSUME_PPOLL): Likewise.
28988         (__ASSUME_ATFCTS): Likewise.
28989         (__ASSUME_SET_ROBUST_LIST): Likewise.
28990         (__ASSUME_UTIMENSAT): Likewise.
28991         (__ASSUME_FDATASYNC): Define unconditionally.
28992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28993         (__ASSUME_SIGFRAME_V2): Likewise.
28994         )__ASSUME_EVENTFD2): Likewise.
28995         (__ASSUME_SIGNALFD4): Likewise.
28996         (__ASSUME_PSELECT): Do not undefine conditionally.
28997         (__ASSUME_PPOLL): Likewise.
28998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28999         (__ASSUME_PSELECT): Define unconditionally.
29000         (__ASSUME_PPOLL): Likewise.
29001         (__ASSUME_O_CLOEXEC): Likewise.
29002         (__ASSUME_SOCK_CLOEXEC): Likewise.
29003         (__ASSUME_IN_NONBLOCK): Likewise.
29004         (__ASSUME_PIPE2): Likewise.
29005         (__ASSUME_EVENTFD2): Likewise.
29006         (__ASSUME_SIGNALFD4): Likewise.
29007         (__ASSUME_DUP3): Likewise.
29008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29009         (__ASSUME_O_CLOEXEC): Likewise.
29010         (__ASSUME_SOCK_CLOEXEC): Likewise.
29011         (__ASSUME_IN_NONBLOCK): Likewise.
29012         (__ASSUME_PIPE2): Likewise.
29013         (__ASSUME_EVENTFD2): Likewise.
29014         (__ASSUME_SIGNALFD4): Likewise.
29015         (__ASSUME_DUP3): Likewise.
29016         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29017         (__ASSUME_EVENTFD2): Likewise.
29018         (__ASSUME_SIGNALFD4): Likewise.
29019         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29021 2014-05-12  Andreas Schwab  <schwab@suse.de>
29023         [BZ #16932]
29024         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29025         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29026         than maximum RPC packet size.
29027         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29028         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29029         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29030         (_nss_nis_getservbyport_r): Likewise.
29032 2014-05-12  Will Newton  <will.newton@linaro.org>
29034         * malloc/Makefile (tests): Add tst-mallopt.
29035         * malloc/tst-mallopt.c: New file.
29037 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29039         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29040         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29042 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29044         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29045         (tst-tlsmod6.so): Likewise.
29047 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29049         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29051 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29053         [BZ #16064]
29054         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29055         and <dl-procinfo.h>.
29056         (__fegetenv): Save SSE state in envp->__eip if supported.
29057         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29058         envp->__eip if supported.
29059         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29060         and <dl-procinfo.h>.
29061         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29062         __data_offset and __data_selector in environment to 0.  Set SSE
29063         state if supported.
29064         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29065         test-fenv-sse.
29066         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29067         -mfpmath=sse.
29068         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29070 2014-05-09  Will Newton  <will.newton@linaro.org>
29072         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29073         and libc_relro_required for ARM.
29074         * sysdeps/arm/preconfigure: Regenerate.
29076 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29077             Stefan Liebler  <stli@linux.vnet.ibm.com>
29079         * config.make.in (enable-lock-elision): New Makefile variable.
29080         * configure.ac: Likewise.
29081         * configure: Regenerate.
29082         * sysdeps/s390/configure.ac:
29083         Add check for gcc transactions support.
29084         * sysdeps/s390/configure: Regenerate.
29085         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29086         Build elision files if enabled.
29087         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29088         Add lock elision support for s390.
29089         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29090         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29091         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29092         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29093         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29094         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29095         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29096         Likewise.
29097         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29098         Likewise.
29099         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29100         Likewise.
29101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29102         Likewise.
29103         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29104         (__lll_timedlock_elision, __lll_lock_elision)
29105         (__lll_unlock_elision, __lll_trylock_elision)
29106         (lll_timedlock_elision, lll_lock_elision)
29107         (lll_unlock_elision, lll_trylock_elision): Add.
29108         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29109         (pthread_mutex_t): Add lock elision support for s390.
29111 2014-05-14  Wilco  <wdijkstr@arm.com>
29113         * sysdeps/arm/fclrexcpt.c: Cleanup.
29114         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29115         * sysdeps/arm/feenablxcpt.c: Cleanup.
29116         * sysdeps/arm/fegetenv.c: Cleanup.
29117         * sysdeps/arm/fegetexcept.c: Cleanup.
29118         * sysdeps/arm/fegetround.c: Cleanup.
29119         * sysdeps/arm/feholdexcpt.c: Cleanup.
29120         * sysdeps/arm/fesetenv.c: Cleanup.
29121         * sysdeps/arm/fesetround.c: Cleanup.
29122         * sysdeps/arm/feupdateenv.c: Cleanup.
29123         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29124         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29125         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29126         * sysdeps/arm/ftestexcept.c: Cleanup.
29127         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29128         * sysdeps/arm/setfpucw.c: Cleanup.
29130 2014-05-09  Will Newton  <will.newton@linaro.org>
29132         * sysdeps/arm/armv7/strcmp.S: New file.
29133         * NEWS: Mention addition of ARMv7 optimized strcmp.
29135 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29137         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29138         look for %.ac rather than %.in.
29140         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29141         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29142         * sysdeps/mach/hurd/configure: Regenerated.
29143         * sysdeps/unix/sysv/linux/configure: Regenerated.
29145         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29147 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29149         [BZ# 16922]
29150         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29151         (LONG_SUB): Ditto.
29152         (PTR_SUB): Ditto.
29154 2014-05-07  Andreas Schwab  <schwab@suse.de>
29156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29157         when skipping over non-matching result from nscd.
29159 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29161         [BZ #16876]
29162         * nptl/sockperf.c (client): Check socket return value.
29164         [BZ #16877]
29165         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29166         nscd security class.
29168 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29170         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29171         * sysdeps/arm/unwind.h: ... here.
29173 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29175         [BZ# 16916]
29176         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29177         Define.
29179 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29181         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29182         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29183         multiarch strncpy for PPC64.
29184         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29185         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29187         multiarch optimizations.
29188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29189         (__libc_ifunc_impl_list): Likewise.
29190         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29191         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29192         multiarch stpncpy for PPC64.
29193         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29194         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29196 2014-05-06  Andreas Schwab  <schwab@suse.de>
29198         [BZ #16912]
29199         * gmon/mcount.c (_MCOUNT_DECL): Use
29200         atomic_compare_and_exchange_bool_acq instead of
29201         catomic_compare_and_exchange_bool_acq.
29203 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29205         * elf/Makefile (others, install-bin): Remove pldd.
29206         (pldd-modules): Variable removed.
29207         ($(objpfx)pldd): Target removed.
29208         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29209         (others, install-bin): Append pldd here.
29210         ($(objpfx)pldd): New target.
29212         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29213         to 0, so the first #if test emitted later doesn't see it undefined.
29214         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29215         * sysdeps/gnu/errlist.c: Regenerated.
29217 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29219         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29220         [libc_hidden_builtin_def]: Define to empty value.
29221         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29222         [libc_hidden_builtin_def]: Likewise.
29223         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29224         [libc_hidden_builtin_def]: Likewise.
29225         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29226         [libc_hidden_builtin_def]: Likewise.
29227         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29228         __redirect_memcpy and define ifunc as default hidden symbol.
29229         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29230         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29232 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29234         * locale/iso-4217.def: Reintroduce XDR currency.
29236 2014-05-04  Allan McRae  <allan@archlinux.org>
29238         * po/eo.po: Update Esperanto translation from translation project.
29240 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29242         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29243         and FEATURE_INDEX_MAX to 1.
29244         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29246 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29248         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29249         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29250         * iconvdata/big5.c (ONE_DIRECTION): Define.
29251         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29252         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29253         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29254         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29255         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29256         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29257         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29258         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29259         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29260         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29261         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29262         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29263         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29264         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29265         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29266         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29267         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29268         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29269         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29270         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29271         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29272         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29273         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29274         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29275         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29276         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29277         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29278         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29279         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29280         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29281         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29282         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29283         * iconvdata/johab.c (ONE_DIRECTION): Define.
29284         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29285         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29286         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29287         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29288         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29289         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29290         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29291         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29292         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29293         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29295 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29297         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29298         (_IO_JUMPS_OFFSET): Define to 0.
29300         * nptl/sysdeps/pthread/bits/libc-lock.h
29301         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29302         (__libc_lock_define_initialized_recursive): Always define using
29303         initializer.  Modern compilers treat uninitialized (implicit zero) and
29304         explicit zero initializers the same (i.e. put the datum in bss).
29306 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29308         * nscd/nscd-client.h: Include <string.h>.
29310 2014-05-01  David S. Miller  <davem@davemloft.net>
29312         [BZ #16885]
29313         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29314         multiple zero bytes exist at the end of a string.
29315         Reported by Aurelien Jarno <aurelien@aurel32.net>
29317         * string/test-strcmp.c (check): Add explicit test for situations where
29318         there are multiple zero bytes after the first.
29320 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29322         [BZ #16890]
29323         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29324         when compiling wprintf.
29325         * stdio-common/tstdiomisc.c (t3): New function.
29326         (main): Call it.
29328 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29330         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29331         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29332         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29333         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29335 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29337         * stdlib/longlong.h: Updated from GCC.
29339 2014-05-01  Will Newton  <will.newton@linaro.org>
29340             Bernard Ogden  <bernie.ogden@linaro.org>
29342         * NEWS: Update fixed bug list.
29344         [BZ #15119]
29345         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29347 2014-04-30  David S. Miller  <davem@davemloft.net>
29349         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29350         (libc_feholdexcept_setround_sparc_ctx): New function.
29351         (libc_fesetenv_sparc_ctx): Likewise.
29352         (libc_feupdateenv_sparc_ctx): Likewise.
29353         (libc_feholdsetround_sparc_ctx): Likewise.
29354         (libc_feholdexcept_setround_ctx): Define.
29355         (libc_feholdexcept_setroundf_ctx): Likewise.
29356         (libc_feholdexcept_setroundl_ctx): Likewise.
29357         (libc_fesetenv_ctx): Likewise.
29358         (libc_fesetenvf_ctx): Likewise.
29359         (libc_fesetenvl_ctx): Likewise.
29360         (libc_feupdateenv_ctx): Likewise.
29361         (libc_feupdateenvf_ctx): Likewise.
29362         (libc_feupdateenvl_ctx): Likewise.
29363         (libc_feresetround_ctx): Likewise.
29364         (libc_feresetroundf_ctx): Likewise.
29365         (libc_feresetroundl_ctx): Likewise.
29366         (libc_feholdsetround_ctx): Likewise.
29367         (libc_feholdsetroundf_ctx): Likewise.
29368         (libc_feholdsetroundl_ctx): Likewise.
29370         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29371         with __USE_GNU instead of XOPEN cpp guards.
29373         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29374         0.
29376         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29377         with XOPEN cpp guards.
29379 2014-04-30  Julian Brown  <julian@codesourcery.com>
29381         [BZ #16888]
29382         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29383         handling.
29385 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29387         [BZ #9894]
29388         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29389         Change to 2.6.32.
29390         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29391         * sysdeps/unix/sysv/linux/configure: Regenerated.
29392         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29393         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29394         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29395         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29396         * README: Update reference to required Linux kernel version.
29397         * manual/install.texi (Linux): Update reference to required Linux
29398         kernel headers version.
29399         * INSTALL: Regenerated.
29401         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29402         header inclusion.
29403         [POSIX] (limits.h): Likewise.
29404         [POSIX] (math.h): Likewise.
29405         [POSIX] (sys/wait.h): Likewise.
29406         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29407         function.
29408         [POSIX] (stddef.h): Do not allow header inclusion.
29410 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29412         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29414 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29416         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29417         Return immediately after lll_futex_wake.
29419 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29421         [BZ #16791]
29422         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29423         structure.
29424         (datahead_init_pos): Call datahead_init_common early.
29425         (datahead_init_neg): Likewise.
29427         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29428         datahead_init_neg): New functions.
29429         * nscd/aicache.c (addhstaiX): Use them.
29430         * nscd/grpcache.c (cache_addgr): Likewise.
29431         * nscd/hstcache.c (cache_addhst): Likewise.
29432         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29433         * nscd/netgroupcache.c (do_notfound): Likewise.
29434         (addgetnetgrentX): Likewise.
29435         (addinnetgrX): Likewise.
29436         * nscd/pwdcache.c (cache_addpw): Likewise.
29437         * nscd/servicescache.c (cache_addserv): Likewise.
29439 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29440             Atsushi Onoe  <atsushi@onoe.org>
29442         [BZ #14308]
29443         [BZ #12994]
29444         [BZ #13651]
29445         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29446         one response is valid.
29447         * resolv/res_send.c (send_dg): Check for validity of other
29448         response if the current response is a referral.
29450 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29452         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29454 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29456         [BZ #16823]
29457         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29458         Always divide by positive zero when computing -Inf result.
29459         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29460         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29462 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29464         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29465         FPSCR if value do not change.
29466         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29467         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29468         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29469         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29470         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29471         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29472         function.
29474 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29476         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29477         * sysdeps/unix/sysv/linux/hppa: Move directory from
29478         ports/systeps/unix/sysv/linux/hppa.
29479         * README: Update listing for hppa-*-linux-gnu.
29481 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29483         [BZ #16754]
29484         * manual/stdio.texi (Hook functions): Fix types of stream hook
29485         functions.
29486         [BZ #16854]
29487         * socket/sys/socket.h: Fix typo in comment.
29489 2014-04-28  Wilco  <wdijkstr@arm.com>
29491         * sysdeps/arm/fenv_private.h: New file.
29492         * sysdeps/arm/math_private.h: New file.
29493         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29495 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29497         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29498         with __int128_t.
29499         (La_x86_64_retval): Likewise.
29501 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29503         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29504         fpsr if value didn't change.
29505         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29506         to fpcr if value didn't change.
29507         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29508         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29509         fpsr or fpcr if value didn't change.
29510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29511         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29512         fpcr if value didn't change.
29513         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29514         to fpsr if value didn't change.
29516 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29518         * nptl/tst-sem3.c: Use test-skeleton.c
29519         (main): Rename to do_test.  Use return instead of
29520         exit.
29521         * nptl/tst-sem4.c: Use test-skeleton.c
29522         (main): Rename to do_test.
29524 2014-04-22  David S. Miller  <davem@davemloft.net>
29526         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29527         (struct sigaction): New struct member __glibc_reserved0, change
29528         type of sa_flags to int.
29530 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29532         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29533         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29535 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29537         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29538         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29540 2014-04-22  Will Newton  <will.newton@linaro.org>
29541             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29543         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29544         (__longjmp): Add longjmp and longjmp_target SystemTap
29545         probes.
29546         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29547         (__sigsetjmp): Add setjmp SystemTap probe.
29549 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29551         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29552         match manual order.
29554 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29556         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29558         * sysdeps/powerpc/fpu/fenv_private.h
29559         (libc_feholdexcept_setroundl_ctx): Define to
29560         libc_feholdexcept_setround_ppc_ctx.
29561         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29562         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29563         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29564         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29566 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29568         * sysdeps/aarch64/math-tests.h: New file.
29570 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29572         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29573         New.
29574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29575         Check and set bit_AVX2_Usable.
29576         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29577         macro.
29578         (bit_AVX2): Likewise.
29579         (index_AVX2_Usable): Likewise.
29580         (CPUID_AVX2): Likewise.
29581         (HAS_AVX2): Likewise.
29583 2014-04-17  Will Newton  <will.newton@linaro.org>
29585         * manual/setjmp.texi (System V contexts): Add note that
29586         calling setcontext on a context created by a call to a
29587         signal handler is undefined.  Update text to note that
29588         setcontext from a signal handler is possible but not
29589         recommended.
29591         [BZ #16629]
29592         * stdlib/tst-setcontext.c: Include signal.h.
29593         (main): Check that the signal stack before and
29594         after swapcontext is the same.
29596         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29597         Re-implement to restore registers in user code and avoid
29598         rt_sigreturn system call.
29600 2014-04-17  Wilco  <wdijkstr@arm.com>
29602         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29603         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29604         * math/test-fenv.c: Skip exception trap tests on targets which only
29605         support non-stop mode.
29607 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29608             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29610         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29611         (libc_feholdsetround_aarch64_ctx)
29612         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29613         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29614         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29615         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29616         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29617         (libc_feresetround_noexl_ctx): Define.
29619 2014-04-16  Richard Henderson  <rth@redhat.com>
29621         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29623         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29624         unwind tables.
29626         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29627         const from the non-libc, non-ldso copy.
29629         * sysdeps/alpha/libm-test-ulps: Regenerate.
29631 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29632             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29634         * sysdeps/aarch64/fpu/math_private.h: New file.
29636 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29638         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29640 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29642         [BZ #16275]
29643         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29644         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29646         Intel MPX bound registers before _dl_profile_fixup.
29647         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29648         registers after _dl_profile_fixup.  Save and restore bound
29649         registers bnd0/bnd1 when calling _dl_call_pltexit.
29650         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29651         (LR_BND_OFFSET): Likewise.
29652         (LRV_BND0_OFFSET): Likewise.
29653         (LRV_BND1_OFFSET): Likewise.
29655 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29657         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29658         to...
29659         * sysdeps/mach/hurd/i386/tls.h: ... here.
29660         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29661         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29662         fields.
29664 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29666         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29668 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29670         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29672 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29674         [BZ #14770]
29675         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29676         * sysdeps/s390/configure: Regenerate.
29678         [BZ #16824]
29679         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29680         Set round-to-nearest internally to reduce error accumulation.
29682 2014-04-16  Alan Modra  <amodra@gmail.com>
29684         [BZ #16740]
29685         [BZ #16619]
29686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29687         * math/libm-test.inc (frexp_test_data): Add tests.
29688         * NEWS: Update fixed bug list.
29690 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29692         * benchtests/Makefile: Depend on libraries in build directory.
29693         (bench-math): Separate out math tests.
29694         (bench-pthread): Separate out pthread tests.
29695         (bench): Include math and pthread tests.
29697 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29699         [BZ #16831]
29700         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29701         _dl_debug_initialize.
29703         * configure.ac: Remove SELinux header check.
29704         * configure: Regenerate.
29705         * nscd/selinux.c (perms): Array of const char* to permission names.
29706         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29707         default policy. Call string_to_security_class and string_to_av_perm to
29708         translate strings. Enforce default policy and call avs_has_perm with
29709         results of translated strings.
29711 2014-04-13  David S. Miller  <davem@davemloft.net>
29713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29715 2014-04-12  Allan McRae  <allan@archlinux.org>
29717         [BZ #16838]
29718         * manual/string.texi (Collation Functions): Fix qsort argument
29719         order in example.
29720         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29722 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29724         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29725         Make the test a no-op if there are no exceptions defined.
29727 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29729         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29730         enable-hardcoded-path-in-tests
29732 2014-04-11  Will Newton  <will.newton@linaro.org>
29734         * benchtests/Makefile (extra-objs): Add json-lib.o.
29735         (bench-func): Tidy up JSON output.
29736         * benchtests/bench-skeleton.c: Include json-lib.h.
29737         (main): Use JSON library functions to do output of
29738         benchmark results.
29739         * benchtests/bench-timing-type.c (main): Output the
29740         timing type simply, leaving formatting to the user.
29741         * benchtests/json-lib.c: New file.
29742         * benchtests/json-lib.h: Likewise.
29744 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29746         [BZ #15215]
29747         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29748         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29749         memory barriers.  Add comments.
29750         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29751         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29752         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29753         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29754         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29755         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29757 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29759         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29760         * sysdeps/s390/s390-64/configure.ac: ... this ...
29761         * sysdeps/s390/configure.ac: ... to here.
29762         * sysdeps/s390/s390-32/configure: Delete file.
29763         * sysdeps/s390/s390-64/configure: Delete file.
29764         * sysdeps/s390/configure: Regenerate.
29766 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29768         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29770 2014-04-11  Will Newton  <will.newton@linaro.org>
29772         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29773         to zero if it is not defined elsewhere.  (mtrim): Test
29774         the value of MALLOC_DEBUG with #if rather than #ifdef.
29776 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29778         * benchtests/pthread_once-inputs: New file.
29779         * benchtests/pthread_once-source.c: New file.
29780         * benchtests/README: Update documentation.
29782 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29783             H.J. Lu  <hongjiu.lu@intel.com>
29785         [BZ #16275]
29786         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29787         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29788         * sysdeps/x86_64/configure: Regenerated.
29789         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29790         macro.
29791         (REGISTER_SAVE_RAX): Likewise.
29792         (REGISTER_SAVE_RCX): Likewise.
29793         (REGISTER_SAVE_RDX): Likewise.
29794         (REGISTER_SAVE_RSI): Likewise.
29795         (REGISTER_SAVE_RDI): Likewise.
29796         (REGISTER_SAVE_R8): Likewise.
29797         (REGISTER_SAVE_R9): Likewise.
29798         (REGISTER_SAVE_BND0): Likewise.
29799         (REGISTER_SAVE_BND1): Likewise.
29800         (REGISTER_SAVE_BND2): Likewise.
29801         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29802         bound registers when calling _dl_fixup.
29804 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29806         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29807         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29808         of its definition.
29809         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29810         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29811         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29812         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29813         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29814         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29815         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29817 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29819         [BZ #15514]
29820         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29821         pathconf(_PC_NAME_MAX).
29823 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29825         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29826         Remove macro usage.
29827         (__PTHREAD_SPINS): Move definition to ...
29828         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29829         (__PTHREAD_SPINS): ... here.
29830         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29831         (__PTHREAD_SPIN): Likewise.
29832         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29833         (__PTHREAD_SPIN): Likewise.
29834         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29835         (__PTHREAD_SPIN): Likewise.
29836         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29837         (__PTHREAD_SPIN): Likewise.
29838         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29839         (__PTHREAD_SPIN): Likewise.
29840         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29841         (__PTHREAD_SPIN): Likewise.
29842         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29843         (__PTHREAD_SPIN): Likewise.
29844         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29845         (__PTHREAD_SPIN): Likewise.
29846         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29847         (__PTHREAD_SPIN): Likewise.
29848         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29849         (__PTHREAD_SPIN): Likewise.
29850         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29851         (__PTHREAD_SPIN): Likewise.
29852         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29853         (__PTHREAD_SPIN): Likewise.
29855         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29856         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29857         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29858         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29859         imply folder.
29860         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29861         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29862         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29863         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29864         correct imply path.
29865         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29866         strlen symbol for non multi-arch builds.
29867         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29868         missing hidden_def and weak_alias.
29870 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29872         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29874 2014-04-07  Will Newton  <will.newton@linaro.org>
29876         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29877         and contents.  [!_LIBC] Remove #ifndef and contents.
29878         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29879         * string/memccpy.c (__memccpy): Use ANSI prototype.
29880         * string/memfrob.c (memfrob): Likewise.
29881         * string/strcoll.c (STRCOLL): Likewise.
29882         * string/strlen.c (strlen): Likewise.
29883         * string/strtok.c (STRTOK): Likewise.
29884         * string/strcat.c: Remove unused #include of memcopy.h.
29885         (strcat): Use ANSI prototype.
29886         * string/strchr.c: Remove unused #include of memcopy.h.
29887         (strchr): Use ANSI prototype.
29888         * string/strcmp.c: Remove unused #include of memcopy.h.
29889         (strcmp): Use ANSI prototype.
29890         * string/strcpy.c: Remove unused #include of memcopy.h.
29891         (strcpy): Use ANSI prototype.
29893 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29895         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29896         * config.make.in (config-extra-cppflags): Set it from
29897         libc_extra_cppflags.
29898         * configure.ac (libc_extra_cflags): Make it accumulate over
29899         configure fragments.
29900         (libc_extra_cppflags): New flag.
29901         * configure. Regenerate.
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29903         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29904         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29907         [BZ #16815]
29908         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29909         result for FE_DOWNWARD rounding mode.
29910         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29911         Likewise.
29912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29914 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29916         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29917         in function argument name.
29919 2014-04-03  David Svoboda  <svoboda@cert.org>
29921         [BZ #5666]
29922         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29923         explicitly.
29925 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29927         * elf/dl-unmap-segments.h: New file.
29928         * sysdeps/generic/ldsodefs.h
29929         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29930         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29931         * elf/dl-fptr.c: Likewise.
29932         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29933         * sysdeps/aarch64/tlsdesc.c: Likewise.
29934         * sysdeps/arm/tlsdesc.c: Likewise.
29935         * sysdeps/i386/tlsdesc.c: Likewise.
29936         * sysdeps/tile/dl-runtime.c: Likewise.
29937         * sysdeps/x86_64/tlsdesc.c: Likewise.
29938         * elf/dl-load.h: New file.
29939         * elf/dl-load.c: Include it.
29940         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29941         Macros moved to dl-load.h.
29942         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29943         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29944         Use _dl_unmap_segments in place of __munmap.
29945         Break out segment-mapping loop into ...
29946         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29948 2014-04-03  Will Newton  <will.newton@linaro.org>
29950         * elf/dl-lookup.c (do_lookup_x): Remove comment
29951         referring to nested function and move variable
29952         declarations down to before first use.
29954 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29956         [BZ #16799]
29957         [BZ #16800]
29958         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29959         with 0 numerator.
29960         * math/s_catanf.c (__catanf): Likewise.
29961         * math/s_catanh.c (__catanh): Likewise.
29962         * math/s_catanhf.c (__catanhf): Likewise.
29963         * math/s_catanhl.c (__catanhl): Likewise.
29964         * math/s_catanl.c (__catanl): Likewise.
29965         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29966         by positive zero when computing -Inf result.
29967         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29968         (catanh_test): Likewise.
29969         * sysdeps/i386/fpu/libm-test-ulps: Update.
29970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29972         [BZ #16789]
29973         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29974         instead of using underflowing value in computing result.
29975         * math/s_clog10.c (__clog10): Likewise.
29976         * math/s_clog10f.c (__clog10f): Likewise.
29977         * math/s_clog10l.c (__clog10l): Likewise.
29978         * math/s_clogf.c (__clogf): Likewise.
29979         * math/s_clogl.c (__clogl): Likewise.
29980         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29981         (clog10_test): Likewise.
29982         * sysdeps/i386/fpu/libm-test-ulps: Update.
29983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29985 2014-04-02  Alan Modra  <amodra@gmail.com>
29987         [BZ #16739]
29988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29989         output when value is near a power of two.  Use int64_t for lx and
29990         remove casts.  Use decimal rather than hex exponent constants.
29991         Don't use long double multiplication when double will suffice.
29992         * math/libm-test.inc (nextafter_test_data): Add tests.
29993         * NEWS: Add 16739 and 16786 to bug list.
29995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29997         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29999 2014-04-01  Will Newton  <will.newton@linaro.org>
30001         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30002         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30004 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30006         [BZ #13347]
30007         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30008         * nptl/tst-setuid2.c: New file.
30009         * nptl/Makefile (xtests): Add tst-setuid2.
30011 2014-04-01  Alan Modra  <amodra@gmail.com>
30013         [BZ #16786]
30014         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30016 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30018         [BZ #6803]
30019         [BZ #6804]
30020         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30021         set errno as appropriate.
30022         * math/w_scalbf.c (__scalbf): Likewise.
30023         * math/w_scalbl.c (__scalbl): Likewise.
30024         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30025         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30026         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30027         Add more NaN tests.
30029         [BZ #16349]
30030         * math/w_atan2.c: Include <errno.h>.
30031         (__atan2): Set errno for result underflowing to zero.
30032         * math/w_atan2f.c: Include <errno.h>.
30033         (__atan2f): Set errno for result underflowing to zero.
30034         * math/w_atan2l.c: Include <errno.h>.
30035         (__atan2l): Set errno for result underflowing to zero.
30036         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30037         tests.
30038         * math/auto-libm-test-out: Regenerated.
30040 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30042         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30043         Encode instruction correctly in little endian.
30044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30045         Likewise.
30046         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30047         Likewise.
30048         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30049         Likewise.
30050         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30051         Likewise.
30053 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30055         [BZ #9894]
30056         * sysdeps/unix/sysv/linux/kernel-features.h
30057         [__sparc__ && !__arch64__ && !__sparc_v9__]
30058         (__ASSUME_SET_ROBUST_LIST): Do not define.
30059         [__sparc__ && !__arch64__ && !__sparc_v9__]
30060         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30061         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30062         Likewise.
30063         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30064         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30065         (__ASSUME_REQUEUE_PI): Likewise.
30066         (__ASSUME_SET_ROBUST_LIST): Likewise.
30067         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30068         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30069         Undefine.
30070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30071         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30072         Likewise.
30073         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30074         Likewise.
30075         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30076         Likewise.
30077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30078         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30079         Undefine.
30080         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30081         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30082         Likewise.
30084         [BZ #16648]
30085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30086         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30087         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30089 2014-03-31  Will Newton  <will.newton@linaro.org>
30091         * benchtests/Makefile (bench): Add ffs and ffsll to list
30092         of tests.
30093         * benchtests/ffs-inputs: New file.
30094         * benchtests/ffsll-inputs: Likewise.
30096 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30098         [BZ #16770]
30099         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30100         too large before casting to int.
30101         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30102         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30103         * math/libm-test.inc (scalb_test_data): Add more tests.
30105 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30107         * benchtests/Makefile (DETAILED_OPT): New make option.
30108         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30109         set.
30110         * benchtests/bench-skeleton.c: Include stdbool.h.
30111         (main): Store and print timings per input.
30112         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30113         member to each argument value.
30114         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30115         (_print_arg_data): Initialize per-input timing to 0.
30117         * benchtests/Makefile (timing-type): New binary.
30118         (bench-clean): Also remove bench-timing-type.
30119         (bench): New target for timing-type.
30120         (bench-func): Print output in JSON format.
30121         * benchtests/bench-skeleton.c (main): Print output in JSON
30122         format.
30123         * benchtests/bench-timing-type.c: New file.
30124         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30125         (TIMING_PRINT_STATS): Remove.
30126         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30127         name separately.
30129         * benchtests/bench-modf.c: Remove.
30130         * benchtests/modf-inputs: New inputs file.
30132 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30134         [BZ #16362]
30135         * math/s_clog10.c (M_PI_LOG10E): New macro.
30136         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30137         imaginary parts are 0.
30138         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30139         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30140         imaginary parts are 0.
30141         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30142         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30143         imaginary parts are 0.
30144         * math/libm-test.inc (clog10_test_data): Update expected results
30145         for when real and imaginary parts are 0.
30147 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30149         * elf/dl-load.c: Finish conversion of __builtin_expect into
30150         __glibc_{un}likely.
30152 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30154         [BZ #16348]
30155         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30156         1+x for argument with exponent below -67.
30157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30158         Likewise.
30159         * math/auto-libm-test-in: Add more tests of exp.
30160         * math/auto-libm-test-out: Regenerated.
30162 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30164         [BZ #16759]
30165         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30166         (nscd_getnetgrent): Use it.
30168         [BZ #16760]
30169         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30170         of stpcpy.
30172 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30174         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30175         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30176         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30177         (lll_robust_unlock): Remove out of line section. Use cfi
30178         intrinsics.
30179         (LLL_STUB_UNWIND_INFO*): Remove.
30180         * nptl/sysdeps/unix/sysv/linux/i386/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.
30187 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30189         [BZ #16758]
30190         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30191         blank values.
30193 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30195         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30197 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30199         [BZ #16198]
30200         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30201         fnstenv.
30202         * math/test-fenv-preserve.c: New file.
30203         * math/Makefile (tests): Add test-fenv-preserve.
30205 2014-03-26  Will Newton <will.newton@linaro.org>
30207         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30209 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30211         * scripts/versionlist.awk: Partition the version sets and emit all
30212         GLIBC_* (sorted) before all others (sorted).
30214 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30216         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30217         GLIBC_2.2.5 version.
30219 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30221         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30222         calls.
30224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30225         previous change.
30227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30229 2014-03-25  Andreas Schwab  <schwab@suse.de>
30231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30232         label to be used after in6ailist is initialized.
30234 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30236         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30237         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30239 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30241         [BZ #16357]
30242         [BZ #16599]
30243         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30244         min_plus_half.
30245         (fp_formats): Update initializers.
30246         (init_fp_formats): Initialize new field.
30247         (output_for_one_input_case): Allow underflow for results up to
30248         min_plus_half.
30249         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30250         * math/auto-libm-test-in: Don't mark some underflows from asin and
30251         atanh as spurious.
30252         * math/auto-libm-test-out: Regenerated.
30253         * sysdeps/i386/fpu/libm-test-ulps: Update.
30254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30256 2014-03-25  Andreas Schwab  <schwab@suse.de>
30258         * libio/Makefile (tst-ftell-partial-wide-ENV)
30259         (tst-ftell-active-handler-ENV): Define.
30261 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30263         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30265 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30267         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30269 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30271         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30272         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30273         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30275 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30277         [BZ #16634]
30278         * elf/dl-load.c (open_verify): Add mode parameter.
30279         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30280         (open_path): Change from boolean 'secure' to complete flag 'mode'
30281         (_dl_map_object): Adjust.
30282         * elf/Makefile (tests): Add tst-dlopen-aout.
30283         * elf/tst-dlopen-aout.c: New test.
30285 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30287         [BZ #16714]
30288         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30289         (struct stat): Rename member pad0 to __glibc_reserved0.
30291         [BZ #16712]
30292         * sysdeps/s390/s390-32/bits/wordsize.h
30293         (__WORDSIZE32_SIZE_ULONG): New define.
30294         * sysdeps/s390/s390-64/bits/wordsize.h
30295         (__WORDSIZE32_SIZE_ULONG): Likewise.
30296         * sysdeps/generic/stdint.h (SIZE_MAX):
30297         Define as UL if __WORDSIZE32_SIZE_ULONG.
30299         [BZ #16713]
30300         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30301         (__glibc_reserved0): New variable.
30302         (sa_flags): Change type to int.
30304         * posix/Makefile (before-compile): Use += before-compile instead
30305         of a :=.
30307         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30308         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30310 2014-03-20  Andreas Schwab  <schwab@suse.de>
30312         [BZ #16743]
30313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30314         non-matching result from nscd.
30316 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30318         * scripts/bench.py: Moved to ...
30319         * benchtests/scripts/bench.py: ... here.
30320         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30322 2014-03-24  Andreas Schwab  <schwab@suse.de>
30324         [BZ #16002]
30325         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30326         alloca_account and account alloca use for struct in6ailist.
30328 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30330         [BZ #16284]
30331         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30332         rounding mode to recompute results that overflow to infinity or
30333         underflow to zero.
30334         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30335         bug 16284.
30336         * math/auto-libm-test-out: Regenerated.
30337         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30338         (ccosh_test): Likewise.
30339         (csin_test_data): Use plus_oflow.
30340         (csin_test): Use ALL_RM_TEST.
30341         (csinh_test_data): Use plus_oflow.
30342         (csinh_test): Use ALL_RM_TEST.
30343         * sysdeps/i386/fpu/libm-test-ulps: Update.
30344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30346 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30348         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30349         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30350         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30352         [BZ #16731]
30353         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30354         when x - 1 is zero.
30355         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30356         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30357         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30359         argument is 1.
30360         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30361         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30362         zero.
30363         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30364         * sysdeps/i386/fpu/libm-test-ulps: Update.
30365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30367 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30369         * scripts/bench.pl: Remove file.
30370         * scripts/bench.py: New benchmark script.
30371         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30372         * benchtests/README: Mention python dependency.
30373         * scripts/pylintrc: New file.
30374         * scripts/pylint: New file.
30376         * bits/mathdef.h: Use #ifdef instead of #if.
30377         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30378         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30379         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30380         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30381         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30382         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30384 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30385             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30387         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30389         and strpbrk-ppc64 objects.
30390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30391         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30392         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30393         multiarch strpbrk for POWER7.
30394         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30395         multiarch strpbrk for PPC64.
30396         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30397         ifunc selector.
30398         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30399         strpbrk for POWER7.
30401 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30403         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30404         (atan_test): Likewise.
30405         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30406         (atanh_test): Use ALL_RM_TEST.
30407         (atan2_test_data): Likewise.
30408         (cabs_test): Likewise.
30409         (cacosh_test): Likewise.
30410         (carg_test): Likewise.
30411         (casin_test): Likewise.
30412         (casinh_test): Likewise.
30413         (cbrt_test): Likewise.
30414         (csqrt_test): Likewise.
30415         (erf_test): Likewise.
30416         (erfc_test): Likewise.
30417         (pow10_test): Likewise.
30418         (exp2_test): Likewise.
30419         (hypot_test): Likewise.
30420         (j0_test): Likewise.
30421         (j1_test): Likewise.
30422         (lgamma_test): Likewise.
30423         (gamma_test): Likewise.
30424         (sincos_test): Likewise.
30425         (tanh_test): Likewise.
30426         (y0_test): Likewise.
30427         (y1_test): Likewise.
30428         * sysdeps/i386/fpu/libm-test-ulps: Update.
30429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30431 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30433         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30435         and strcspn-ppc64 objects.
30436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30437         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30438         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30439         multiarch strcspn for POWER7.
30440         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30441         multiarch strcspn for PPC64.
30442         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30443         ifunc selector.
30444         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30445         strcspn for POWER7.
30447 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30449         * math/gen-libm-test.pl (generate_testfile): Expect only function
30450         name as argument to AUTO_TESTS_* and pass results for all rounding
30451         modes to parse_args.
30452         (parse_auto_input): Separate inputs of automatic tests from
30453         outputs before storing in %auto_tests.
30454         * math/libm-test.inc (acos_test_data): Update call to
30455         AUTO_TESTS_f_f.
30456         (acos_test): Use ALL_RM_TEST.
30457         (acos_tonearest_test_data): Remove.
30458         (acos_test_tonearest): Likewise.
30459         (acos_towardzero_test_data): Likewise.
30460         (acos_test_towardzero): Likewise.
30461         (acos_downward_test_data): Likewise.
30462         (acos_test_downward): Likewise.
30463         (acos_upward_test_data): Likewise.
30464         (acos_test_upward): Likewise.
30465         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30466         (asin_test_data): Likewise.
30467         (asin_test): Use ALL_RM_TEST.
30468         (asin_tonearest_test_data): Remove.
30469         (asin_test_tonearest): Likewise.
30470         (asin_towardzero_test_data): Likewise.
30471         (asin_test_towardzero): Likewise.
30472         (asin_downward_test_data): Likewise.
30473         (asin_test_downward): Likewise.
30474         (asin_upward_test_data): Likewise.
30475         (asin_test_upward): Likewise.
30476         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30477         (atan_test_data): Likewise.
30478         (atanh_test_data): Likewise.
30479         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30480         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30481         (carg_test_data): Likewise.
30482         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30483         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30484         (ccosh_test_data): Likewise.
30485         (cexp_test_data): Likewise.
30486         (clog_test_data): Likewise.
30487         (clog10_test_data): Likewise.
30488         (cos_test_data): Update call to AUTO_TESTS_f_f.
30489         (cos_test): Use ALL_RM_TEST.
30490         (cos_tonearest_test_data): Remove.
30491         (cos_test_tonearest): Likewise.
30492         (cos_towardzero_test_data): Likewise.
30493         (cos_test_towardzero): Likewise.
30494         (cos_downward_test_data): Likewise.
30495         (cos_test_downward): Likewise.
30496         (cos_upward_test_data): Likewise.
30497         (cos_test_upward): Likewise.
30498         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30499         (cosh_test): Use ALL_RM_TEST.
30500         (cosh_tonearest_test_data): Remove.
30501         (cosh_test_tonearest): Likewise.
30502         (cosh_towardzero_test_data): Likewise.
30503         (cosh_test_towardzero): Likewise.
30504         (cosh_downward_test_data): Likewise.
30505         (cosh_test_downward): Likewise.
30506         (cosh_upward_test_data): Likewise.
30507         (cosh_test_upward): Likewise.
30508         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30509         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30510         (ctan_test_data): Likewise.
30511         (ctan_test): Use ALL_RM_TEST.
30512         (ctan_tonearest_test_data): Remove.
30513         (ctan_test_tonearest): Likewise.
30514         (ctan_towardzero_test_data): Likewise.
30515         (ctan_test_towardzero): Likewise.
30516         (ctan_downward_test_data): Likewise.
30517         (ctan_test_downward): Likewise.
30518         (ctan_upward_test_data): Likewise.
30519         (ctan_test_upward): Likewise.
30520         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30521         (ctanh_test): Use ALL_RM_TEST.
30522         (ctanh_tonearest_test_data): Remove.
30523         (ctanh_test_tonearest): Likewise.
30524         (ctanh_towardzero_test_data): Likewise.
30525         (ctanh_test_towardzero): Likewise.
30526         (ctanh_downward_test_data): Likewise.
30527         (ctanh_test_downward): Likewise.
30528         (ctanh_upward_test_data): Likewise.
30529         (ctanh_test_upward): Likewise.
30530         (erf_test_data): Update call to AUTO_TESTS_f_f.
30531         (erfc_test_data): Likewise.
30532         (exp_test_data): Likewise.
30533         (exp_test): Use ALL_RM_TEST.
30534         (exp_tonearest_test_data): Remove.
30535         (exp_test_tonearest): Likewise.
30536         (exp_towardzero_test_data): Likewise.
30537         (exp_test_towardzero): Likewise.
30538         (exp_downward_test_data): Likewise.
30539         (exp_test_downward): Likewise.
30540         (exp_upward_test_data): Likewise.
30541         (exp_test_upward): Likewise.
30542         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30543         (exp10_test): Use ALL_RM_TEST.
30544         (exp10_tonearest_test_data): Remove.
30545         (exp10_test_tonearest): Likewise.
30546         (exp10_towardzero_test_data): Likewise.
30547         (exp10_test_towardzero): Likewise.
30548         (exp10_downward_test_data): Likewise.
30549         (exp10_test_downward): Likewise.
30550         (exp10_upward_test_data): Likewise.
30551         (exp10_test_upward): Likewise.
30552         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30553         (expm1_test_data): Likewise.
30554         (expm1_test): Use ALL_RM_TEST.
30555         (expm1_tonearest_test_data): Remove.
30556         (expm1_test_tonearest): Likewise.
30557         (expm1_towardzero_test_data): Likewise.
30558         (expm1_test_towardzero): Likewise.
30559         (expm1_downward_test_data): Likewise.
30560         (expm1_test_downward): Likewise.
30561         (expm1_upward_test_data): Likewise.
30562         (expm1_test_upward): Likewise.
30563         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30564         (fma_test): Use ALL_RM_TEST.
30565         (fma_towardzero_test_data): Remove.
30566         (fma_test_towardzero): Likewise.
30567         (fma_downward_test_data): Likewise.
30568         (fma_test_downward): Likewise.
30569         (fma_upward_test_data): Likewise.
30570         (fma_test_upward): Likewise.
30571         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30572         (j0_test_data): Update call to AUTO_TESTS_f_f.
30573         (j1_test_data): Likewise.
30574         (jn_test_data): Update call to AUTO_TESTS_if_f.
30575         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30576         (log_test_data): Update call to AUTO_TESTS_f_f.
30577         (log10_test_data): Likewise.
30578         (log1p_test_data): Likewise.
30579         (log2_test_data): Likewise.
30580         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30581         (pow_tonearest_test_data): Likewise.
30582         (sin_test_data): Update call to AUTO_TESTS_f_f.
30583         (sin_test): Use ALL_RM_TEST.
30584         (sin_tonearest_test_data): Remove.
30585         (sin_test_tonearest): Likewise.
30586         (sin_towardzero_test_data): Likewise.
30587         (sin_test_towardzero): Likewise.
30588         (sin_downward_test_data): Likewise.
30589         (sin_test_downward): Likewise.
30590         (sin_upward_test_data): Likewise.
30591         (sin_test_upward): Likewise.
30592         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30593         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30594         (sinh_test): Use ALL_RM_TEST.
30595         (sinh_tonearest_test_data): Remove.
30596         (sinh_test_tonearest): Likewise.
30597         (sinh_towardzero_test_data): Likewise.
30598         (sinh_test_towardzero): Likewise.
30599         (sinh_downward_test_data): Likewise.
30600         (sinh_test_downward): Likewise.
30601         (sinh_upward_test_data): Likewise.
30602         (sinh_test_upward): Likewise.
30603         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30604         (sqrt_test): Use ALL_RM_TEST.
30605         (sqrt_tonearest_test_data): Remove.
30606         (sqrt_test_tonearest): Likewise.
30607         (sqrt_towardzero_test_data): Likewise.
30608         (sqrt_test_towardzero): Likewise.
30609         (sqrt_downward_test_data): Likewise.
30610         (sqrt_test_downward): Likewise.
30611         (sqrt_upward_test_data): Likewise.
30612         (sqrt_test_upward): Likewise.
30613         (tan_test_data): Update call to AUTO_TESTS_f_f.
30614         (tan_test): Use ALL_RM_TEST.
30615         (tan_tonearest_test_data): Remove.
30616         (tan_test_tonearest): Likewise.
30617         (tan_towardzero_test_data): Likewise.
30618         (tan_test_towardzero): Likewise.
30619         (tan_downward_test_data): Likewise.
30620         (tan_test_downward): Likewise.
30621         (tan_upward_test_data): Likewise.
30622         (tan_test_upward): Likewise.
30623         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30624         (tgamma_test_data): Likewise.
30625         (y0_test_data): Likewise.
30626         (y1_test_data): Likewise.
30627         (yn_test_data): Update call to AUTO_TESTS_if_f.
30628         (main): Do not call removed functions.
30630 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30632         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30633         (ldexp_test_data): Remove.
30634         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30635         scalbn_test_data.
30636         (scalb_test): Use ALL_RM_TEST.
30638 2014-03-19  Andreas Schwab  <schwab@suse.de>
30640         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30642 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30644         [BZ #16649]
30645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30646         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30647         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30649         (__ASSUME_PREADV): Undefine.
30650         (__ASSUME_PWRITEV): Likewise.
30652 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30654         * bits/mman-linux.h: Add comment about non-Linux use.
30655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30656         bits/mman-linux.h resting place.
30658         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30659         * bits/mman-linux.h: ... here.
30661 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30663         * conform/conformtest.pl: Add standard definition when calling C
30664         preprocessor on data files.
30665         (checknamespace): Remove unused variable.
30667 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30669         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30670         minus_oflow, plus_uflow and minus_uflow in expected results.
30671         * math/libm-test.inc (scalbn_test_data): Add more tests of
30672         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30673         minus_uflow.
30674         (scalbn_test): Use ALL_RM_TEST.
30675         (scalbln_test_data): Add more tests of negative arguments.  Use
30676         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30677         (scalbln_test): Use ALL_RM_TEST.
30679 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30681         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30683 2014-03-18  Will Newton  <will.newton@linaro.org>
30685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30686         inaccurate comment.
30688 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30690         * Makerules [!subdir] (check-abi): Exit with error status if a
30691         test failed.
30693 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30695         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30696         for rint.  Include results for all rounding modes.
30697         (nearbyint_test): Use ALL_RM_TEST.
30698         (rint_test_data): Include all tests used for nearbyint.
30700 2014-03-17  Will Newton  <will.newton@linaro.org>
30702         * nptl/sysdeps/pthread/pthread.h: Revert previous
30703         change.
30705         * sysdeps/generic/ldsodefs.h: Revert previous
30706         change.
30708         * libio/genops.c: Revert previous change.
30709         * libio/libioP.h: Likewise.
30710         * stdio-common/vfprintf.c: Likewise.
30712         * sysdeps/generic/math_private.h: Revert previous
30713         change.
30715         * sysdeps/generic/math_private.h: Check whether
30716         HAVE_RM_CTX is defined with #ifdef rather
30717         than #if.
30719         * argp/argp-fmtstream.h: Check whether
30720         __STRICT_ANSI__ is defined with #ifdef rather
30721         than #if.
30722         * argp/argp.h: Likewise.
30724         * libio/genops.c: Check whether
30725         _IO_JUMPS_OFFSET is defined with #ifdef rather
30726         than #if.
30727         * libio/libioP.h: Likewise.
30728         * stdio-common/vfprintf.c: Likewise.
30730         * sysdeps/generic/ldsodefs.h: Check whether
30731         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30732         than #if.
30734         * nptl/sysdeps/pthread/pthread.h: Check
30735         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30736         its value.
30738 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30740         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30741         setting O_APPEND.
30742         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30743         test case.
30745         [BZ #16680]
30746         * libio/fileops.c (_IO_file_open): Seek to end of file but
30747         don't cache the offset.
30748         (get_file_offset): Remove function.
30749         (do_ftell): Use cached offset when available.
30750         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30751         don't cache the offset.
30752         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30753         case.
30754         (do_one_test): Call it.
30755         (do_ftell_test): Fix up expected old offset for a+ mode.
30756         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30757         available.
30759         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30760         up test status with function return status.
30761         (do_write_test): Likewise.
30762         (do_append_test): Likewise.
30764         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30765         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30766         Remove.
30768 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30770         * math/gen-libm-test.pl (parse_args): Handle results specified for
30771         each rounding mode separately.
30772         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30773         tests and results from lrint_tonearest_test_data,
30774         lrint_towardzero_test_data, lrint_downward_test_data and
30775         lrint_upward_test_data.
30776         (lrint_test): Use ALL_RM_TEST.
30777         (lrint_tonearest_test_data): Remove.
30778         (lrint_test_tonearest): Likewise.
30779         (lrint_towardzero_test_data): Likewise.
30780         (lrint_test_towardzero): Likewise.
30781         (lrint_downward_test_data): Likewise.
30782         (lrint_test_downward): Likewise.
30783         (lrint_upward_test_data): Likewise.
30784         (lrint_test_upward): Likewise.
30785         (llrint_test_data): Merge in per-rounding-mode tests and results
30786         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30787         llrint_downward_test_data and llrint_upward_test_data.
30788         (llrint_test): Use ALL_RM_TEST.
30789         (llrint_tonearest_test_data): Remove.
30790         (llrint_test_tonearest): Likewise.
30791         (llrint_towardzero_test_data): Likewise.
30792         (llrint_test_towardzero): Likewise.
30793         (llrint_downward_test_data): Likewise.
30794         (llrint_test_downward): Likewise.
30795         (llrint_upward_test_data): Likewise.
30796         (llrint_test_upward): Likewise.
30797         (rint_test_data): Merge in per-rounding-mode tests and results
30798         from rint_tonearest_test_data, rint_towardzero_test_data,
30799         rint_downward_test_data and rint_upward_test_data.  Add
30800         per-rounding-mode results for tests not in those arrays.
30801         (rint_test): Use ALL_RM_TEST.
30802         (rint_tonearest_test_data): Remove.
30803         (rint_test_tonearest): Likewise.
30804         (rint_towardzero_test_data): Likewise.
30805         (rint_test_towardzero): Likewise.
30806         (rint_downward_test_data): Likewise.
30807         (rint_test_downward): Likewise.
30808         (rint_upward_test_data): Likewise.
30809         (rint_test_upward): Likewise.
30810         (main): Don't call removed functions.
30812 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30814         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30815         "Compiled on ..." crapola.  It is anti-useful.
30817 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30819         * scripts/evaluate-test.sh: Handle fourth argument to determine
30820         whether test run should stop on failure.
30821         * Makeconfig (stop-on-test-failure): New variable.
30822         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30823         $(stop-on-test-failure).
30824         * Makefile (tests): Give a summary of results from testing and
30825         exit with failure status if they include an ERROR or FAIL.
30826         (xtests): Likewise.
30827         * manual/install.texi (Configuring and compiling): Mention
30828         stop-on-test-failure=y.
30829         * INSTALL: Regenerated.
30831 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30833         * scripts/versionlist.awk: New file.
30834         * Makerules [$(build-shared) = yes]
30835         (postclean-generated): Add Versions.def, not Versions.def.v and
30836         Versions.def.v.i.
30837         ($(common-objpfx)Versions.def.v.i): Target removed.
30838         ($(common-objpfx)Versions.def): New target.
30839         ($(common-objpfx)Versions.all): Depend on that rather that
30840         $(common-objpfx)Versions.def.v.
30841         * Versions.def: File removed.
30843         * Makeconfig (+gccwarn): Add -Wundef.
30844         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30845         a dl-sysdep.h breaking its contract.
30846         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30847         * include/stackinfo.h: New file.
30848         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30849         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30850         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30851         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30852         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30853         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30854         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30855         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30856         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30857         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30858         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30859         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30860         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30861         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30862         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30864 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30866         [BZ #16707]
30867         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30868         implementation.
30869         * math/libm-test.inc (round_test_data): Add more tests.
30871         [BZ #16706]
30872         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30873         implementation.
30874         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30876         [BZ #16701]
30877         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30878         implementation.
30879         * math/libm-test.inc (ceil_test_data): Add more tests.
30881         * math/libm-test.inc (trunc_test_data): Add more tests related to
30882         BZ#16414.
30884 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30886         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30887         with #if rather than #ifdef.
30888         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30890 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30892         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30893         first.  Disable AVX-512 GCC support if assembler doesn't support
30894         it.
30895         * sysdeps/x86_64/configure: Regenerated.
30897 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30899         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30900         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30901         (__old_pthread_attr_setstack): Likewise.
30902         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30903         [!_STACK_GROWS_DOWN]: Likewise.
30905 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30907         * config.make.in (have-bash2): Delete.
30908         * configure.ac (libc_cv_have_bash2): Delete.
30909         * configure: Regenerate.
30910         * elf/Makefile (common-ldd-rewrite): Rename to ...
30911         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30912         (sh-ldd-rewrite): Delete.
30913         (bash-ldd-rewrite): Delete.
30914         (have-bash2): Delete checks.
30915         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30916         ldd-rewrite.
30918         * config.make.in (have-ksh): Delete.
30919         (KSH): Delete.
30920         * configure.ac (libc_cv_have_ksh): Delete.
30921         * configure: Regenerate.
30923         * elf/Makefile: Delete $(have-ksh) check.
30924         ($(objpfx)sotruss): Change KSH to BASH.
30925         * elf/sotruss.ksh: Rename to ...
30926         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30927         function style to match POSIX.  Drop ksh vim mode setting.
30929         * manual/time.texi (Specifying the Time Zone with TZ): Change
30930         Tuesday to Thursday.
30932         * debug/tst-longjmp_chk2.c: Update header comment.
30933         (stackoverflow_handler): Add comment.  Call assert on pass value.
30935 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30937         [BZ #16194]
30938         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30939         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30940         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30941         (La_x86_64_vector): Add zmm.
30942         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30943         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30944         ($(objpfx)tst-audit10): New target.
30945         ($(objpfx)tst-audit10.out): Likewise.
30946         (tst-audit10-ENV): New.
30947         (AVX512-CFLAGS): Likewise.
30948         (CFLAGS-tst-audit10.c): Likewise.
30949         (CFLAGS-tst-auditmod10a.c): Likewise.
30950         (CFLAGS-tst-auditmod10b.c): Likewise.
30951         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30952         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30953         * sysdeps/x86_64/configure: Regenerated.
30954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30955         AVX-512 zmm register support.
30956         (_dl_x86_64_save_sse): Likewise.
30957         (_dl_x86_64_restore_sse): Likewise.
30958         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30959         size vector registers.
30960         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30961         (ZMM_SIZE): Likewise.
30962         * sysdeps/x86_64/tst-audit10.c: New file.
30963         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30964         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30966 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30968         * configure.ac (HAVE_EHDR_START): New check.
30969         * configure: Regenerated.
30970         * config.h.in (HAVE_EHDR_START): New #undef.
30971         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30972         assuming the lowest-addressed segment maps the start of the file.
30974 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30976         * INSTALL: Regenerated.
30978 2014-03-13  Will Newton  <will.newton@linaro.org>
30980         * manual/setjmp.texi (System V contexts): Improve
30981         clarity and grammar of documentation.
30983 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30985         [BZ #16381]
30986         * elf/Makefile (tests): Add tst-pie2.
30987         (tests-pie): Add tst-pie2.
30988         * elf/tst-pie2.c: New file.
30989         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30990         for ET_EXEC.
30991         * elf/rtld.c (map_doit): Load executable as lt_executable.
30992         (dl_main): Likewise.
30994 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30996         [BZ #16642]
30997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30998         (__ASSUME_PSELECT): Undefine.
31000 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31002         [BZ #16689]
31003         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31004         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31005         static build.
31006         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31007         selector for static builds.
31009 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31011         [BZ #16695]
31012         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31013         key in the buffer.
31015 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31017         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31018         IFUNC selector for static builds.
31020 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31022         * sysdeps/mips/math_private.h [__mips_hard_float]
31023         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31024         libc_feresetround_mips_ctx.
31025         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31026         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31027         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31029         [BZ #16677]
31030         * math/s_nextafter.c (__nextafter): Do not return value from
31031         overflowing computation.
31032         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31033         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31034         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31035         Likewise.
31036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31037         Likewise.
31038         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31039         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31041 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31043         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31044         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31045         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31046         the new mov targetting sp.
31048 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31050         [BZ #16683]
31051         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31052         Define it for static builds as well.
31053         (NO_BZERO_IMPL): Likewise.
31055 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31057         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31058         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31059         multiarch strspn for PPC64.
31060         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31061         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31063         (__libc_ifunc_impl_list): Likewise.
31064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31065         multiarch optimizations
31066         * string/strspn.c (strspn): Using macro to redefine symbol name.
31068 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31069             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31071         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31072         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31073         multiarch strncat for PPC64.
31074         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31075         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31077         (__libc_ifunc_impl_list): Likewise.
31078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31079         multiarch optimizations
31081 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31083         [BZ #16639]
31084         * nscd/nscd.service: Make service type forking.
31086 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31088         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31089         sign in non default rounding modes.
31090         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31092 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31094         * math/libm-test.inc (ALL_RM_TEST): New macro.
31095         (ceil_test): Use ALL_RM_TEST.
31096         (cimag_test): Likewise.
31097         (conj_test): Likewise.
31098         (copysign_test): Likewise.
31099         (cproj_test): Likewise.
31100         (creal_test): Likewise.
31101         (fabs_test): Likewise.
31102         (floor_test): Likewise.
31103         (fmax_test): Likewise.
31104         (fmin_test): Likewise.
31105         (fmod_test): Likewise.
31106         (fpclassify_test): Likewise.
31107         (frexp_test): Likewise.
31108         (ilogb_test): Likewise.
31109         (isfinite_test): Likewise.
31110         (finite_test): Likewise.
31111         (isgreater_test): Likewise.
31112         (isgreaterequal_test): Likewise.
31113         (isinf_test): Likewise.
31114         (isless_test): Likewise.
31115         (islessequal_test): Likewise.
31116         (islessgreater_test): Likewise.
31117         (isnan_test): Likewise.
31118         (isnormal_test): Likewise.
31119         (issignaling_test): Likewise.
31120         (isunordered_test): Likewise.
31121         (logb_test): Likewise.
31122         (logb_downward_test_data): Remove.
31123         (logb_test_downward): Likewise.
31124         (lround_test): Use ALL_RM_TEST.
31125         (llround_test): Likewise.
31126         (modf_test): Likewise.
31127         (nexttoward_test): Likewise.
31128         (remainder_test): Likewise.
31129         (drem_test): Likewise.
31130         (remainder_tonearest_test_data): Likewise.
31131         (remainder_test_tonearest): Likewise.
31132         (drem_test_tonearest): Likewise.
31133         (remainder_towardzero_test_data): Likewise.
31134         (remainder_test_towardzero): Likewise.
31135         (drem_test_towardzero): Likewise.
31136         (remainder_downward_test_data): Likewise.
31137         (remainder_test_downward): Likewise.
31138         (drem_test_downward): Likewise.
31139         (remainder_upward_test_data): Likewise.
31140         (remainder_test_upward): Likewise.
31141         (drem_test_upward): Likewise.
31142         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31143         (round_test): Use ALL_RM_TEST.
31144         (signbit_test): Likewise.
31145         (trunc_test): Likewise.
31146         (significand_test): Likewise.
31147         (main): Don't call removed functions.
31149 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31151         [BZ #16674]
31152         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31153         || __USE_XOPEN2K8].
31154         (ILL_ILLOPN): Likewise.
31155         (ILL_ILLADR): Likewise.
31156         (ILL_ILLTRP): Likewise.
31157         (ILL_PRVOPC): Likewise.
31158         (ILL_PRVREG): Likewise.
31159         (ILL_COPROC): Likewise.
31160         (ILL_BADSTK): Likewise.
31161         (FPE_INTDIV): Likewise.
31162         (FPE_INTOVF): Likewise.
31163         (FPE_FLTDIV): Likewise.
31164         (FPE_FLTOVF): Likewise.
31165         (FPE_FLTUND): Likewise.
31166         (FPE_FLTRES): Likewise.
31167         (FPE_FLTINV): Likewise.
31168         (FPE_FLTSUB): Likewise.
31169         (SEGV_MAPERR): Likewise.
31170         (SEGV_ACCERR): Likewise.
31171         (BUS_ADRALN): Likewise.
31172         (BUS_ADRERR): Likewise.
31173         (BUS_OBJERR): Likewise.
31174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31175         (TRAP_TRACE): Likewise.
31176         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31177         __USE_XOPEN2K8].
31178         (CLD_KILLED): Likewise.
31179         (CLD_DUMPED): Likewise.
31180         (CLD_TRAPPED): Likewise.
31181         (CLD_STOPPED): Likewise.
31182         (CLD_CONTINUED): Likewise.
31183         (POLL_IN): Likewise.
31184         (POLL_OUT): Likewise.
31185         (POLL_MSG): Likewise.
31186         (POLL_ERR): Likewise.
31187         (POLL_PRI): Likewise.
31188         (POLL_HUP): Likewise.
31189         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31190         Likewise.
31191         (ILL_ILLOPN): Likewise.
31192         (ILL_ILLADR): Likewise.
31193         (ILL_ILLTRP): Likewise.
31194         (ILL_PRVOPC): Likewise.
31195         (ILL_PRVREG): Likewise.
31196         (ILL_COPROC): Likewise.
31197         (ILL_BADSTK): Likewise.
31198         (FPE_INTDIV): Likewise.
31199         (FPE_INTOVF): Likewise.
31200         (FPE_FLTDIV): Likewise.
31201         (FPE_FLTOVF): Likewise.
31202         (FPE_FLTUND): Likewise.
31203         (FPE_FLTRES): Likewise.
31204         (FPE_FLTINV): Likewise.
31205         (FPE_FLTSUB): Likewise.
31206         (SEGV_MAPERR): Likewise.
31207         (SEGV_ACCERR): Likewise.
31208         (BUS_ADRALN): Likewise.
31209         (BUS_ADRERR): Likewise.
31210         (BUS_OBJERR): Likewise.
31211         (BUS_MCEERR_AR): Likewise.
31212         (BUS_MCEERR_AO): Likewise.
31213         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31214         (TRAP_TRACE): Likewise.
31215         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31216         __USE_XOPEN2K8].
31217         (CLD_KILLED): Likewise.
31218         (CLD_DUMPED): Likewise.
31219         (CLD_TRAPPED): Likewise.
31220         (CLD_STOPPED): Likewise.
31221         (CLD_CONTINUED): Likewise.
31222         (POLL_IN): Likewise.
31223         (POLL_OUT): Likewise.
31224         (POLL_MSG): Likewise.
31225         (POLL_ERR): Likewise.
31226         (POLL_PRI): Likewise.
31227         (POLL_HUP): Likewise.
31228         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31229         (ILL_ILLOPN): Likewise.
31230         (ILL_ILLADR): Likewise.
31231         (ILL_ILLTRP): Likewise.
31232         (ILL_PRVOPC): Likewise.
31233         (ILL_PRVREG): Likewise.
31234         (ILL_COPROC): Likewise.
31235         (ILL_BADSTK): Likewise.
31236         (FPE_INTDIV): Likewise.
31237         (FPE_INTOVF): Likewise.
31238         (FPE_FLTDIV): Likewise.
31239         (FPE_FLTOVF): Likewise.
31240         (FPE_FLTUND): Likewise.
31241         (FPE_FLTRES): Likewise.
31242         (FPE_FLTINV): Likewise.
31243         (FPE_FLTSUB): Likewise.
31244         (SEGV_MAPERR): Likewise.
31245         (SEGV_ACCERR): Likewise.
31246         (BUS_ADRALN): Likewise.
31247         (BUS_ADRERR): Likewise.
31248         (BUS_OBJERR): Likewise.
31249         (BUS_MCEERR_AR): Likewise.
31250         (BUS_MCEERR_AO): Likewise.
31251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31252         (TRAP_TRACE): Likewise.
31253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31254         __USE_XOPEN2K8].
31255         (CLD_KILLED): Likewise.
31256         (CLD_DUMPED): Likewise.
31257         (CLD_TRAPPED): Likewise.
31258         (CLD_STOPPED): Likewise.
31259         (CLD_CONTINUED): Likewise.
31260         (POLL_IN): Likewise.
31261         (POLL_OUT): Likewise.
31262         (POLL_MSG): Likewise.
31263         (POLL_ERR): Likewise.
31264         (POLL_PRI): Likewise.
31265         (POLL_HUP): Likewise.
31266         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31267         Likewise.
31268         (ILL_ILLOPN): Likewise.
31269         (ILL_ILLADR): Likewise.
31270         (ILL_ILLTRP): Likewise.
31271         (ILL_PRVOPC): Likewise.
31272         (ILL_PRVREG): Likewise.
31273         (ILL_COPROC): Likewise.
31274         (ILL_BADSTK): Likewise.
31275         (ILL_BADIADDR): Likewise.
31276         (ILL_BREAK): Likewise.
31277         (FPE_INTDIV): Likewise.
31278         (FPE_INTOVF): Likewise.
31279         (FPE_FLTDIV): Likewise.
31280         (FPE_FLTOVF): Likewise.
31281         (FPE_FLTUND): Likewise.
31282         (FPE_FLTRES): Likewise.
31283         (FPE_FLTINV): Likewise.
31284         (FPE_FLTSUB): Likewise.
31285         (FPE_DECOVF): Likewise.
31286         (FPE_DECDIV): Likewise.
31287         (FPE_DECERR): Likewise.
31288         (FPE_INVASC): Likewise.
31289         (FPE_INVDEC): Likewise.
31290         (SEGV_MAPERR): Likewise.
31291         (SEGV_ACCERR): Likewise.
31292         (SEGV_PSTKOVF): Likewise.
31293         (BUS_ADRALN): Likewise.
31294         (BUS_ADRERR): Likewise.
31295         (BUS_OBJERR): Likewise.
31296         (BUS_MCEERR_AR): Likewise.
31297         (BUS_MCEERR_AO): Likewise.
31298         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31299         (TRAP_TRACE): Likewise.
31300         (TRAP_BRANCH): Likewise.
31301         (TRAP_HWBKPT): Likewise.
31302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31303         __USE_XOPEN2K8].
31304         (CLD_KILLED): Likewise.
31305         (CLD_DUMPED): Likewise.
31306         (CLD_TRAPPED): Likewise.
31307         (CLD_STOPPED): Likewise.
31308         (CLD_CONTINUED): Likewise.
31309         (POLL_IN): Likewise.
31310         (POLL_OUT): Likewise.
31311         (POLL_MSG): Likewise.
31312         (POLL_ERR): Likewise.
31313         (POLL_PRI): Likewise.
31314         (POLL_HUP): Likewise.
31315         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31316         (ILL_ILLOPN): Likewise.
31317         (ILL_ILLADR): Likewise.
31318         (ILL_ILLTRP): Likewise.
31319         (ILL_PRVOPC): Likewise.
31320         (ILL_PRVREG): Likewise.
31321         (ILL_COPROC): Likewise.
31322         (ILL_BADSTK): Likewise.
31323         (FPE_INTDIV): Likewise.
31324         (FPE_INTOVF): Likewise.
31325         (FPE_FLTDIV): Likewise.
31326         (FPE_FLTOVF): Likewise.
31327         (FPE_FLTUND): Likewise.
31328         (FPE_FLTRES): Likewise.
31329         (FPE_FLTINV): Likewise.
31330         (FPE_FLTSUB): Likewise.
31331         (SEGV_MAPERR): Likewise.
31332         (SEGV_ACCERR): Likewise.
31333         (BUS_ADRALN): Likewise.
31334         (BUS_ADRERR): Likewise.
31335         (BUS_OBJERR): Likewise.
31336         (BUS_MCEERR_AR): Likewise.
31337         (BUS_MCEERR_AO): Likewise.
31338         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31339         (TRAP_TRACE): Likewise.
31340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31341         __USE_XOPEN2K8].
31342         (CLD_KILLED): Likewise.
31343         (CLD_DUMPED): Likewise.
31344         (CLD_TRAPPED): Likewise.
31345         (CLD_STOPPED): Likewise.
31346         (CLD_CONTINUED): Likewise.
31347         (POLL_IN): Likewise.
31348         (POLL_OUT): Likewise.
31349         (POLL_MSG): Likewise.
31350         (POLL_ERR): Likewise.
31351         (POLL_PRI): Likewise.
31352         (POLL_HUP): Likewise.
31353         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31354         (ILL_ILLOPN): Likewise.
31355         (ILL_ILLADR): Likewise.
31356         (ILL_ILLTRP): Likewise.
31357         (ILL_PRVOPC): Likewise.
31358         (ILL_PRVREG): Likewise.
31359         (ILL_COPROC): Likewise.
31360         (ILL_BADSTK): Likewise.
31361         (FPE_INTDIV): Likewise.
31362         (FPE_INTOVF): Likewise.
31363         (FPE_FLTDIV): Likewise.
31364         (FPE_FLTOVF): Likewise.
31365         (FPE_FLTUND): Likewise.
31366         (FPE_FLTRES): Likewise.
31367         (FPE_FLTINV): Likewise.
31368         (FPE_FLTSUB): Likewise.
31369         (SEGV_MAPERR): Likewise.
31370         (SEGV_ACCERR): Likewise.
31371         (BUS_ADRALN): Likewise.
31372         (BUS_ADRERR): Likewise.
31373         (BUS_OBJERR): Likewise.
31374         (BUS_MCEERR_AR): Likewise.
31375         (BUS_MCEERR_AO): Likewise.
31376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31377         (TRAP_TRACE): Likewise.
31378         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31379         __USE_XOPEN2K8].
31380         (CLD_KILLED): Likewise.
31381         (CLD_DUMPED): Likewise.
31382         (CLD_TRAPPED): Likewise.
31383         (CLD_STOPPED): Likewise.
31384         (CLD_CONTINUED): Likewise.
31385         (POLL_IN): Likewise.
31386         (POLL_OUT): Likewise.
31387         (POLL_MSG): Likewise.
31388         (POLL_ERR): Likewise.
31389         (POLL_PRI): Likewise.
31390         (POLL_HUP): Likewise.
31391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31392         (ILL_ILLOPN): Likewise.
31393         (ILL_ILLADR): Likewise.
31394         (ILL_ILLTRP): Likewise.
31395         (ILL_PRVOPC): Likewise.
31396         (ILL_PRVREG): Likewise.
31397         (ILL_COPROC): Likewise.
31398         (ILL_BADSTK): Likewise.
31399         (FPE_INTDIV): Likewise.
31400         (FPE_INTOVF): Likewise.
31401         (FPE_FLTDIV): Likewise.
31402         (FPE_FLTOVF): Likewise.
31403         (FPE_FLTUND): Likewise.
31404         (FPE_FLTRES): Likewise.
31405         (FPE_FLTINV): Likewise.
31406         (FPE_FLTSUB): Likewise.
31407         (SEGV_MAPERR): Likewise.
31408         (SEGV_ACCERR): Likewise.
31409         (BUS_ADRALN): Likewise.
31410         (BUS_ADRERR): Likewise.
31411         (BUS_OBJERR): Likewise.
31412         (BUS_MCEERR_AR): Likewise.
31413         (BUS_MCEERR_AO): Likewise.
31414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31415         (TRAP_TRACE): Likewise.
31416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31417         __USE_XOPEN2K8].
31418         (CLD_KILLED): Likewise.
31419         (CLD_DUMPED): Likewise.
31420         (CLD_TRAPPED): Likewise.
31421         (CLD_STOPPED): Likewise.
31422         (CLD_CONTINUED): Likewise.
31423         (POLL_IN): Likewise.
31424         (POLL_OUT): Likewise.
31425         (POLL_MSG): Likewise.
31426         (POLL_ERR): Likewise.
31427         (POLL_PRI): Likewise.
31428         (POLL_HUP): Likewise.
31429         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31430         (ILL_ILLOPN): Likewise.
31431         (ILL_ILLADR): Likewise.
31432         (ILL_ILLTRP): Likewise.
31433         (ILL_PRVOPC): Likewise.
31434         (ILL_PRVREG): Likewise.
31435         (ILL_COPROC): Likewise.
31436         (ILL_BADSTK): Likewise.
31437         (ILL_DBLFLT): Likewise.
31438         (ILL_HARDWALL): Likewise.
31439         (FPE_INTDIV): Likewise.
31440         (FPE_INTOVF): Likewise.
31441         (FPE_FLTDIV): Likewise.
31442         (FPE_FLTOVF): Likewise.
31443         (FPE_FLTUND): Likewise.
31444         (FPE_FLTRES): Likewise.
31445         (FPE_FLTINV): Likewise.
31446         (FPE_FLTSUB): Likewise.
31447         (SEGV_MAPERR): Likewise.
31448         (SEGV_ACCERR): Likewise.
31449         (BUS_ADRALN): Likewise.
31450         (BUS_ADRERR): Likewise.
31451         (BUS_OBJERR): Likewise.
31452         (BUS_MCEERR_AR): Likewise.
31453         (BUS_MCEERR_AO): Likewise.
31454         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31455         (TRAP_TRACE): Likewise.
31456         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31457         __USE_XOPEN2K8].
31458         (CLD_KILLED): Likewise.
31459         (CLD_DUMPED): Likewise.
31460         (CLD_TRAPPED): Likewise.
31461         (CLD_STOPPED): Likewise.
31462         (CLD_CONTINUED): Likewise.
31463         (POLL_IN): Likewise.
31464         (POLL_OUT): Likewise.
31465         (POLL_MSG): Likewise.
31466         (POLL_ERR): Likewise.
31467         (POLL_PRI): Likewise.
31468         (POLL_HUP): Likewise.
31469         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31470         (ILL_ILLOPN): Likewise.
31471         (ILL_ILLADR): Likewise.
31472         (ILL_ILLTRP): Likewise.
31473         (ILL_PRVOPC): Likewise.
31474         (ILL_PRVREG): Likewise.
31475         (ILL_COPROC): Likewise.
31476         (ILL_BADSTK): Likewise.
31477         (FPE_INTDIV): Likewise.
31478         (FPE_INTOVF): Likewise.
31479         (FPE_FLTDIV): Likewise.
31480         (FPE_FLTOVF): Likewise.
31481         (FPE_FLTUND): Likewise.
31482         (FPE_FLTRES): Likewise.
31483         (FPE_FLTINV): Likewise.
31484         (FPE_FLTSUB): Likewise.
31485         (SEGV_MAPERR): Likewise.
31486         (SEGV_ACCERR): Likewise.
31487         (BUS_ADRALN): Likewise.
31488         (BUS_ADRERR): Likewise.
31489         (BUS_OBJERR): Likewise.
31490         (BUS_MCEERR_AR): Likewise.
31491         (BUS_MCEERR_AO): Likewise.
31492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31493         (TRAP_TRACE): Likewise.
31494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31495         __USE_XOPEN2K8].
31496         (CLD_KILLED): Likewise.
31497         (CLD_DUMPED): Likewise.
31498         (CLD_TRAPPED): Likewise.
31499         (CLD_STOPPED): Likewise.
31500         (CLD_CONTINUED): Likewise.
31501         (POLL_IN): Likewise.
31502         (POLL_OUT): Likewise.
31503         (POLL_MSG): Likewise.
31504         (POLL_ERR): Likewise.
31505         (POLL_PRI): Likewise.
31506         (POLL_HUP): Likewise.
31507         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31508         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31510         [BZ #16670]
31511         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31512         before #include of <time.h>.
31513         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31514         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31515         (test-xfail-UNIX98/sched.h/conform): Likewise.
31517 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31519         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31520         error absence of trapping exception support.
31521         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31523 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31525         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31526         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31527         * timezone/Makefile (testdata): Move definition above include of
31528         Rules.
31529         (test-zones): New variable.
31530         (tests-special): Add zone files.
31531         (build-testdata): Use $(evaluate-test).
31533         * elf/Makefile (tests-special): Rename tests to end with .out.
31534         ($(objpfx)noload-mem): Likewise.
31535         ($(objpfx)tst-leaks1-mem): Likewise.
31536         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31537         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31538         $(objpfx)test-iconvconfig.out.
31539         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31540         set -e inside subshell and redirect output to file.
31541         * iconvdata/Makefile (generated): Rename tests to end with .out.
31542         Correct type.
31543         (tests-special): Rename tests to end with .out.
31544         ($(objpfx)mtrace-tst-loading): Likewise.
31545         * intl/Makefile (generated): Likewise.
31546         (tests-special): Likewise.
31547         ($(objpfx)mtrace-tst-gettext): Likewise.
31548         * misc/Makefile (generated): Likewise.
31549         (tests-special): Likewise.
31550         ($(objpfx)tst-error1-mem): Likewise.
31551         * nptl/Makefile (tests-special): Likewise.
31552         ($(objpfx)tst-stack3-mem): Likewise.
31553         (generated): Likewise.
31554         * posix/Makefile (generated): Likewise.
31555         (tests-special): Likewise.
31556         (xtests-special): Likewise.
31557         ($(objpfx)tst-fnmatch-mem): Likewise.
31558         ($(objpfx)bug-regex2-mem): Likewise.
31559         ($(objpfx)bug-regex14-mem): Likewise.
31560         ($(objpfx)bug-regex21-mem): Likewise.
31561         ($(objpfx)bug-regex31-mem): Likewise.
31562         ($(objpfx)tst-vfork3-mem): Likewise.
31563         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31564         ($(objpfx)tst-pcre-mem): Likewise.
31565         ($(objpfx)tst-boost-mem): Likewise.
31566         ($(objpfx)bug-ga2-mem): Likewise.
31567         ($(objpfx)bug-glob2-mem): Likewise.
31568         * resolv/Makefile (generate): Likewise.
31569         (tests-special): Likewise.
31570         (xtests-special): Likewise.
31571         (generated): Likewise.
31572         ($(objpfx)mtrace-tst-leaks): Likewise.
31573         ($(objpfx)mtrace-tst-leaks2): Likewise.
31575         * scripts/merge-test-results.sh: New file.
31576         * Makefile (tests-special-notdir): New variable.
31577         (tests): Run merge-test-results.sh.
31578         (xtests): Likewise.
31579         * Rules (tests-special-notdir): New variable.
31580         (xtests-special-notdir): Likewise.
31581         (tests): Run merge-test-results.sh
31582         (xtests): Likewise.
31584         * Makeconfig (test-xfail-name): New variable.
31585         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31586         compute variable name for expected failures.
31587         * conform/Makefile (conformtest-headers-data): New variable.
31588         (conformtest-standards): Likewise.
31589         (conformtest-headers-ISO): Likewise.
31590         (conformtest-headers-ISO99): Likewise.
31591         (conformtest-headers-ISO11): Likewise.
31592         (conformtest-headers-POSIX): Likewise.
31593         (conformtest-headers-XPG3): Likewise.
31594         (conformtest-headers-XPG4): Likewise.
31595         (conformtest-headers-UNIX98): Likewise.
31596         (conformtest-headers-XOPEN2K): Likewise.
31597         (conformtest-headers-POSIX2008): Likewise.
31598         (conformtest-headers-XOPEN2K8): Likewise.
31599         (conformtest-header-list-base): Likewise.
31600         (conformtest-header-list-tests): Likewise.
31601         (conformtest-header-base): Likewise.
31602         (conformtest-header-tests): Likewise.
31603         (tests-special): Add $(conformtest-header-list-tests).  If
31604         [$(fast-check) && !$(cross-compiling)], add
31605         $(conformtest-header-tests) instead of
31606         $(objpfx)run-conformtest.out.
31607         (generated): Add $(conformtest-header-list-base).  If
31608         [$(fast-check) && !$(cross-compiling)], add
31609         $(conformtest-header-base).  Remove previous setting.
31610         ($(conformtest-header-list-tests)): New target.
31611         (test-xfail-run-conformtest): Remove variable.
31612         ($(objpfx)run-conformtest.out): Remove target.
31613         (test-xfail-ISO11/complex.h/conform): New variable.
31614         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31615         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31616         (test-xfail-XPG3/varargs.h/conform): Likewise.
31617         (test-xfail-XPG4/varargs.h/conform): Likewise.
31618         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31619         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31620         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31621         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31622         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31623         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31624         (test-xfail-XPG3/ftw.h/conform): Likewise.
31625         (test-xfail-XPG3/grp.h/conform): Likewise.
31626         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31627         (test-xfail-XPG3/limits.h/conform): Likewise.
31628         (test-xfail-XPG3/pwd.h/conform): Likewise.
31629         (test-xfail-XPG3/search.h/conform): Likewise.
31630         (test-xfail-XPG3/signal.h/conform): Likewise.
31631         (test-xfail-XPG3/stdio.h/conform): Likewise.
31632         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31633         (test-xfail-XPG3/string.h/conform): Likewise.
31634         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31635         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31636         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31637         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31638         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31639         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31640         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31641         (test-xfail-XPG3/termios.h/conform): Likewise.
31642         (test-xfail-XPG3/time.h/conform): Likewise.
31643         (test-xfail-XPG3/unistd.h/conform): Likewise.
31644         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31645         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31646         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31647         (test-xfail-XPG4/netdb.h/conform): Likewise.
31648         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31649         (test-xfail-XPG4/signal.h/conform): Likewise.
31650         (test-xfail-XPG4/stdio.h/conform): Likewise.
31651         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31652         (test-xfail-XPG4/stropts.h/conform): Likewise.
31653         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31654         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31655         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31656         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31657         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31658         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31659         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31660         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31661         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31662         (test-xfail-XPG4/termios.h/conform): Likewise.
31663         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31664         (test-xfail-XPG4/unistd.h/conform): Likewise.
31665         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31666         (test-xfail-POSIX/sched.h/conform): Likewise.
31667         (test-xfail-POSIX/signal.h/conform): Likewise.
31668         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31669         (test-xfail-POSIX/tar.h/conform): Likewise.
31670         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31671         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31672         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31673         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31674         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31675         (test-xfail-UNIX98/sched.h/conform): Likewise.
31676         (test-xfail-UNIX98/signal.h/conform): Likewise.
31677         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31678         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31679         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31680         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31681         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31682         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31683         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31684         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31685         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31686         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31687         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31688         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31689         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31690         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31691         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31692         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31693         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31694         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31695         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31696         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31697         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31698         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31699         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31700         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31701         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31702         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31703         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31704         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31705         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31706         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31707         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31708         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31709         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31710         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31711         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31712         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31713         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31714         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31715         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31716         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31717         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31718         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31719         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31720         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31721         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31722         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31723         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31724         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31725         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31726         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31727         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31728         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31729         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31730         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31731         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31732         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31733         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31734         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31735         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31736         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31737         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31738         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31739         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31740         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31741         (conformtest-cc-flags): Likewise.
31742         ($(conformtest-header-tests): New target.
31743         * conform/check-header-lists.sh: New file.
31744         * conform/run-conformtest.sh: Remove.
31746         * conform/conformtest.pl: Allow ' and \ in values given for
31747         constants.
31748         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31749         inclusion.
31750         [POSIX] (sys/types.h): Likewise.
31751         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31752         inclusion.
31753         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31754         inclusion.
31755         * conform/data/signal.h-data (SIGIO): Remove expectation.
31756         [XPG3] (SIGBUS): Do not expect.
31757         [POSIX || XPG3] (SIGPOLL): Likewise.
31758         [POSIX || XPG3] (SIGPROF): Likewise.
31759         [POSIX || XPG3] (SIGSYS): Likewise.
31760         [XPG3] (SIGTRAP): Likewise.
31761         [POSIX || XPG3] (SIGURG): Likewise.
31762         [POSIX || XPG3] (SIGVTALRM): Likewise.
31763         [POSIX || XPG3] (SIGXCPU): Likewise.
31764         [POSIX || XPG3] (SIGXFSZ): Likewise.
31765         [POSIX] (SA_SIGINFO): Expect.
31766         [XPG3] (siginfo_t): Do not expect type or contents.
31767         [POSIX] (si_pid): Do not expect element.
31768         [POSIX] (si_uid): Likewise.
31769         [POSIX] (si_addr): Likewise.
31770         [POSIX] (si_status): Likewise.
31771         [POSIX] (si_band): Likewise.
31772         [XPG4] (si_value): Likewise.
31773         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31774         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31775         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31776         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31777         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31778         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31779         [POSIX || XPG3] (ILL_COPROC): Likewise.
31780         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31781         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31782         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31783         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31784         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31785         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31786         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31787         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31788         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31789         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31790         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31791         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31792         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31793         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31794         [POSIX || XPG3] (CLD_EXITED): Likewise.
31795         [POSIX || XPG3] (CLD_KILLED): Likewise.
31796         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31797         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31798         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31799         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31800         [POSIX || XPG3] (POLL_IN): Likewise.
31801         [POSIX || XPG3] (POLL_OUT): Likewise.
31802         [POSIX || XPG3] (POLL_MSG): Likewise.
31803         [POSIX || XPG3] (POLL_ERR): Likewise.
31804         [POSIX || XPG3] (POLL_PRI): Likewise.
31805         [POSIX || XPG3] (POLL_HUP): Likewise.
31806         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31807         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31808         (SIG*): Do not allow.
31809         [XPG3] (si_*): Likewise.
31810         [XPG3] (SI_*): Likewise.
31811         [XPG3 || XPG4] (sigev_*): Likewise.
31812         [XPG3 || XPG4] (SIGEV_*): Likewise.
31813         [XPG3 || XPG4] (sival_*): Likewise.
31814         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31815         [POSIX || XPG3] (BUS_*): Likewise.
31816         [POSIX || XPG3] (CLD_*): Likewise.
31817         [POSIX || XPG3] (FPE_*): Likewise.
31818         [POSIX || XPG3] (ILL_*): Likewise.
31819         [POSIX || XPG3] (POLL_*): Likewise.
31820         [POSIX || XPG3] (SEGV_*): Likewise.
31821         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31822         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31823         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31824         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31825         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31826         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31827         Specify type and value.
31828         (TVERSLEN): Likewise.
31829         (REGTYPE): Likewise.
31830         (AREGTYPE): Likewise.
31831         (LNKTYPE): Likewise.
31832         (SYMTYPE): Likewise.
31833         (CHRTYPE): Likewise.
31834         (BLKTYPE): Likewise.
31835         (DIRTYPE): Likewise.
31836         (FIFOTYPE): Likewise.
31837         (CONTTYPE): Likewise.
31838         (TSUID): Likewise.
31839         (TSGID): Likewise.
31840         (TSVTX): Likewise.
31841         (TUREAD): Likewise.
31842         (TUWRITE): Likewise.
31843         (TUEXEC): Likewise.
31844         (TGREAD): Likewise.
31845         (TGWRITE): Likewise.
31846         (TGEXEC): Likewise.
31847         (TOREAD): Likewise.
31848         (TOWRITE): Likewise.
31849         (TOEXEC): Likewise.
31850         [POSIX] (TSVTX): Expect constant.
31852 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31854         * Makefile (tests): Change dependencies to ....
31855         (tests-special): ... additions to this variable.
31856         (tests): Depend on $(tests-special).
31857         * Makerules (check-abi-list): New variable.
31858         (check-abi): Depend on $(check-abi-list).
31859         [$(subdir) = elf] (tests-special): Add
31860         $(objpfx)check-abi-libc.out.
31861         [$(build-shared) = yes && subdir] (tests-special): Add
31862         $(check-abi-list).
31863         [$(build-shared) = yes && subdir] (tests): Do not depend on
31864         check-abi.
31865         * Rules (tests): Depend on $(tests-special).
31866         (xtests): Depend on $(xtests-special).
31867         * catgets/Makefile (tests): Change dependencies to ....
31868         (tests-special): ... additions to this variable.
31869         * conform/Makefile (tests): Change dependencies to ....
31870         (tests-special): ... additions to this variable.
31871         * elf/Makefile (tests): Change dependencies to ....
31872         (tests-special): ... additions to this variable.
31873         * grp/Makefile (tests): Change dependencies to ....
31874         (tests-special): ... additions to this variable.
31875         * iconv/Makefile (xtests): Change dependencies to ....
31876         (xtests-special): ... additions to this variable.
31877         * iconvdata/Makefile (tests): Change dependencies to ....
31878         (tests-special): ... additions to this variable.
31879         * intl/Makefile (tests): Change dependencies to ....
31880         (tests-special): ... additions to this variable.  Also add
31881         $(objpfx)tst-gettext.out.
31882         * io/Makefile (tests): Change dependencies to ....
31883         (tests-special): ... additions to this variable.
31884         * libio/Makefile (tests): Change dependencies to ....
31885         (tests-special): ... additions to this variable.
31886         * malloc/Makefile (tests): Change dependencies to ....
31887         (tests-special): ... additions to this variable.
31888         * misc/Makefile (tests): Change dependencies to ....
31889         (tests-special): ... additions to this variable.
31890         * nptl/Makefile (tests): Change dependencies to ....
31891         (tests-special): ... additions to this variable.
31892         * nptl_db/Makefile (tests): Change dependencies to ....
31893         (tests-special): ... additions to this variable.
31894         * posix/Makefile (tests): Change dependencies to ....
31895         (tests-special): ... additions to this variable.
31896         (xtests): Change dependencies to ....
31897         (xtests-special): ... additions to this variable.
31898         * resolv/Makefile (tests): Change dependencies to ....
31899         (tests-special): ... additions to this variable.
31900         (xtests): Change dependencies to ....
31901         (xtests-special): ... additions to this variable.
31902         * stdio-common/Makefile (tests): Change dependencies to ....
31903         (tests-special): ... additions to this variable.
31904         (do-tst-unbputc): Remove target.
31905         (do-tst-printf): Likewise.
31906         * stdlib/Makefile (tests): Change dependencies to ....
31907         (tests-special): ... additions to this variable.
31908         * string/Makefile (tests): Change dependencies to ....
31909         (tests-special): ... additions to this variable.
31910         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31911         (tests-special): ... additions to this variable.
31913         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31914         whole file.
31915         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31916         whole file.
31917         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31918         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31920         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31921         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31922         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31923         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31924         * conform/data/libgen.h-data [XPG3]: Likewise.
31925         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31926         * conform/data/ndbm.h-data [XPG3]: Likewise.
31927         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31928         * conform/data/netdb.h-data [XPG3]: Likewise.
31929         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31930         * conform/data/poll.h-data [XPG3]: Likewise.
31931         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31932         * conform/data/strings.h-data [XPG3]: Likewise.
31933         * conform/data/stropts.h-data [XPG3]: Likewise.
31934         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31935         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31936         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31937         Likewise.
31938         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31939         * conform/data/sys/time.h-data [XPG3]: Likewise.
31940         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31941         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31942         * conform/data/sys/un.h-data [XPG3]: Likewise.
31943         * conform/data/syslog.h-data [XPG3]: Likewise.
31944         * conform/data/ucontext.h-data [XPG3]: Likewise.
31945         * conform/data/utmpx.h-data [XPG3]: Likewise.
31946         * conform/data/varargs.h-data [UNIX98]: Enable file.
31948         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31950         * math/libm-test.inc (struct test_f_f_data): Move expected results
31951         into structure for each rounding mode.
31952         (struct test_ff_f_data): Likewise.
31953         (struct test_ff_f_data_nexttoward): Likewise.
31954         (struct test_fi_f_data): Likewise.
31955         (struct test_fl_f_data): Likewise.
31956         (struct test_if_f_data): Likewise.
31957         (struct test_fff_f_data): Likewise.
31958         (struct test_c_f_data): Likewise.
31959         (struct test_f_f1_data): Likewise.
31960         (struct test_fF_f1_data): Likewise.
31961         (struct test_ffI_f1_data): Likewise.
31962         (struct test_c_c_data): Likewise.
31963         (struct test_cc_c_data): Likewise.
31964         (struct test_f_i_data): Likewise.
31965         (struct test_ff_i_data): Likewise.
31966         (struct test_f_l_data): Likewise.
31967         (struct test_f_L_data): Likewise.
31968         (struct test_fFF_11_data): Likewise.
31969         (RM_): New macro.
31970         (RM_FE_DOWNWARD): Likewise.
31971         (RM_FE_TONEAREST): Likewise.
31972         (RM_FE_TOWARDZERO): Likewise.
31973         (RM_FE_UPWARD): Likewise.
31974         (RUN_TEST_LOOP_f_f): Update references to expected results.
31975         (RUN_TEST_LOOP_2_f): Likewise.
31976         (RUN_TEST_LOOP_fff_f): Likewise.
31977         (RUN_TEST_LOOP_c_f): Likewise.
31978         (RUN_TEST_LOOP_f_f1): Likewise.
31979         (RUN_TEST_LOOP_fF_f1): Likewise.
31980         (RUN_TEST_LOOP_fI_f1): Likewise.
31981         (RUN_TEST_LOOP_ffI_f1): Likewise.
31982         (RUN_TEST_LOOP_c_c): Likewise.
31983         (RUN_TEST_LOOP_cc_c): Likewise.
31984         (RUN_TEST_LOOP_f_i): Likewise.
31985         (RUN_TEST_LOOP_f_i_tg): Likewise.
31986         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31987         (RUN_TEST_LOOP_f_b): Likewise.
31988         (RUN_TEST_LOOP_f_b_tg): Likewise.
31989         (RUN_TEST_LOOP_f_l): Likewise.
31990         (RUN_TEST_LOOP_f_L): Likewise.
31991         (RUN_TEST_LOOP_fFF_11): Likewise.
31992         * math/gen-libm-test.pl (parse_args): Output four copies of
31993         expected results for each test.
31995         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31996         (__ASSUME_UTIMES): Remove.
31997         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31998         (__ASSUME_UTIMES): Likewise.
32000         * math/gen-auto-libm-tests.c: Update comment on output format.
32001         (output_for_one_input_case): Generate before-rounding and
32002         after-rounding information as conditions on output flags not
32003         floating-point format.
32004         * math/auto-libm-test-out: Regenerated.
32005         * math/gen-libm-test.pl (cond_value): New function.
32006         (or_cond_value): Use cond_value.
32007         (generate_testfile): Handle conditional exceptions.
32009 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32011         * math/libm-test.inc (max_valid_error): New variable.
32012         (init_max_error): Take new argument specifying whether function
32013         results are exactly determined.  Set max_valid_error and bound
32014         other variables for errors based on this argument.
32015         (set_max_error): Do not record results above max_valid_error.
32016         (check_float_internal): Only accept errors of up to 0.5ulps if
32017         also at most max_valid_error.
32018         (START): Take new argument EXACT and pass it to init_max_error.
32019         (acos_test): Update call to START.
32020         (acos_test_tonearest): Likewise.
32021         (acos_test_towardzero): Likewise.
32022         (acos_test_downward): Likewise.
32023         (acos_test_upward): Likewise.
32024         (acosh_test): Likewise.
32025         (asin_test): Likewise.
32026         (asin_test_tonearest): Likewise.
32027         (asin_test_towardzero): Likewise.
32028         (asin_test_downward): Likewise.
32029         (asin_test_upward): Likewise.
32030         (asinh_test): Likewise.
32031         (atan_test): Likewise.
32032         (atanh_test): Likewise.
32033         (atan2_test): Likewise.
32034         (cabs_test): Likewise.
32035         (cacos_test): Likewise.
32036         (cacosh_test): Likewise.
32037         (carg_test): Likewise.
32038         (casin_test): Likewise.
32039         (casinh_test): Likewise.
32040         (catan_test): Likewise.
32041         (catanh_test): Likewise.
32042         (cbrt_test): Likewise.
32043         (ccos_test): Likewise.
32044         (ccosh_test): Likewise.
32045         (ceil_test): Likewise.
32046         (cexp_test): Likewise.
32047         (cimag_test): Likewise.
32048         (clog_test): Likewise.
32049         (clog10_test): Likewise.
32050         (conj_test): Likewise.
32051         (copysign_test): Likewise.
32052         (cos_test): Likewise.
32053         (cos_test_tonearest): Likewise.
32054         (cos_test_towardzero): Likewise.
32055         (cos_test_downward): Likewise.
32056         (cos_test_upward): Likewise.
32057         (cosh_test): Likewise.
32058         (cosh_test_tonearest): Likewise.
32059         (cosh_test_towardzero): Likewise.
32060         (cosh_test_downward): Likewise.
32061         (cosh_test_upward): Likewise.
32062         (cpow_test): Likewise.
32063         (cproj_test): Likewise.
32064         (creal_test): Likewise.
32065         (csin_test): Likewise.
32066         (csinh_test): Likewise.
32067         (csqrt_test): Likewise.
32068         (ctan_test): Likewise.
32069         (ctan_test_tonearest): Likewise.
32070         (ctan_test_towardzero): Likewise.
32071         (ctan_test_downward): Likewise.
32072         (ctan_test_upward): Likewise.
32073         (ctanh_test): Likewise.
32074         (ctanh_test_tonearest): Likewise.
32075         (ctanh_test_towardzero): Likewise.
32076         (ctanh_test_downward): Likewise.
32077         (ctanh_test_upward): Likewise.
32078         (erf_test): Likewise.
32079         (erfc_test): Likewise.
32080         (exp_test): Likewise.
32081         (exp_test_tonearest): Likewise.
32082         (exp_test_towardzero): Likewise.
32083         (exp_test_downward): Likewise.
32084         (exp_test_upward): Likewise.
32085         (exp10_test): Likewise.
32086         (exp10_test_tonearest): Likewise.
32087         (exp10_test_towardzero): Likewise.
32088         (exp10_test_downward): Likewise.
32089         (exp10_test_upward): Likewise.
32090         (pow10_test): Likewise.
32091         (exp2_test): Likewise.
32092         (expm1_test): Likewise.
32093         (expm1_test_tonearest): Likewise.
32094         (expm1_test_towardzero): Likewise.
32095         (expm1_test_downward): Likewise.
32096         (expm1_test_upward): Likewise.
32097         (fabs_test): Likewise.
32098         (fdim_test): Likewise.
32099         (floor_test): Likewise.
32100         (fma_test): Likewise.
32101         (fma_test_towardzero): Likewise.
32102         (fma_test_downward): Likewise.
32103         (fma_test_upward): Likewise.
32104         (fmax_test): Likewise.
32105         (fmin_test): Likewise.
32106         (fmod_test): Likewise.
32107         (fpclassify_test): Likewise.
32108         (frexp_test): Likewise.
32109         (hypot_test): Likewise.
32110         (ilogb_test): Likewise.
32111         (isfinite_test): Likewise.
32112         (finite_test): Likewise.
32113         (isgreater_test): Likewise.
32114         (isgreaterequal_test): Likewise.
32115         (isinf_test): Likewise.
32116         (isless_test): Likewise.
32117         (islessequal_test): Likewise.
32118         (islessgreater_test): Likewise.
32119         (isnan_test): Likewise.
32120         (isnormal_test): Likewise.
32121         (issignaling_test): Likewise.
32122         (isunordered_test): Likewise.
32123         (j0_test): Likewise.
32124         (j1_test): Likewise.
32125         (jn_test): Likewise.
32126         (ldexp_test): Likewise.
32127         (lgamma_test): Likewise.
32128         (gamma_test): Likewise.
32129         (lrint_test): Likewise.
32130         (lrint_test_tonearest): Likewise.
32131         (lrint_test_towardzero): Likewise.
32132         (lrint_test_downward): Likewise.
32133         (lrint_test_upward): Likewise.
32134         (llrint_test): Likewise.
32135         (llrint_test_tonearest): Likewise.
32136         (llrint_test_towardzero): Likewise.
32137         (llrint_test_downward): Likewise.
32138         (llrint_test_upward): Likewise.
32139         (log_test): Likewise.
32140         (log10_test): Likewise.
32141         (log1p_test): Likewise.
32142         (log2_test): Likewise.
32143         (logb_test): Likewise.
32144         (logb_test_downward): Likewise.
32145         (lround_test): Likewise.
32146         (llround_test): Likewise.
32147         (modf_test): Likewise.
32148         (nearbyint_test): Likewise.
32149         (nextafter_test): Likewise.
32150         (nexttoward_test): Likewise.
32151         (pow_test): Likewise.
32152         (pow_test_tonearest): Likewise.
32153         (pow_test_towardzero): Likewise.
32154         (pow_test_downward): Likewise.
32155         (pow_test_upward): Likewise.
32156         (remainder_test): Likewise.
32157         (drem_test): Likewise.
32158         (remainder_test_tonearest): Likewise.
32159         (drem_test_tonearest): Likewise.
32160         (remainder_test_towardzero): Likewise.
32161         (drem_test_towardzero): Likewise.
32162         (remainder_test_downward): Likewise.
32163         (drem_test_downward): Likewise.
32164         (remainder_test_upward): Likewise.
32165         (drem_test_upward): Likewise.
32166         (remquo_test): Likewise.
32167         (rint_test): Likewise.
32168         (rint_test_tonearest): Likewise.
32169         (rint_test_towardzero): Likewise.
32170         (rint_test_downward): Likewise.
32171         (rint_test_upward): Likewise.
32172         (round_test): Likewise.
32173         (scalb_test): Likewise.
32174         (scalbn_test): Likewise.
32175         (scalbln_test): Likewise.
32176         (signbit_test): Likewise.
32177         (sin_test): Likewise.
32178         (sin_test_tonearest): Likewise.
32179         (sin_test_towardzero): Likewise.
32180         (sin_test_downward): Likewise.
32181         (sin_test_upward): Likewise.
32182         (sincos_test): Likewise.
32183         (sinh_test): Likewise.
32184         (sinh_test_tonearest): Likewise.
32185         (sinh_test_towardzero): Likewise.
32186         (sinh_test_downward): Likewise.
32187         (sinh_test_upward): Likewise.
32188         (sqrt_test): Likewise.
32189         (sqrt_test_tonearest): Likewise.
32190         (sqrt_test_towardzero): Likewise.
32191         (sqrt_test_downward): Likewise.
32192         (sqrt_test_upward): Likewise.
32193         (tan_test): Likewise.
32194         (tan_test_tonearest): Likewise.
32195         (tan_test_towardzero): Likewise.
32196         (tan_test_downward): Likewise.
32197         (tan_test_upward): Likewise.
32198         (tanh_test): Likewise.
32199         (tgamma_test): Likewise.
32200         (trunc_test): Likewise.
32201         (y0_test): Likewise.
32202         (y1_test): Likewise.
32203         (yn_test): Likewise.
32204         (significand_test): Likewise.
32206         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32207         individual tests in comment.
32208         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32209         (prev_max_error): New variable.
32210         (prev_real_max_error): Likewise.
32211         (prev_imag_max_error): Likewise.
32212         (compare_ulp_data): Don't refer to test names in comment.
32213         (find_test_ulps): Remove function.
32214         (find_function_ulps): Likewise.
32215         (find_complex_function_ulps): Likewise.
32216         (init_max_error): Take function name as argument.  Look up ulps
32217         for that function.
32218         (print_ulps): Remove function.
32219         (print_max_error): Use prev_max_error instead of calling
32220         find_function_ulps.
32221         (print_complex_max_error): Use prev_real_max_error and
32222         prev_imag_max_error instead of calling find_complex_function_ulps.
32223         (check_float_internal): Take max_ulp parameter instead of calling
32224         find_test_ulps.  Don't call print_ulps.
32225         (check_float): Update call to check_float_internal.
32226         (check_complex): Update calls to check_float_internal.
32227         (START): Pass argument to init_max_error.
32228         * math/gen-libm-test.pl (%results): Don't include "kind"
32229         information.
32230         (parse_ulps): Don't handle ulps of individual tests.
32231         (print_ulps_file): Likewise.
32232         (output_ulps): Likewise.
32233         * math/README.libm-test: Update.
32234         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32235         individual tests.
32236         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32237         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32238         * sysdeps/arm/libm-test-ulps: Likewise.
32239         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32240         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32241         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32242         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32243         * sysdeps/microblaze/libm-test-ulps: Likewise.
32244         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32245         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32246         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32247         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32248         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32249         * sysdeps/sh/libm-test-ulps: Likewise.
32250         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32251         * sysdeps/tile/libm-test-ulps: Likewise.
32252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32254 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32256         * math/libm-test.inc (print_complex_max_error): Check separately
32257         whether real and imaginary errors are within allowed range and
32258         pass 0 to print_complex_function_ulps instead of value within
32259         allowed range.
32261 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32263         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32264         formatting.
32265         (get_handles_fopen): Likewise.
32266         (do_write_test): Likewise.
32268         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32270         * libio/fileops.c (do_ftell): Use cached offset when
32271         available.
32272         * libio/iofwide.c (do_ftell_wide): Likewise.
32273         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32274         _IO_file_attach.
32275         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32277         [BZ #16532]
32278         * libio/libioP.h (get_file_offset): New function.
32279         * libio/fileops.c (get_file_offset): Likewise.
32280         (do_ftell): Likewise.
32281         (_IO_new_file_seekoff): Split out ftell logic.
32282         * libio/wfileops.c (do_ftell_wide): Likewise.
32283         (_IO_wfile_seekoff): Split out ftell logic.
32284         * libio/tst-ftell-active-handler.c: New test case.
32285         * libio/Makefile (tests): Add it.
32287 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32289         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32290         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32292 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         [BZ #16639]
32295         * nscd/connections.c (nscd_init): Call do_exit.
32296         (start_threads): Call do_exit and notify_parent.
32297         (begin_drop_privileges): Call do_exit.
32298         (finish_drop_privileges): Likewise.
32299         * nscd/selinux.c (preserve_capabilities): Likewise.
32300         (install_real_capabilities): Likewise.
32301         (nscd_selinux_enabled): Likewise.
32302         (avc_create_thread): Likewise.
32303         (avc_alloc_lock): Likewise.
32304         (nscd_avc_init): Likewise.
32305         * nscd/nscd.c (parent_fd): New static variable.
32306         (main): Create a pipe between parent and child processes.
32307         Skip closing parent_fd.
32308         (monitor_child): New function.
32309         (do_exit): Likewise.
32310         (notify_parent): Likewise.
32311         * nscd/nscd.h (notify_parent): Likewise.
32312         (do_exit): Likewise.
32314 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32316         * malloc/malloc.c (__libc_calloc): Revert last change.
32318 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32322 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32324         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32326         implementation.
32327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32328         (__libc_ifunc_impl_list): Likewise.
32329         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32330         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32331         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32332         * string/strrchr.c: Define STRRCHR.
32334 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32336         * benchtest/bench-strtok.c (simple_strtok): Delete.
32337         (strtok_string): Use as benchmark.
32338         * string/strtok (STRTOK): New macro.
32340 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32342         * manual/threads.texi: Add header and standard comments to all
32343         functions.
32345         * elf/dl-lookup.c (check_match): New function.
32346         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32347         (do_lookup_x): Remove nested function check_match. Use non-nested
32348         function check_match.
32350 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32352         * csu/Makefile (generated, before-compile): Use += rather than =.
32353         * catgets/Makefile (generated, generated-dirs): Likewise.
32354         * debug/Makefile (generated): Likewise.
32355         * dlfcn/Makefile (generated): Likewise.
32356         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32357         * iconvdata/Makefile (before-compile, generated): Likewise.
32358         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32359         * libio/Makefile (generated): Likewise.
32360         * malloc/Makefile (generated): Likewise.
32361         * manual/Makefile (generated, generated-dirs): Likewise.
32362         * misc/Makefile (generated): Likewise.
32363         * posix/Makefile (generated): Likewise.
32364         * resolv/Makefile (generated): Likewise.
32365         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32366         * timezone/Makefile (generated, generated-dirs): Likewise.
32368         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32370 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32373         power8 implementation.
32374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32375         file: POWER8 llround ifunc implementation.
32376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32377         (__lllround): Add POWER8 implementation.
32378         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32379         POWER8 llround implementation.
32381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32382         power8 implementation.
32383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32384         file: POWER8 llrint ifunc implementation.
32385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32386         Add POWER8 implementation.
32387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32388         POWER8 llrint implementation.
32390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32391         power8 implementation.
32392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32393         file: POWER8 finite ifunc implementation.
32394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32395         Add POWER8 implementation.
32396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32397         Likewise.
32398         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32399         POWER8 finite implementation.
32400         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32403         power8 implementation.
32404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32405         file: POWER8 isinf ifunc implementation.
32406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32407         POWER8 implementation.
32408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32409         Likewise.
32410         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32411         isinf implementation.
32412         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32414         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32415         (INIT_ARCH): Add hwcap2 initialization.
32416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32417         power8 implementation.
32418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32419         file: POWER8 isnan ifunc implementation.
32420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32421         POWER8 implementation.
32422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32423         Likewise.
32424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32425         isnan implementation.
32426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32428 2014-02-27  Joey Ye  <joey.ye@arm.com>
32430         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32431         (_FP_NANFRAC_Q): Set to zero.
32433 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32435         [BZ #16623]
32436         * math/auto-libm-test-in: New test inputs.
32437         * math/auto-libm-test-out: Regenerate.
32438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32439         and DA.
32440         (__cos): Likewise.
32441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32443 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32445         * scripts/evaluate-test.sh: Take new argument indicating whether
32446         failure is expected.
32447         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32448         indicating whether failure is expected.
32449         * conform/Makefile (test-xfail-run-conformtest): New variable.
32450         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32451         level.
32452         * posix/Makefile (test-xfail-annexc): New variable.
32453         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32455 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32457         * argp/Makefile: Include Makeconfig immediately after defining
32458         subdir.
32459         * assert/Makefile: Likewise.
32460         * benchtests/Makefile: Likewise.
32461         * catgets/Makefile: Likewise.
32462         * conform/Makefile: Likewise.
32463         * crypt/Makefile: Likewise.
32464         * csu/Makefile: Likewise.
32465         (all): Remove target.
32466         * ctype/Makefile: Include Makeconfig immediately after defining
32467         subdir.
32468         * debug/Makefile: Likewise.
32469         * dirent/Makefile: Likewise.
32470         * dlfcn/Makefile: Likewise.
32471         * gmon/Makefile: Likewise.
32472         * gnulib/Makefile: Likewise.
32473         * grp/Makefile: Likewise.
32474         * gshadow/Makefile: Likewise.
32475         * hesiod/Makefile: Likewise.
32476         * hurd/Makefile: Likewise.
32477         (all): Remove target.
32478         * iconvdata/Makefile: Include Makeconfig immediately after
32479         defining subdir.
32480         * inet/Makefile: Likewise.
32481         * intl/Makefile: Likewise.
32482         * io/Makefile: Likewise.
32483         * libio/Makefile: Likewise.
32484         (all): Remove target.
32485         * locale/Makefile: Include Makeconfig immediately after defining
32486         subdir.
32487         * login/Makefile: Likewise.
32488         * mach/Makefile: Likewise.
32489         (all): Remove target.
32490         * malloc/Makefile: Include Makeconfig immediately after defining
32491         subdir.
32492         (all): Remove target.
32493         * manual/Makefile: Include Makeconfig immediately after defining
32494         subdir.
32495         * math/Makefile: Likewise.
32496         * misc/Makefile: Likewise.
32497         * nis/Makefile: Likewise.
32498         * nss/Makefile: Likewise.
32499         * po/Makefile: Likewise.
32500         (all): Remove target.
32501         * posix/Makefile: Include Makeconfig immediately after defining
32502         subdir.
32503         * pwd/Makefile: Likewise.
32504         * resolv/Makefile: Likewise.
32505         * resource/Makefile: Likewise.
32506         * rt/Makefile: Likewise.
32507         * setjmp/Makefile: Likewise.
32508         * shadow/Makefile: Likewise.
32509         * signal/Makefile: Likewise.
32510         * socket/Makefile: Likewise.
32511         * soft-fp/Makefile: Likewise.
32512         * stdio-common/Makefile: Likewise.
32513         * stdlib/Makefile: Likewise.
32514         * streams/Makefile: Likewise.
32515         * string/Makefile: Likewise.
32516         * sunrpc/Makefile: Likewise.
32517         (all): Remove target.
32518         * sysvipc/Makefile: Include Makeconfig immediately after defining
32519         subdir.
32520         * termios/Makefile: Likewise.
32521         * time/Makefile: Likewise.
32522         * timezone/Makefile: Likewise.
32523         (all): Remove target.
32524         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32525         subdir.
32526         * wctype/Makefile: Likewise.
32528 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32530         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32531         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32532         (libc_feholdexcept_setround_mips): Ditto.
32533         (libc_feholdsetround): New.
32534         (libc_feholdsetroundf): New.
32535         (libc_feholdsetroundl): New.
32536         (libc_feupdateenv_test_mips): New.
32537         (libc_feupdateenv_test): New.
32538         (libc_feupdateenv_testf): New.
32539         (libc_feupdateenv_testl): New.
32540         (libc_feresetround): New.
32541         (libc_feresetroundf): New.
32542         (libc_feresetroundl): New.
32543         (libc_fetestexcept_mips): New.
32544         (libc_fetestexcept): New.
32545         (libc_fetestexceptf): New.
32546         (libc_fetestexceptl): New.
32547         (HAVE_RM_CTX): New.
32548         (libc_feholdexcept_setround_mips_ctx): New.
32549         (libc_feholdexcept_setround_ctx): New.
32550         (libc_feholdexcept_setroundf_ctx): New.
32551         (libc_feholdexcept_setroundl_ctx): New.
32552         (libc_fesetenv_mips_ctx): New.
32553         (libc_fesetenv_ctx): New.
32554         (libc_fesetenv_ctxf): New.
32555         (libc_fesetenv_ctxl): New.
32556         (libc_feupdateenv_mips_ctx): New.
32557         (libc_feupdateenv_ctx): New.
32558         (libc_feupdateenvf_ctx): New.
32559         (libc_feupdateenvl_ctx): New.
32560         (libc_feholdsetround_mips_ctx): New.
32561         (libc_feholdsetround_ctx): New.
32562         (libc_feholdsetroundf_ctx): New.
32563         (libc_feholdsetroundl_ctx): New.
32564         (libc_feresetround_mips_ctx): New.
32565         (libc_feresetround_ctx): New.
32566         (libc_feresetroundf_ctx): New.
32567         (libc_feresetroundl_ctx): New.
32569 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32571         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32573         * manual/ipc.texi: New file.
32574         * manual/Makefile (chapters): Add ipc.
32575         * manual/job.texi: Add "Inter-Process Communication" to next.
32576         * manual/process.texi: Add "Inter-Process Communication" to prev.
32578 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32582 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32584         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32586         * manual/arith.texi: Fix spaces after sentences.
32587         * manual/charset.texi: Likewise.
32588         * manual/errno.texi: Likewise.
32589         * manual/install.texi: Likewise.
32590         * manual/llio.texi: Likewise.
32591         * manual/locale.texi: Likewise.
32592         * manual/maint.texi: Likewise.
32593         * manual/math.texi: Likewise.
32594         * manual/memory.texi: Likewise.
32595         * manual/message.texi: Likewise.
32596         * manual/probes.texi: Likewise.
32597         * manual/resource.texi: Likewise.
32598         * manual/signal.texi: Likewise.
32599         * manual/socket.texi: Likewise.
32600         * manual/stdio.texi: Likewise.
32601         * manual/string.texi: Likewise.
32602         * manual/time.texi: Likewise.
32603         * manual/users.texi: Likewise.
32605 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32607         [BZ #16632]
32608         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32609         _DEFAULT_SOURCE is defined.
32611 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32612             Carlos O'Donell  <carlos@redhat.com>
32614         [BZ #16613]
32615         * elf/dl-tls.c (_dl_count_modids): New function.
32616         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32617         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32618         audit library and increment generation counter.
32619         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32620         * elf/tst-audit9.c: New file.
32621         * elf/tst-auditmod9a.c: New file.
32622         * elf/tst-auditmod9b.c: New file.
32623         * elf/Makefile: Add rules to build and run tst-audit9.
32625 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32627         [BZ #15347]
32628         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32630 2014-02-25  Will Newton  <will.newton@linaro.org>
32632         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32633         (__longjmp): Restore sp and lr before restoring callee
32634         saved registers.  Add longjmp and longjmp_target
32635         SystemTap probe point.
32636         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32637         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32638         Define to zero to match jmpbuf layout.
32639         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32640         (__sigsetjmp): Save sp and lr before saving callee
32641         saved registers.  Add setjmp SystemTap probe point.
32643 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32645         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32647 2014-02-24  Andreas Schwab  <schwab@suse.de>
32649         [BZ #15804]
32650         * elf/pldd.c (wait_for_ptrace_stop): New function.
32651         (main): Call it after attaching.
32653 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32655         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32656         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32657         Versions files is now verboten.
32658         * hurd/Versions (libc: GLIBC_2.0):
32659         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32660         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32661         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32662         * mach/Versions: Likewise.
32664         * csu/Versions: Remove unused %include.
32665         * resolv/Versions: Likewise.
32667 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32669         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32670         ($(objpfx)check-local-headers.out): Likewise.
32671         ($(objpfx)begin-end-check.out): Likewise.
32672         * Makerules (check-abi-%.out): Likewise.
32673         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32674         ($(objpfx)test2.cat): Likewise.
32675         ($(objpfx)de/libc.cat): Likewise.
32676         ($(objpfx)test-gencat.out): Likewise.
32677         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32678         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32679         ($(objpfx)noload-mem): Likewise.
32680         ($(objpfx)tst-pathopt.out): Likewise.
32681         ($(objpfx)tst-rtld-load-self.out): Likewise.
32682         ($(objpfx)tst-array1-cmp.out): Likewise.
32683         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32684         ($(objpfx)tst-array2-cmp.out): Likewise.
32685         ($(objpfx)tst-array3-cmp.out): Likewise.
32686         ($(objpfx)tst-array4-cmp.out): Likewise.
32687         ($(objpfx)tst-array5-cmp.out): Likewise.
32688         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32689         ($(objpfx)check-textrel.out): Likewise.
32690         ($(objpfx)check-execstack.out): Likewise.
32691         ($(objpfx)check-localplt.out): Likewise.
32692         ($(objpfx)order2-cmp.out): Likewise.
32693         ($(objpfx)tst-leaks1-mem): Likewise.
32694         ($(objpfx)tst-leaks1-static-mem): Likewise.
32695         ($(objpfx)tst-initorder-cmp.out): Likewise.
32696         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32697         ($(objpfx)tst-unused-dep.out): Likewise.
32698         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32699         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32700         * iconv/Makefile (test-iconvconfig): Likewise.
32701         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32702         ($(objpfx)iconv-test.out): Likewise.
32703         ($(objpfx)tst-tables.out): Likewise.
32704         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32705         ($(objpfx)tst-gettext.out): Likewise.
32706         ($(objpfx)tst-translit.out): Likewise.
32707         ($(objpfx)tst-gettext2.out): Likewise.
32708         ($(objpfx)tst-gettext4.out): Likewise.
32709         ($(objpfx)tst-gettext6.out): Likewise.
32710         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32711         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32712         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32713         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32714         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32715         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32716         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32717         ($(objpfx)wordexp-tst.out): Likewise.
32718         ($(objpfx)annexc.out): Likewise.
32719         ($(objpfx)tst-fnmatch-mem): Likewise.
32720         ($(objpfx)bug-regex2-mem): Likewise.
32721         ($(objpfx)bug-regex14-mem): Likewise.
32722         ($(objpfx)bug-regex21-mem): Likewise.
32723         ($(objpfx)bug-regex31-mem): Likewise.
32724         ($(objpfx)tst-vfork3-mem): Likewise.
32725         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32726         ($(objpfx)tst-pcre-mem): Likewise.
32727         ($(objpfx)tst-boost-mem): Likewise.
32728         ($(objpfx)tst-getconf.out): Likewise.
32729         ($(objpfx)bug-ga2-mem): Likewise.
32730         ($(objpfx)bug-glob2-mem): Likewise.
32731         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32732         ($(objpfx)mtrace-tst-leaks2): Likewise.
32733         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32734         ($(objpfx)tst-printf.out): Likewise.
32735         ($(objpfx)tst-setvbuf1.out): Likewise.
32736         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32737         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32738         ($(objpfx)tst-fmtmsg.out): Likewise.
32739         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32740         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32742         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32743         * bits/sigaction.h [__USE_MISC]: Likewise.
32744         * bits/waitstatus.h: Update #endif comments.
32745         * ctype/ctype.h: Likewise.
32746         * dirent/dirent.h: Likewise.
32747         [__USE_MISC]: Remove redundant conditionals.
32748         * grp/grp.h: Update #endif comments.
32749         [__USE_GNU]: Remove redundant conditionals.
32750         [__USE_MISC]: Likewise.
32751         * inet/netinet/in.h [__USE_GNU]: Likewise.
32752         * io/sys/stat.h [__USE_MISC]: Likewise.
32753         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32754         * libio/bits/stdio.h: Update #endif comments.
32755         [__USE_MISC]: Remove redundant conditionals.
32756         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32757         * libio/stdio.h: Update #endif comments.
32758         [__USE_MISC]: Remove redundant conditionals.
32759         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32760         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32761         * math/math.h: Update #else and #endif comments.
32762         [__USE_MISC]: Remove redundant conditionals.
32763         * misc/sys/uio.h: Update #endif comments.
32764         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32765         * posix/glob.h [__USE_MISC]: Likewise.
32766         * posix/sys/types.h: Update #endif comments.
32767         [__USE_MISC]: Remove redundant conditionals.
32768         * posix/sys/wait.h: Update #endif comments.
32769         [__USE_MISC]: Remove redundant conditionals.
32770         * posix/unistd.h: Update #endif comments.
32771         [__USE_MISC]: Remove redundant conditionals.
32772         * pwd/pwd.h [__USE_GNU]: Likewise.
32773         [__USE_MISC]: Likewise.
32774         * resolv/netdb.h [__USE_GNU]: Likewise.
32775         * signal/signal.h: Update #endif comments.
32776         [__USE_MISC]: Remove redundant conditionals.
32777         * stdlib/stdlib.h: Update #else and #endif comments.
32778         [__USE_MISC]: Remove redundant conditionals.
32779         [__USE_GNU]: Likewise.
32780         * string/bits/string2.h [__USE_MISC]: Likewise.
32781         * string/string.h: Update #endif comments.
32782         [__USE_MISC]: Remove redundant conditionals.
32783         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32784         Likewise.
32785         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32786         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32787         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32788         Likewise.
32789         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32790         Likewise.
32791         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32792         comments.
32793         [__USE_MISC]: Remove redundant conditionals.
32794         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32795         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32796         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32797         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32798         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32799         Likewise.
32800         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32801         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32802         Likewise.
32803         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32804         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32805         Likewise.
32806         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32807         Likewise.
32808         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32809         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32810         Likewise.
32811         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32812         Likewise.
32813         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32814         * sysdeps/x86/bits/string.h: Update #endif comments.
32815         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32816         conditionals.
32817         * time/sys/time.h: Update #endif comments.
32818         * time/time.h: Likewise.
32819         [__USE_MISC]: Remove redundant conditionals.
32821 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32823         [BZ #16600]
32824         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32826 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32828         * Versions.def (librt): Add GLIBC_2.17.
32830 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32832         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32833         synonym for _SYS_AUXV_H to allow direct inclusion.
32834         * sysdeps/sparc/bits/hwcap.h: Likewise.
32835         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32836         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32837         * sysdeps/sparc/sysdep.h: Likewise.
32839 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32841         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32843 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32845         * benchtests/bench-strrchr.c: Print length instead of position.
32847 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32849         [BZ #16611]
32850         * sysdeps/unix/sysv/linux/kernel-features.h
32851         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32852         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32853         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32854         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32855         Likewise.
32856         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32857         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32858         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32859         (__ASSUME_SENDMMSG): Define instead of using previous
32860         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32861         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32862         (__ASSUME_SENDMMSG_SYSCALL): Define.
32863         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32864         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32865         Likewise.
32866         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32867         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32868         Likewise.
32869         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32870         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32871         Likewise.
32872         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32873         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32874         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32875         [__ASSUME_SENDMMSG]: Change conditionals to
32876         [__ASSUME_SENDMMSG_SOCKETCALL].
32877         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32878         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32879         Define.
32880         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32881         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32882         Likewise.
32883         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32884         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32885         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32886         [!__ASSUME_SENDMMSG]: Change conditional to
32887         [!__ASSUME_SENDMMSG_SOCKETCALL].
32888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32889         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32890         Define.
32892         [BZ #16610]
32893         * sysdeps/unix/sysv/linux/kernel-features.h
32894         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32895         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32896         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32897         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32898         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32899         [__i386__ || __sparc__]
32900         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32901         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32902         (__ASSUME_RECVMMSG): Define instead of using previous
32903         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32904         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32905         (__ASSUME_RECVMMSG_SYSCALL): Define.
32906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32907         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32908         Likewise.
32909         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32910         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32911         Likewise.
32912         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32914         Likewise.
32915         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32916         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32917         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32918         [__ASSUME_RECVMMSG]: Change condition to
32919         [__ASSUME_RECVMMSG_SOCKETCALL].
32920         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32921         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32922         Define.
32923         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32924         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32925         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32926         Likewise.
32927         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32928         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32929         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32930         [!__ASSUME_RECVMMSG]: Change condition to
32931         [!__ASSUME_RECVMMSG_SOCKETCALL].
32932         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32933         (__ASSUME_RECVMMSG_SYSCALL): Define.
32935         [BZ #16609]
32936         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32937         __powerpc__ || __s390__ || __sh__ || __sparc__]
32938         (__ASSUME_SOCKETCALL): Define.
32939         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32940         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32941         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32942         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32943         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32944         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32945         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32946         (__ASSUME_ACCEPT4): Define instead of using previous
32947         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32948         __powerpc__ || __sparc__ || __s390__)] condition.
32949         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32950         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32951         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32952         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32953         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32954         [!__ASSUME_ACCEPT4]: Change condition to
32955         [!__ASSUME_ACCEPT4_SOCKETCALL].
32956         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32957         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32958         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32960         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32961         __ASSUME_ACCEPT4_SYSCALL.
32962         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32963         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32964         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32965         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32966         __ASSUME_ACCEPT4_SYSCALL.
32967         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32968         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32969         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32970         [__ASSUME_ACCEPT4]: Change condition to
32971         [__ASSUME_ACCEPT4_SOCKETCALL].
32972         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32973         (__ASSUME_SOCKETCALL): Define.
32974         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32976         (__ASSUME_SOCKETCALL): Define.
32977         (__ASSUME_ACCEPT4): Remove.
32978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32979         Define.
32980         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32981         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32982         Likewise.
32983         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32984         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32986         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32987         macro.
32988         (HWCAP_ARM_LPAE): Likewise.
32989         (HWCAP_ARM_EVTSTRM): Likewise.
32990         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32991         Add vpfd32, lpae and evtstrm.
32992         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32993         Increase to 22.
32995 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32997         * math/auto-libm-test-in: Add tests of clog10.
32998         * math/auto-libm-test-out: Regenerated.
32999         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33000         * sysdeps/i386/fpu/libm-test-ulps: Update.
33001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33003 2014-02-18  Andreas Schwab  <schwab@suse.de>
33005         [BZ #16574]
33006         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33007         Store non-zero if the second buffer was newly allocated.
33008         (send_dg): Likewise.
33009         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33010         to send_vc and send_dg.
33011         (res_nsend): Pass NULL for ansp2_malloced.
33012         * resolv/res_query.c (__libc_res_nquery): Add parameter
33013         answerp2_malloced and pass it down to __libc_res_nsend.
33014         (res_nquery): Pass additional NULL to __libc_res_nquery.
33015         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33016         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33017         second answer buffer if answerp2_malloced was set.
33018         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33019         (__libc_res_nquerydomain): Add parameter
33020         answerp2_malloced and pass it down to __libc_res_nquery.
33021         (res_nquerydomain): Pass additional NULL to
33022         __libc_res_nquerydomain.
33023         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33024         additional NULL to __libc_res_nsend and __libc_res_nquery.
33025         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33026         additional NULL to __libc_res_nsearch.
33027         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33028         parameter of __libc_res_nsearch to check for separately allocated
33029         second buffer.
33030         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33031         __libc_res_nquery.
33032         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33033         additional NULL to __libc_res_nquery.
33034         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33035         __libc_res_nsearch.
33036         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33037         * include/resolv.h: Update prototypes of __libc_res_nquery,
33038         __libc_res_nsearch, __libc_res_nsend.
33040 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33042         * math/auto-libm-test-in: Add tests of fma.
33043         * math/auto-libm-test-out: Regenerated.
33044         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33045         (fma_towardzero_test_data): Likewise.
33046         (fma_downward_test_data): Likewise.
33047         (fma_upward_test_data): Likewise.
33048         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33049         mpc_mode.
33050         (rounding_modes): Add values for new field.
33051         (func_calc_method): Add value mpfr_fff_f.
33052         (func_calc_desc): Add mpfr_fff_f union field.
33053         (test_function): Add field exact_args.
33054         (FUNC): Add macro argument EXACT_ARGS.
33055         (FUNC_mpfr_f_f): Update call to FUNC.
33056         (FUNC_mpfr_f_f): Likewise.
33057         (FUNC_mpfr_ff_f): Likewise.
33058         (FUNC_mpfr_if_f): Likewise.
33059         (FUNC_mpc_c_f): Likewise.
33060         (FUNC_mpc_c_c): Likewise.
33061         (test_functions): Add fma.  Update calls to FUNC.
33062         (handle_input_arg): Add argument exact_args.
33063         (add_test): Update call to handle_input_arg.
33064         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33065         (output_for_one_input_case): Update call to calc_generic_results.
33066         Recalculate exact zero results in each rounding mode.
33068         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33069         non-negative before setting low bit.
33070         * math/auto-libm-test-in: Mark one asin test possibly having
33071         spurious underflow.
33072         * math/auto-libm-test-out: Regenerated.
33073         * sysdeps/i386/fpu/libm-test-ulps: Update.
33074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33076 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33078         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33079         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33080         ports/sysdeps/unix/sysv/linux/microblaze.
33081         * README: Add missing listing for microblaze*-*-linux-gnu.
33083 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33086         duplicate code
33088 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33090         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33091         * sysdeps/unix/sysv/linux/ia64: Move directory from
33092         ports/sysdeps/unix/sysv/linux/ia64.
33093         * README: Update listing for ia64-*-linux-gnu.
33095 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33096             Joseph Myers  <joseph@codesourcery.com>
33098         * Makeconfig (test-name): New variable.
33099         (evaluate-test): Likewise.
33100         * Makerules (do-test-clean): Remove .test-result files.
33101         (common-mostlyclean): Likewise.
33102         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33103         * scripts/evaluate-test.sh: New file.
33105 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33107         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33108         separate $(objpfx)tst-fopenloc-cmp.out and
33109         $(objpfx)tst-fopenloc-mem.out targets.
33110         (tests): Update dependencies.
33111         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33112         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33113         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33114         (tst-rxspencer-no-utf8-ARGS): New variable.
33115         (tst-rxspencer-no-utf8-ENV): Likewise.
33116         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33117         instead of $(objpfx)tst-rxspencer-mem.
33118         ($(objpfx)tst-rxspencer-mem): Change target to
33119         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33120         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33121         * posix/tst-rxspencer-no-utf8.c: New file.
33123         * elf/Makefile ($(objpfx)order.out): Remove rule.
33124         [$(run-built-tests) = yes] (tests): Depend on
33125         $(objpfx)order-cmp.out.
33126         ($(objpfx)order-cmp.out): New rule.
33127         [$(run-built-tests) = yes] (tests): Depend on
33128         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33129         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33130         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33131         $(objpfx)tst-array5-static-cmp.out.
33132         ($(objpfx)tst-array1.out): Remove rule.
33133         ($(objpfx)tst-array1-cmp.out): New rule.
33134         ($(objpfx)tst-array1-static.out): Remove rule.
33135         ($(objpfx)tst-array1-static-cmp.out): New rule.
33136         ($(objpfx)tst-array2.out): Remove rule.
33137         ($(objpfx)tst-array2-cmp.out): New rule.
33138         ($(objpfx)tst-array3.out): Remove rule.
33139         ($(objpfx)tst-array3-cmp.out): New rule.
33140         ($(objpfx)tst-array4.out): Remove rule.
33141         ($(objpfx)tst-array4-cmp.out): New rule.
33142         ($(objpfx)tst-array5.out): Remove rule.
33143         ($(objpfx)tst-array5-cmp.out): New rule.
33144         ($(objpfx)tst-array5-static.out): Remove rule.
33145         ($(objpfx)tst-array5-static-cmp.out): New rule.
33146         [$(run-built-tests) = yes] (tests): Depend on
33147         $(objpfx)order2-cmp.out.
33148         ($(objpfx)order2.out): Remove rule.
33149         ($(objpfx)order2-cmp.out): New rule.
33150         ($(objpfx)tst-initorder.out): Remove rule.
33151         [$(run-built-tests) = yes] (tests): Depend on
33152         $(objpfx)tst-initorder-cmp.out.
33153         ($(objpfx)tst-initorder-cmp.out): New rule.
33154         ($(objpfx)tst-initorder2.out): Remove rule.
33155         [$(run-built-tests) = yes] (tests): Depend on
33156         $(objpfx)tst-initorder2-cmp.out.
33157         ($(objpfx)tst-initorder2-cmp.out): New rule.
33158         [$(run-built-tests) = yes] (tests): Depend on
33159         $(objpfx)tst-unused-dep-cmp.out.
33160         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33161         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33162         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33163         on $(objpfx)tst-setvbuf1-cmp.out.
33164         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33165         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33166         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33167         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33168         ($(objpfx)tst-svc.out): Remove rule.
33169         ($(objpfx)tst-svc-cmp.out): New rule.
33171 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33173         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33174         * ctype/ctype.h [__USE_MISC]: Likewise.
33175         * dirent/dirent.h [__USE_MISC]: Likewise.
33176         * grp/grp.h [__USE_MISC]: Likewise.
33177         * io/fcntl.h [__USE_MISC]: Likewise.
33178         * io/sys/stat.h [__USE_MISC]: Likewise.
33179         * libio/stdio.h [__USE_MISC]: Likewise.
33180         * posix/unistd.h [__USE_MISC]: Likewise.
33181         * pwd/pwd.h [__USE_MISC]: Likewise.
33182         * stdlib.h [__USE_MISC]: Likewise.
33183         * string/bits/string2.h [__USE_MISC]: Likewise.
33184         * string/string.h [__USE_MISC]: Likewise.
33185         * time/time.h [__USE_MISC]: Likewise.
33187 2014-02-13  Andreas Schwab  <schwab@suse.de>
33189         [BZ #16574]
33190         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33191         second answer buffer if it was separately allocated.
33193 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33195         * sysdeps/mips/math-tests.h: Include <features.h>.
33196         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33197         (ROUNDING_TESTS_long_double): Do not define.
33198         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33199         (EXCEPTION_TESTS_long_double): Likewise.
33200         * sysdeps/mips/mips64/libm-test-ulps: Update.
33202         * include/features.h (__USE_BSD): Remove macro definitions.
33203         (__USE_SVID): Likewise.
33204         (_BSD_SOURCE): Likewise.
33205         (_SVID_SOURCE): Likewise.
33206         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33207         from definition of _DEFAULT_SOURCE.
33208         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33209         [_DEFAULT_SOURCE].
33210         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33211         * bits/mman.h [__USE_BSD]: Likewise.
33212         * bits/termios.h [__USE_BSD]: Likewise.
33213         * bits/waitstatus.h [__USE_BSD]: Likewise.
33214         * ctype/ctype.h [__USE_SVID]: Likewise.
33215         * dirent/dirent.h [__USE_BSD]: Likewise.
33216         * grp/grp.h [__USE_SVID]: Likewise.
33217         [__USE_BSD]: Likewise.
33218         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33219         * io/fcntl.h [__USE_BSD]: Likewise.
33220         * io/ftw.h [__USE_BSD]: Likewise.
33221         * io/sys/stat.h [__USE_BSD]: Likewise.
33222         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33223         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33224         * libio/stdio.h [__USE_SVID]: Likewise.
33225         [__USE_BSD]: Likewise.
33226         * math/math.h [__USE_SVID]: Likewise.
33227         [__USE_BSD]: Likewise.
33228         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33229         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33230         * misc/search.h [__USE_SVID]: Likewise.
33231         * misc/sys/mman.h [__USE_BSD]: Likewise.
33232         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33233         * misc/sys/uio.h [__USE_BSD]: Likewise.
33234         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33235         * posix/glob.h [__USE_BSD]: Likewise.
33236         * posix/regex.h [__USE_BSD]: Likewise.
33237         * posix/sys/types.h [__USE_BSD]: Likewise.
33238         [__USE_SVID]: Likewise.
33239         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33240         * posix/sys/wait.h [__USE_BSD]: Likewise.
33241         [__USE_SVID]: Likewise.
33242         * posix/unistd.h [__USE_BSD]: Likewise.
33243         [__USE_SVID]: Likewise.
33244         * pwd/pwd.h [__USE_SVID]: Likewise.
33245         * resolv/netdb.h [__USE_BSD]: Likewise.
33246         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33247         * signal/signal.h [__USE_BSD]: Likewise.
33248         [__USE_SVID]: Likewise.
33249         * socket/sys/socket.h [__USE_BSD]: Likewise.
33250         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33251         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33252         [__USE_SVID]: Likewise.
33253         * string/bits/string2.h [__USE_BSD]: Likewise.
33254         [__USE_SVID]: Likewise.
33255         * string/bits/string3.h [__USE_BSD]: Likewise.
33256         * string/endian.h [__USE_BSD]: Likewise.
33257         * string/string.h [__USE_SVID]: Likewise.
33258         [__USE_BSD]: Likewise.
33259         * string/strings.h [__USE_BSD]: Likewise.
33260         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33261         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33262         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33263         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33264         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33265         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33266         Likewise.
33267         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33268         Likewise.
33269         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33270         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33271         Likewise.
33272         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33273         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33274         Likewise.
33275         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33276         Likewise.
33277         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33278         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33279         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33280         Likewise.
33281         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33282         Likewise.
33283         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33284         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33285         * termios/termios.h [__USE_BSD]: Likewise.
33286         * time/sys/time.h [__USE_BSD]: Likewise.
33287         * time/time.h [__USE_BSD]: Likewise.
33288         [__USE_SVID]: Likewise.
33290         * Makefile (subdir_targets): Remove subdir_lint.out.
33292         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33293         (do-tst-printf): Likewise.
33294         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33295         $(objpfx)tst-printf.out.
33297         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33299         * Makerules (check-abi-%): Change target to
33300         $(objpfx)check-abi-%.out.
33301         (check-abi target): Update dependencies.
33302         (check-abi-pattern variable): Redirect output of diff to $@.
33303         (check-abi variable): Likewise.
33304         * elf/Makefile (check-abi): Update dependencies.
33306         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33307         unused.
33308         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33309         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33310         subnormal range.
33311         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33312         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33313         value has largest subnormal exponent.
33314         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33315         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33316         * sysdeps/aarch64/soft-fp/sfp-machine.h
33317         (_FP_TININESS_AFTER_ROUNDING): New macro.
33318         * sysdeps/alpha/soft-fp/sfp-machine.h
33319         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33320         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33321         Likewise.
33322         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33323         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33324         * sysdeps/mips/soft-fp/sfp-machine.h
33325         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33326         * sysdeps/powerpc/soft-fp/sfp-machine.h
33327         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33328         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33329         Likewise.
33330         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33331         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33332         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33333         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33334         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33335         Likewise.
33337 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33339         [BZ #16545]
33340         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33341         model 1.
33343 2014-02-12  Richard Henderson  <rth@redhat.com>
33345         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33346         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33347         * sysdeps/unix/sysv/linux/alpha: Move directory from
33348         ports/sysdeps/unix/sysv/linux/alpha.
33349         * README: Update listing for alpha-*-linux-gnu.
33351 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33353         * include/features.h: Update comment documenting feature test
33354         macros.
33355         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33356         _DEFAULT_SOURCE.
33357         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33358         (_SVID_SOURCE): Likewise.
33359         (_DEFAULT_SOURCE): Update description of default features.
33360         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33361         with _GNU_SOURCE.
33362         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33363         (S_ISVTX): Likewise.
33364         * manual/math.texi (Mathematical Constants): Likewise.
33365         * manual/signal.texi (Interrupted Primitives): Likewise.
33366         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33367         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33368         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33369         Don't refer to _SVID_SOURCE in warning text.
33371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33373         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33374         already defined.
33375         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33376         * sysdeps/mips/dl-lookup.c: Remove.
33377         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33379 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33381         [BZ #16447]
33382         * math/auto-libm-test-in: Add testcase for expl.
33383         * math/auto-libm-test-out: Regenerate.
33384         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33385         calculation of unsafe.
33386         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33388 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33390         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33391         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33392         ports/sysdeps/unix/sysv/linux/aarch64.
33393         * README: Update listing for aarch64*-*-linux-gnu.
33395 2014-02-11  Will Newton  <will.newton@linaro.org>
33397         * manual/probes.texi (Mathematical Function Probes): Use
33398         "triggered" instead of "hit".
33400         * manual/probes.texi (Internal Probes): Add documentation
33401         of setjmp, longjmp and longjmp_target probes.
33403         * include/stap-probe.h: Add comment about probe argument
33404         format.
33406         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33407         definition.  (tr_where, tr_freehook, tr_mallochook,
33408         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33410 2014-02-11  David S. Miller  <davem@davemloft.net>
33412         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33413         processing int_tests.
33415 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33417         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33418         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33419         * sysdeps/unix/sysv/linux/mips: Move directory from
33420         ports/sysdeps/unix/sysv/linux/mips.
33421         * README: Update listing for mips-*-linux-gnu and
33422         mips64-*-linux-gnu.
33424 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33426         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33427         * sysdeps/unix/sysv/linux/m68k: Move directory from
33428         ports/sysdeps/unix/sysv/linux/m68k.
33429         * README: Update listing for m68k-*-linux-gnu.
33431 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33433         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33434         * sysdeps/unix/sysv/linux/generic: Move directory from
33435         ports/sysdeps/unix/sysv/linux/generic.
33436         * sysdeps/unix/sysv/linux/tile: Move directory from
33437         ports/sysdeps/unix/sysv/linux/tile.
33438         * README: Update listing for tile*-*-linux-gnu.
33440 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33442         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33443         __builtin_expect.
33444         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33445         * catgets/open_catalog.c (__open_catalog): Likewise.
33446         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33447         * debug/confstr_chk.c: Likewise.
33448         * debug/fread_chk.c (__fread_chk): Likewise.
33449         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33450         * debug/getgroups_chk.c: Likewise.
33451         * debug/mbsnrtowcs_chk.c: Likewise.
33452         * debug/mbsrtowcs_chk.c: Likewise.
33453         * debug/mbstowcs_chk.c: Likewise.
33454         * debug/memcpy_chk.c: Likewise.
33455         * debug/memmove_chk.c: Likewise.
33456         * debug/mempcpy_chk.c: Likewise.
33457         * debug/memset_chk.c: Likewise.
33458         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33459         * debug/strcat_chk.c (__strcat_chk): Likewise.
33460         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33461         * debug/strncat_chk.c (__strncat_chk): Likewise.
33462         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33463         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33464         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33465         * debug/wcpncpy_chk.c: Likewise.
33466         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33467         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33468         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33469         * debug/wcsncpy_chk.c: Likewise.
33470         * debug/wcsnrtombs_chk.c: Likewise.
33471         * debug/wcsrtombs_chk.c: Likewise.
33472         * debug/wcstombs_chk.c: Likewise.
33473         * debug/wmemcpy_chk.c: Likewise.
33474         * debug/wmemmove_chk.c: Likewise.
33475         * debug/wmempcpy_chk.c: Likewise.
33476         * debug/wmemset_chk.c: Likewise.
33477         * dirent/scandirat.c (SCANDIRAT): Likewise.
33478         * dlfcn/dladdr1.c (dladdr1): Likewise.
33479         * dlfcn/dladdr.c (dladdr): Likewise.
33480         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33481         * dlfcn/dlerror.c (__dlerror): Likewise.
33482         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33483         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33484         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33485         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33486         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33487         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33488         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33489         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33490         Likewise.
33491         * elf/dl-conflict.c: Likewise.
33492         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33493         * elf/dl-dst.h: Likewise.
33494         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33495         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33497         * elf/dl-init.c (call_init, _dl_init): Likewise.
33498         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33499         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33500         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33501         Likewise.
33502         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33503         Likewise.
33504         * elf/dl-minimal.c (__libc_memalign): Likewise.
33505         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33506         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33507         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33508         * elf/dl-sym.c (do_sym): Likewise.
33509         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33510         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33511         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33512         * elf/dl-writev.h (_dl_writev): Likewise.
33513         * elf/ldconfig.c (search_dir): Likewise.
33514         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33515         (dl_main): Likewise.
33516         * elf/setup-vdso.h (setup_vdso): Likewise.
33517         * grp/compat-initgroups.c (compat_call): Likewise.
33518         * grp/fgetgrent.c (fgetgrent): Likewise.
33519         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33520         * grp/putgrent.c (putgrent): Likewise.
33521         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33522         Likewise.
33523         * hurd/hurdinit.c: Likewise.
33524         * iconvdata/8bit-gap.c (struct): Likewise.
33525         * iconvdata/ansi_x3.110.c : Likewise.
33526         * iconvdata/big5.c : Likewise.
33527         * iconvdata/big5hkscs.c : Likewise.
33528         * iconvdata/cp1255.c: Likewise.
33529         * iconvdata/cp1258.c : Likewise.
33530         * iconvdata/cp932.c : Likewise.
33531         * iconvdata/euc-cn.c: Likewise.
33532         * iconvdata/euc-jisx0213.c : Likewise.
33533         * iconvdata/euc-jp.c: Likewise.
33534         * iconvdata/euc-jp-ms.c : Likewise.
33535         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33536         * iconvdata/gb18030.c : Likewise.
33537         * iconvdata/gbbig5.c (const): Likewise.
33538         * iconvdata/gbgbk.c: Likewise.
33539         * iconvdata/gbk.c : Likewise.
33540         * iconvdata/ibm1364.c : Likewise.
33541         * iconvdata/ibm930.c : Likewise.
33542         * iconvdata/ibm932.c: Likewise.
33543         * iconvdata/ibm933.c : Likewise.
33544         * iconvdata/ibm935.c : Likewise.
33545         * iconvdata/ibm937.c : Likewise.
33546         * iconvdata/ibm939.c : Likewise.
33547         * iconvdata/ibm943.c: Likewise.
33548         * iconvdata/iso_11548-1.c: Likewise.
33549         * iconvdata/iso-2022-cn.c : Likewise.
33550         * iconvdata/iso-2022-cn-ext.c : Likewise.
33551         * iconvdata/iso-2022-jp-3.c: Likewise.
33552         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33553         * iconvdata/iso-2022-kr.c : Likewise.
33554         * iconvdata/iso646.c (gconv_end): Likewise.
33555         * iconvdata/iso_6937-2.c : Likewise.
33556         * iconvdata/iso_6937.c : Likewise.
33557         * iconvdata/iso8859-1.c: Likewise.
33558         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33559         * iconvdata/shift_jisx0213.c : Likewise.
33560         * iconvdata/sjis.c : Likewise.
33561         * iconvdata/t.61.c : Likewise.
33562         * iconvdata/tcvn5712-1.c : Likewise.
33563         * iconvdata/tscii.c: Likewise.
33564         * iconvdata/uhc.c : Likewise.
33565         * iconvdata/unicode.c (gconv_end): Likewise.
33566         * iconvdata/utf-16.c (gconv_end): Likewise.
33567         * iconvdata/utf-32.c (gconv_end): Likewise.
33568         * iconvdata/utf-7.c (base64): Likewise.
33569         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33570         * iconv/gconv_close.c (__gconv_close): Likewise.
33571         * iconv/gconv_open.c (__gconv_open): Likewise.
33572         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33573         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33574         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33575         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33576         (ucs4le_internal_loop_single): Likewise.
33577         * iconv/iconv.c (iconv): Likewise.
33578         * iconv/iconv_close.c: Likewise.
33579         * iconv/loop.c (SINGLE): Likewise.
33580         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33581         * include/atomic.h: Likewise.
33582         * inet/inet6_option.c (option_alloc): Likewise.
33583         * intl/bindtextdom.c (set_binding_values): Likewise.
33584         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33585         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33586         * intl/localealias.c (read_alias_file): Likewise.
33587         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33588         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33589         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33590         * libio/fmemopen.c (fmemopen): Likewise.
33591         * libio/iofgets.c (_IO_fgets): Likewise.
33592         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33593         * libio/iofgetws.c (fgetws): Likewise.
33594         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33595         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33596         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33597         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33598         * locale/findlocale.c (_nl_find_locale): Likewise.
33599         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33600         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33601         Likewise.
33602         * locale/setlocale.c (setlocale): Likewise.
33603         * login/programs/pt_chown.c (main): Likewise.
33604         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33605         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33606         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33607         (mmap, mmap64, mremap, munmap): Likewise.
33608         * math/e_exp2l.c: Likewise.
33609         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33610         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33611         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33612         * math/s_catan.c (__catan): Likewise.
33613         * math/s_catanf.c (__catanf): Likewise.
33614         * math/s_catanh.c (__catanh): Likewise.
33615         * math/s_catanhf.c (__catanhf): Likewise.
33616         * math/s_catanhl.c (__catanhl): Likewise.
33617         * math/s_catanl.c (__catanl): Likewise.
33618         * math/s_ccosh.c (__ccosh): Likewise.
33619         * math/s_ccoshf.c (__ccoshf): Likewise.
33620         * math/s_ccoshl.c (__ccoshl): Likewise.
33621         * math/s_cexp.c (__cexp): Likewise.
33622         * math/s_cexpf.c (__cexpf): Likewise.
33623         * math/s_cexpl.c (__cexpl): Likewise.
33624         * math/s_clog10.c (__clog10): Likewise.
33625         * math/s_clog10f.c (__clog10f): Likewise.
33626         * math/s_clog10l.c (__clog10l): Likewise.
33627         * math/s_clog.c (__clog): Likewise.
33628         * math/s_clogf.c (__clogf): Likewise.
33629         * math/s_clogl.c (__clogl): Likewise.
33630         * math/s_csin.c (__csin): Likewise.
33631         * math/s_csinf.c (__csinf): Likewise.
33632         * math/s_csinh.c (__csinh): Likewise.
33633         * math/s_csinhf.c (__csinhf): Likewise.
33634         * math/s_csinhl.c (__csinhl): Likewise.
33635         * math/s_csinl.c (__csinl): Likewise.
33636         * math/s_csqrt.c (__csqrt): Likewise.
33637         * math/s_csqrtf.c (__csqrtf): Likewise.
33638         * math/s_csqrtl.c (__csqrtl): Likewise.
33639         * math/s_ctan.c (__ctan): Likewise.
33640         * math/s_ctanf.c (__ctanf): Likewise.
33641         * math/s_ctanh.c (__ctanh): Likewise.
33642         * math/s_ctanhf.c (__ctanhf): Likewise.
33643         * math/s_ctanhl.c (__ctanhl): Likewise.
33644         * math/s_ctanl.c (__ctanl): Likewise.
33645         * math/w_pow.c: Likewise.
33646         * math/w_powf.c: Likewise.
33647         * math/w_powl.c: Likewise.
33648         * math/w_scalb.c (sysv_scalb): Likewise.
33649         * math/w_scalbf.c (sysv_scalbf): Likewise.
33650         * math/w_scalbl.c (sysv_scalbl): Likewise.
33651         * misc/error.c (error_tail): Likewise.
33652         * misc/pselect.c (__pselect): Likewise.
33653         * nis/nis_callback.c (__nis_create_callback): Likewise.
33654         * nis/nis_call.c (__nisfind_server): Likewise.
33655         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33656         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33657         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33658         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33659         * nis/nis_lookup.c (nis_lookup): Likewise.
33660         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33661         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33662         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33663         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33664         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33665         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33666         * nis/nss_compat/compat-initgroups.c (add_group)
33667         (internal_getgrent_r): Likewise.
33668         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33669         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33670         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33671         (internal_getspnam_r): Likewise.
33672         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33673         (_nss_nis_getaliasbyname_r): Likewise.
33674         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33675         (_nss_nis_getntohost_r): Likewise.
33676         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33677         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33678         (_nss_nis_getgrgid_r): Likewise.
33679         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33680         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33681         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33682         (_nss_nis_gethostbyname4_r): Likewise.
33683         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33684         (initgroups_netid): Likewise.
33685         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33686         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33687         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33688         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33689         (_nss_nis_getprotobynumber_r): Likewise.
33690         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33691         (_nss_nis_getsecretkey): Likewise.
33692         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33693         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33694         (_nss_nis_getpwuid_r): Likewise.
33695         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33696         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33697         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33698         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33699         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33700         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33701         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33702         Likewise.
33703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33704         (_nss_nisplus_getntohost_r): Likewise.
33705         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33706         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33707         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33708         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33709         Likewise.
33710         * nis/nss_nisplus/nisplus-initgroups.c
33711         (_nss_nisplus_initgroups_dyn): Likewise.
33712         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33713         (_nss_nisplus_getnetbyaddr_r): Likewise.
33714         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33715         (_nss_nisplus_getprotobynumber_r): Likewise.
33716         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33717         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33718         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33719         Likewise.
33720         * nis/nss_nisplus/nisplus-service.c
33721         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33722         (_nss_nisplus_getservbyport_r): Likewise.
33723         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33724         (_nss_nisplus_getspnam_r): Likewise.
33725         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33726         Likewise.
33727         * nscd/aicache.c (addhstaiX): Likewise.
33728         * nscd/cache.c (cache_search, prune_cache): Likewise.
33729         * nscd/connections.c (register_traced_file, send_ro_fd)
33730         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33731         (main_loop_epoll): Likewise.
33732         * nscd/grpcache.c (addgrbyX): Likewise.
33733         * nscd/hstcache.c (addhstbyX): Likewise.
33734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33735         * nscd/mem.c (gc, mempool_alloc): Likewise.
33736         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33737         (addinnetgrX): Likewise.
33738         * nscd/nscd-client.h (__nscd_acquire_maplock)
33739         (__nscd_drop_map_ref): Likewise.
33740         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33741         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33743         Likewise.
33744         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33745         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33746         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33747         (__nscd_get_map_ref): Likewise.
33748         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33749         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33750         Likewise.
33751         * nscd/pwdcache.c (addpwbyX): Likewise.
33752         * nscd/selinux.c (preserve_capabilities): Likewise.
33753         * nscd/servicescache.c (addservbyX): Likewise.
33754         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33755         * posix/fnmatch.c (fnmatch): Likewise.
33756         * posix/getopt.c (_getopt_internal_r): Likewise.
33757         * posix/glob.c (glob, glob_in_dir): Likewise.
33758         * posix/wordexp.c (exec_comm_child): Likewise.
33759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33760         (getanswer_r, gaih_getanswer_slice): Likewise.
33761         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33762         * resolv/res_init.c: Likewise.
33763         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33764         * resolv/res_query.c (__libc_res_nquery): Likewise.
33765         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33766         Likewise.
33767         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33768         * stdio-common/perror.c (perror): Likewise.
33769         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33770         * stdio-common/tmpnam.c (tmpnam): Likewise.
33771         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33772         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33773         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33774         Likewise.
33775         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33776         * stdlib/putenv.c (putenv): Likewise.
33777         * stdlib/setenv.c (__add_to_environ): Likewise.
33778         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33779         * stdlib/strtol_l.c (INTERNAL): Likewise.
33780         * string/memmem.c (memmem): Likewise.
33781         * string/strerror.c (strerror): Likewise.
33782         * string/strnlen.c (__strnlen): Likewise.
33783         * string/test-memmem.c (simple_memmem): Likewise.
33784         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33785         * sunrpc/pm_getport.c (__get_socket): Likewise.
33786         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33787         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33788         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33789         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33790         Likewise.
33791         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33793         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33794         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33795         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33796         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33797         Likewise.
33798         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33799         Likewise.
33800         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33801         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33803         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33804         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33806         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33807         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33808         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33809         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33810         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33811         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33812         Likewise.
33813         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33814         Likewise.
33815         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33816         Likewise.
33817         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33818         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33820         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33821         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33822         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33823         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33827         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33828         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33829         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33830         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33831         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33833         Likewise.
33834         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33835         Likewise.
33836         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33837         Likewise.
33838         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33839         Likewise.
33840         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33842         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33843         Likewise.
33844         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33845         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33846         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33847         * sysdeps/posix/sleep.c: Likewise.
33848         * sysdeps/posix/tempname.c: Likewise.
33849         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33850         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33851         Likewise.
33852         * sysdeps/powerpc/powerpc32/dl-machine.h
33853         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33854         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33856         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33857         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33858         Likewise.
33859         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33860         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33861         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33862         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33863         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33864         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33865         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33866         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33868         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33870         (elf_machine_lazy_rel): Likewise.
33871         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33873         (elf_machine_lazy_rel): Likewise.
33874         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33875         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33876         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33877         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33878         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33879         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33880         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33882         Likewise.
33883         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33884         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33885         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33886         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33887         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33888         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33889         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33890         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33891         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33892         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33893         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33894         Likewise.
33895         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33896         (__posix_fallocate64_l64): Likewise.
33897         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33898         (posix_fallocate): Likewise.
33899         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33900         Likewise.
33901         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33902         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33903         (getifaddrs_internal): Likewise.
33904         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33905         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33906         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33907         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33908         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33909         (__posix_fallocate64_l64): Likewise.
33910         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33911         Likewise.
33912         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33913         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33914         (__get_clockfreq): Likewise.
33915         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33916         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33917         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33920         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33921         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33922         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33923         Likewise.
33924         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33925         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33926         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33927         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33928         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33929         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33930         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33931         Likewise.
33932         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33933         (posix_fallocate): Likewise.
33934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33935         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33936         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33937         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33938         (elf_machine_rela, elf_machine_rela_relative)
33939         (elf_machine_lazy_rel): Likewise.
33940         * time/asctime.c (asctime_internal): Likewise.
33941         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33942         * time/tzset.c (__tzset_parse_tz): Likewise.
33943         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33944         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33945         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33946         * wcsmbs/wcsmbsload.h: Likewise.
33948         [BZ #15894]
33949         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33951         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33952         (arena_get2): Remove THREAD_STATS conditionals.
33953         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33954         (__malloc_stats, int): Likewise.
33956 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33958         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33959         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33961         * manual/setjmp.texi: Fix typos/grammar errors.
33963         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33964         Only return early when n is <= 0.  Delete unused return statement.
33966         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33967         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33968         * debug/tst-longjmp_chk3.c: New file.
33970         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33971         (test_main): Replace code with set_fortify_handler call.
33972         * debug/test-strcpy_chk.c: Likewise.
33973         * debug/tst-chk1.c: Likewise.
33974         * debug/tst-longjmp_chk.c: Likewise.
33975         * test-skeleton.c: Include fcntl.h & paths.h
33976         (set_fortify_handler): Define.
33978         * debug/tst-longjmp_chk.c: Add header comment and include
33979         ../test-skeleton.c.
33980         (do_test): Mark static.
33981         (TEST_FUNCTION): Define.
33983         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33984         (IP_PMTUDISC_INTERFACE): Likewise.
33985         (IP_MULTICAST_IF): Likewise.
33986         (IP_MULTICAST_TTL): Likewise.
33987         (IP_MULTICAST_LOOP): Likewise.
33988         (IP_ADD_MEMBERSHIP): Likewise.
33989         (IP_DROP_MEMBERSHIP): Likewise.
33990         (IP_UNBLOCK_SOURCE): Likewise.
33991         (IP_BLOCK_SOURCE): Likewise.
33992         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33993         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33994         (IP_MSFILTER): Likewise.
33995         (MCAST_JOIN_GROUP): Likewise.
33996         (MCAST_BLOCK_SOURCE): Likewise.
33997         (MCAST_UNBLOCK_SOURCE): Likewise.
33998         (MCAST_LEAVE_GROUP): Likewise.
33999         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34000         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34001         (MCAST_MSFILTER): Likewise.
34002         (IP_MULTICAST_ALL): Likewise.
34003         (IP_UNICAST_IF): Likewise.
34005         * timezone/Makefile: Delete $(have-ksh) check.
34006         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34007         * timezone/tzselect.ksh: Add +x mode bits.
34009         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34010         (ANON_INODE_FS_MAGIC): Likewise.
34011         (BDEVFS_MAGIC): Likewise.
34012         (BINFMTFS_MAGIC): Likewise.
34013         (BTRFS_TEST_MAGIC): Likewise.
34014         (CRAMFS_MAGIC_WEND): Likewise.
34015         (DEBUGFS_MAGIC): Likewise.
34016         (ECRYPTFS_SUPER_MAGIC): Likewise.
34017         (EXT3_SUPER_MAGIC): Likewise.
34018         (EXT4_SUPER_MAGIC): Likewise.
34019         (FUTEXFS_SUPER_MAGIC): Likewise.
34020         (HOSTFS_SUPER_MAGIC): Likewise.
34021         (HUGETLBFS_MAGIC): Likewise.
34022         (MINIX3_SUPER_MAGIC): Likewise.
34023         (MTD_INODE_FS_MAGIC): Likewise.
34024         (NILFS_SUPER_MAGIC): Likewise.
34025         (OPENPROM_SUPER_MAGIC): Likewise.
34026         (PIPEFS_MAGIC): Likewise.
34027         (PSTOREFS_MAGIC): Likewise.
34028         (QNX6_SUPER_MAGIC): Likewise.
34029         (RAMFS_MAGIC): Likewise.
34030         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34031         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34032         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34033         (SECURITYFS_MAGIC): Likewise.
34034         (SELINUX_MAGIC): Likewise.
34035         (SMACK_MAGIC): Likewise.
34036         (SOCKFS_MAGIC): Likewise.
34037         (SQUASHFS_MAGIC): Likewise.
34038         (STACK_END_MAGIC): Likewise.
34039         (TMPFS_MAGIC): Likewise.
34040         (USBDEVICE_SUPER_MAGIC): Likewise.
34041         (V9FS_MAGIC): Likewise.
34042         (XENFS_SUPER_MAGIC): Likewise.
34043         (CRAMFS_MAGIC): Fix typo in comment.
34044         (EXT2_SUPER_MAGIC): Update comment.
34045         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34047 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34049         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34050         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34051         * sysdeps/unix/sysv/linux/arm: Move directory from
34052         ports/sysdeps/unix/sysv/linux/arm.
34053         * README: Update listing for arm-*-linux-gnueabi.
34055         * README: Remove mention of am33.
34057 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34059         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34060         than the comma operator, to avoid "rhs of comma has no effect"
34061         compiler warnings.
34062         (__sigfillset, __sigandset, __sigorset): Likewise.
34063         * include/signal.h (__sigemptyset): Likewise.
34064         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34066 2014-02-07  Allan McRae  <allan@archlinux.org>
34068         * version.h (RELEASE): Set to "development".
34069         (VERSION): Set to "2.19.90"
34070         * NEWS: Add 2.20 section.
34072 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34074         [BZ #16529]
34075         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34077 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34079         * manual/contrib.texi: Update entry for Carlos O'Donell,
34080         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34082 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34084         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34086         * sysdeps/unix/sysv/linux/kernel-features.h
34087         [__LINUX_KERNEL_VERSION >= 0x020621]
34088         (__ASSUME_PROC_PID_TASK_COMM): Define.
34090 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34092         [BZ #16398]
34093         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34094         conversion when destination buffer does not have enough space.
34095         * libio/tst-ftell-partial-wide.c: New test case.
34096         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34098         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34099         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34100         Leonard and Allan McRae.
34102 2014-02-04  David S. Miller  <davem@davemloft.net>
34104         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34105         32-bit.
34107 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34110         New file
34111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34112         New file
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34114         New file.
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34116         New file.
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34118         New file.
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34120         New file.
34121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34122         New file.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34124         New file.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34126         New file.
34127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34128         New file.
34129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34130         New file.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34132         New file.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34134         New file.
34136 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34138         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34139         * shlib-versions: Likewise.
34141 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34142             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34144         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34145         (abilist-pattern): New variable, set to %-le.abilist.
34147         * Makerules (abilist-pattern): New variable.
34148         (vpath): Use $(abilist-pattern) in place of %.abilist.
34149         (check-abi-% pattern rule): Likewise.
34150         (check-abi, update-abi): Likewise.
34152 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34156 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34158         * manual/startup.texi: Add next, previous, and top entries for
34159         the `Program Arguments' and `Environment Variables' nodes.
34161 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34163         * manual/macros.texi: Add comments before MTASC-safety macros.
34165         * manual/users.texi: Document MTASC-safety properties.
34167         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34168         (pthread_getspecific, pthread_setspecific): Format with
34169         @deftypefun, and add @safety note.
34170         * manual/signal.texi: Move comments that analyze the above
34171         functions to their home place.
34173 2014-02-03  Allan McRae  <allan@archlinux.org>
34175         * po/sl.po: Update Slovenian translation from translation project.
34177 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34179         * manual/time.texi (timegm): Add missing blank after @c.
34180         Reported by Joseph Myers <joseph@codesourcery.com>.
34182 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34184         * manual/check-safety.sh: New.
34185         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34187         * manual/terminal.texi: Document MTASC-safety properties.
34189         * manual/filesys.texi: Document MTASC-safety properties.
34191         * manual/errno.texi: Document MTASC-safety properties.
34193         * manual/intro.texi: Document safety identifiers and
34194         conditionals.
34196         * manual/string.texi (wcstok): Fix prototype.
34197         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34199         * manual/time.texi: Document MTASC-safety properties.
34201         * manual/string.texi: Document MTASC-safety properties.
34203         * manual/threads.texi: Document MTASC-safety properties.
34205         * manual/stdio.texi: Document MTASC-safety properties.
34207         * manual/syslog.texi: Document MTASC-safety properties.
34209         * manual/sysinfo.texi: Document MTASC-safety properties.
34211         * manual/startup.texi: Document MTASC-safety properties.
34213         * manual/socket.texi: Document MTASC-safety properties.
34215         * manual/signal.texi: Document MTASC-safety properties.
34217 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34219         * manual/setjmp.texi: Document MTASC-safety properties.
34221         * manual/search.texi: Document MTASC-safety properties.
34223         * manual/resource.texi: Document MTASC-safety properties.
34225         * manual/process.texi: Document MTASC-safety properties.
34227         * manual/platform.texi: Document MTASC-safety properties.
34229         * manual/pipe.texi: Document MTASC-safety properties.
34231         * manual/pattern.texi: Document MTASC-safety properties.
34233         * manual/message.texi: Document MTASC-safety properties.
34235         [BZ #12751]
34236         * manual/memory.texi: Document MTASC-safety properties.
34238         * manual/math.texi: Document MTASC-safety properties.
34240         * manual/locale.texi: Document MTASC-safety properties.
34242         * manual/llio.texi: Document MTASC-safety properties.
34244         * manual/libdl.texi: New.
34246         * manual/lang.texi: Document MTASC-safety properties.
34248         * manual/job.texi: Document MTASC-safety properties.
34250         * manual/getopt.texi: Document MTASC-safety properties.
34252         * manual/ctype.texi: Document MTASC-safety properties.
34254 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34256         [BZ #16046]
34257         * csu/libc-tls.c (static_map): Remove variable.
34258         (__libc_setup_tls): Use main executable's link map for TLS data.
34259         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34260         casing for LM_ID_BASE and GL(dl_nns).
34261         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34262         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34263         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34264         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34265         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34266         member.
34267         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34268         l_phnum members.
34270 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34272         * manual/debug.texi: Document MTASC-safety properties.
34274 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34276         [BZ #16510]
34277         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34278         of __x86_64__ when disabling x87 inline functions.
34280 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34282         * manual/charset.texi: Document MTASC-safety properties.
34284         * manual/crypt.texi: Document MTASC-safety properties.
34286         * manual/conf.texi: Document MTASC-safety properties.
34288         * manual/arith.texi: Document MTASC-safety properties.
34290         * manual/argp.texi: Document MTASC-safety properties.
34292         * manual/macros.texi: Introduce macros to document multi
34293         thread, asynchronous signal and asynchronous cancellation
34294         safety properties.
34295         * manual/intro.texi: Introduce the properties themselves.
34297 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34299         * sysdeps/sh/sh4/Makefile: New file.
34301 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34303         * math/gen-libm-test.pl ($srcdir): New variable.
34304         ($auto_input): Use it.
34306 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34308         [BZ #16506]
34309         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34310         access beyond array bounds when parsing netgroups file.
34312         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34313         the old buffer before realloc.
34315 2014-01-27  Allan McRae  <allan@archlinux.org>
34317         * po/fr.po: Update French translation from translation project.
34319 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34321         * sysdeps/sh/libm-test-ulps: Regenerate.
34323 2014-01-24  David S. Miller  <davem@davemloft.net>
34325         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34327 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34329         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34330         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34332 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34334         [BZ #16474]
34335         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34336         string pointers after reallocation.
34338 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34340         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34341         __SH4A__ instead of __SH_FPU_ANY__.
34343 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34345         * sysdeps/sh/fpu_control.h: New file.
34346         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34347         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34348         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34349         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34350         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34351         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34352         * sysdeps/sh/sys/ucontext.h: Remove.
34353         * sysdeps/sh/sys: Remove directory.
34355 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34357         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34358         s390/sys/ucontext.h.
34359         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34360         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34362 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34364         [BZ #15605]
34365         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34367 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34369         [BZ#16431]
34370         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34371         Adjust the vDSO correctly for internal calls.
34372         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34374 2014-01-20  Allan McRae  <allan@archlinux.org>
34376         * po/ca.po: Update Catalan translation from translation project.
34378 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34380         * sysdeps/s390/sotruss-lib.c: New file.
34382 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34384         [BZ#16430]
34385         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34386         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34387         local calls issues by not having a PLT stub required for IFUNC calls.
34388         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34390 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34392         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34393         * math/test-fpucw-static.c: Likewise.
34395 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34397         [BZ #16453]
34398         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34400 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34402         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34403         implementation for powerpc.
34405 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34407         [BZ #14782]
34408         * sysdeps/posix/system.c (__libc_system): Do not enable
34409         asynchronous cancellation.
34411 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34413         [BZ #16427]
34414         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34415         handling only for numbers special also in the IEEE case.
34417 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34419         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34421 2014-01-11  Allan McRae  <allan@archlinux.org>
34423         * po/bg.po: Update Bulgarian translation from translation project.
34425         * po/de.po: Update German translation from translation project.
34427 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34429         * sysdeps/generic/gcc-compat.h: New file.
34431 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34433         * benchtests/asin-inputs: Correct slow inputs.
34434         * benchtests/acos-inputs: Likewise.
34436 2014-01-10  Allan McRae  <allan@archlinux.org>
34438         * po:sv.po: Update Swedish translation from translation project.
34440         * po/vi.po: Update Vietnamese translation from translation project.
34442         * po/eo.po: Update Esperanto translation from translation project.
34444         * po/cs.po: Update Czech translation from translation project.
34446         * po/nl.po: Update Dutch translation from translation project.
34448         * po/pl.po: Update Polish translation from translation project.
34450         * po/ru.po: Update Russian translation from translation project.
34452         * po/uk.po: Update Ukrainian translation from translation project.
34454 2014-01-08  Brooks Moses  <bmoses@google.com>
34456         * elf/dl-load.c: Fix comment typo.
34458 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34460         * po/header.pot: Rename to...
34461         * po/pot.header: ... this.
34462         * po/Makefile: Use pot.header.
34464 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34465             Maxim Kuvyrkov  <maxim@kugelworks.com>
34467         [BZ #16394]
34468         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34469         SRC and DEST against LEN.
34471 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34473         [BZ #16414]
34474         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34475         implementation.
34476         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34478 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34482 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34484         [BZ #16408]
34485         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34486         for large positive arguments.
34488 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34490         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34492         * math/auto-libm-test-in: Mark various tests with
34493         xfail-rounding:ldbl-128ibm.
34494         * math/auto-libm-test-out: Regenerated.
34496         [BZ #16407]
34497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34498         Increase overflow threshold.
34500 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34502         [BZ #14286]
34503         * stdio-common/vfprintf.c: Check for integer overflow.
34505 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34507         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34508         the first argument and return value of __tls_get_addr_internal.
34510 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34512         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34513         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34515 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34517         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34518         * sysdeps/s390/rtld-global-offsets.sym: New file.
34519         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34520         GLIBC_2.19 symbol.
34521         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34522         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34523         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34524         ... this.
34525         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34526         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34527         ... this.
34528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34529         Regenerate.
34530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34531         Regenerate.
34532         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34533         halfs of GPRs for high_gprs contexts.
34534         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34535         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34536         field.
34537         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34538         uc_flags field.
34539         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34540         64 bit versions:
34541         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34542         for high GPRs (uc_high_gprs) and for future extensions
34543         (__reserved).
34544         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34545         for future extensions (__reserved).
34546         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34547         64 bit versions:
34548         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34549         SC_HIGHGPRS offset definition.
34550         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34551         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34553         * Versions.def: Add GLIBC_2.19 for libpthread.
34554         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34555         siglongjmp for libpthread with GLIBC_2.19 symver.
34556         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34557         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34558         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34559         * sysdeps/s390/__longjmp.c: New file.
34560         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34561         * sysdeps/s390/longjmp.c: New file.
34562         * sysdeps/s390/setjmp.S: New file.
34563         * sysdeps/s390/sigjmp.S: New file.
34564         * sysdeps/s390/v1-longjmp.c: New file.
34565         * sysdeps/s390/v1-setjmp.h: New file.
34566         * sysdeps/s390/v1-sigjmp.c: New file.
34567         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34568         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34569         GLIBC_2.19 version.
34570         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34571         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34572         versioned symbols for ____longjmp_chk.
34573         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34574         Likewise.
34575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34576         Regenerate.
34577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34578         Regenerate.
34579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34580         Regenerate.
34581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34582         Regenerate.
34583         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34584         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34585         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34586         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34587         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34588         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34589         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34590         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34591         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34592         * sysdeps/s390/rtld-__longjmp.c: New file.
34593         * sysdeps/s390/rtld-setjmp.S: New file.
34595 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34597         [BZ #16400]
34598         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34599         Return -__logl (x) for small positive arguments without evaluating
34600         a polynomial.
34602 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34604         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34605         Rename to ...
34606         (__ptrace_peeksiginfo_args): ... this.
34607         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34608         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34609         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34611 2014-01-06  Allan McRae  <allan@archlinux.org>
34613         * inet/netinet/in.h: Fix typo in comment.
34615 2014-01-05  Andreas Jaeger  <aj@suse.de>
34617         * sysdeps/i386/fpu/libm-test-ulps: Update.
34619 2014-01-05  Allan McRae  <allan@archlinux.org>
34621         * po/libc.pot: Regenerated.
34623         * malloc/memusagestat.c: Fix gettext call formatting.
34625 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34627         * nscd/nscd.c: Improve usage() output.
34629 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34631         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34632         * sysdeps/unix/sysv/linux/configure: Regenerated.
34633         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34634         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34636 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34638         [BZ #16390]
34639         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34640         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34642 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34644         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34645         extra tokens at end of #undef directive.
34646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34647         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34648         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34650 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34652         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34654         * math/auto-libm-test-in: Mark various tests with
34655         xfail-rounding:ldbl-128ibm.
34656         * math/auto-libm-test-out: Regenerated.
34658 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34660         [BZ #16386]
34661         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34662         numbers with subnormal high part when calculating exponent.
34664         [BZ #16385]
34665         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34666         fabs.
34668         [BZ #16384]
34669         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34670         M_LN2l.
34671         (__ieee754_acoshl): Use __log1pl not __log1p.
34673 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34675         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34676         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34677         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34678         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34679         (reused_arena, arena_get2): Convert to GNU style.
34680         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34681         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34682         (memalign_check, __malloc_set_state): Likewise.
34683         * malloc/mallocbug.c (main): Likewise.
34684         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34685         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34686         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34687         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34688         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34689         (__posix_memalign, malloc_info): Likewise.
34690         * malloc/malloc.h: Likewise.
34691         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34692         (mallochook, memalignhook, reallochook, mabort): Likewise.
34693         * malloc/mcheck.h: Likewise.
34694         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34695         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34696         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34697         * malloc/morecore.c (__default_morecore): Likewise.
34698         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34699         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34700         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34701         (print_and_abort): Likewise.
34702         * malloc/obstack.h: Likewise.
34703         * malloc/set-freeres.c (__libc_freeres): Likewise.
34704         * malloc/tst-mallocstate.c (main): Likewise.
34705         * malloc/tst-mtrace.c (main): Likewise.
34706         * malloc/tst-realloc.c (do_test): Likewise.
34708 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34710         [BZ #16366]
34711         * nscd/netgroupcache.c (do_notfound): New function.
34712         (addgetnetgrentX): Use it.
34714         [BZ # 16365]
34715         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34716         NSS_STATUS_NOTFOUND.
34718 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34720         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34723 2014-01-01  Allan McRae  <allan@archlinux.org>
34725         * scripts/update-copyrights: Update configure input file suffix.
34727         * NEWS: Update copyright year.
34728         * catgets/gencat.c: Likewise.
34729         * csu/version.c: Likewise.
34730         * debug/catchsegv.sh: Likewise.
34731         * debug/pcprofiledump.c: Likewise.
34732         * debug/xtrace.sh: Likewise.
34733         * elf/ldconfig.c: Likewise.
34734         * elf/ldd.bash.in: Likewise.
34735         * elf/pldd.c: Likewise.
34736         * elf/sotruss.ksh: Likewise.
34737         * elf/sprof.c: Likewise.
34738         * iconv/iconv_prog.c: Likewise.
34739         * iconv/iconvconfig.c: Likewise.
34740         * locale/programs/locale.c: Likewise.
34741         * locale/programs/localedef.c: Likewise.
34742         * login/programs/pt_chown.c: Likewise.
34743         * malloc/memusage.sh: Likewise.
34744         * malloc/memusagestat.c: Likewise.
34745         * malloc/mtrace.pl: Likewise.
34746         * manual/libc.texinfo: Likewise.
34747         * nscd/nscd.c: Likewise.
34748         * nss/getent.c: Likewise.
34749         * nss/makedb.c: Likewise.
34750         * posix/getconf.c: Likewise.
34751         * scripts/test-installation.pl: Likewise.
34753         * All files with FSF copyright notices: Update copyright dates
34754         using scripts/update-copyrights.
34755         * intl/plural.c: Regenerated.
34756         * locale/programs/charmap-kw.h: Likewise.
34757         * locale/programs/locfile-kw.h: Likewise.
34759 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34761         * sysdeps/unix/sysv/linux/configure: Regenerated.
34762         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34763         the linux/fanotify.h header.
34764         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34765         HAVE_LINUX_FANOTIFY_H is defined.
34767 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34769         * benchtests/cos-inputs: New inputs.
34770         * benchtests/sin-inputs: Likewise.
34772         * benchtests/atan-inputs: New inputs. Fix name of multiple
34773         precision fallback inputs.
34775         * benchtests/atanh-inputs: New inputs.
34776         * benchtests/tanh-inputs: Likewise.
34778         * benchtests/acosh-inputs: New inputs.
34779         * benchtests/asinh-inputs: Likewise.
34781         * benchtests/cosh-inputs: New inputs.
34782         * benchtests/sinh-inputs: Likewise.
34784         * benchtests/acos-inputs: Add more inputs.
34785         * benchtests/asin-inputs: Likewise.
34787 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34789         [BZ #16375]
34790         * manual/arith.texi: Fix spelling.
34791         * manual/charset.texi: Likewise.
34792         * manual/errno.texi: Likewise.
34793         * manual/filesys.texi: Likewise.
34794         * manual/lang.texi: Likewise.
34795         * manual/llio.texi: Likewise.
34796         * manual/locale.texi: Likewise.
34797         * manual/message.texi: Likewise.
34798         * manual/resource.texi: Likewise.
34799         * manual/search.texi: Likewise.
34800         * manual/setjmp.texi: Likewise.
34801         * manual/stdio.texi: Likewise.
34802         * manual/string.texi: Likewise.
34803         * manual/sysinfo.texi: Likewise.
34804         * manual/time.texi: Likewise.
34806 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34808         * po/sl.po: New file.
34810 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34812         * .gitignore: Add core/.gdbinit/.gdb_history.
34814 2013-12-27  Allan McRae  <allan@archlinux.org>
34816         [BZ #16369]
34817         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34818         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34820 2013-12-24  Brooks Moses  <bmoses@google.com>
34822         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34823         all compilers that claim C++98 compliance, not just GCC.
34824         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34825         Likewise.
34827 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34829         * NEWS: Restore accidentally deleted bug-fix entries.
34831 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34832             Ondřej Bílka  <neleai@seznam.cz>
34834         [BZ #15073]
34835         * malloc/malloc.c (_int_free): Perform sanity check only if we
34836         have_lock.
34838 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34840         [BZ #12986]
34841         * manual/stdio.texi (String Input Conversions): Clarify that character
34842         classes are not supported.
34844 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34848 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34850         [BZ #16337]
34851         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34852         Calculate results for small negative arguments directly rather
34853         than using reflection formula with special underflow handling.
34855         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34856         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34857         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34858         (fchflags): Likewise.
34859         (revoke): Likewise.
34860         (setlogin): Likewise.
34861         (sigaltstack): Likewise.
34862         (wait4): Likewise.
34863         (sigblock): Remove.
34864         (sigsetmask): Likewise.
34865         (wait3): Likewise.
34866         (waitpid): Likewise.
34867         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34868         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34869         file.
34870         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34871         * sysdeps/unix/bsd/Makefile: ... here.
34872         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34873         * sysdeps/unix/bsd/Versions: ... here.
34874         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34875         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34876         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34877         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34878         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34879         * sysdeps/unix/bsd/sigblock.c: ... here.
34880         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34881         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34882         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34883         * sysdeps/unix/bsd/sigvec.c: ... here.
34884         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34885         * sysdeps/unix/bsd/tcdrain.c: ... here.
34886         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34887         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34888         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34889         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34890         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34891         * sysdeps/unix/bsd/wait.c: ... here.
34892         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34893         * sysdeps/unix/bsd/wait3.c: ... here.
34894         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34895         * sysdeps/unix/bsd/waitpid.c: ... here.
34897 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34899         [BZ #16356]
34900         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34901         round-to-nearest for [!USE_AS_EXPM1L].
34902         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34903         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34904         more tests of exp and exp10.  Expect some exp10 tests to miss
34905         exceptions or fail in directed rounding modes.
34906         * math/auto-libm-test-out: Regenerated.
34907         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34908         (exp10_test_tonearest): New function.
34909         (exp10_towardzero_test_data): New array.
34910         (exp10_test_towardzero): New function.
34911         (exp10_downward_test_data): New array.
34912         (exp10_test_downward): New function.
34913         (exp10_upward_test_data): New array.
34914         (exp10_test_upward): New function.
34915         (main): Call the new functions.
34916         * sysdeps/i386/fpu/libm-test-ulps: Update.
34917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34919 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34921         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34922         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34923         * math/auto-libm-test-out: Regenerated.
34924         * math/libm-test.inc (acosh_test_data): Add more tests.
34925         (atanh_test_data): Likewise.
34926         (ceil_test_data): Likewise.
34927         (copysign_test_data): Likewise.
34928         * sysdeps/i386/fpu/libm-test-ulps: Update.
34929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34931         * timezone/checktab.awk: Update from tzcode 2013i.
34932         * timezone/private.h: Likewise.
34933         * timezone/scheck.c: Likewise.
34934         * timezone/tzfile.h: Likewise.
34935         * timezone/tzselect.ksh: Likewise.
34936         * timezone/zdump.c: Likewise.
34937         * timezone/zic.c: Likewise.
34939         * math/auto-libm-test-in: Add tests of cpow.
34940         * math/auto-libm-test-out: Regenerated.
34941         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34942         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34943         mpc_cc_c.
34944         (func_calc_desc): Add mpc_cc_c union field.
34945         (test_functions): Add cpow.
34946         (special_fill_2pi): New function.
34947         (special_real_inputs): Add 2pi.
34948         (calc_generic_results): Handle mpc_cc_c.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34953         csqrt, ctan and ctanh.
34954         * math/auto-libm-test-out: Regenerated.
34955         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34956         (TEST_COND_x86): Likewise.
34957         (ccos_test_data): Use AUTO_TESTS_c_c.
34958         (ccosh_test_data): Likewise.
34959         (cexp_test_data): Likewise.
34960         (clog_test_data): Likewise.
34961         (csqrt_test_data): Likewise.
34962         (ctan_test_data): Likewise.
34963         (ctan_tonearest_test_data): Likewise.
34964         (ctan_towardzero_test_data): Likewise.
34965         (ctan_downward_test_data): Likewise.
34966         (ctan_upward_test_data): Likewise.
34967         (ctanh_test_data): Likewise.
34968         (ctanh_tonearest_test_data): Likewise.
34969         (ctanh_towardzero_test_data): Likewise.
34970         (ctanh_downward_test_data): Likewise.
34971         (ctanh_upward_test_data): Likewise.
34972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34973         mpc_c_c.
34974         (func_calc_desc): Add mpc_c_c union field.
34975         (FUNC_mpc_c_c): New macro.
34976         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34977         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34978         ctanh.
34979         (special_fill_min_subnorm_p120): New function.
34980         (special_real_inputs): Add min_subnorm_p120.
34981         (calc_generic_results): Handle mpc_c_c.
34982         * sysdeps/i386/fpu/libm-test-ulps: Update.
34983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34985 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34987         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34988         (do_sin_slow): New functions.
34989         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34990         (cslow2, csloww1, csloww2): Use the new functions.
34992         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34993         Use M to change sign of result instead of X.  Assume X is
34994         positive.
34995         (csloww1): Likewise.
34996         (__sin): Adjust.
34997         (__cos): Adjust.
34999         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35000         arguments A and DA.
35001         (__sin): Adjust.
35002         (__cos): Likewise.
35004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35005         (__cos): Likewise.
35006         (sloww1): Don't adjust sign of DX.
35007         (csloww1): Likewise.
35008         (sloww2): Use X directly and don't adjust sign of DX.
35009         (csloww2): Likewise.
35011 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35013         * math/auto-libm-test-in: Add tests of cabs and carg.
35014         * math/auto-libm-test-out: Regenerated.
35015         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35016         (carg_test_data): Likewise.
35017         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35018         mpc_c_f.
35019         (func_calc_desc): Add mpc_c_f union field.
35020         (test_functions): Add cabs and carg.
35021         (calc_generic_results): Handle mpc_c_f.
35023         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35024         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35025         as a macro and a compat symbol.
35026         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35027         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35028         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35029         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35030         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35031         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35032         not use .hidden.
35033         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35034         Likewise.
35035         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35036         Likewise.
35037         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35038         Likewise.
35039         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35040         Likewise.
35041         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35042         Likewise.
35043         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35044         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35045         from GLIBC_2.3.2.
35047 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35051 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35053         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35054         trailing whitespace removed.
35055         * scripts/config.guess: Update to version 2013-11-29.
35056         * scripts/config.sub: Update to version 2013-10-01.
35058         * math/auto-libm-test-in: Add tests of sincos.
35059         * math/auto-libm-test-out: Regenerated.
35060         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35061         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35062         mpfr_f_11.
35063         (func_calc_desc): Add mpfr_f_11 union field.
35064         (test_functions): Add sincos.
35065         (calc_generic_results): Handle mpfr_f_11.
35066         * sysdeps/i386/fpu/libm-test-ulps: Update.
35067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35069 2013-12-19  Andreas Schwab  <schwab@suse.de>
35071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35072         CALL_MCOUNT.
35073         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35074         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35075         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35077 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35079         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35080         * sysdeps/i386/fpu/libm-test-ulps: Update.
35081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35083         [BZ #16293]
35084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35085         round-to-nearest mode when using frndint.
35086         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35087         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35088         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35089         Likewise.
35090         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35091         sinh test to fail.
35092         * math/auto-libm-test-out: Regenerated.
35093         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35094         (TEST_COND_x86): Likewise.
35095         (expm1_tonearest_test_data): New array.
35096         (expm1_test_tonearest): New function.
35097         (expm1_towardzero_test_data): New array.
35098         (expm1_test_towardzero): New function.
35099         (expm1_downward_test_data): New array.
35100         (expm1_test_downward): New function.
35101         (expm1_upward_test_data): New array.
35102         (expm1_test_upward): New function.
35103         (main): Run the new test functions.
35104         * sysdeps/i386/fpu/libm-test-ulps: Update.
35105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35107         * include/features.h: Update comment documenting feature test
35108         macros.  Mention _DEFAULT_SOURCE in comment.
35109         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35110         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35111         _BSD_SOURCE and _SVID_SOURCE.
35112         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35113         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35114         !_SVID_SOURCE]: Likewise.
35115         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35116         (__USE_POSIX_IMPLICITLY): Define.
35117         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35118         (_POSIX_SOURCE): Undefine and redefine.
35119         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35120         (_POSIX_C_SOURCE): Likewise.
35121         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35122         (Feature Test Macros): Update documentation of default features.
35124 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35126         * benchtests/Makefile: Add bench-strtok.
35127         * benchtests/bench-strtok.c: New file: strtok benchtest.
35129 2013-12-19  Allan McRae  <allan@archlinux.org>
35131         * manual/install.texi: Suppress menu for plain text output.
35132         * INSTALL: Regenerated.
35134 2013-12-18  Brooks Moses  <bmoses@google.com>
35136         [BZ #15846]
35137         * misc/getauxval.c: Include errno.h.
35138         (__getauxval): Set errno to ENOENT if the requested type is not
35139         found.
35140         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35141         don't declare with __attribute_const__.
35142         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35143         * manual/startup.texi: Document that getauxval sets errno.
35145 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35147         * math/auto-libm-test-in: Add tests of jn and yn.
35148         * math/auto-libm-test-out: Regenerated.
35149         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35150         (yn_test_data): Likewise.
35151         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35152         mpfr_if_f.
35153         (func_calc_desc): Add mpfr_if_f union field.
35154         (FUNC_mpfr_if_f): New macro.
35155         (test_functions): Add jn and yn.
35156         (calc_generic_results): Assert type of second input for
35157         mpfr_ff_f.  Handle mpfr_if_f.
35158         (output_for_one_input_case): Disable all checking for arguments
35159         fitting floating-point types in case of an integer argument.
35160         * sysdeps/i386/fpu/libm-test-ulps: Update.
35161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35164         Don't expect fegetround reference in libm.so.
35166 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35168         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35169         $(config-cflags-nofma).
35171 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35173         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35174         * math/auto-libm-test-out: Regenerated.
35176         [BZ #16338]
35177         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35178         to determine exponent and adjust argument to have exponent of -1.
35179         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35180         log2.
35181         * math/auto-libm-test-out: Regenerated.
35182         * sysdeps/i386/fpu/libm-test-ulps: Update.
35183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35185 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35187         * manual/probes.texi: Remove cases when per-thread arenas are
35188         disabled.
35190 2013-12-18  Andreas Schwab  <schwab@suse.de>
35192         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35193         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35194         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35195         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35196         * sysdeps/i386/i686/multiarch/Makefile: Update.
35197         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35199 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35201         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35202         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35204 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35206         [BZ #15968]
35207         Support TZ transition times < 00:00:00.
35208         This is needed for version-3 tz-format files; it supports time
35209         stamps past 2037 for America/Godthab (the only entry in the tz
35210         database for which this change is relevant).
35211         * manual/time.texi (TZ Variable): Document transition times
35212         from -167:59:59 through -00:00:01.
35213         * time/tzset.c (tz_rule): Time of day is now signed.
35214         (__tzset_parse_tz): Parse negative time of day.
35216         Document TZ transition times >= 25:00:00.
35217         * manual/time.texi (TZ Variable): Document transition times from
35218         25:00:00 through 167:59:59.  These are already supported, and this
35219         support will help with version-3 tz-format files.
35221         * manual/time.texi (TZ Variable): Modernize North America example
35222         to reflect current (i.e., 2007-and-later) daylight saving rules.
35224         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35226 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35228         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35229         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35232         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35233         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35234         * sysdeps/unix/bsd/clock.c: Likewise.
35235         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35236         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35237         * sysdeps/unix/bsd/init-posix.c: Likewise.
35238         * sysdeps/unix/bsd/poll.c: Likewise.
35239         * sysdeps/unix/bsd/ptsname.c: Likewise.
35240         * sysdeps/unix/bsd/seekdir.c: Likewise.
35241         * sysdeps/unix/bsd/setegid.c: Likewise.
35242         * sysdeps/unix/bsd/seteuid.c: Likewise.
35243         * sysdeps/unix/bsd/setgid.c: Likewise.
35244         * sysdeps/unix/bsd/setrgid.c: Likewise.
35245         * sysdeps/unix/bsd/setruid.c: Likewise.
35246         * sysdeps/unix/bsd/setsid.c: Likewise.
35247         * sysdeps/unix/bsd/setuid.c: Likewise.
35248         * sysdeps/unix/bsd/sigaction.c: Likewise.
35249         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35250         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35251         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35252         * sysdeps/unix/bsd/telldir.c: Likewise.
35253         * sysdeps/unix/bsd/times.c: Likewise.
35254         * sysdeps/unix/bsd/usleep.c: Likewise.
35256         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35257         ($(objpfx)libbsd-compat.a): Remove rule.
35259         * include/features.h (__FAVOR_BSD): Do not define.
35260         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35261         features conflicting with POSIX.
35262         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35263         (_BSD_SOURCE): Remove description of not being a subset of other
35264         feature test macros.
35265         * manual/job.texi (getpgrp): Do not document BSD version.
35266         (getpgid): Do not document by reference to BSD getpgrp.
35267         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35268         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35269         * signal/signal.h [__FAVOR_BSD]: Likewise.
35270         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35271         instead of making contents conditional on [__FAVOR_BSD].
35272         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35274 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35278 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35280         [BZ #16314]
35281         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35282         values below 2**-450, not 2**-500.
35283         * math/auto-libm-test-in: Don't allow spurious underflow from
35284         hypot.
35285         * math/auto-libm-test-out: Regenerated.
35287         [BZ #16316]
35288         [BZ #16330]
35289         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35290         values of ha and hb and sort them after adjusting subnormal
35291         arguments.
35292         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35293         Likewise.
35294         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35295         values of ea and eb and sort them after adjusting subnormal
35296         arguments.
35297         * math/auto-libm-test-in: Do not expect some hypot tests of
35298         subnormals to fail.  Add more hypot tests.
35299         * math/auto-libm-test-out: Regenerated.
35301 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35303         [BZ #13304]
35304         * sysdeps/sh/s_fma.c: New file.
35305         * sysdeps/sh/s_fmaf.c: New file.
35306         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35307         version.
35308         * sysdeps/sh/Implies: Add sh/soft-fp.
35310 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35312         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35313         level of indirection to members `objname', `errstring', `malloced'.
35314         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35315         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35316         it as the __longjmp argument (just pass 1 instead).
35317         (_dl_catch_error): Initialize C with argument pointers and address of
35318         volatile local ERRCODE rather than copying values out of C at return.
35320 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35322         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35323         * math/auto-libm-test-out: Regenerated.
35324         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35325         (hypot_test_data): Likewise.
35326         (pow_test_data): Likewise.
35327         (pow_tonearest_test_data): Likewise.
35328         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35329         mpfr_ff_f.
35330         (func_calc_desc): Add mpfr_ff_f union field.
35331         (FUNC_mpfr_ff_f): New macro.
35332         (test_functions): Add atan2, hypot and pow.
35333         (special_fill_min): New function.
35334         (special_fill_minus_min): Likewise.
35335         (special_fill_min_subnorm): Likewise.
35336         (special_fill_minus_min_subnorm): Likewise.
35337         (special_real_inputs): Add min, -min, min_subnorm and
35338         -min_subnorm.
35339         (calc_generic_results): Handle mpfr_ff_f.
35340         * sysdeps/i386/fpu/libm-test-ulps: Update.
35341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35343 2013-12-16  Will Newton  <will.newton@linaro.org>
35345         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35346         (Aligned Memory Blocks): Add documentation for aligned_alloc
35347         and suggest it as an alternative to posix_memalign.
35348         (Hooks for Malloc): Document __memalign_hook is also called
35349         for aligned_alloc.  (Summary of Malloc): Add summary for
35350         aligned alloc.  Document __memalign_hook is also called
35351         for aligned_alloc.
35353 2013-12-16  Will Newton  <will.newton@linaro.org>
35355         * manual/memory.texi (Malloc Examples): Clarify default
35356         alignment documentation.  Suggest posix_memalign rather
35357         than memalign or valloc.
35358         (Aligned Memory Blocks): Remove suggestion to use memalign
35359         or valloc.  Remove obsolete comment about BSD.
35360         Document memalign errno values and mark the function obsolete.
35361         Document posix_memalign returned error codes.  Mark valloc
35362         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35363         called for posix_memalign and valloc.
35364         (Summary of Malloc): Add posix_memalign to function summary.
35365         __memalign_hook is also called for posix_memalign and valloc.
35367 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35369         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35370         TAYLOR_SIN.
35371         (__sin): Adjust.
35372         (__cos): Likewise.
35373         (sloww): Use mynumber union.  Expand ternary operator into
35374         if-else statements.
35375         (cslow): use mynumber union.
35377 2013-12-16  Allan McRae  <allan@archlinux.org>
35379         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35380         * configure: Regenerated.
35382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35384         [BZ #14120]
35385         * configure.ac: Added --enable-maintainer-mode. Check for
35386         autoconf when enabled.
35387         * configure: Regenerated.
35389         * nscd/nscd.service: New file.
35390         * nscd/nscd.tmpfiles: New file.
35392 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35394         [BZ #12100]
35395         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35396         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35397         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35398         (strstr): Add __strstr_sse2_unaligned ifunc.
35399         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35400         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35401         (strcasestr): Remove __strcasestr_sse42 ifunc.
35402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35406 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35408         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35409         * sysdeps/sh/bits/fenv.h: ... here.
35410         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35412 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35414         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35417         hypotf multiarch implementations.
35418         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35419         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35421         multiarch hypot for PPC64.
35422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35424         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35425         multiarch hypotf for PPC64.
35427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35428         modff multiarch implementations.
35429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35432         multiarch modf for PPC64.
35433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35436         multiarch modff for PPC64.
35438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35439         and logl multiarch implementations.
35440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35443         multiarch logb for PPC64.
35444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35447         multiarch logb for PPC64.
35448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35451         multiarch logb for PPC64.
35453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35454         isinff multiarch implementation.
35455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35456         file.
35457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35459         multiarch isinf for PPC64.
35460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35461         file.
35462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35463         multiarch isinff for PPC64.
35465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35466         finitef multiarch implementation.
35467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35468         file.
35469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35471         multiarch finite for PPC64.
35472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35473         file.
35474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35475         multiarch finitef for PPC64.
35477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35478         lrint multiarch implementation.
35479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35480         file.
35481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35483         multiarch llrint for PPC64.
35484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35485         multiarch lrint for PPC64.
35487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35488         copysignf multiarch implementation.
35489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35490         file.
35491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35492         file.
35493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35494         multiarch copysign for PPC64.
35495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35496         multiarch copysignf for PPC64.
35498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35499         multiarch implementation.
35500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35501         file.
35502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35503         file.
35504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35505         file.
35506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35507         file.
35508         multiarch llround for PPC64.
35509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35510         multiarch trunc for PPC64.
35511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35512         multiarch truncf for PPC64.
35514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35515         multiarch implementation.
35516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35517         file.
35518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35519         file.
35520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35521         file.
35522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35523         file.
35524         multiarch llround for PPC64.
35525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35526         multiarch round for PPC64.
35527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35528         multiarch roundf for PPC64.
35530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35531         multiarch implementation.
35532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35533         file.
35534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35535         file.
35536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35537         file.
35538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35539         file.
35540         multiarch llround for PPC64.
35541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35542         multiarch floor for PPC64.
35543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35544         multiarch floorf for PPC64.
35546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35547         multiarch implementation.
35548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35549         file.
35550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35551         file.
35552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35553         file.
35554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35555         file.
35556         multiarch llround for PPC64.
35557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35558         multiarch ceil for PPC64.
35559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35560         multiarch ceilf for PPC64.
35562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35563         multiarch implementation.
35564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35565         file.
35566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35567         file.
35568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35569         file.
35570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35571         multiarch llround for PPC64.
35572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35573         multiarch lround for PPC64.
35575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35576         multiarch implementation.
35577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35580         file.
35581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35584         multiarch isnan for PPC64.
35585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35586         multiarch isnanf for PPC64.
35588         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35589         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35590         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35591         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35592         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35595         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35596         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35597         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35598         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35601         multiarch implementations.
35602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35603         (__libc_ifunc_impl_list): Likewise.
35604         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35605         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35607         multiarch stpcpy for PPC64.
35609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35610         multiarch implementations.
35611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35612         (__libc_ifunc_impl_list): Likewise.
35613         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35614         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35615         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35616         multiarch strcpy for PPC64.
35618         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35619         redefine function name.
35620         (_wordcopy_fwd_dest_aligned): Likewise.
35621         (_wordcopy_bwd_aligned): Likewise.
35622         (_wordcopy_bwd_dest_aligned): Likewise.
35623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35624         multiarch implementations.
35625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35626         (__libc_ifunc_impl_list): Likewise.
35627         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35631         multiarch wcscpy for PPC64.
35633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35634         multiarch implementations.
35635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35636         (__libc_ifunc_impl_list): Likewise.
35637         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35638         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35639         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35640         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35641         multiarch wcscpy for PPC64.
35643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35644         multiarch implementations.
35645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35646         (__libc_ifunc_impl_list): Likewise.
35647         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35649         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35650         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35651         multiarch wcsrchr for PPC64.
35653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35654         multiarch implementations.
35655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35656         (__libc_ifunc_impl_list): Likewise.
35657         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35658         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35659         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35660         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35661         multiarch wcschr for PPC64.
35663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35664         multiarch implementations.
35665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35666         (__libc_ifunc_impl_list): Likewise.
35667         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35668         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35669         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35670         multiarch strchrnul for PPC64.
35672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35673         implementations.
35674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35675         (__libc_ifunc_impl_list): Likewise.
35676         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35677         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35678         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35679         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35680         strchr for PPC64.
35682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35683         implementations.
35684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35685         (__libc_ifunc_impl_list): Likewise.
35686         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35687         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35688         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35689         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35690         strncmp for PPC64.
35692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35693         multiarch implementations.
35694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35695         (__libc_ifunc_impl_list): Likewise.
35696         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35697         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35698         strncasecmp for PPC64.
35699         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35700         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35701         multiarch strncasecmp_l for PPC64.
35703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35704         multiarch implementations.
35705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35706         (__libc_ifunc_impl_list): Likewise.
35707         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35709         multiarch strcasecmp for PPC64.
35710         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35711         file.
35712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35713         multiarch strcasecmp_l for PPC64.
35715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35716         implementations.
35717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35718         (__libc_ifunc_impl_list): Likewise.
35719         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35720         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35721         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35722         strnlen for PPC64.
35724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35725         implementations.
35726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35727         (__libc_ifunc_impl_list): Likewise.
35728         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35729         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35730         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35731         strlen for PPC64.
35733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35734         implementations.
35735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35736         (__libc_ifunc_impl_list): Likewise.
35737         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35738         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35739         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35740         rawmemrchr for PPC64.
35742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35743         implementation.
35744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35745         (__libc_ifunc_impl_list): Likewise.
35746         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35747         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35748         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35749         memrchr for PPC64.
35751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35752         implementation.
35753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35754         (__libc_ifunc_impl_list): Likewise.
35755         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35756         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35757         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35758         memchr for PPC64.
35760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35761         implementation.
35762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35763         (__libc_ifunc_impl_list): Likewise.
35764         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35765         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35766         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35767         mempcpy for PPC64.
35769         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35770         avoid cretion of __bzero symbol.
35771         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35772         Likewise.
35773         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35774         Likewise.
35775         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35776         Likewise.
35777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35778         multiarch implementations.
35779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35780         (__libc_ifunc_impl_list): Likewise.
35781         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35782         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35783         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35784         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35785         bzero for PPC32.
35786         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35787         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35788         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35789         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35790         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35791         memset for PPC64.
35792         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35794         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35796         implementations.
35797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35798         (__libc_ifunc_impl_list): Likewise.
35799         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35800         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35801         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35802         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35803         memcmp for PPC64.
35805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35806         multiarch for POWER/PPC64.
35807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35808         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35809         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35811         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35812         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35813         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35814         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35815         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35816         memcpy for PPC64.
35818         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35819         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35820         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35821         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35822         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35823         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35824         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35825         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35826         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35827         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35828         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35829         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35830         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35831         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35832         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35841 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35843         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35845 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35847         * benchtests/Makefile (bench): Add exp2 and log2.
35848         (LDLIBS-bench-exp2): Add -lm.
35849         (LDLIBS-bench-log2): Likewise.
35850         * benchtests/exp2-inputs: New inputs file.
35851         * benchtests/log2-inputs: New inputs file.
35852         * benchtests/log-inputs: Add new inputs.
35853         * benchtests/tan-inputs: Likewise.
35855 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35857         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35858         definition...
35859         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35860         (csloww2): ... from here.
35862         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35863         instead of structures.
35864         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35865         (POLYNOMIAL): Likewise.
35866         (TAYLOR_SLOW): Likewise.
35867         (__sin): Likewise.
35868         (__cos): Likewise.
35869         (slow1): Likewise.
35870         (slow2): Likewise.
35871         (sloww): Likewise.
35872         (sloww1); Likewise.
35873         (sloww2): Likewise.
35874         (bsloww1): Likewise.
35875         (bsloww2): Likewise.
35876         (cslow2): Likewise.
35877         (csloww): Likewise.
35878         (csloww1): Likewise.
35879         (csloww2): Likewise.
35881 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35883         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35884         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35885         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35886         * malloc/hooks.c (realloc_check): Likewise.
35888         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35889         * malloc/arena.c: Remove PER_THREAD conditional.
35890         [!PER_THREAD]: Remove code.
35891         (ptmalloc_unlock_all2): Likewise.
35892         (ptmalloc_init): Likewise.
35893         (_int_new_arena): Likewise.
35894         (arena_get2): Likewise.
35895         * malloc/hooks.c (__malloc_get_state): Likewise.
35896         (__malloc_set_state): Likewise.
35897         * malloc/malloc.c: Likewise.
35898         (struct malloc_state): Likewise.
35899         (struct malloc_par): Likewise.
35900         (__libc_realloc): Likewise.
35901         (__libc_mallopt): Likewise.
35903 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35905         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35907 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35909         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35910         macro to a function.  Check for zero perturb_byte.
35911         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35913         * malloc/malloc.c: (force_reg): Remove.
35914         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35915         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35916         force_reg by atomic_forced_read.
35917         * malloc/arena.c (ptmalloc_init): Likewise.
35918         * malloc/hooks.c (top_check): Likewise.
35920 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35924 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35928 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35930         * math/auto-libm-test-in: Add tests of lgamma.
35931         * math/auto-libm-test-out: Regenerated.
35932         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35933         (M_LOG_2_SQRT_PIl): Likewise.
35934         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35935         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35936         mpfr_f_f1.
35937         (func_calc_desc): Add mpfr_f_f1 union field.
35938         (ARGS1): New macro.
35939         (ARGS2): Likewise.
35940         (ARGS3): Likewise.
35941         (ARGS4): Likewise.
35942         (RET1): Likewise.
35943         (RET2): Likewise.
35944         (CALC): Likewise.
35945         (FUNC): Likewise.
35946         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35947         (test_functions): Add lgamma.
35948         (calc_generic_results): Handle mpfr_f_f1.
35949         * sysdeps/i386/fpu/libm-test-ulps: Update.
35950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35954         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35955         __mpn_add_n for PowerPC64/POWER7.
35956         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35957         __mpn_sub_n for PowerPC64/POWER7.
35959         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35960         __mpn_addmul_1 for PowerPC64.
35961         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35962         __mpn_submul_1 for PowerPC64.
35963         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35964         for PowerPC64.
35965         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35966         for PowerPC64.
35968 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35970         [BZ #15089]
35971         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35973 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35975         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35977         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35978         add multiarch folders.
35979         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35980         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35981         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35982         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35983         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35984         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35985         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35986         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35987         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35988         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35989         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35998         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36000         New file.
36001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36002         New file.
36003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36004         multiarch __ieee754_hypot for PowerPC32.
36005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36006         New file.
36007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36008         New file.
36009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36010         multiarch __ieee754_hypotf for PowerPC32.
36012         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36013         long_double_symbol only if __logbl is defined.
36014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36015         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36016         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36017         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36019         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36020         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36021         path for implementation.
36022         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36025         logb, and logbl multiarch implementations for PowerPC32.
36026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36027         file.
36028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36029         file.
36030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36031         multiarch logb for PowerPC32.
36032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36033         file.
36034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36035         file.
36036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36037         multiarch logbf for PowerPC32.
36038         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36040         file.
36041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36042         multiarch logbl implementation for PowerPC32.
36044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36045         and modff multiarch implementations.
36046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36047         New file.
36048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36049         New file.
36050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36051         multiarch modf for PowerPC32.
36052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36053         New file.
36054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36055         New file.
36056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36057         multiarch modff for PowerPC32.
36059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36060         and lrintf multiarch implementations.
36061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36062         New file.
36063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36064         New file.
36065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36066         multiarch lrint for PowerPC32.
36067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36068         file: multiarch lrintf for PowerPC32.
36070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36071         and lroundf multiarch implementations.
36072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36073         New file.
36074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36075         New file.
36076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36077         New file.
36078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36079         multiarch lround for PowerPC32.
36080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36081         file: multiarch lroundf for PowerPC32.
36083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36084         copysign and copysignf multiarch implementations.
36085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36086         New file.
36087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36088         New file.
36089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36090         file: multiarch copysign for PowerPC32.
36091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36092         file: multiarch copysignf for PowerPC32.
36094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36095         and truncf multiarch implementations.
36096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36097         New file.
36098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36099         file.
36100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36101         multiarch trunc for PowerPC32.
36102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36103         New file.
36104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36105         New file.
36106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36107         multiarch truncf for PowerPC32.
36109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36110         and roundf multiarch implementations.
36111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36112         New file.
36113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36114         file.
36115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36116         multiarch round for PowerPC32.
36117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36118         New file.
36119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36120         New file.
36121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36122         multiarch roundf for PowerPC32.
36124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36125         and floorf multiarch implementations.
36126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36127         New file.
36128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36129         file.
36130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36131         multiarch floor for PowerPC32.
36132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36133         New file.
36134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36135         New file.
36136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36137         multiarch floorf for PowerPC32.
36139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36140         and ceilf multiarch implementations.
36141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36142         New file.
36143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36144         file.
36145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36146         multiarch ceil for PowerPC32.
36147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36148         New file.
36149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36150         file.
36151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36152         multiarch ceilf for PowerPC32.
36154         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36155         is defined.
36156         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36157         FINITEF is defined.
36158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36159         and finitef multiarch implementations.
36160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36161         New file.
36162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36163         file.
36164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36165         multiarch finite for PowerPC32.
36166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36167         New file.
36168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36169         file: multiarch finitef for PowerPC32.
36171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36172         and isinff multiarch implementations.
36173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36174         file.
36175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36176         file.
36177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36178         multiarch isinf for PowerPC32.
36179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36180         New file.
36181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36182         multiarch isinff for PowerPC32.
36184         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36185         alias when __isnan is defined.
36186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36187         and isnanf multiarch implementations.
36188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36189         file.
36190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36191         file.
36192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36193         file.
36194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36195         file.
36196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36197         multiarch isnan for PowerPC32.
36198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36199         New file.
36200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36201         New file.
36202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36203         multiarch isnanf for PowerPC32.
36205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36206         and sqrtf multiarch implementations.
36207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36208         file.
36209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36210         file.
36211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36212         multiarch sqrt for PowerPC32.
36213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36214         file.
36215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36216         file.
36217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36218         multiarch sqrtf for PowerPC32.
36220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36221         and llroundf multiarch implementations.
36222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36223         New file.
36224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36225         New file.
36226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36227         New file.
36228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36229         file: multiarch llround for PowerPC32.
36230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36231         file: multiarch llroundf for PowerPC32.
36233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36234         multiarch PowerPC32 fpu implementations.
36235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36236         New file.
36237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36238         New file.
36239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36240         multiarch llrint for PowerPC32.
36241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36242         New file.
36243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36244         New file.
36245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36246         file.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36250         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36251         file.
36252         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36253         file.
36254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36255         file.
36256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36257         multiarch wordcopy for PPC32.
36258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36259         wordcopy objects.
36260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36261         (__libc_ifunc_impl_list): Likewise.
36262         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36263         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36264         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36265         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36267         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36269         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36271         file.
36272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36273         file.
36274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36275         file.
36276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36277         multiarch wcscpy for PPC32.
36278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36279         multiarch objects.
36280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36281         (__libc_ifunc_impl_list): Likewise.
36282         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36283         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36284         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36285         sysdeps/powerpc/power6/wcscpy.c.
36287         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36289         file.
36290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36291         file.
36292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36293         file.
36294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36295         multiarch wcsrchr for PPC32.
36296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36297         multiarch objects.
36298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36299         (__libc_ifunc_impl_list): Likewise.
36300         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36301         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36302         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36303         sysdeps/powerpc/power6/wcsrchr.c.
36305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36306         file.
36307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36308         file.
36309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36311         multiarch wcschr for PPc32.
36312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36313         multiarch objects.
36314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36315         (__libc_ifunc_impl_list): Likewise.
36316         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36317         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36318         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36319         sysdeps/powerpc/power6/wcschr.c.
36321         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36322         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36323         file.
36324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36325         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36326         file: multiarch strchr for PPC32.
36327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36328         multiarch objects.
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36330         (__libc_ifunc_impl_list): Likewise.
36332         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36333         name.
36334         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36335         file.
36336         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36337         file.
36338         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36339         multiarch strchrnul for PPC32.
36340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36341         multiarch objects.
36342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36343         (__libc_ifunc_impl_list): Likewise.
36345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36346         file.
36347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36348         multiarch strncasecmp for PPC32.
36349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36350         file.
36351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36352         multiarch strncasecmp_l for PPC32.
36353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36354         strncasecmp multiarch objects.
36355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36356         (__libc_ifunc_impl_list): Likewise.
36358         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36359         file.
36360         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36361         multiarch strncasecmp for PPC32.
36362         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36363         New file.
36364         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36365         multiarch strcasecmp_l for PPC32.
36366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36367         multiarch objects.
36368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36369         (__libc_ifunc_impl_list): Likewise.
36371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36372         file.
36373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36374         file.
36375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36376         multiarch strncmp for PPC32.
36377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36378         multiarch objects.
36379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36380         (__libc_ifunc_impl_list): Likewise.
36382         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36383         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36384         file.
36385         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36386         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36387         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36388         multiarch objects.
36389         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36390         (__libc_ifunc_impl_list): Likewise.
36392         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36393         file.
36394         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36395         file.
36396         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36398         multiarch objects.
36399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36400         (__libc_ifunc_impl_list): Likewise.
36402         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36403         file.
36404         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36405         file.
36406         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36407         multiarch rawmemchr for PPC32.
36408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36409         multiarch objects.
36410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36411         (__libc_ifunc_impl_list): Likewise.
36413         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36414         file.
36415         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36416         file.
36417         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36418         file: memrchr multiarch for PPC32.
36419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36420         multiarch objects.
36421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36422         (__libc_ifunc_impl_list): Likewise.
36424         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36425         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36426         file.
36427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36428         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36429         multiarch memchr for PPC32.
36430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36431         multiarch objects.
36432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36433         (__libc_ifunc_impl_list): Likewise.
36435         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36436         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36437         file.
36438         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36439         file.
36440         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36441         file: multiarch mempcpy for PPC32.
36442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36443         multiarch objects.
36444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36445         (__libc_ifunc_impl_list): Likewise.
36447         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36448         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36449         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36451         multiarch bzero for PPC32.
36452         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36453         file.
36454         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36455         file.
36456         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36457         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36458         file: multiarch memset for PPC32.
36459         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36461         memset multiarch objects.
36462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36463         (__libc_ifunc_impl_list): Likewise.
36465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36466         file.
36467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36469         memcmp for PPC32.
36470         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36472         multiarch objects.
36473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36474         (__libc_ifunc_impl_list): Likewise.
36476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36479         file.
36480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36481         file.
36482         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36483         file.
36484         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36485         multiarch memcpy for PPC32.
36486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36487         multiarch objects.
36488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36489         (__libc_ifunc_impl_list): Likewise.
36491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36492         support multiarch for POWER/PPC32.
36493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36494         Likewise.
36495         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36497         Implies file to make multiarch folder appers before the fpu and
36498         default folder for power4 configuration.
36500 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36502         * scripts/bench.pl: Append volatile keyword to type.
36504 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36506         * sysdeps/sh/sotruss-lib.c: New file.
36507         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36509 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36513 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36515         [BZ #6810]
36516         * math/w_tgamma.c: Include <errno.h>.
36517         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36518         * math/w_tgammaf.c: Include <errno.h>.
36519         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36520         * math/w_tgammal.c: Include <errno.h>.
36521         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36522         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36523         underflow.  Add more tgamma tests.
36524         * math/auto-libm-test-out: Regenerated.
36525         * sysdeps/i386/fpu/libm-test-ulps: Update.
36526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36528         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36529         sin, sinh, tan, tanh, tgamma, y0 and y1.
36530         * math/auto-libm-test-out: Regenerated.
36531         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36532         (TEST_COND_x86): Likewise.
36533         (M_E2l): Remove macro.
36534         (M_E3l): Likewise.
36535         (M_2_SQRT_PIl): Likewise.
36536         (M_SQRT_PIl): Likewise.
36537         (M_1_DIV_El): Likewise.
36538         (log_test_data): Use AUTO_TESTS_f_f.
36539         (log10_test_data): Likewise.
36540         (log1p_test_data): Likewise.
36541         (log2_test_data): Likewise.
36542         (sin_test_data): Likewise.
36543         (sin_tonearest_test_data): Likewise.
36544         (sin_towardzero_test_data): Likewise.
36545         (sin_downward_test_data): Likewise.
36546         (sin_upward_test_data): Likewise.
36547         (sinh_test_data): Likewise.
36548         (sinh_tonearest_test_data): Likewise.
36549         (sinh_towardzero_test_data): Likewise.
36550         (sinh_downward_test_data): Likewise.
36551         (sinh_upward_test_data): Likewise.
36552         (tan_test_data): Likewise.
36553         (tan_tonearest_test_data): Likewise.
36554         (tan_towardzero_test_data): Likewise.
36555         (tan_downward_test_data): Likewise.
36556         (tan_upward_test_data): Likewise.
36557         (tanh_test_data): Likewise.
36558         (tgamma_test_data): Likewise.
36559         (y0_test_data): Likewise.
36560         (y1_test_data): Likewise.
36561         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36562         (special_real_inputs): Add pi/4.
36563         * sysdeps/i386/fpu/libm-test-ulps: Update.
36564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36566 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36568         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36569         "longjmp_target" static probes.
36570         (__longjmp): Rename to __longjmp_symbol.
36571         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36572         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36573         on which longjmp to generate.
36574         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36575         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36576         probe.
36577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36578         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36579         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36580         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36581         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36582         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36584         __longjmp_symbol based on which __longjmp to generate.
36585         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36586         probe.
36587         (setjmp): Rename to setjmp_symbol.
36588         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36589         (_setjmp): Rename to _setjmp_symbol.
36590         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36591         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36592         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36593         which setjmp to generate.
36594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36595         "longjmp_target" static probes.
36597 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36599         * benchtests/README: Add note about output arguments.
36600         * benchtests/bench-sincos.c: Remove file.
36601         * benchtests/sincos-inputs: New file.
36602         * scripts/bench.pl: Identify output arguments and define
36603         static variables for them.
36605         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36607         [BZ #15941]
36608         * Makefile (INSTALL): Add install-plain.texi as the primary
36609         dependency.
36610         * manual/install-plain.texi: New file.
36611         * manual/install.texi: Include node directive only for
36612         non-plaintext output.
36614 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36616         * stdlib/longlong.h: Update from GCC.
36618         [BZ #6807]
36619         [BZ #15901]
36620         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36621         * math/w_j0f.c (y0f): Likewise.
36622         * math/w_j0l.c (__y0l): Likewise.
36623         * math/w_j1.c (y1): Likewise.
36624         * math/w_j1f.c (y1f): Likewise.
36625         * math/w_j1l.c (__y1l): Likewise.
36626         * math/w_jn.c (yn): Likewise.
36627         * math/w_jnf.c (ynf): Likewise.
36628         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36629         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36630         value for Bessel function domain errors outside _SVID_ mode.
36631         Adjust sign of return value for yn (negative integer, 0).
36632         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36633         by zero in return for negative x and set sign appropriately for
36634         negative n.
36635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36636         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36637         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36638         expectations in error cases.
36639         (y1_test_data): Likewise.
36640         (yn_test_data): Likewise.
36641         * sysdeps/i386/fpu/libm-test-ulps: Update.
36642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36644 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36646         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36647         "64" to "64-v1".  Add "64-v2".
36648         (abi-64-options): Rename to ...
36649         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36650         (abi-64-condition): Rename to ...
36651         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36652         (abi-64-ld-soname): Rename to ...
36653         (abi-64-v1-ld-soname): ... this.
36654         (abi-64-v2-options): Define.
36655         (abi-64-v2-condition): Likewise.
36656         (abi-64-v2-ld-soname): Likewise.
36657         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36658         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36663 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36664             Alan Modra  <amodra@gmail.com>
36666         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36667         New versions for use with the ELFv2 ABI.
36668         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36669         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36670         declaration.
36671         (struct La_ppc64v2_retval): Likewise.
36672         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36673         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36674         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36675         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36676         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36677         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36678         Do not save or restore CR.
36679         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36680         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36681         return values for ELFv2 ABI.  Fix location of FPR return registers.
36682         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36683         updated values for _CALL_ELF == 2.
36684         (La_regs, La_retval, int_retval): Likewise.
36686 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36688         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36689         (FRAME_MIN_SIZE_PARM): Likewise.
36690         (FRAME_BACKCHAIN): Likewise.
36691         (FRAME_CR_SAVE): Likewise.
36692         (FRAME_LR_SAVE): Likewise.
36693         (FRAME_TOC_SAVE): Likewise.
36694         (FRAME_PARM_SAVE): Likewise.
36695         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36696         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36697         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36698         (call_mcount_parm_offset): New macro.
36699         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36700         (PROF): Use symbolic stack frame offsets.
36701         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36702         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36703         Redefine in terms of FRAME_MIN_SIZE.
36704         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36705         (_dl_profile_resolve): Likewise.  Update comment.
36706         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36707         symbols stack frame offsets.
36708         (__sigsetjmp): Likewise.
36709         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36710         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36711         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36712         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36715         (FRAME_BACKCHAIN): Remove.
36716         (FRAME_CR_SAVE): Likewise.
36717         (FRAME_LR_SAVE): Likewise.
36718         (FRAME_COMPILER_DW): Likewise.
36719         (FRAME_LINKER_DW): Likewise.
36720         (FRAME_TOC_SAVE): Likewise.
36721         (FRAME_PARM_SAVE): Likewise.
36722         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36723         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36724         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36726         (CHECK_SP): Use symbolic stack frame offsets.
36727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36728         zone" instead of caller's parameter save area for temp storage.
36729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36730         Likewise.  Also, use symbolic stack frame offsets.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36732         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36733         our own stack frame instead of the caller's.
36734         (__socket): Use symbolic stack frame offsets.
36736 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36737             Alan Modra  <amodra@gmail.com>
36739         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36740         Define.
36741         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36742         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36743         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36744         New function.
36745         (elf_machine_fixup_plt): Call it.
36746         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36747         reloc arguments.
36748         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36749         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36750         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36751         r2 before calling target.
36753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36754             Alan Modra  <amodra@gmail.com>
36756         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36757         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36758         versions of macros to support ELFv2 ABI.
36759         (LOCALENTRY): New macro.
36760         (ENTRY, EALIGN): Use it.
36761         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36762         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36763         fall through into ENTRY entry point.
36764         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36765         Only define if _CALL_ELF != 2.
36767         (elf_machine_matches_host): Verify ABI version matches.
36768         (RTLD_START): Use LOCALENTRY.
36769         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36770         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36771         (PLT_ENTRY_WORDS): New macro.
36772         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36773         (elf_machine_runtime_setup): Support ELFv2 ABI.
36774         (elf_machine_fixup_plt): Likewise.
36775         (elf_machine_plt_conflict): Likewise.
36776         (resolve_ifunc): Likewise.
36777         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36779         Likewise.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36781         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36783         (makecontext): Support ELFv2 ABI.
36784         * elf/elf.h (EF_PPC64_ABI): Define.
36786 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36788         * sysdeps/powerpc/powerpc64/sysdep.h
36789         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36790         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36791         (ENTRY) [ASSEMBLER]: ... but instead here ...
36792         (EALIGN) [ASSEMBLER]: ... and here.
36793         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36794         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36795         (ENTRY_2) [!ASSEMBLER]: Use it.
36796         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36797         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36798         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36799         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36800         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36802         Use PPC64_LOAD_FUNCPTR.
36804         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36806 2013-12-04  Alan Modra  <amodra@gmail.com>
36808         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36809         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36810         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36811         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36814         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36815         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36816         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36817         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36818         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36820 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36823         (__makecontext): Fix incorrect CFI when backtracing out of
36824         context created via makecontext.
36825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36826         (__setcontext): Fix incorrect CFI during switch to new context.
36827         (__novec_setcontext): Likewise.
36829 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36831         [BZ #4772]
36832         * time/strptime_l.c (__strptime_internal): Allow modifiers
36833         in strptime.
36834         * time/tst-strptime.c (day_tests): Add testcase.
36836 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36838         * scripts/bench.pl: Skip over blank lines.
36840 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36842         [BZ #926]
36843         * manual/time.texi (Calendar Time): Clarify what timezone functions
36844         use.
36846 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36850 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36852         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36853         implementation.
36854         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36855         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36856         * debug/memset_chk.c (__memset_chk): Likewise.
36857         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36858         * debug/strncpy_chk.c: Likewise.
36860 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36862         [BZ #15268]
36863         [BZ #15425]
36864         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36865         (__ieee754_exp): For possibly underflowing results, check size of
36866         result and force underflow exception if required.
36867         * math/auto-libm-test-in: Add more tests of exp.
36868         * math/auto-libm-test-out: Regenerated.
36869         * sysdeps/i386/fpu/libm-test-ulps: Update.
36870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36872         [BZ #16283]
36873         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36874         * math/w_exp2f.c (__exp2f): Likewise.
36875         * math/w_exp2l.c (__exp2l): Likewise.
36876         * math/auto-libm-test-in: Do not allow missing errno on exp2
36877         underflow.
36878         * math/auto-libm-test-out: Regenerated.
36880 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36882         [BZ #16274]
36883         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36884         handle filename validation.
36885         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36886         (do_open): Delete.
36888 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36890         [BZ #6786]
36891         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36892         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36893         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36894         <float.h>.
36895         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36896         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36897         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36899         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36900         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36901         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36902         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36903         Add more erfc tests.
36904         * math/auto-libm-test-out: Regenerated.
36905         * sysdeps/i386/fpu/libm-test-ulps: Update.
36906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36908         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36909         exp2, expm1, j0 and j1.
36910         * math/auto-libm-test-out: Regenerated.
36911         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36912         (erfc_test_data): Likewise.
36913         (exp_test_data): Likewise.
36914         (exp_tonearest_test_data): Likewise.
36915         (exp_towardzero_test_data): Likewise.
36916         (exp_downward_test_data): Likewise.
36917         (exp_upward_test_data): Likewise.
36918         (exp10_test_data): Likewise.
36919         (exp2_test_data): Likewise.
36920         (expm1_test_data): Likewise.
36921         (j0_test_data): Likewise.
36922         (j1_test_data): Likewise.
36923         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36924         (input_flag_type): Add flag_xfail_rounding.
36925         (input_flags): Add xfail-rounding.
36926         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36927         (output_for_one_input_case): Handle flag_xfail_rounding.
36928         * sysdeps/i386/fpu/libm-test-ulps: Update.
36929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36931 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36933         [BZ #16289]
36934         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36935         division by 0.
36937 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36939         [BZ #16195]
36940         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36941         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36942         (STAP_PROBE0): New macro.
36943         (STAP_PROBE1): Likewise.
36944         (STAP_PROBE2): Likewise.
36945         (STAP_PROBE3): Likewise.
36946         (STAP_PROBE4): Likewise.
36948 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36950         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36952 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36954         * benchtests/Makefile (bench): Add sqrt.
36955         (LDLIBS-bench-sqrt): New.
36956         * benchtests/sqrt-input: New.
36958 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36960         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36961         (GAIH_EAI): Likewise.
36962         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36963         (gaih_inet): Likewise.
36964         (getaddrinfo): Don't use GAIH_EAI.
36966         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36967         (struct gaih): Remove definition.
36969 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36971         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36972         Use HERRNOP directly.
36974 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36978 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36980         * math/gen-auto-libm-tests.c (test_functions): Add more
36981         single-argument functions.
36982         (special_fill_pi_2): New function.
36983         (special_fill_minus_pi_2): Likewise.
36984         (special_fill_pi_6): Likewise.
36985         (special_fill_minus_pi_6): Likewise.
36986         (special_fill_pi_3): Likewise.
36987         (special_fill_2pi_3): Likewise.
36988         (special_fill_e): Likewise.
36989         (special_fill_1_e): Likewise.
36990         (special_fill_e_minus_1): Likewise.
36991         (special_real_inputs): Add more special inputs.
36992         (output_for_one_input_case): Do not require ERANGE on underflow to
36993         zero if round-to-nearest result does not underflow to zero, unless
36994         exact results required.
36995         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36996         atan, atanh, cbrt, cos and cosh.
36997         * math/auto-libm-test-out: Regenerated.
36998         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36999         (acos_tonearest_test_data): Likewise.
37000         (acos_towardzero_test_data): Likewise.
37001         (acos_downward_test_data): Likewise.
37002         (acos_upward_test_data): Likewise.
37003         (acosh_test_data): Likewise.
37004         (asin_test_data): Likewise.
37005         (asin_tonearest_test_data): Likewise.
37006         (asin_towardzero_test_data): Likewise.
37007         (asin_upward_test_data): Likewise.
37008         (asinh_test_data): Likewise.
37009         (atan_test_data): Likewise.
37010         (atanh_test_data): Likewise.
37011         (cbrt_test_data): Likewise.
37012         (cos_test_data): Likewise.
37013         (cos_tonearest_test_data): Likewise.
37014         (cos_towardzero_test_data): Likewise.
37015         (cos_downward_test_data): Likewise.
37016         (cos_upward_test_data): Likewise.
37017         (cosh_test_data): Likewise.
37018         (cosh_tonearest_test_data): Likewise.
37019         (cosh_towardzero_test_data): Likewise.
37020         (cosh_downward_test_data): Likewise.
37021         (cosh_upward_test_data): Likewise.
37022         * sysdeps/i386/fpu/libm-test-ulps: Update.
37023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37025 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37027         [BZ #6787]
37028         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37029         * math/w_exp10f.c (__exp10f): Likewise.
37030         * math/w_exp10l.c (__exp10l): Likewise.
37031         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37032         errno settings in existing tests.
37034         [BZ #14032]
37035         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37036         precision control set to double precision.
37037         * sysdeps/i386/fpu/w_sqrt.c: New file.
37038         * math/auto-libm-test-in: Add more tests.
37039         * math/auto-libm-test-out: Update.
37041         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37042         (sqrt_test_tonearest): New function.
37043         (sqrt_towardzero_test_data): New variable.
37044         (sqrt_test_towardzero): New function.
37045         (sqrt_downward_test_data): New variable.
37046         (sqrt_test_downward): New function.
37047         (sqrt_upward_test_data): New variable.
37048         (sqrt_test_upward): New function.
37049         (main): Call the new functions.
37051         * math/gen-auto-libm-tests.c: New file.
37052         * math/auto-libm-test-in: Likewise.
37053         * math/auto-libm-test-out: New generated file.
37054         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37055         variables.
37056         (%beautify): Add generated representations of zero.
37057         (top level): Set $auto_input and call parse_auto_input.
37058         (beautify): Remove trailing "f" from hex float constants.
37059         (parse_args): Handle XFAIL_TEST.
37060         (convert_condition): New function.
37061         (or_value): Likewise.
37062         (or_cond_value): Likewise.
37063         (generate_testfile): Handle AUTO_TESTS_* lines.
37064         (parse_auto_input): New function.
37065         * math/libm-test.inc (XFAIL_TEST): New macro.
37066         (ERRNO_UNCHANGED): Update value.
37067         (ERRNO_EDOM): Likewise.
37068         (ERRNO_ERANGE): Likewise.
37069         (IGNORE_RESULT): Likewise.
37070         (TEST_COND_flt_32): New macro.
37071         (TEST_COND_dbl_64): Likewise.
37072         (TEST_COND_ldbl_96_intel): Likewise.
37073         (TEST_COND_ldbl_96_m68k): Likewise.
37074         (TEST_COND_ldbl_128): Likewise.
37075         (TEST_COND_ldbl_128ibm): Likewise.
37076         (TEST_COND_long32): Likewise.
37077         (TEST_COND_long64): Likewise.
37078         (TEST_COND_before_rounding): Likewise.
37079         (TEST_COND_after_rounding): Likewise.
37080         (enable_test): Handle XFAIL_TEST flag.
37081         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37082         with finite results.
37083         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37084         auto-libm-test-out.
37086 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37087             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37089         [BZ #16214]
37090         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37091         __tls_get_addr_internal instead of __tls_get_offset in order to
37092         avoid GOT pointer dependency.  Make rtld export
37093         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37094         __tls_get_addr since we are a __tls_get_offset platform.
37095         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37096         GOT pointer being set up before.
37097         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37099 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37101         * manual/math.texi (Errors in Math Functions): Document accuracy
37102         goals.
37104         [BZ #15004]
37105         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37106         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37107         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37108         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37109         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37110         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37111         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37112         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37113         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37114         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37115         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37116         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37117         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37118         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37119         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37120         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37122         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37123         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37124         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37125         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37126         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37127         Likewise.
37128         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37129         Likewise.
37130         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37131         Likewise.
37132         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37133         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37134         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37135         atomic-feupdateenv and flt-rounds.
37136         * sysdeps/powerpc/nofpu/Versions (libc): Add
37137         __atomic_feholdexcept, __atomic_feclearexcept,
37138         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37139         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37140         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37141         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37142         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37143         here.
37144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37145         Update.
37147         * manual/arith.texi (FP Exceptions): Document that exceptions may
37148         not be raised when matherr is used.
37149         (Math Error Reporting): Document overflow in directed rounding
37150         modes.  Document that errno may not be set when finite values are
37151         returned on overflow.  Document intent to set errno on underflow
37152         only for underflow to zero.
37154         [BZ #16271]
37155         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37156         round-to-nearest then adjust result for other rounding modes.
37157         * include/fenv.h (fegetround): Use libm_hidden_proto.
37158         * math/fegetround.c (fegetround): Use libm_hidden_def.
37159         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37160         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37161         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37162         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37163         Likewise.
37164         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37165         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37166         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37167         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37169 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37171         [BZ #16077]
37172         * nss/Versions (libnss_files): Add
37173         _nss_files_gethostbyname3_r.
37174         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37175         New function.
37176         (HOST_DB_LOOKUP): Remove macro.
37177         (_nss_files_gethostbyname_r): Implement function without the
37178         HOST_DB_LOOKUP macro.
37179         (_nss_files_gethostbyname2_r): Likewise.
37181 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37183         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37185 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37187         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37188         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37189         warning.
37191 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37193         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37194         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37195         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37196         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37197         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37198         __fe_nomask_env_priv and attribute_hidden.
37199         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37200         (libc_feupdateenv_test_ppc): Likewise.
37201         (libc_feresetround_ppc): Likewise.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37203         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37204         compat_symbol macro.
37205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37206         (__fe_nomask_env): Likewise.
37207         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37209 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37211         * string/Makefile: Remove ifunc tests.
37212         * string/test-string.h: Define TEST_IFUNC.
37213         * string/test-bcopy-ifunc.c: Remove.
37214         * string/test-bzero-ifunc.c: Likewise.
37215         * string/test-memccpy-ifunc.c: Likewise.
37216         * string/test-memchr-ifunc.c: Likewise.
37217         * string/test-memcmp-ifunc.c: Likewise.
37218         * string/test-memcpy-ifunc.c: Likewise.
37219         * string/test-memmem-ifunc.c: Likewise.
37220         * string/test-memmove-ifunc.c: Likewise.
37221         * string/test-mempcpy-ifunc.c: Likewise.
37222         * string/test-memrchr-ifunc.c: Likewise.
37223         * string/test-memset-ifunc.c: Likewise.
37224         * string/test-rawmemchr-ifunc.c: Likewise.
37225         * string/test-stpcpy-ifunc.c: Likewise.
37226         * string/test-stpncpy-ifunc.c: Likewise.
37227         * string/test-strcasecmp-ifunc.c: Likewise.
37228         * string/test-strcasestr-ifunc.c: Likewise.
37229         * string/test-strcat-ifunc.c: Likewise.
37230         * string/test-strchr-ifunc.c: Likewise.
37231         * string/test-strchrnul-ifunc.c: Likewise.
37232         * string/test-strcmp-ifunc.c: Likewise.
37233         * string/test-strcpy-ifunc.c: Likewise.
37234         * string/test-strcspn-ifunc.c: Likewise.
37235         * string/test-strlen-ifunc.c: Likewise.
37236         * string/test-strncasecmp-ifunc.c: Likewise.
37237         * string/test-strncat-ifunc.c: Likewise.
37238         * string/test-strncmp-ifunc.c: Likewise.
37239         * string/test-strncpy-ifunc.c: Likewise.
37240         * string/test-strnlen-ifunc.c: Likewise.
37241         * string/test-strpbrk-ifunc.c: Likewise.
37242         * string/test-strrchr-ifunc.c: Likewise.
37243         * string/test-strspn-ifunc.c: Likewise.
37244         * string/test-strstr-ifunc.c: Likewise.
37246 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37248         * benchtests/Makefile: Remove ifunc tests.
37249         * benchtests/bench-string.h: Define TEST_IFUNC.
37250         * benchtests/bench-bcopy-ifunc.c: Remove.
37251         * benchtests/bench-bzero-ifunc.c: Likewise.
37252         * benchtests/bench-memccpy-ifunc.c: Likewise.
37253         * benchtests/bench-memchr-ifunc.c: Likewise.
37254         * benchtests/bench-memcmp-ifunc.c: Likewise.
37255         * benchtests/bench-memcpy-ifunc.c: Likewise.
37256         * benchtests/bench-memmem-ifunc.c: Likewise.
37257         * benchtests/bench-memmove-ifunc.c: Likewise.
37258         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37259         * benchtests/bench-memrchr-ifunc.c: Likewise.
37260         * benchtests/bench-memset-ifunc.c: Likewise.
37261         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37262         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37263         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37264         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37265         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37266         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37267         * benchtests/bench-strcat-ifunc.c: Likewise.
37268         * benchtests/bench-strchr-ifunc.c: Likewise.
37269         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37270         * benchtests/bench-strcmp-ifunc.c: Likewise.
37271         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37272         * benchtests/bench-strcpy-ifunc.c: Likewise.
37273         * benchtests/bench-strcspn-ifunc.c: Likewise.
37274         * benchtests/bench-strlen-ifunc.c: Likewise.
37275         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37276         * benchtests/bench-strncat-ifunc.c: Likewise.
37277         * benchtests/bench-strncmp-ifunc.c: Likewise.
37278         * benchtests/bench-strncpy-ifunc.c: Likewise.
37279         * benchtests/bench-strnlen-ifunc.c: Likewise.
37280         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37281         * benchtests/bench-strrchr-ifunc.c: Likewise.
37282         * benchtests/bench-strsep-ifunc.c: Likewise.
37283         * benchtests/bench-strspn-ifunc.c: Likewise.
37284         * benchtests/bench-strstr-ifunc.c: Likewise.
37286 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37288         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37290 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37292         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37293         * rt/aio.h: Likewise.
37294         * sysdeps/gnu/bits/utmp.h: Likewise.
37295         * sysdeps/gnu/bits/utmpx.h: Likewise.
37296         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37297         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37298         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37299         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37300         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37301         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37302         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37303         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37304         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37305         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37306         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37307         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37308         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37310         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37311         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37312         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37313         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37314         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37315         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37316         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37317         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37318         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37319         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37320         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37322         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37323         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37324         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37325         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37326         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37327         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37328         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37329         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37330         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37331         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37332         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37333         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37334         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37335         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37336         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37337         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37339 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37341         [BZ #16245]
37342         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37343         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37345 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37347         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37348         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37349         Likewise.
37351 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37354         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37355         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37356         (__fesetround): Remove define.
37357         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37358         rounding and exceptions handling.
37359         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37360         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37361         (__fe_nomask_env): Likewise.
37362         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37363         __fegetround instead of fegetround.
37364         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37365         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37367 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37369         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37370         it's there.
37372         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37374 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37376         [BZ #11157]
37377         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37378         (encrypt_r): Likewise.
37379         * malloc/obstack.h (obstack_free): Likewise.
37380         * posix/unistd.h (encrypt): Likewise.
37382 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37384         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37385         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37386         DL_CALL_DT_FINI() that call the functions directly.
37387         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37388         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37389         * elf/dl-fini.c: Likewise.
37391 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37393         * malloc/hooks.c (memalign_check): Add alignment rounding.
37394         * malloc/malloc.c (_mid_memalign): New function.
37395         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37396         Implement by calling _mid_memalign.
37397         * manual/probes.texi (Memory Allocation Probes): Remove
37398         memory_valloc_retry and memory_pvalloc_retry.
37400 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37402         * locale/programs/locarchive.c (open_archive): Add const
37403         qualifier to ARCHIVEFNAME and copy default fname to
37404         DEFAULT_FNAME.
37406         [BZ #15601]
37407         * libio/tst-widetext.input: Rename Oriya to Odia.
37408         * locale/iso-639.def: Likewise.
37410         * manual/probes.texi (Mathematical Function Probes): Add
37411         documentation for sin, cos, asin and acos probes.
37412         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37413         (__sin32): Add slowasin probe.
37414         (__cos32): Add slowacos probe.
37415         (__mpsin): Add slowsin probe.
37416         (__mpcos): Add slowcos probe.
37418 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37420         [BZ #15483]
37421         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37422         thread-local __sim_exceptions_thread and global
37423         __sim_exceptions_global.
37424         (__sim_disabled_exceptions): Change to thread-local
37425         __sim_disabled_exceptions_thread and global
37426         __sim_disabled_exceptions_global.
37427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37428         and global __sim_round_mode_global.
37429         (__simulate_exceptions): Use thread-local floating-point state and
37430         set global state from it as needed.
37431         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37432         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37433         __sim_round_mode_thread.
37434         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37435         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37436         and global __sim_exceptions_global.
37437         (__sim_disabled_exceptions): Change to thread-local
37438         __sim_disabled_exceptions_thread and global
37439         __sim_disabled_exceptions_global.
37440         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37441         and global __sim_round_mode_global.
37442         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37443         (SIM_SET_GLOBAL): Likewise.
37444         * sysdeps/powerpc/soft-fp/sfp-machine.h
37445         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37446         __sim_round_mode_thread.
37447         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37448         __sim_disabled_exceptions_thread.
37449         (__sim_exceptions): Change to __sim_exceptions_thread.
37450         (__sim_disabled_exceptions): Change to
37451         __sim_disabled_exceptions_thread.
37452         (__sim_round_mode): Change to __sim_round_mode_thread.
37453         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37454         thread-local floating-point state and set global state from it as
37455         needed.
37456         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37457         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37458         (__sim_disabled_exceptions): Remove extern declaration.
37459         (feenableexcept): Use thread-local floating-point state and set
37460         global state from it as needed.
37461         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37462         extern declaration.
37463         (__sim_disabled_exceptions): Likewise.
37464         (__sim_round_mode): Likewise.
37465         (__fegetenv): Use thread-local floating-point state.
37466         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37467         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37468         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37469         floating-point state and set global state from it as needed.
37470         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37471         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37472         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37473         Likewise.
37474         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37475         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37476         Likewise.
37477         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37478         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37479         Use __sim_round_mode_thread.
37480         * math/test-fenv-tls.c: New file.
37481         * math/Makefile (tests): Add test-fenv-tls.
37482         ($(objpfx)test-fenv-tls): Depend on
37483         $(common-objpfx)nptl/libpthread.so.
37485 2013-11-19  Andreas Schwab  <schwab@suse.de>
37487         * locale/programs/locale.c (show_info): Decode wordarray elements.
37488         * locale/categories.def (LC_MONETARY): Add element for
37489         _NL_MONETARY_CRNCYSTR.
37490         * locale/C-monetary.c (conversion_rate): New variable.
37491         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37492         element.
37494 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37496         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37497         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37499 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37501         * elf/Makefile (tst-auxv): New test.
37502         * elf/tst-auxv.c: New
37503         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37505 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37507         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37508         (hidden_proto): Caller changed.
37509         (hidden_tls_proto): New macro.
37510         (libc_hidden_tls_proto): Likewise.
37511         (rtld_hidden_tls_proto): Likewise.
37512         (libm_hidden_tls_proto): Likewise.
37513         (libresolv_hidden_tls_proto): Likewise.
37514         (librt_hidden_tls_proto): Likewise.
37515         (libdl_hidden_tls_proto): Likewise.
37516         (libnss_files_hidden_tls_proto): Likewise.
37517         (libnsl_hidden_tls_proto): Likewise.
37518         (libnss_nisplus_hidden_tls_proto): Likewise.
37519         (libutil_hidden_tls_proto): Likewise.
37521 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37523         [BZ #10253]
37524         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37525         (decompose_rpath): Defer expansion to fillin_rpath.
37526         (_dl_init_paths): Pass linkmap to fillin_rpath.
37528 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37530         * benchtests/Makefile: Add strsep.
37531         * benchtests/bench-strsep.c: New file: strsep benchtest.
37532         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37534 2013-11-18  Andreas Schwab  <schwab@suse.de>
37536         * locale/programs/locale.c (show_info) [case byte]: Check for
37537         '\377' instead of '\177'.
37538         * locale/C-monetary.c (not_available): Always use "\377".
37539         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37540         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37541         detect unavailable sign_posn locale elements.
37542         * locale/localeconv.c (__localeconv): For grouping and
37543         mon_grouping handle "\177" and "\377" like no grouping.
37544         (INT_ELEM): New macro.  Use it to set all numeric members.
37545         * locale/programs/ld-monetary.c (monetary_read)
37546         <tok_mon_grouping>: Normalize single -1 to the empty string.
37547         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37548         Likewise.
37550 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37552         [BZ #16055]
37553         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37554         when we match (nil).
37555         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37557 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37559         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37560         (NO_TEST_INLINE): Update value.
37561         (ERRNO_UNCHANGED): Likewise.
37562         (ERRNO_EDOM): Likewise.
37563         (ERRNO_ERANGE): Likewise.
37564         (IGNORE_RESULT): Likewise.
37565         (check_float_internal): Check signs of NaN results if
37566         TEST_NAN_SIGN used.
37567         (check_complex): Pass TEST_NAN_SIGN flag through to second
37568         check_float_internal call.
37569         (copysign_test_data): Add tests with quiet NaNs as second
37570         argument.  Use TEST_NAN_SIGN.
37571         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37572         TEST_NAN_SIGN.
37573         (signbit_test_data): Add tests of quiet NaN argument.
37574         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37576         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37577         $ignore_result.
37578         (parse_args): Handle function results specified as IGNORE.
37579         * math/libm-test.inc (IGNORE_RESULT): New macro.
37580         (check_float_internal): Do not check numerical result if flag
37581         IGNORE_RESULT set.
37582         (check_complex): Pass through IGNORE_RESULT to second
37583         check_float_internal call.
37584         (check_int): Do not check numerical result if flag IGNORE_RESULT
37585         set.
37586         (check_long): Likewise.
37587         (check_bool): Likewise.
37588         (check_longlong): Likewise.
37589         (lrint_test_data): Add tests of infinite and NaN arguments.
37590         (lrint_tonearest_test_data): Likewise.
37591         (lrint_towardzero_test_data): Likewise.
37592         (lrint_downward_test_data): Likewise.
37593         (lrint_upward_test_data): Likewise.
37594         (llrint_test_data): Likewise.
37595         (llrint_tonearest_test_data): Likewise.
37596         (llrint_towardzero_test_data): Likewise.
37597         (llrint_downward_test_data): Likewise.
37598         (llrint_upward_test_data): Likewise.
37599         (lround_test_data): Likewise.
37600         (llround_test_data): Likewise.
37602         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37603         (ERRNO_UNCHANGED): Update value.
37604         (ERRNO_EDOM): Likewise.
37605         (ERRNO_ERANGE): Likewise.
37606         (NO_TEST_INLINE_FLOAT): New macro.
37607         (NO_TEST_INLINE_DOUBLE): Likewise.
37608         (enable_test): New function.
37609         (RUN_TEST_f_f): Check enable_test before running test.
37610         (RUN_TEST_2_f): Likewise.
37611         (RUN_TEST_fff_f): Likewise.
37612         (RUN_TEST_c_f): Likewise.
37613         (RUN_TEST_f_f1): Likewise.
37614         (RUN_TEST_fF_f1): Likewise.
37615         (RUN_TEST_fI_f1): Likewise.
37616         (RUN_TEST_ffI_f1): Likewise.
37617         (RUN_TEST_c_c): Likewise.
37618         (RUN_TEST_cc_c): Likewise.
37619         (RUN_TEST_f_i): Likewise.
37620         (RUN_TEST_f_i_tg): Likewise.
37621         (RUN_TEST_ff_i_tg): Likewise.
37622         (RUN_TEST_f_b): Likewise.
37623         (RUN_TEST_f_b_tg): Likewise.
37624         (RUN_TEST_f_l): Likewise.
37625         (RUN_TEST_f_L): Likewise.
37626         (RUN_TEST_fFF_11): Likewise.
37627         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37628         conditionals.
37629         (cosh_test_data): Likewise.
37630         (exp_test_data): Likewise.
37631         (expm1_test_data): Likewise.
37632         (hypot_test_data): Likewise.
37633         (pow_test_data): Likewise.
37634         (sinh_test_data): Likewise.
37635         (tanh_test_data): Likewise.
37636         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37637         flags argument.
37639         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37640         tests with quiet NaN input and output.
37641         (acosh_test_data): Likewise.
37642         (asin_test_data): Likewise.
37643         (asinh_test_data): Likewise.
37644         (atan_test_data): Likewise.
37645         (atanh_test_data): Likewise.
37646         (atan2_test_data): Likewise.
37647         (cbrt_test_data): Likewise.
37648         (cos_test_data): Likewise.
37649         (cosh_test_data): Likewise.
37650         (erf_test_data): Likewise.
37651         (erfc_test_data): Likewise.
37652         (exp_test_data): Likewise.
37653         (exp10_test_data): Likewise.
37654         (exp2_test_data): Likewise.
37655         (expm1_test_data): Likewise.
37656         (hypot_test_data): Likewise.
37657         (j0_test_data): Likewise.
37658         (j1_test_data): Likewise.
37659         (jn_test_data): Likewise.
37660         (lgamma_test_data): Likewise.
37661         (log_test_data): Likewise.
37662         (log10_test_data): Likewise.
37663         (log1p_test_data): Likewise.
37664         (log2_test_data): Likewise.
37665         (pow_test_data): Likewise.
37666         (scalb_test_data): Likewise.
37667         (sin_test_data): Likewise.
37668         (sincos_test_data): Likewise.
37669         (sinh_test_data): Likewise.
37670         (tan_test_data): Likewise.
37671         (tanh_test_data): Likewise.
37672         (tgamma_test_data): Likewise.
37673         (y0_test_data): Likewise.
37674         (y1_test_data): Likewise.
37675         (yn_test_data): Likewise.
37677         [BZ #16167]
37678         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37679         argument being NaN and avoid computations with second argument in
37680         that case.
37681         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37682         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37683         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37685 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37687         * locale/iso-639.def: Add Chitwani Tharu (the).
37689 2013-11-14  Andreas Schwab  <schwab@suse.de>
37691         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37692         word instead of empty string.
37694 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37697         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37699         (__fe_nomask_env): Likewise.
37701 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37703         * benchtests/bench-timing.h: Include time.h.
37705 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37707         [BZ #15997]
37708         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37709         to 3.4.0 for x32.
37710         * sysdeps/unix/sysv/linux/configure: Regenerated.
37712 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37714         [BZ #16151]
37715         * stdlib/strtod_l.c (round_and_return): Do not consider
37716         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37717         exponent one less than half the least subnormal exponent.
37718         * stdlib/test-strtod-round-data: Add more tests.
37719         * stdlib/tst-strtod-round.c (tests): Regenerated.
37721 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37723         [BZ #14143]
37724         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37725         (__fe_mask_env): Likewise.
37726         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37727         libm_hidden_proto and add function prototype.
37728         (__fe_mask_env): Add function prototype.
37729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37730         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37732         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37734         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37736 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37738         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37739         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37741 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37743         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37744         of htab_find_slot().
37746 2013-11-11  David S. Miller  <davem@davemloft.net>
37748         [BZ #16150]
37749         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37750         symbol in the non-vis3 case in static builds.
37751         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37752         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37753         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37754         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37756 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37758         [BZ #387]
37759         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37760         it is empty.
37762 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37764         * benchtests/Makefile: Add bench-strtod.
37765         * benchtests/bench-strtod.c: New file: strtod benchtest
37767 2013-11-11  Andreas Schwab  <schwab@suse.de>
37769         [BZ #16153]
37770         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37771         terminating NUL in key length.
37773 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37776         Add artificial ODP entry for vDSO symbol for PPC64.
37777         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37778         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37780 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37782         [BZ #15374]
37783         * nss/getent.c (services_keys): Recognize services starting with digit.
37785 2013-11-06  David S. Miller  <davem@davemloft.net>
37787         [BZ #15985]
37788         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37789         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37791 2013-11-06  Will Newton  <will.newton@linaro.org>
37793         * manual/memory.texi (Malloc Examples): Remove register
37794         keyword from examples.
37796 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37798         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37800 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37802         [BZ #6981]
37803         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37804         depending on [__GCC_IEC_559 > 0].
37805         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37806         depending on [__GCC_IEC_559_COMPLEX > 0].
37808 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37810         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37811         to iso-639.def.
37813 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37815         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37817 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37819         [BZ #16112]
37820         * malloc/malloc (malloc_info): Do not handle first bin as
37821         special case.
37823 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37825         * locale/iso-639.def: Add Central Nahuatl (nhn).
37827 2013-11-01  Bruno Haible  <bruno@clisp.org>
37829         [BZ #7003]
37830         * manual/math.texi (BSD Random): Specify range upper bound as
37831         in POSIX.
37833 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37835         * locale/iso-639.def: Add Meadow Mari (mhr).
37837 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37839         [BZ #14752], [BZ #15763]
37840         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37841         Validate name.
37842         * rt/tst_shm.c: Add test for escaping directory.
37844 2013-10-31  Andreas Schwab  <schwab@suse.de>
37846         [BZ #15917]
37847         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37848         followed by 'x' as part of digit sequence.
37849         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37851 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37853         [BZ #16037]
37854         * configure.ac: allow GNU Make 4.0 and greater.
37855         * configure: Regenerated.
37857 2013-10-30  Will Newton  <will.newton@linaro.org>
37859         [BZ #16038]
37860         * malloc/hooks.c (memalign_check): Limit alignment to the
37861         maximum representable power of two.
37862         * malloc/malloc.c (__libc_memalign): Likewise.
37863         * malloc/tst-memalign.c (do_test): Add test for very
37864         large alignment values.
37865         * malloc/tst-posix_memalign.c (do_test): Likewise.
37867 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37869         [BZ #11087]
37870         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37871         (munmap_chunk): Likewise.
37872         (mremap_chunk): Likewise.
37874 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37876         [BZ #15799]
37877         * stdlib/div.c (div): Remove obsolete code.
37878         * stdlib/ldiv.c (ldiv): Likewise.
37879         * stdlib/lldiv.c (lldiv): Likewise.
37881 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37883         [BZ #16071]
37884         * nss/nss_files/files-XXX.c (get_contents_ret): New
37885         enumerator.
37886         (get_contents): New function.
37887         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37889 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37891         * configure.in: Moved to ...
37892         * configure.ac: ... here. Change reference to configure.in
37893         to configure.ac.
37894         * sysdeps/arm/preconfigure.ac: ... here.
37895         configure.in to configure.ac.
37896         * sysdeps/gnu/configure.in: Moved to ...
37897         * sysdeps/gnu/configure.ac: ... here.
37898         * sysdeps/i386/configure.in: Moved to ...
37899         * sysdeps/i386/configure.ac: ... here.
37900         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37901         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37902         * sysdeps/mach/configure.in: Moved to ...
37903         * sysdeps/mach/configure.ac: ... here.
37904         * sysdeps/mach/hurd/configure.in: Moved to ...
37905         * sysdeps/mach/hurd/configure.ac: ... here.
37906         * sysdeps/powerpc/configure.in: Moved to ...
37907         * sysdeps/powerpc/configure.ac: ... here.
37908         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37909         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37910         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37911         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37912         * sysdeps/s390/s390-32/configure.in: Moved to ...
37913         * sysdeps/s390/s390-32/configure.ac: ... here.
37914         * sysdeps/s390/s390-64/configure.in: Moved to ...
37915         * sysdeps/s390/s390-64/configure.ac: ... here.
37916         * sysdeps/sh/configure.in: Moved to ...
37917         * sysdeps/sh/configure.ac: ... here.
37918         * sysdeps/sparc/configure.in: Moved to ...
37919         * sysdeps/sparc/configure.ac: ... here.
37920         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37921         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37922         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37923         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37924         * sysdeps/x86_64/configure.in: Moved to ...
37925         * sysdeps/x86_64/configure.ac: ... here.
37926         * sysdeps/x86_64/preconfigure.in: Moved to ...
37927         * sysdeps/x86_64/preconfigure.ac: ... here.
37928         * aclocal.m4: Change reference to configure.in to configure.ac.
37929         * config.h.in: Likewise.
37930         * manual/install.texi: Likewise.
37931         * manual/maint.texi: Likewise.
37932         * Makefile: Likewise.
37933         * malloc/Makefile: Likewise.
37934         * nscd/Makefile: Likewise.
37935         * Makeconfig: Change reference to configure.in and
37936         preconfigure.in to configure.ac and preconfigure.ac
37937         respectively.
37938         * INSTALL: Regenerated.
37939         * configure: Likewise.
37940         * sysdeps/gnu/configure: Likewise.
37941         * sysdeps/i386/configure: Likewise.
37942         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37943         * sysdeps/mach/configure: Likewise.
37944         * sysdeps/mach/hurd/configure: Likewise.
37945         * sysdeps/powerpc/configure: Likewise.
37946         * sysdeps/powerpc/powerpc32/configure: Likewise.
37947         * sysdeps/powerpc/powerpc64/configure: Likewise.
37948         * sysdeps/s390/s390-32/configure: Likewise.
37949         * sysdeps/s390/s390-64/configure: Likewise.
37950         * sysdeps/sh/configure: Likewise.
37951         * sysdeps/sparc/configure: Likewise.
37952         * sysdeps/unix/sysv/linux/configure: Likewise.
37953         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37954         * sysdeps/x86_64/configure: Likewise.
37955         * sysdeps/x86_64/preconfigure: Likewise.
37957 2013-10-29  Andreas Schwab  <schwab@suse.de>
37959         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37961 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37963         * benchtests/pow-inputs: Add new inputs.
37965         * benchtests/exp-inputs: Add new inputs.
37967         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37968         conditional check for return value.
37969         (__cos32): Likewise.
37971 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37973         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37974         to provide a boost for large inputs with word alignment.
37975         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37976         implementation based on optimized PPC64 strcpy.
37977         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37978         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37979         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37980         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37982 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37984         [BZ #2801]
37985         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37987 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37989         [BZ #14876]
37990         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37991         * time/tst-strptime.c (day_tests): Add testcase.
37993 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37995         [BZ #14029]
37996         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37998 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38000         [BZ #16074]
38001         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38002         MAP_FAILED on error.
38004 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38006         [BZ #16072]
38007         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38008         heap for large requests.
38010 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38012         [BZ #9954]
38013         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38014         result if the result has no associated interface.
38015         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38016         interface for all 127.X.Y.Z addresses.
38018 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38020         * locale/iso-639.def: Add Ligurian (lij)
38022 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38024         [BZ #15825]
38025         * sunrpc/rpc_main.c: Document rpcgen -5.
38027 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38029         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38031 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38033         [BZ #10278]
38034         * posix/glob.c: Match only directories when trailing slash is present.
38035         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38036         (main): Add testcase.
38038 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38040         [BZ #15670]
38041         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38043 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38045         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38046         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38047         AUTH_DES and cindex for FIPS 140-2.
38048         (DES Encryption): Add cindex FIPS 46-3.
38050         * locale/locarchive.h (struct locarhandle): Add fname.
38051         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38052         if an optional argument was specified to --list-archive,
38053         otherwise NULL.
38054         * locale/programs/locarchive.c (show_archive_content): Take new
38055         argument fname and pass it via ah.fname to open_archive.
38056         * locale/programs/localedef.h: Update decl.
38057         (open_archive): If AH->fname is non-null, open that file
38058         rather than the default file name, and don't ignore ENOENT.
38059         (create_archive): Set AH.fname to NULL.
38060         (delete_locales_from_archive): Likewise.
38061         (add_locales_to_archive): Likewise.
38062         * locale/programs/locfile.c (write_all_categories): Likewise.
38064 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38065             Aldy Hernandez  <aldyh@redhat.com>
38067         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38068         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38069         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38070         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38071         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38072         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38073         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38074         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38075         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38077         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38078         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38079         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38080         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38081         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38082         Likewise.
38083         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38084         Likewise.
38085         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38086         Likewise.
38087         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38088         Likewise.
38089         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38090         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38091         Likewise.
38092         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38093         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38094         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38095         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38096         Likewise.
38097         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38098         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38099         * sysdeps/powerpc/preconfigure: Likewise.
38100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38101         Likewise.
38102         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38103         Replace contents of file by #include of <fenv_libc.h>.
38104         * sysdeps/powerpc/soft-fp/sfp-machine.h
38105         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38106         and <sys/prctl.h>.
38107         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38116         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38120         Allow copysignl PLT reference to be missing.
38122 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38123             Joseph Myers  <joseph@codesourcery.com
38125         [BZ #15948]
38126         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38127         single character.
38128         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38130 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38132         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38133         * elf/tst-tls1.c: Likewise.
38134         * elf/tst-tls10.h: Likewise.
38135         * elf/tst-tls14.c: Likewise.
38136         * elf/tst-tls2.c: Likewise.
38137         * elf/tst-tls3.c: Likewise.
38138         * elf/tst-tls4.c: Likewise.
38139         * elf/tst-tls5.c: Likewise.
38140         * elf/tst-tls6.c: Likewise.
38141         * elf/tst-tls7.c: Likewise.
38142         * elf/tst-tls8.c: Likewise.
38143         * elf/tst-tls9.c: Likewise.
38144         * elf/tst-tlsmod1.c: Likewise.
38145         * elf/tst-tlsmod13.c: Likewise.
38146         * elf/tst-tlsmod13a.c: Likewise.
38147         * elf/tst-tlsmod14a.c: Likewise.
38148         * elf/tst-tlsmod16a.c: Likewise.
38149         * elf/tst-tlsmod16b.c: Likewise.
38150         * elf/tst-tlsmod2.c: Likewise.
38151         * elf/tst-tlsmod3.c: Likewise.
38152         * elf/tst-tlsmod4.c: Likewise.
38153         * elf/tst-tlsmod5.c: Likewise.
38154         * elf/tst-tlsmod6.c: Likewise.
38156 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38158         [BZ #12486]
38159         * malloc/malloc.c: remove checks for statistics.
38161 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38163         [BZ #15277]
38164         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38165         * inet/tst-network.c: Add testcase.
38167 2013-10-17  Andreas Schwab  <schwab@suse.de>
38169         [BZ #15218]
38170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38171         to determine canonical name.
38173 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38175         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38176         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38177         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38178         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38180         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38182         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38183         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38184         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38185         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38186         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38187         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38188         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38189         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38190         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38192         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38193         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38194         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38195         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38196         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38198         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38199         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38200         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38201         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38202         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38203         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38204         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38205         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38206         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38207         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38208         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38209         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38211         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38212         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38213         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38214         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38215         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38216         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38217         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38218         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38219         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38221         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38222         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38223         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38224         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38226         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38227         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38228         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38229         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38230         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38232         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38234 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38236         [BZ #16041]
38237         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38238         make result into a quiet NaN.
38240 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38242         * soft-fp/adddf3.c: Fix horizontal whitespace.
38243         * soft-fp/addsf3.c: Likewise.
38244         * soft-fp/addtf3.c: Likewise.
38245         * soft-fp/divdf3.c: Likewise.
38246         * soft-fp/divsf3.c: Likewise.
38247         * soft-fp/divtf3.c: Likewise.
38248         * soft-fp/double.h: Likewise.
38249         * soft-fp/eqdf2.c: Likewise.
38250         * soft-fp/eqsf2.c: Likewise.
38251         * soft-fp/eqtf2.c: Likewise.
38252         * soft-fp/extenddftf2.c: Likewise.
38253         * soft-fp/extended.h: Likewise.
38254         * soft-fp/extendsfdf2.c: Likewise.
38255         * soft-fp/extendsftf2.c: Likewise.
38256         * soft-fp/extendxftf2.c: Likewise.
38257         * soft-fp/fixdfdi.c: Likewise.
38258         * soft-fp/fixdfsi.c: Likewise.
38259         * soft-fp/fixdfti.c: Likewise.
38260         * soft-fp/fixsfdi.c: Likewise.
38261         * soft-fp/fixsfsi.c: Likewise.
38262         * soft-fp/fixsfti.c: Likewise.
38263         * soft-fp/fixtfdi.c: Likewise.
38264         * soft-fp/fixtfsi.c: Likewise.
38265         * soft-fp/fixtfti.c: Likewise.
38266         * soft-fp/fixunsdfdi.c: Likewise.
38267         * soft-fp/fixunsdfsi.c: Likewise.
38268         * soft-fp/fixunsdfti.c: Likewise.
38269         * soft-fp/fixunssfdi.c: Likewise.
38270         * soft-fp/fixunssfsi.c: Likewise.
38271         * soft-fp/fixunssfti.c: Likewise.
38272         * soft-fp/fixunstfdi.c: Likewise.
38273         * soft-fp/fixunstfsi.c: Likewise.
38274         * soft-fp/fixunstfti.c: Likewise.
38275         * soft-fp/floatdidf.c: Likewise.
38276         * soft-fp/floatdisf.c: Likewise.
38277         * soft-fp/floatditf.c: Likewise.
38278         * soft-fp/floatsidf.c: Likewise.
38279         * soft-fp/floatsisf.c: Likewise.
38280         * soft-fp/floatsitf.c: Likewise.
38281         * soft-fp/floattidf.c: Likewise.
38282         * soft-fp/floattisf.c: Likewise.
38283         * soft-fp/floattitf.c: Likewise.
38284         * soft-fp/floatundidf.c: Likewise.
38285         * soft-fp/floatundisf.c: Likewise.
38286         * soft-fp/floatunditf.c: Likewise.
38287         * soft-fp/floatunsidf.c: Likewise.
38288         * soft-fp/floatunsisf.c: Likewise.
38289         * soft-fp/floatunsitf.c: Likewise.
38290         * soft-fp/floatuntidf.c: Likewise.
38291         * soft-fp/floatuntisf.c: Likewise.
38292         * soft-fp/floatuntitf.c: Likewise.
38293         * soft-fp/fmadf4.c: Likewise.
38294         * soft-fp/fmasf4.c: Likewise.
38295         * soft-fp/fmatf4.c: Likewise.
38296         * soft-fp/gedf2.c: Likewise.
38297         * soft-fp/gesf2.c: Likewise.
38298         * soft-fp/getf2.c: Likewise.
38299         * soft-fp/ledf2.c: Likewise.
38300         * soft-fp/lesf2.c: Likewise.
38301         * soft-fp/letf2.c: Likewise.
38302         * soft-fp/muldf3.c: Likewise.
38303         * soft-fp/mulsf3.c: Likewise.
38304         * soft-fp/multf3.c: Likewise.
38305         * soft-fp/negdf2.c: Likewise.
38306         * soft-fp/negsf2.c: Likewise.
38307         * soft-fp/negtf2.c: Likewise.
38308         * soft-fp/op-1.h: Likewise.
38309         * soft-fp/op-2.h: Likewise.
38310         * soft-fp/op-4.h: Likewise.
38311         * soft-fp/op-8.h: Likewise.
38312         * soft-fp/op-common.h: Likewise.
38313         * soft-fp/quad.h: Likewise.
38314         * soft-fp/single.h: Likewise.
38315         * soft-fp/soft-fp.h: Likewise.
38316         * soft-fp/sqrtdf2.c: Likewise.
38317         * soft-fp/sqrtsf2.c: Likewise.
38318         * soft-fp/sqrttf2.c: Likewise.
38319         * soft-fp/subdf3.c: Likewise.
38320         * soft-fp/subsf3.c: Likewise.
38321         * soft-fp/subtf3.c: Likewise.
38322         * soft-fp/truncdfsf2.c: Likewise.
38323         * soft-fp/trunctfdf2.c: Likewise.
38324         * soft-fp/trunctfsf2.c: Likewise.
38325         * soft-fp/trunctfxf2.c: Likewise.
38326         * soft-fp/unorddf2.c: Likewise.
38327         * soft-fp/unordsf2.c: Likewise.
38328         * soft-fp/unordtf2.c: Likewise.
38330 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38332         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38333         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38335 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38337         * elf/dl-libc.c: Clear initfini list after freeing.
38339 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38341         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38342         * soft-fp/addsf3.c: Likewise.
38343         * soft-fp/addtf3.c: Likewise.
38344         * soft-fp/divdf3.c: Likewise.
38345         * soft-fp/divsf3.c: Likewise.
38346         * soft-fp/divtf3.c: Likewise.
38347         * soft-fp/double.h: Likewise.
38348         * soft-fp/eqdf2.c: Likewise.
38349         * soft-fp/eqsf2.c: Likewise.
38350         * soft-fp/eqtf2.c: Likewise.
38351         * soft-fp/extenddftf2.c: Likewise.
38352         * soft-fp/extended.h: Likewise.
38353         * soft-fp/extendsfdf2.c: Likewise.
38354         * soft-fp/extendsftf2.c: Likewise.
38355         * soft-fp/extendxftf2.c: Likewise.
38356         * soft-fp/fixdfdi.c: Likewise.
38357         * soft-fp/fixdfsi.c: Likewise.
38358         * soft-fp/fixdfti.c: Likewise.
38359         * soft-fp/fixsfdi.c: Likewise.
38360         * soft-fp/fixsfsi.c: Likewise.
38361         * soft-fp/fixsfti.c: Likewise.
38362         * soft-fp/fixtfdi.c: Likewise.
38363         * soft-fp/fixtfsi.c: Likewise.
38364         * soft-fp/fixtfti.c: Likewise.
38365         * soft-fp/fixunsdfdi.c: Likewise.
38366         * soft-fp/fixunsdfsi.c: Likewise.
38367         * soft-fp/fixunsdfti.c: Likewise.
38368         * soft-fp/fixunssfdi.c: Likewise.
38369         * soft-fp/fixunssfsi.c: Likewise.
38370         * soft-fp/fixunssfti.c: Likewise.
38371         * soft-fp/fixunstfdi.c: Likewise.
38372         * soft-fp/fixunstfsi.c: Likewise.
38373         * soft-fp/fixunstfti.c: Likewise.
38374         * soft-fp/floatdidf.c: Likewise.
38375         * soft-fp/floatdisf.c: Likewise.
38376         * soft-fp/floatditf.c: Likewise.
38377         * soft-fp/floatsidf.c: Likewise.
38378         * soft-fp/floatsisf.c: Likewise.
38379         * soft-fp/floatsitf.c: Likewise.
38380         * soft-fp/floattidf.c: Likewise.
38381         * soft-fp/floattisf.c: Likewise.
38382         * soft-fp/floattitf.c: Likewise.
38383         * soft-fp/floatundidf.c: Likewise.
38384         * soft-fp/floatundisf.c: Likewise.
38385         * soft-fp/floatunsidf.c: Likewise.
38386         * soft-fp/floatunsisf.c: Likewise.
38387         * soft-fp/floatuntidf.c: Likewise.
38388         * soft-fp/floatuntisf.c: Likewise.
38389         * soft-fp/floatuntitf.c: Likewise.
38390         * soft-fp/fmadf4.c: Likewise.
38391         * soft-fp/fmasf4.c: Likewise.
38392         * soft-fp/fmatf4.c: Likewise.
38393         * soft-fp/gedf2.c: Likewise.
38394         * soft-fp/gesf2.c: Likewise.
38395         * soft-fp/getf2.c: Likewise.
38396         * soft-fp/ledf2.c: Likewise.
38397         * soft-fp/lesf2.c: Likewise.
38398         * soft-fp/letf2.c: Likewise.
38399         * soft-fp/muldf3.c: Likewise.
38400         * soft-fp/mulsf3.c: Likewise.
38401         * soft-fp/multf3.c: Likewise.
38402         * soft-fp/negdf2.c: Likewise.
38403         * soft-fp/negsf2.c: Likewise.
38404         * soft-fp/negtf2.c: Likewise.
38405         * soft-fp/op-1.h: Likewise.
38406         * soft-fp/op-2.h: Likewise.
38407         * soft-fp/op-4.h: Likewise.
38408         * soft-fp/op-8.h: Likewise.
38409         * soft-fp/op-common.h: Likewise.
38410         * soft-fp/quad.h: Likewise.
38411         * soft-fp/single.h: Likewise.
38412         * soft-fp/soft-fp.h: Likewise.
38413         * soft-fp/sqrtdf2.c: Likewise.
38414         * soft-fp/sqrtsf2.c: Likewise.
38415         * soft-fp/sqrttf2.c: Likewise.
38416         * soft-fp/subdf3.c: Likewise.
38417         * soft-fp/subsf3.c: Likewise.
38418         * soft-fp/subtf3.c: Likewise.
38419         * soft-fp/truncdfsf2.c: Likewise.
38420         * soft-fp/trunctfdf2.c: Likewise.
38421         * soft-fp/trunctfsf2.c: Likewise.
38422         * soft-fp/trunctfxf2.c: Likewise.
38423         * soft-fp/unorddf2.c: Likewise.
38424         * soft-fp/unordsf2.c: Likewise.
38425         * soft-fp/unordtf2.c: Likewise.
38427 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38429         [BZ #15672]
38430         * misc/error.c (error_tail): Fix possible buffer overflow.
38432 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38434         [BZ #13028]
38435         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38436         address.
38438 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38440         [BZ #832]
38441         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38442         testing pipefail option.
38444 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38446         * soft-fp/double.h: Indent preprocessor directives inside #if.
38447         * soft-fp/extended.h: Likewise.
38448         * soft-fp/op-2.h: Likewise.
38449         * soft-fp/op-4.h: Likewise.
38450         * soft-fp/op-common.h: Likewise.
38451         * soft-fp/quad.h: Likewise.
38452         * soft-fp/single.h: Likewise.
38453         * soft-fp/soft-fp.h: Likewise.
38455 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38457         * iconv/iconv_prog.c: Fix typos.
38458         * stdio-common/psiginfo-data.h: Likewise.
38460 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38462         [BZ #15764]
38463         * locale/setlocale.c: Fix typo.
38465 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38467         [BZ #16036]
38468         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38469         signaling NaN arguments.
38470         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38471         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38473         [BZ #14910]
38474         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38475         unordered operands.
38476         * soft-fp/gesf2.c (__gesf2): Likewise.
38477         * soft-fp/getf2.c (__getf2): Likewise.
38478         * soft-fp/ledf2.c (__ledf2): Likewise.
38479         * soft-fp/lesf2.c (__lesf2): Likewise.
38480         * soft-fp/letf2.c (__letf2): Likewise.
38482         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38483         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38484         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38485         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38486         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38487         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38488         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38489         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38490         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38491         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38492         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38493         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38494         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38495         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38496         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38497         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38498         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38499         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38500         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38501         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38502         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38503         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38504         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38505         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38506         * soft-fp/floattidf.c (__floattidf): Likewise.
38507         * soft-fp/floattisf.c (__floattisf): Likewise.
38508         * soft-fp/floattitf.c (__floattitf): Likewise.
38509         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38510         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38511         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38512         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38513         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38514         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38515         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38516         * soft-fp/gesf2.c (__gesf2): Likewise.
38517         * soft-fp/getf2.c (__getf2): Likewise.
38518         * soft-fp/ledf2.c (__ledf2): Likewise.
38519         * soft-fp/lesf2.c (__lesf2): Likewise.
38520         * soft-fp/letf2.c (__letf2): Likewise.
38522         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38523         Undefine and redefine.
38524         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38525         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38526         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38527         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38528         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38529         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38530         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38531         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38532         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38533         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38534         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38535         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38536         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38537         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38538         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38540         [BZ #16032]
38541         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38542         without decrementing exponent if mantissa >= that for the
38543         denominator, not >.
38544         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38545         denominator, not >.  Decrement exponent in < case instead of
38546         incrementing in >= case.
38547         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38548         without decrementing exponent if mantissa >= that for the
38549         denominator, not >.
38551         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38552         computing saturated result for unsigned overflow.
38554 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38555             Jeff Law  <law@redhat.com>
38557         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38558         (atan2Mp): Add systemtap probe marker.
38559         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38560         (__ieee754_log): Add systemtap probe marker.
38561         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38562         (atanMp): Add systemtap probe marker.
38563         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38564         (tanMp): Add systemtap probe marker.
38565         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38566         (__slowexp): Add systemtap probe marker.
38567         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38568         (__slowpow): Add systemtap probe marker.
38569         * manual/probes.texi: Document probes.
38571 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38573         [BZ #15362]
38574         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38575         written.
38576         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38577         written.
38578         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38579         written to buffer but not flushed.
38580         * libio/iofwrite_u.c:  Likewise.
38581         * libio/iopadn.c:  Return bytes returned even if EOF was
38582         encountered.
38583         * libio/iowpadn.c:  Likewise.
38584         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38585         if _IO_padn does not write the whole buffer.
38586         [!COMPILE_WPRINTF] (PAD): Likewise.
38588 2013-10-10  David S. Miller  <davem@davemloft.net>
38590         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38591         directory block.
38593 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38595         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38596         instead of FSF address.
38597         * soft-fp/fixdfti.c: Likewise.
38598         * soft-fp/fixsfti.c: Likewise.
38599         * soft-fp/fixtfti.c: Likewise.
38600         * soft-fp/fixunsdfti.c: Likewise.
38601         * soft-fp/fixunssfti.c: Likewise.
38602         * soft-fp/fixunstfti.c: Likewise.
38603         * soft-fp/floattidf.c: Likewise.
38604         * soft-fp/floattisf.c: Likewise.
38605         * soft-fp/floattitf.c: Likewise.
38606         * soft-fp/floatuntidf.c: Likewise.
38607         * soft-fp/floatuntisf.c: Likewise.
38608         * soft-fp/floatuntitf.c: Likewise.
38609         * soft-fp/trunctfxf2.c: Likewise.
38611         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38612         * soft-fp/fixdfti.c: Likewise.
38613         * soft-fp/fixsfti.c: Likewise.
38614         * soft-fp/fixtfti.c: Likewise.
38615         * soft-fp/fixunsdfti.c: Likewise.
38616         * soft-fp/fixunssfti.c: Likewise.
38617         * soft-fp/fixunstfti.c: Likewise.
38618         * soft-fp/floattidf.c: Likewise.
38619         * soft-fp/floattisf.c: Likewise.
38620         * soft-fp/floattitf.c: Likewise.
38621         * soft-fp/floatuntidf.c: Likewise.
38622         * soft-fp/floatuntisf.c: Likewise.
38623         * soft-fp/floatuntitf.c: Likewise.
38624         * soft-fp/trunctfxf2.c: Likewise.
38626 2013-10-10  David S. Miller  <davem@davemloft.net>
38628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38630 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38632         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38633         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38634         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38635         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38636         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38637         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38638         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38640         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38641         for NaNs before doing comparisons on argument.
38642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38643         Likewise.
38645 2013-10-10  Will Newton  <will.newton@linaro.org>
38647         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38648         passed to _int_memalign does not overflow.
38650 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38652         * scripts/bench.pl: Add include-sources directive.
38653         * benchtests/README: Update documentation.
38655 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38657         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38658         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38659         instead of FP_INIT_ROUNDMODE.
38660         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38661         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38663         [BZ #16034]
38664         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38665         copy class of input value.
38666         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38667         not handle exceptions.
38668         * soft-fp/negsf2.c (__negsf2): Likewise.
38669         * soft-fp/negtf2.c (__negtf2): Likewise.
38670         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38672 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38674         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38675         semicolon.  From Linux kernel.
38677 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38679         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38681 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38683         [BZ #156]
38684         * manual/socket.texi: Added statement about buffer
38685         for gethostbyname2_r.
38687 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38689         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38690         Use .p2align directive instead, throughout.
38691         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38692         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38693         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38694         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38695         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38696         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38697         * sysdeps/x86_64/strchr.S: Likewise.
38698         * sysdeps/x86_64/strrchr.S: Likewise.
38700 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38702         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38704         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38706         * sysdeps/generic/math_private.h (__mpsin1): Remove
38707         declaration.
38708         (__mpcos1): Likewise.
38709         (__mpsin): New argument __range_reduce.
38710         (__mpcos): Likewise.
38711         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38712         (slow): Use __mpsin and __mpcos.
38713         (slow1): Likewise.
38714         (slow2): Likewise.
38715         (sloww): Likewise.
38716         (sloww1): Likewise.
38717         (sloww2): Likewise.
38718         (bsloww): Likewise.
38719         (bsloww1): Likewise.
38720         (bsloww2): Likewise.
38721         (cslow2): Likewise.
38722         (csloww): Likewise.
38723         (csloww1): Likewise.
38724         (csloww2): Likewise.
38725         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38726         range_reduce.  Merge in __mpsin1.
38727         (__mpcos): Likewise.
38728         (__mpsin1): Remove.
38729         (__mpcos1): Likewise.
38731 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38733         * locale/loadlocale.c (_nl_intern_locale_data): Use
38734         LOCFILE_ALIGNED_P.
38735         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38736         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38737         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38738         obstack data is appropriately aligned.
38739         (obstack_int32_grow_fast): Likewise.
38740         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38741         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38742         (add_locale_uint32_array): Likewise.
38744 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38746         * benchtests/Makefile: Remove ARGLIST and RET variables.
38747         ($(objpfx)bench-%.c): Pass only function name to the script.
38748         * benchtests/README: Update documentation.
38749         * benchtests/acos-inputs: Add new directives.
38750         * benchtests/acosh-inputs: Likewise.
38751         * benchtests/asin-inputs: Likewise.
38752         * benchtests/asinh-inputs: Likewise.
38753         * benchtests/atan-inputs: Likewise.
38754         * benchtests/atanh-inputs: Likewise.
38755         * benchtests/cos-inputs: Likewise.
38756         * benchtests/cosh-inputs: Likewise.
38757         * benchtests/exp-inputs: Likewise.
38758         * benchtests/log-inputs: Likewise.
38759         * benchtests/pow-inputs: Likewise.
38760         * benchtests/rint-inputs: Likewise.
38761         * benchtests/sin-inputs: Likewise.
38762         * benchtests/sinh-inputs: Likewise.
38763         * benchtests/tan-inputs: Likewise.
38764         * benchtests/tanh-inputs: Likewise.
38765         * scripts/bench.pl: Add support for new directives.
38767 2013-10-07  Alan Modra  <amodra@gmail.com>
38769         * README: Fix careless merge.
38771 2013-10-05  Alan Modra  <amodra@gmail.com>
38773         * NEWS: Mention powerpc64le support and bugs fixed.
38774         * README: Both big-endian and little-endian powerpc64 supported.
38776 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38778         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38779         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38780         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38781         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38783 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38785         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38786         match prototype.
38788 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38790         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38791         Move -mhard-float appending from
38792         ports/sysdeps/powerpc/powerpc32/Makefile.
38793         [$(with-fp) = yes] (ASFLAGS): Likewise.
38794         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38795         * sysdeps/powerpc/nofpu: Move directory from
38796         ports/sysdeps/powerpc/nofpu.
38797         * sysdeps/powerpc/soft-fp: Move directory from
38798         ports/sysdeps/powerpc/soft-fp.
38799         * sysdeps/powerpc/powerpc32/405: Move directory from
38800         ports/sysdeps/powerpc/powerpc32/405.
38801         * sysdeps/powerpc/powerpc32/440: Move directory from
38802         ports/sysdeps/powerpc/powerpc32/440.
38803         * sysdeps/powerpc/powerpc32/464: Move directory from
38804         ports/sysdeps/powerpc/powerpc32/464.
38805         * sysdeps/powerpc/powerpc32/476: Move directory from
38806         ports/sysdeps/powerpc/powerpc32/476.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38808         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38810         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38812         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38814         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38816         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38817         * README: Update for powerpc-*-linux-gnu software floating point
38818         support in libc.
38820         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38821         case to powerpc/powerpc32*.
38822         * sysdeps/unix/sysv/linux/configure: Regenerated.
38824         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38825         (_FPU_MASK_OM): Define as 0x04.
38826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38828         0x00c10080.
38829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38830         0x0000003c.
38831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38834         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38835         getcontext_e500.
38836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38837         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38838         setcontext_e500.
38839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38840         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38841         and setcontext_e500.
38843 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38845         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38847 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38849         * manual/threads.texi (Default Thread Attributes): Fix typo.
38851 2013-10-04  Will Newton  <will.newton@linaro.org>
38853         * malloc/Makefile: Add tst-memalign.
38854         * malloc/tst-memalign.c: New file.
38856         * malloc/tst-posix_memalign.c: Add comments.
38857         (do_test): Add comments and call free on all potentially
38858         allocated pointers. Add space after cast.
38860         * malloc/tst-pvalloc.c: Add comments.
38861         (do_test): Add comments and call free on all potentially
38862         allocated pointers. Remove duplicate check for NULL pointer.
38863         Add space after cast.
38865         * malloc/tst-valloc.c: Add comments.
38866         (do_test): Add comments and call free on all potentially
38867         allocated pointers. Remove duplicate check for NULL pointer.
38868         Add space after cast.
38870 2013-10-04  Alan Modra  <amodra@gmail.com>
38872         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38873         Use stdint types in rather than __attribute__((mode())).
38874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38876 2013-10-04  Alan Modra  <amodra@gmail.com>
38878         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38879         Correct handling of unaligned relocs for little-endian.
38880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38882 2013-10-04  Alan Modra  <amodra@gmail.com>
38884         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38885         * configure: Regenerate.
38886         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38887         * shlib-versions: Likewise.
38889 2013-10-04  Alan Modra  <amodra@gmail.com>
38891         * string/tester.c (test_memrchr): Increment reported test cycle.
38893 2013-10-04  Alan Modra  <amodra@gmail.com>
38895         * string/test-memcpy.c (do_one_test): When reporting errors, print
38896         string address and don't overrun end of string.
38898 2013-10-04  Alan Modra  <amodra@gmail.com>
38900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38901         insrdi.  Make better use of reg selection to speed exit slightly.
38902         Schedule entry path a little better.  Remove useless "are we done"
38903         checks on entry to main loop.  Handle wrapping around zero address.
38904         Correct main loop count.  Handle single left-over word from main
38905         loop inline rather than by using loop_small.  Remove extra word
38906         case in loop_small caused by wrong loop count.  Add little-endian
38907         support.
38908         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38909         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38910         cache hint.
38911         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38912         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38913         support.  Avoid rlwimi.
38914         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38916 2013-10-04  Alan Modra  <amodra@gmail.com>
38918         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38919         insrdi.  Formatting.
38920         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38921         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38922         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38923         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38924         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38925         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38927 2013-10-04  Alan Modra  <amodra@gmail.com>
38929         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38930         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38932         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38933         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38934         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38935         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38936         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38937         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38938         use of regs.  Use power7 mtocrf.  Tidy function tails.
38940 2013-10-04  Alan Modra  <amodra@gmail.com>
38942         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38943         Formatting.  Consistently use rXXX register defines or rN defines.
38944         Use early exit labels that avoid restoring unused non-volatile regs.
38945         Make cr field use more consistent with rWORDn compares.  Rename
38946         regs used as shift registers for unaligned loop, using rN defines
38947         for short lifetime/multiple use regs.
38948         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38949         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38950         addi 1,1,64 to pop stack frame.  Simplify return value code.
38951         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38953 2013-10-04  Alan Modra  <amodra@gmail.com>
38955         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38956         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38957         rather than rlwimi.
38958         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38959         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38960         little-endian support.  Correct typos.
38961         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38962         rather than rlwimi.
38963         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38964         in loop and entry code to keep "and." results.
38965         (strchr): Add little-endian support.  Comment.  Move cntlzd
38966         earlier in tail.
38967         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38969 2013-10-04  Alan Modra  <amodra@gmail.com>
38971         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38972         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38973         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38974         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38976 2013-10-04  Alan Modra  <amodra@gmail.com>
38978         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38979         (rTMP): Define as r11.
38980         (strcmp): Add little-endian support.  Optimise tail.
38981         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38982         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38983         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38984         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38985         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38986         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38987         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38989 2013-10-04  Alan Modra  <amodra@gmail.com>
38991         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38992         little-endian support.  Remove unnecessary "are we done" tests.
38993         Handle "s" wrapping around zero and extremely large "size".
38994         Correct main loop count.  Handle single left-over word from main
38995         loop inline rather than by using small_loop.  Correct comments.
38996         Delete "zero" tail, use "end_max" instead.
38997         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38999 2013-10-04  Alan Modra  <amodra@gmail.com>
39001         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39002         support.  Don't branch over align.
39003         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39004         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39005         support.  Rearrange tmp reg use to suit.  Comment.
39006         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39008 2013-10-04  Alan Modra  <amodra@gmail.com>
39010         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39012 2013-10-04  Alan Modra  <amodra@gmail.com>
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39015         conditional form of branch and link when obtaining pc.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39018 2013-10-04  Alan Modra  <amodra@gmail.com>
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39021         HIWORD/LOWORD.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39025 2013-10-04  Alan Modra  <amodra@gmail.com>
39027         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39028         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39029         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39030         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39031         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39032         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39033         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39034         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39035         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39036         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39038 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39039             Alistair Popple <alistair@ozlabs.au.ibm.com>
39040             Alan Modra <amodra@gmail.com>
39042         [BZ #15723]
39043         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39044         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39045         _dl_hwcap access for little-endian.
39046         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39047         destroy vmx regs when saving unaligned.
39048         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39049         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39050         destroy vmx regs when saving unaligned.
39052 2013-10-04  Alan Modra  <amodra@gmail.com>
39054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39055         Don't use a union to pack hi/low value.
39057 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39059         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39060         for little-endian.
39061         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39063         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39064         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39065         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39067 2013-10-04  Alan Modra  <amodra@gmail.com>
39069         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39070         constants to usual value for .cst8 section, and remove redundant
39071         high address load.
39072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39073         constant for 0x1p52.  Load little-endian words of double from
39074         correct stack offsets.
39076 2013-10-04  Alan Modra  <amodra@gmail.com>
39078         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39079         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39080         words of double from correct stack offsets.
39081         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39082         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39083         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39084         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39086         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39087         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39088         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39089         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39090         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39092         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39093         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39094         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39095         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39096         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39097         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39099 2013-10-04  Alan Modra  <amodra@gmail.com>
39101         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39102         64-bit int/double union.
39103         (_FPU_SETCW): Likewise.
39104         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39105         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39107 2013-10-04  Alan Modra  <amodra@gmail.com>
39109         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39110         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39112 2013-10-04  Alan Modra  <amodra@gmail.com>
39114         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39115         use vector int constants.
39116         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39118 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39120         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39121         array with long long.
39122         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39123         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39124         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39125         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39126         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39127         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39128         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39129         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39130         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39131         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39132         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39133         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39134         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39136 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39138         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39139         (__signbit): Likewise.  Correct for little-endian.
39140         (__signbitl): Call __signbit.
39141         (lrint): Correct for little-endian.
39142         (lrintf): Call lrint.
39144 2013-10-04  Alan Modra  <amodra@gmail.com>
39146         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39147         union 32-bit int array member with 64-bit int array.
39148         (t515, tm256): Double rather than long double.
39149         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39151 2013-10-04  Alan Modra  <amodra@gmail.com>
39153         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39154         Delete.
39155         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39156         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39157         version of math_ldbl.h.
39159 2013-10-04  Alan Modra  <amodra@gmail.com>
39161         [BZ #15734], [BZ #15735]
39162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39163         all uses of ieee875 long double macros and unions.  Simplify test
39164         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39165         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39166         normalize after ldbl_extract_mantissa, and don't add hidden bit
39167         already handled.  Don't treat low word of ieee854 mantissa like
39168         low word of IBM long double and mask off bit when testing for
39169         zero.
39170         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39171         all uses of ieee875 long double macros and unions.  Simplify tests
39172         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39173         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39174         two1022, instead use their values.  Recognise that tests for large
39175         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39176         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39177         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39178         test for 0.0L and nan.  Correct negation.
39179         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39180         ieee875 long double macros and unions.  Correct output for large
39181         magnitude x.  Correct absolute value calculation.
39182         (__erfcl): Likewise.
39183         * math/libm-test.inc: Add tests for errors discovered in IBM long
39184         double versions of fmodl, remainderl, erfl and erfcl.
39186 2013-10-04  Alan Modra  <amodra@gmail.com>
39188         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39189         all uses of ieee854 long double macros and unions.  Simplify tests
39190         for long doubles that are fully specified by the high double.
39191         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39192         Likewise.
39193         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39194         Remove dead code too.
39195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39196         (__ieee754_ynl): Likewise.
39197         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39198         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39200         Remove dead code too.
39201         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39204         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39205         Simplify.
39206         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39207         Simplify.
39208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39211         Comment on variable precision.
39212         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39213         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39214         Likewise.
39215         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39216         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39218         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39219         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39221 2013-10-04  Alan Modra  <amodra@gmail.com>
39223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39224         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39225         all uses of ieee854 long double macros and unions.
39226         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39228         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39229         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39230         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39232         Likewise.
39233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39234         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39235         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39236         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39237         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39238         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39239         Simplify sign and nan test too.
39240         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39241         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39242         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39243         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39244         Likewise.
39245         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39246         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39247         Likewise.
39248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39249         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39250         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39251         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39252         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39255 2013-10-04  Alan Modra  <amodra@gmail.com>
39257         * stdio-common/printf_size.c (__printf_size): Don't use
39258         union ieee854_long_double in fpnum union.
39259         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39260         signbit macro to retrieve sign from long double.
39261         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39262         retrieve sign from long double.
39263         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39264         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39265         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39266         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39267         * math/test-misc.c (main): Don't use union ieee854_long_double.
39269 2013-10-04  Alan Modra  <amodra@gmail.com>
39271         [BZ #15680]
39272         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39273         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39274         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39275         calculation.  Remove unnecessary test for denormal exponent.
39276         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39277         Correct handling of denormals.  Avoid undefined shift behaviour.
39278         Correct normalisation of low mantissa when low double is denormal.
39279         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39280         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39281         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39282         Correct normalisation of low mantissa.  Test for overflow of high
39283         mantissa and normalise.
39284         (ldbl_nearbyint): Use more readable constant for two52.
39285         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39286         (__mpn_construct_long_double): Fix test for overflow of high
39287         mantissa and correct normalisation.  Avoid undefined shift.
39289 2013-10-04  Alan Modra  <amodra@gmail.com>
39291         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39292         (union ibm_extended_long_double): Define as an array of ieee754_double.
39293         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39294         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39295         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39296         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39297         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39298         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39299         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39300         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39301         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39302         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39305 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39307         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39308         page size instead of calling getpagesize.
39310         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39311         (LOCFILE_ALIGN_MASK): Likewise.
39312         (LOCFILE_ALIGN_UP): Likewise.
39313         (LOCFILE_ALIGNED_P): Likewise.
39314         * locale/programs/ld-collate.c (collate_output): Use the new
39315         macros instead of __alignof__ (int32_t).
39316         * locale/weight.h (findidx): Likewise.
39318 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39320         [BZ #431]
39321         * manual/string.texi: Fix strncat and wcsncat.
39323 2013-10-03  Brooks Moses  <bmoses@google.com>
39325         [BZ #15915]
39326         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39327         * Makerules: ...here, and adjust associated comments.
39329 2013-10-02  Will Newton  <will.newton@linaro.org>
39331         * malloc/Makefile: Add tst-pvalloc.
39332         * malloc/tst-pvalloc.c: New file.
39334 2013-10-02  Will Newton  <will.newton@linaro.org>
39336         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39337         improve test coverage.
39339 2013-10-02  Will Newton  <will.newton@linaro.org>
39341         * malloc/Makefile: Add tst-posix_memalign.
39342         * malloc/tst-posix_memalign.c: New file.
39344 2013-10-01  Eric Blake  <eblake@redhat.com>
39346         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39347         Use __THROWNL rather than __THROW on static functions.
39349 2013-09-30  Petr Machata  <pmachata@redhat.com>
39351         * elf/elf.h (R_AARCH64_ABS16): New macro.
39352         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39353         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39354         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39355         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39356         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39357         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39358         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39359         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39360         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39361         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39362         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39363         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39364         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39365         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39366         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39367         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39368         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39369         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39370         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39371         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39372         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39373         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39374         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39375         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39376         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39377         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39378         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39379         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39380         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39381         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39382         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39383         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39384         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39385         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39386         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39387         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39388         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39389         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39390         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39391         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39392         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39393         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39394         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39395         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39396         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39397         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39398         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39399         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39400         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39401         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39402         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39403         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39404         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39405         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39406         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39407         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39408         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39409         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39410         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39411         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39412         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39413         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39414         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39415         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39416         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39417         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39418         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39419         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39420         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39421         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39422         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39423         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39424         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39425         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39426         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39427         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39428         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39429         (R_AARCH64_TLSDESC_LDR): Likewise.
39430         (R_AARCH64_TLSDESC_ADD): Likewise.
39431         (R_AARCH64_TLSDESC_CALL): Likewise.
39433 2013-09-30  Andreas Schwab  <schwab@suse.de>
39435         [BZ #15048]
39436         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39437         the nss database lookup.
39438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39441 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39443         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39445 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39447         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39448         ${Bash-specific parameter/pattern/string} parameter expansion.
39449         * sysdeps/unix/make-syscalls.sh: Likewise.
39451 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39453         * sysdeps/sh/stackguard-macros.h: New file.
39455 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39459         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39460         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39462         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39464 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39466         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39467         Fix thread ID register.
39469 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39471         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39472         [POSIX || UNIX98]: Require rather than permitting all symbols from
39473         <time.h>.
39474         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39475         element of struct sched_param.
39476         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39477         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39478         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39479         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39480         constant.
39482 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39484         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39485         argument calculation.
39487 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39489         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39490         Expect macro.
39491         [POSIX] (pthread_attr_t): Do not require type.
39492         [POSIX] (pthread_cond_t): Likewise.
39493         [POSIX] (pthread_condattr_t): Likewise.
39494         [POSIX] (pthread_key_t): Likewise.
39495         [POSIX] (pthread_mutex_t): Likewise.
39496         [POSIX] (pthread_mutexattr_t): Likewise.
39497         [POSIX] (pthread_once_t): Likewise.
39498         [POSIX] (pthread_t): Likewise.
39499         [POSIX-based standards] (pthread_atfork): Expect function.
39501 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39502             Richard Sandiford  <richard@codesourcery.com>
39504         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39505         (swap_endianness_p): New extern variable.
39506         (set_big_endian): New inline function.
39507         (maybe_swap_uint32): Likewise.
39508         (maybe_swap_uint32_array): Likewise.
39509         (maybe_swap_uint32_obstack): Likewise.
39510         * locale/programs/locfile.c: Include <stdbool.h>.
39511         (swap_endianness_p): New variable.
39512         (add_locale_uint32): Call maybe_swap_uint32.
39513         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39514         (write_locale_data): Call maybe_swap_uint32_array.
39515         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39516         maybe_swap_uint32.
39517         (obstack_int32_grow_fast): Likewise.
39518         (output_weightwc): Call maybe_swap_uint32_obstack.
39519         (collate_output): Likewise.
39520         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39521         (OPT_LITTLE_ENDIAN): Likewise.
39522         (options): Add --little-endian and --big-endian options.
39523         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39524         * locale/programs/locarchive.c: Include "locfile.h".
39525         (GET): New macro.
39526         (SET): Likewise.
39527         (INC): Likewise.
39528         (create_archive): Use the new macros to access fields of
39529         structures directly mapped from or written to locale archives.
39530         (oldlocrecentcmp): Likewise.
39531         (enlarge_archive): Likewise.
39532         (insert_name): Likewise.
39533         (add_alias): Likewise.
39534         (add_locale): Likewise.
39535         (delete_locales_from_archive): Likewise.
39536         (show_archive_content): Likewise.
39537         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39538         locale data.
39540 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39542         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39543         http://www.gnu.org/doc/freemanuals.texi.
39544         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39546 2013-09-24  Will Newton  <will.newton@linaro.org>
39548         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39549         macro.
39551 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39553         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39554         unsigned char.
39556 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39558         * manual/threads.texi (POSIX Threads): Fix a typo.
39560 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39562         [BZ #14547]
39563         * string/tst-strcoll-overflow.c: New test case.
39564         * string/Makefile (xtests): Add tst-strcoll-overflow.
39565         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39566         cache if string sizes may cause integer overflow.
39568         [BZ #14547]
39569         * string/strcoll_l.c (coll_seq): New members rule, idx,
39570         save_idx and back_us.
39571         (get_next_seq_nocache): New function.
39572         (do_compare_nocache): New function.
39573         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39574         when malloc fails.
39576 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39578         [BZ #15754]
39579         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39580         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39581         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39583         [BZ #15754]
39584         * elf/Makefile (tests): Add tst-ptrguard1.
39585         (tests-static): Add tst-ptrguard1-static.
39586         (tst-ptrguard1-ARGS): Define.
39587         (tst-ptrguard1-static-ARGS): Define.
39588         * elf/tst-ptrguard1.c: New file.
39589         * elf/tst-ptrguard1-static.c: New file.
39590         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39591         * sysdeps/i386/stackguard-macros.h: Likewise.
39592         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39593         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39594         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39595         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39596         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39597         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39599 2013-09-23  Hector Marco  <hecmargi@upv.es>
39600             Ismael Ripoll  <iripoll@disca.upv.es>
39601             Carlos O'Donell  <carlos@redhat.com>
39603         [BZ #15754]
39604         * sysdeps/generic/stackguard-macros.h: Define
39605         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39606         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39607         Define __pointer_chk_guard_local.
39608         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39609         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39611 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39613         [BZ #15859]
39614         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39616 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39618         * include/string.h (__ffs): Declare as hidden.
39619         * string/ffs.c (__ffs): Define as hidden.
39620         * sysdeps/i386/ffs.c (__ffs): Likewise.
39621         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39622         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39623         * sysdeps/s390/ffs.c (__ffs): Likewise.
39624         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39626 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39628         * NEWS: Mention malloc probes.
39630         * malloc/arena.c (new_heap): New memory_heap_new probe.
39631         (grow_heap): New memory_heap_more probe.
39632         (shrink_heap): New memory_heap_less probe.
39633         (heap_trim): New memory_heap_free probe.
39634         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39635         (systrim): New memory_sbrk_less probe.
39636         * manual/probes.texi: Document them.
39638         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39639         * manual/probes.texi: Document it.
39641         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39642         (__libc_realloc): Add memory_realloc_retry probe.
39643         (__libc_memalign): Add memory_memalign_retry probe.
39644         (__libc_valloc): Add memory_valloc_retry probe.
39645         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39646         (__libc_calloc): Add memory_calloc_retry probe.
39647         * manual/probes.texi: Document them.
39649         * malloc/arena.c (get_free_list): Add probe
39650         memory_arena_reuse_free_list.
39651         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39652         and memory_arena_reuse.
39653         (arena_get2) [!PER_THREAD]: Likewise.
39654         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39655         memory_arena_reuse_realloc.
39656         * manual/probes.texi: Document them.
39658         * malloc/malloc.c (__libc_free): Add
39659         memory_mallopt_free_dyn_thresholds probe.
39660         (__libc_mallopt): Add multiple memory_mallopt probes.
39661         * manual/probes.texi: Document them.
39663         * malloc/malloc.c: Include stap-probe.h.
39664         (__libc_mallopt): Add memory_mallopt probe.
39665         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39666         * manual/probes.texi: New.
39667         * manual/Makefile (chapters): Add probes.
39668         * manual/threads.texi: Set next node.
39670 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39672         [BZ #15963, #13985]
39673         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39674         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39675         Add `Chinese' to `nan' entry name.
39677 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39679         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39680         (POLYNOMIAL): Likewise.
39681         (TAYLOR_SINCOS): Likewise.
39682         (TAYLOR_SLOW): Likewise.
39683         (__sin): Use TAYLOR_SINCOS.
39684         (__cos): Likewise.
39685         (slow): Use TAYLOR_SLOW.
39686         (sloww): Likewise.
39687         (bsloww): Likewise.
39688         (csloww): Likewise.
39690 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39692         * stdlib/strtod_l.c: Fix buffer overrun.
39694 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39696         * benchtests/Makefile (bench): Add sincos.
39697         * benchtests/bench-sincos.c: New file.
39699         * math/libm-test.inc (cos_test_data): New test inputs.
39700         (sin_test_data): Likewise.
39702         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39703         macro.
39704         (__sin): Use it.
39705         (__cos): Likewise.
39706         (slow1): Likewise.
39707         (slow2): Likewise.
39708         (sloww1): Likewise.
39709         (sloww2): Likewise.
39710         (bsloww1): Likewise.
39711         (bsloww2): Likewise.
39712         (cslow2): Likewise.
39713         (csloww1): Likewise.
39714         (csloww2): Likewise.
39716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39717         function.
39718         (__sin): Use it.
39719         (__cos): Likewise.
39721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39722         gotos.
39723         (__cos): Likewise.
39725 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39727         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39728         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39729         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39730         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39731         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39732         * elf/cache.c (print_entry): Handle the new cache flags.
39734 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39735             Aldy Hernandez  <aldyh@redhat.com>
39737         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39738         Change condition to [_SOFT_FLOAT].
39739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39751         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39754         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39755         declaration.
39757 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39759         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39760         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39761         (__longjmp): Use LOAD_GP to load saved GPRs.
39762         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39763         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39764         (__sigsetjmp): Use SAVE_GP to save GPRs.
39766         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39767         Do not append -msoft-float.
39768         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39770 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39772         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39774 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39776         [BZ #15966]
39777         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39778         (_FPU_GETCW): Use initial "__" on variable and field names but not
39779         on macro parameter name.
39780         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39781         parentheses around reference to macro parameter.
39783 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39785         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39786         prototype.
39787         (ctype_startup): Use uint32_t in cast and sizeof for
39788         ctype->charnames.
39790 2013-09-11  Jia Liu  <proljc@gmail.com>
39792         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39793         __daddr_t_defined.
39794         [__FreeBSD__]: Likewise.
39796 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39799         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39800         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39801         (strchr): Remove __strchr_sse42 ifunc selection.
39802         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39803         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39805 2013-09-11  Will Newton  <will.newton@linaro.org>
39807         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39808         parameter to RES. Remove hardcoded 1000 value.
39809         * benchtests/bench-skeleton.c (main): Pass RES parameter
39810         to TIMING_INIT and multiply result by 1000.
39812 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39816 2013-09-11  Andreas Schwab  <schwab@suse.de>
39818         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39819         if not defined.
39820         (O_TMPFILE) [__USE_GNU]: Define.
39821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39822         Define.
39824 2013-09-11  Will Newton  <will.newton@linaro.org>
39826         [BZ #15857]
39827         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39828         does not overflow.
39830 2013-09-11  Will Newton  <will.newton@linaro.org>
39832         [BZ #15856]
39833         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39834         does not overflow.
39836 2013-09-11  Will Newton  <will.newton@linaro.org>
39838         [BZ #15855]
39839         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39840         does not overflow.
39842 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39844         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39845         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39846         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39847         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39848         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39850 2013-09-10  Allan McRae  <allan@archlinux.org>
39852         [BZ #15748]
39853         * manual/arith.texi (Parsing of Floats): Clarify
39854         cross-reference.
39856         [BZ #15849]
39857         * manual/install.texi (Running make install): Mention
39858         --enable-pt-chown.
39859         * INSTALL: Regenerated.
39861 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39863         * csu/init-first.c (_init): Remove the !SHARED condition around
39864         FPU control word initialization.
39865         * elf/dl-support.c (_dl_fpu_control): New variable.
39866         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39867         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39868         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39869         * math/test-fpucw-static.c: New file.
39870         * math/test-fpucw-ieee.c: New file.
39871         * math/test-fpucw-ieee-static.c: New file.
39872         * math/Makefile (tests): Add `test-fpucw-ieee' and
39873         `$(tests-static)'.
39874         (tests-static): New variable.
39875         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39876         dependency to...
39877         [($(build-shared),yes)]
39878         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39879         ... this.
39880         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39881         New dependency.
39883 2013-09-09  Allan McRae  <allan@archlinux.org>
39885         [BZ #15939]
39886         * manual/string.texi (Collation Functions): Fix typo in
39887         strcoll example.
39888         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39890         [BZ #15893]
39891         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39893         [BZ #15892]
39894         * libio/memstream.c (open_memstream): Fix memory leak.
39895         * libio/wmemstream.c (open_wmemstream): Likewise.
39897         [BZ #15895]
39898         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39900 2013-09-09  Will Newton  <will.newton@linaro.org>
39902         * malloc/Makefile: Add tst-realloc to tests.
39903         * malloc/tst-realloc.c: New file.
39905 2013-09-09  Allan McRae  <allan@archlinux.org>
39907         [BZ #15844]
39908         * COPYING: Update from GNU website to fix FSF address.
39909         * COPYING.LIB: Likewise.
39911 2013-09-06  David S. Miller  <davem@davemloft.net>
39913         * po/zh_TW.po: Update Chinese (traditional) translation from
39914         translation project.
39916 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39917             Joseph Myers  <joseph@codesourcery.com>
39919         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39920         "localeinfo.h".
39921         (obstack_chunk_alloc): New macro.
39922         (obstack_chunk_free): Likewise.
39923         (record_offset): New function.
39924         (init_locale_data): Likewise.
39925         (align_locale_data): Likewise.
39926         (add_locale_empty): Likewise.
39927         (add_locale_raw_data): Likewise.
39928         (add_locale_raw_obstack): Likewise.
39929         (add_locale_string): Likewise.
39930         (add_locale_wstring): Likewise.
39931         (add_locale_uint32): Likewise.
39932         (add_locale_uint32_array): Likewise.
39933         (add_locale_char): Likewise.
39934         (start_locale_structure): Likewise.
39935         (end_locale_structure): Likewise.
39936         (start_locale_prelude): Likewise.
39937         (end_locale_prelude): Likewise.
39938         (write_locale_data): Take locale_file structure rather than an
39939         iovec.
39940         * locale/programs/locfile.h: Include "obstack.h".
39941         (struct locale_file): Change to store locale file contents instead
39942         of header.
39943         (init_locale_data): New prototype.
39944         (align_locale_data): Likewise.
39945         (add_locale_empty): Likewise.
39946         (add_locale_raw_data): Likewise.
39947         (add_locale_raw_obstack): Likewise.
39948         (add_locale_string): Likewise.
39949         (add_locale_wstring): Likewise.
39950         (add_locale_uint32): Likewise.
39951         (add_locale_uint32_array): Likewise.
39952         (add_locale_char): Likewise.
39953         (start_locale_structure): Likewise.
39954         (end_locale_structure): Likewise.
39955         (start_locale_prelude): Likewise.
39956         (end_locale_prelude): Likewise.
39957         (write_locale_data): Update prototype.
39958         * locale/programs/3level.h (struct TABLE): Remove result field.
39959         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39960         Use new locale_file interface.
39961         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39962         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39963         * locale/programs/ld-address.c (address_output): Use new
39964         locale_file interface.
39965         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39966         NO_ADD_LOCALE.
39967         (collate_finish): Don't call collseq_table_finalize.
39968         (collate_output): Use new locale_file interface.
39969         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39970         in file.
39971         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39972         (TABLE): Move defines earlier in file.
39973         (ELEMENT): Likewise.
39974         (DEFAULT): Likewise.
39975         (wctrans_table_add): Move macro and inline function earlier in
39976         file.
39977         (struct wctype_table): Move type earlier in file.
39978         (add_locale_wctype_table): New static prototype.
39979         (struct locale_ctype_t): Use logical types instead of struct iovec
39980         pointers for members.
39981         (ctype_output): Use new locale_file interface.
39982         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39983         new locale_file interface.
39984         (allocate_arrays): Update for use of new locale_file interface.
39985         * locale/programs/ld-identification.c (identification_output): Use
39986         new locale_file interface.
39987         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39988         * locale/programs/ld-messages.c (messages_output): Likewise.
39989         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39990         * locale/programs/ld-name.c (name_output): Likewise.
39991         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39992         * locale/programs/ld-paper.c (paper_output): Likewise.
39993         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39994         * locale/programs/ld-time.c (time_output): Likewise.
39996 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39998         * benchtests/Makefile: Add memrchr benchmark.
39999         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40000         benchmark as memrchr.
40001         * benchtests/bench-memrchr-ifunc.c: New file.
40002         * benchtests/bench-memrchr.c: New file.
40004 2013-09-06   Will Newton  <will.newton@linaro.org>
40006         * benchtests/Makefile (string-bench): Add memcpy.
40008 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40009             Cong Wang  <amwang@redhat.com>
40011         [BZ #15850]
40012         * sysdeps/unix/sysv/linux/bits/in.h
40013         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40014         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40015         before __USE_KERNEL_IPV6_DEFS uses.
40016         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40017         IPPROTO_BEETPH.
40018         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40019         sockaddr_in6, or ipv6_mreq.
40021 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40023         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40024         memory access for final bytes in some large inputs.
40025         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40027 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40029         * string/test-memrchr.c: New file.
40030         * string/test-memrchr-ifunc.c: New file.
40031         * string/Makefile: Add new memrchr testcase.
40033 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40035         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40036         fanotify_init returns EPERM.
40038 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40040         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40041         errors.
40042         (top level): Treat second token from macro or constant entries for
40043         allowed headers as allowed.
40044         * include/complex.h: Condition internal declarations on
40045         [!_ISOMAC].
40046         * include/fenv.h: Condition include of <stdbool.h> and internal
40047         declarations on [!_ISOMAC].
40049 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40051         [BZ #15923]
40052         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40054 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40056         * configure.in (--enable-versioning): Remove configure option.
40057         (libc_cv_asm_symver_directive): Remove configure test.
40058         (libc_cv_ld_version_script_option): Likewise.
40059         (VERSIONING): Remove variable and AC_SUBST.
40060         (DO_VERSIONING): Remove AC_DEFINE.
40061         * configure: Regenerated.
40062         * config.h.in (DO_VERSIONING): Remove macro.
40063         * Makerules [$(versioning) = yes]: Change conditionals to
40064         [$(build-shared) = yes].
40065         * config.make.in (versioning): Remove variable.
40066         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40067         [$(build-shared) = yes].
40068         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40069         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40070         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40071         [$(build-shared) = yes].
40072         * extra-lib.mk [$(versioning) = yes]: Likewise.
40073         * hurd/Makefile [$(versioning) = yes]: Likewise.
40074         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40075         [SHARED].
40076         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40077         [SHARED].
40078         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40079         [SHARED && !NO_HIDDEN].
40080         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40081         [SHARED].
40082         [SHARED && DO_VERSIONING]: Likewise..
40083         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40084         [$(build-shared) = yes].
40085         * manual/install.texi (--disable-versioning): Remove
40086         documentation.
40087         * INSTALL: Regenerated.
40088         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40089         to [SHARED].
40090         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40091         [$(build-shared) = yes].
40092         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40093         * sysdeps/i386/i686/multiarch/strstr-c.c
40094         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40095         [SHARED && !NO_HIDDEN].
40096         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40097         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40098         * sysdeps/powerpc/powerpc32/dl-machine.c
40099         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40100         * sysdeps/powerpc/powerpc32/sysdep.h
40101         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40102         to [SHARED && PIC && !NO_HIDDEN].
40103         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40104         conditional to [SHARED].
40106 2013-09-04   Will Newton  <will.newton@linaro.org>
40108         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40109         * benchtests/bench-string.h: Include bench-timing.h instead
40110         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40111         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40112         call to HP_TIMING_DIFF_INIT.
40113         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40114         instead of hp-timing.h macros.
40115         * benchtests/bench-memchr.c: Likewise.
40116         * benchtests/bench-memcmp.c: Likewise.
40117         * benchtests/bench-memcpy.c: Likewise.
40118         * benchtests/bench-memmem.c: Likewise.
40119         * benchtests/bench-memmove.c: Likewise.
40120         * benchtests/bench-memset.c: Likewise.
40121         * benchtests/bench-rawmemchr.c: Likewise.
40122         * benchtests/bench-strcasecmp.c: Likewise.
40123         * benchtests/bench-strcasestr.c: Likewise.
40124         * benchtests/bench-strcat.c: Likewise.
40125         * benchtests/bench-strchr.c: Likewise.
40126         * benchtests/bench-strcmp.c: Likewise.
40127         * benchtests/bench-strcpy.c: Likewise.
40128         * benchtests/bench-strcpy_chk.c: Likewise.
40129         * benchtests/bench-strlen.c: Likewise.
40130         * benchtests/bench-strncasecmp.c: Likewise.
40131         * benchtests/bench-strncat.c: Likewise.
40132         * benchtests/bench-strncmp.c: Likewise.
40133         * benchtests/bench-strncpy.c: Likewise.
40134         * benchtests/bench-strnlen.c: Likewise.
40135         * benchtests/bench-strpbrk.c: Likewise.
40136         * benchtests/bench-strrchr.c: Likewise.
40137         * benchtests/bench-strspn.c: Likewise.
40138         * benchtests/bench-strstr.c: Likewise.
40140 2013-09-04  Will Newton  <will.newton@linaro.org>
40142         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40144 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40146         [BZ #15427]
40147         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40148         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40149         * math/libm-test.inc (lgamma_test_data): Add more tests.
40150         * sysdeps/i386/fpu/libm-test-ulps: Update.
40151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40153 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40155         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40157         Add ifunc.
40158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40159         Add strcmp-sse2-unaligned
40160         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40162 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40164         * Versions.def (libc): Add GLIBC_2.19.
40166 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40168         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40169         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40171 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40173         [BZ #14155]
40174         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40175         intermediate calculations in recurrence.
40176         (__ieee754_ynf): Likewise.
40177         * math/libm-test.inc (jn_test_data): Do not allow spurious
40178         underflow exception.  Add more tests.
40179         (yn_test_data): Add more tests.
40180         * sysdeps/i386/fpu/libm-test-ulps: Update.
40181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40183 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40187 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40189         * csu/init-first.c: Fix then/than typos.
40190         * locale/programs/ld-collate.c: Likewise.
40191         * locale/programs/linereader.h: Likewise.
40192         * manual/charset.texi: Likewise.
40193         * manual/filesys.texi: Likewise.
40194         * manual/stdio.texi: Likewise.
40195         * manual/string.texi: Likewise.
40196         * stdlib/fmtmsg.c: Likewise.
40197         * sysdeps/i386/stpncpy.S: Likewise.
40198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40199         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40200         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40201         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40203 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40205         * elf/dl-open.c: Fix typos.
40206         * iconvdata/gbbig5.c: Likewise.
40207         * iconvdata/iso-2022-jp.c: Likewise.
40208         * iconv/gconv_int.h: Likewise.
40209         * iconv/loop.c: Likewise.
40210         * nis/rpcsvc/nis.h: Likewise.
40211         * resolv/ns_name.c: Likewise.
40212         * stdio-common/vfscanf.c: Likewise.
40213         * streams/stropts.h: Likewise.
40214         * sunrpc/rpc_thread.c: Likewise.
40215         * sysdeps/i386/strpbrk.S: Likewise.
40216         * sysdeps/ieee754/k_standard.c: Likewise.
40217         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40219         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40220         * sysdeps/mach/hurd/profil.c: Likewise.
40221         * sysdeps/s390/dl-procinfo.h: Likewise.
40222         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40223         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40224         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40225         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40228 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40230         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40233 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40235         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40236         aix specific files.
40237         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40238         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40239         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40240         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40241         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40242         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40243         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40244         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40246 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40247             Roland McGrath  <roland@hack.frob.com>
40249         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40250         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40252 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40254         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40255         __executable_start symbol instead of _start.
40257 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40259         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40260         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40261         Move macros to...
40262         * sysdeps/gnu/ldsodefs.h: ... this new file.
40264         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40265         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40266         instead of ELFOSABI_LINUX.
40268         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40269         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40270         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40271         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40272         Likewise.
40273         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40274         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40275         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40276         Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40278         (ibm_extended_long_double): Add ieee_nan member.
40279         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40280         (do_test): New function.
40282         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40283         TEST_TRUNC.
40284         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40285         functions, renamed from truncdfsf_test, trunctfsf_test,
40286         trunctfdf_test.
40287         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40288         functions.
40289         (do_test): Run all these.
40291 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40293         * argp/argp-help.c: Fix typos.
40294         * argp/argp-parse.c: Likewise.
40295         * debug/backtracesyms.c: Likewise.
40296         * elf/elf.h: Likewise.
40297         * malloc/malloc.c: Likewise.
40298         * nis/nis_print.c: Likewise.
40299         * resolv/res_comp.c: Likewise.
40300         * stdlib/stdlib.h: Likewise.
40301         * sunrpc/clnt_tcp.c: Likewise.
40302         * sunrpc/clnt_udp.c: Likewise.
40303         * sunrpc/clnt_unix.c: Likewise.
40304         * sysdeps/unix/bsd/ptsname.c: Likewise.
40305         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40306         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40308         Likewise.
40309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40310         Likewise.
40311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40312         Likewise.
40313         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40315 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40317         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40320 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40322         [BZ #15897]
40323         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40324         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40325         ($(objpfx)bug-dl-leaf): New rule.
40326         ($(objpfx)bug-dl-leaf.so): Likewise.
40327         ($(objpfx)bug-dl-leaf.out): Likewise.
40328         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40329         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40330         * dlfcn/bug-dl-leaf.c: New test.
40331         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40332         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40333         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40334         (dlclose): Likewise.
40335         (dlmopen): Likewise.
40337 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40339         * include/netdb.h [!_ISOMAC]:
40340         Don't include <tls.h>.
40341         (h_errno, __libc_h_errno): Move declaration and macros out of
40342         [_LIBC_REENTRANT].
40344         * include/resolv.h [_RESOLV_H_]:
40345         Don't include <tls.h>.
40346         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40347         * resolv/res_libc.c: Don't include <tls.h>.
40348         (_res): Use __attribute__ ((nocommon)) in place of
40349         __attribute__ ((section (".bss"))).
40351         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40352         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40354         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40356         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40357         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40359         * resolv/res_mkquery.c: Include <sys/time.h>.
40361         * inet/ifreq.c: Moved to ...
40362         * sysdeps/unix/ifreq.c: ... here.
40363         * inet/ifreq.c: New file, true stub version.
40365         * socket/sa_len.c: New file.
40366         * socket/Makefile (aux): Add it.
40367         * sysdeps/unix/sysv/linux/Makefile
40368         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40369         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40370         and #include <socket/sa_len.c>.
40371         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40372         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40374         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40375         * bits/socket.h: ... here.
40377         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40378         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40379         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40381 2013-08-27  Andreas Schwab  <schwab@suse.de>
40383         [BZ #15736]
40384         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40385         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40386         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40387         * string/test-strcasecmp.c (test_main): Run tests in several
40388         locales.
40389         * string/test-strncasecmp.c (test_main): Likewise.
40391         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40392         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40393         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40395         (__strncasecmp_ssse3) [PIC]: Likewise.
40397 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40399         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40401         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40402         instead of explicitly declaring xdecrypt.
40403         * nis/nss_nis/nis-publickey.c: Likewise.
40405 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40407         [BZ #15890]
40408         * nscd/aicache.c: Include res_hconf.h.
40409         (addhstaiX): Initialize res_hconf.
40411 2013-08-26  Andreas Schwab  <schwab@suse.de>
40413         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40414         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40416 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40418         * nscd/aicache.c (addhstaiX): Fix indentation.
40420 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40422         * configure.ac: Quote $build_pt_chown test.
40423         * configure: Regenerated.
40425 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40427         [BZ #15532]
40428         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40429         * math/s_cexpf.c (__cexpf): Likewise.
40430         * math/s_cexpl.c (__cexpl): Likewise.
40431         * math/libm-test.inc (cexp_test_data): Correct expected return
40432         value for NaN + i0.  Add another test.
40434 2013-08-22  David S. Miller  <davem@davemloft.net>
40436         * po/ca.po: Update Catalan translation from translation project.
40437         * po/uk.po: Add Ukrainian translations from translation project.
40439 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40441         [BZ #15797]
40442         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40443         is infinite, not alongside NaN test.
40444         * math/s_fdimf.c (__fdimf): Likewise.
40445         * math/s_fdiml.c (__fdiml): Likewise.
40446         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40447         errno is unchanged.
40449 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40451         * argp/argp-help.c: Fix typos.
40452         * crypt/speeds.c: Likewise.
40453         * csu/check_fds.c: Likewise.
40454         * elf/dl-load.c: Likewise.
40455         * elf/dl-open.c: Likewise.
40456         * elf/reldep3.c: Likewise.
40457         * elf/reldep.c: Likewise.
40458         * elf/sprof.c: Likewise.
40459         * iconv/iconv_charmap.c: Likewise.
40460         * iconv/skeleton.c: Likewise.
40461         * iconv/strtab.c: Likewise.
40462         * io/lockf64.c: Likewise.
40463         * libio/libioP.h: Likewise.
40464         * resolv/gai_notify.c: Likewise.
40465         * resolv/ns_name.c: Likewise.
40466         * resolv/ns_samedomain.c: Likewise.
40467         * resolv/res_send.c: Likewise.
40468         * stdlib/random.c: Likewise.
40469         * sunrpc/rpc/xdr.h: Likewise.
40470         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40471         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40472         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40473         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40474         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40477         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40478         * sysdeps/mach/hurd/check_fds.c: Likewise.
40479         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40480         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40481         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40482         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40483         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40484         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40485         * sysdeps/pthread/aio_notify.c: Likewise.
40486         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40487         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40488         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40489         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40490         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40492 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40494         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40495         version if bit_Slow_SSE4_2 is set.
40496         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40497         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40499 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40501         [BZ #15867]
40502         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40503         trampoline stack frame information.
40504         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40505         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40506         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40507         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40508         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40509         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40510         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40511         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40512         sa_flags value.
40513         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40514         interrupting a syscall and set with option SA_SIGINFO.
40516 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40518         [BZ #15531]
40519         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40520         argument is infinite.
40521         * math/s_cprojf.c (__cprojf): Likewise.
40522         * math/s_cprojl.c (__cprojl): Likewise.
40523         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40524         * math/libm-test.inc (cproj_test_data): Add more tests.
40526         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40528         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40529         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40530         size.  Use __ffs to determine corresponding shift.
40532 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40533             Roland McGrath  <roland@hack.frob.com>
40535         * Makefile (INSTALL): Remove trailing blank lines from output of
40536         makeinfo.
40538 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40540         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40541         Align 32 bit compat elf_greg to 8 bytes.
40543 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40545         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40547 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40549         * string/strcoll_l.c (coll_seq): New structure.
40550         (get_next_seq_cached): New function.
40551         (get_next_seq): New function.
40552         (do_compare): New function.
40553         (STRCOLL): Use GNU style definition.  Simplify implementation
40554         by using get_next_seq, get_next_seq_cached and do_compare.
40556 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40558         [BZ #14699]
40559         CVE-2013-4237
40560         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40561         member.
40562         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40563         member.
40564         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40565         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40566         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40567         conditional.
40568         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40569         GETDENTS_64BIT_ALIGNED.
40570         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40571         * manual/filesys.texi (Reading/Closing Directory): Document
40572         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40573         strongly.
40574         * manual/conf.texi (Limits for Files): Add portability note to
40575         NAME_MAX, PATH_MAX.
40576         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40578 2013-08-13  Andreas Schwab  <schwab@suse.de>
40580         [BZ #15749]
40581         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40582         of fabs.
40583         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40584         LDBL_MAX_EXP >= 16384]: Add tests for it.
40586 2013-08-12  David S. Miller  <davem@davemloft.net>
40588         * version.h (RELEASE): Set to "development".
40589         (VERSION): Set to "2.18.90".
40590         * NEWS: Add 2.19 section.
40592 2013-08-03  David S. Miller  <davem@davemloft.net>
40594         * po/ko.po: Update Korean translation from translation project.
40596 2013-08-01  David S. Miller  <davem@davemloft.net>
40598         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40599         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40600         Bilka.
40602 2013-07-30  David S. Miller  <davem@davemloft.net>
40604         * po/fr.po: Update French translation from translation project.
40606 2013-07-28  David S. Miller  <davem@davemloft.net>
40608         * po/cs.po: Update Czech translation from translation project.
40610         * po/sv.po: Update Swedish translation from translation project.
40612 2013-07-27  David S. Miller  <davem@davemloft.net>
40614         * po/eo.po: Update Esperanto translation from translation project.
40616         * po/vi.po: Update Vietnamese translation from translation project.
40618         * po/de.po: Update German translation from translation project.
40620 2013-07-26  David S. Miller  <davem@davemloft.net>
40622         * po/bg.po: Update Bulgarian translation from translation project.
40624         * po/nl.po: Update Dutch translation from translation project.
40625         * po/pl.po: Update Polish translation from translation project.
40626         * po/ru.po: Update Russian translation from translation project.
40628 2013-07-24  David S. Miller  <davem@davemloft.net>
40630         * po/libc.pot: Update.
40632 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40634         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40635         variable page size.
40636         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40637         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40638         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40640 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40642         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40644 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40645             Andreas Schwab  <schwab@suse.de>
40646             Roland McGrath  <roland@hack.frob.com>
40647             Joseph Myers  <joseph@codesourcery.com>
40648             Carlos O'Donell  <carlos@redhat.com>
40650         [BZ #15755]
40651         * config.h.in: Define HAVE_PT_CHOWN.
40652         * config.make.in (build-pt-chown): New variable.
40653         * configure.in (--enable-pt_chown): New configure option.
40654         * configure: Regenerate.
40655         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40656         build-pt-chown is enabled.
40657         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40658         pt_chown to fix pty ownership.
40659         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40660         CLOSE_ALL_FDS.
40661         * manual/install.texi (Configuring and compiling): Mention
40662         --enable-pt_chown. Add @findex for grantpt.
40663         * INSTALL: Regenerate.
40665 2013-07-20  David S. Miller  <davem@davemloft.net>
40667         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40668         difference between 32-bit and 64-bit.
40670 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40672         [BZ #15711]
40673         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40674         Avoid system header dependency with -ffreestanding.
40675         ($(objpfx)bits/syscall%d): Likewise.
40677 2013-07-13  David S. Miller  <davem@davemloft.net>
40679         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40680         underflows from atanl/atan2l due to bug 15319.
40681         (casinh_test_data): Likewise.
40683 2013-07-07  David S. Miller  <davem@davemloft.net>
40685         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40687 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40689         * sysdeps/i386/fpu/libm-test-ulps: Update.
40690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40692 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40694         * configure.in (--enable-lock-elision): Fix message text.
40695         * INSTALL: Regenerate.
40696         * configure: Regenerate.
40698 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40702 2013-07-03  Andreas Jaeger  <aj@suse.de>
40704         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40705         define.
40706         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40707         (ptrace_peeksiginfo_args): Add.
40708         (__ptrace_peeksiginfo_flags): Add.
40709         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40711         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40713 2013-07-03  Allan McRae  <allan@archlinux.org>
40715         * sysdeps/i386/fpu/libm-test-ulps: Update.
40717 2013-07-02  David S. Miller  <davem@davemloft.net>
40719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40721 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40725 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40727         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40730 2013-07-02  Andi Kleen <ak@linux.intel.com>
40732         * config.h.in (ENABLE_LOCK_ELISION): Add.
40733         * configure.in (--enable-lock-elision): Add option.
40734         * manual/install.texi: Document --enable lock elision.
40735         * configure: Regenerate
40736         * INSTALL: Regenerate.
40738 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40740         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40741         SSE4.2 strcasecmp for libc.a.
40742         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40744 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40746         [BZ #13304]
40747         * soft-fp/op-common.h (_FP_FMA): New macro.
40748         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40749         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40750         (_FP_MUL_MEAT_1_imm): ... here.
40751         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40752         (_FP_MUL_MEAT_1_wide): ... here.
40753         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40754         (_FP_MUL_MEAT_1_hard): ... here.
40755         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40756         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40757         (_FP_MUL_MEAT_2_wide): ... here.
40758         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40759         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40760         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40761         (_FP_MUL_MEAT_2_gmp): ... here.
40762         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40763         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40764         (_FP_MUL_MEAT_4_wide): ... here.
40765         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40766         (_FP_MUL_MEAT_4_gmp): ... here.
40767         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40768         (_FP_WFRACBITS_DW_S): Likewise.
40769         (_FP_WFRACXBITS_DW_S): Likewise.
40770         (_FP_HIGHBIT_DW_S): Likewise.
40771         (FP_FMA_S): Likewise.
40772         (_FP_FRAC_HIGH_DW_S): Likewise.
40773         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40774         (_FP_WFRACBITS_DW_D): Likewise.
40775         (_FP_WFRACXBITS_DW_D): Likewise.
40776         (_FP_HIGHBIT_DW_D): Likewise.
40777         (FP_FMA_D): Likewise.
40778         (_FP_FRAC_HIGH_DW_D): Likewise.
40779         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40780         (_FP_WFRACBITS_DW_E): Likewise.
40781         (_FP_WFRACXBITS_DW_E): Likewise.
40782         (_FP_HIGHBIT_DW_E): Likewise.
40783         (FP_FMA_E): Likewise.
40784         (_FP_FRAC_HIGH_DW_E): Likewise.
40785         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40786         (_FP_WFRACBITS_DW_Q): Likewise.
40787         (_FP_WFRACXBITS_DW_Q): Likewise.
40788         (_FP_HIGHBIT_DW_Q): Likewise.
40789         (FP_FMA_Q): Likewise.
40790         (_FP_FRAC_HIGH_DW_Q): Likewise.
40791         * soft-fp/fmasf4.c: New file.
40792         * soft-fp/fmadf4.c: Likewise.
40793         * soft-fp/fmatf4.c: Likewise.
40795 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40798         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40799         Silvermont.
40800         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40801         macro.
40802         (index_Slow_SSE4_2): Likewise.
40803         (index_Prefer_PMINUB_for_stringop): Likewise.
40804         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40805         bit_Slow_SSE4_2 is set.
40806         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40807         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40809 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40811         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40812         rtld_global._dl_hwcap2.
40813         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40814         POWER8.
40815         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40816         POWER8 feature descriptions defined in _dl_hwcap2.
40817         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40818         string handling for POWER8 feature bits.
40819         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40820         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40821         _dl_powerpc_cap_flags.
40822         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40823         * sysdeps/powerpc/rtld-global-offsets.sym
40824         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40825         _dl_hwcap2 in the rtld_global_ro structure.
40827 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40829         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40830         hardware capabilities in support of AT_HWCAP2.
40831         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40832         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40833         GLRO(dl_hwcap2).
40834         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40835         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40836         explicitly the unknown a_type display mechanism is used.
40837         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40838         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40839         struct member.
40840         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40841         to macro prototype for AT_HWCAP2 support.
40842         * sysdeps/i386/dl-procinfo.h: Likewise.
40843         * sysdeps/s390/dl-procinfo.h: Likewise.
40844         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40845         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40846         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40847         return -1 for unknown a_type display fallback.
40848         * sysdeps/sparc/dl-procinfo.h: Likewise.
40849         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40850         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40852 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40854         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40855         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40857 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40859         [BZ #12492]
40860         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40861         mprotect making __stack_prot writable.
40863 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40864             Joseph Myers  <joseph@codesourcery.com>
40866         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40867         as being properly aligned.
40869 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40871         * dlfcn/modstatic5.c: New file.
40872         * dlfcn/tststatic5.c: New file.
40873         * dlfcn/Makefile (tests): Add tststatic5.
40874         (tests-static): Likewise.
40875         (modules-names): Add modstatic5.
40876         (tststatic5-ENV): New variable.
40877         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40879         [BZ #15022]
40880         * elf/dl-support.c (_dl_main_map): New variable.
40881         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40882         (_dl_nns, _dl_load_adds): Set to 1.
40883         (_dl_initial_searchlist): Refer to _dl_main_map.
40884         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40885         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40886         call to _dl_get_origin.
40887         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40888         around call_map.
40889         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40890         * dlfcn/modstatic3.c: New file.
40891         * dlfcn/tststatic3.c: New file.
40892         * dlfcn/tststatic4.c: New file.
40893         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40894         (tests-static): Likewise.
40895         (modules-names): Add modstatic3.
40896         (tststatic3-ENV, tststatic4-ENV): New variables.
40897         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40898         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40900 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40902         * configure.in (CC): Require GCC version 4.4 or later.
40903         * configure: Regenerated.
40904         * manual/install.texi (Tools for Compilation): Update GCC version
40905         requirement.
40906         * INSTALL: Regenerated.
40908 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40910         [BZ #15674]
40911         * string/test-memcmp.c (check2): New.
40912         (main): Call check2.
40914         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40916 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40918         [BZ #15022]
40919         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40920         over to...
40921         (dl_open_worker) [!SHARED]: ... here.
40923 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40925         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40927 2013-06-25  Richard Henderson  <rth@redhat.com>
40929         * locale/programs/locarchive.c: Include <libc-internal.h>
40931 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40933         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40934         trailing whitespace removed.
40936 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40938         [BZ #10283]
40939         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40940         * locale/programs/locarchive.c: Include libc-mmap.h.
40941         (prepare_address_space): Take two new outputs (the mmap base and len).
40942         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40943         values.
40944         (create_archive): Declare new mmap base and len values for
40945         prepare_address_space, and store the result in ah.
40946         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40947         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40948         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40949         Declare new mmap base and len values for
40950         prepare_address_space, and store the result in new_ah.
40951         (open_archive): Declare new mmap base and len values for
40952         prepare_address_space, and store the result in ah.
40953         (close_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         * sysdeps/generic/libc-mmap.h: New file.
40957 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40959         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40960         (ALIGN_UP): Likewise.
40961         (PTR_ALIGN_DOWN): Likewise.
40962         (PTR_ALIGN_UP): Likewise.
40964 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40966         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40967         entry mapped to PPC_PLATFORM_POWER8.
40968         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40969         POWER8.
40970         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40971         (_dl_string_platform): Add case for exporting platform position for
40972         POWER8.
40973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40974         search path to sysdeps/powerpc/powerpc32/power8 directory.
40975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40976         search path to sysdeps/powerpc/powerpc64/power8 directory.
40977         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40978         power7 directories.
40979         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40980         power7 directories.
40982 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40984         * INSTALL: Regenerate.
40986         * nscd/connections.c (nscd_init): Fix comment.
40988 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40990         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40992         [BZ #15667]
40993         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40994         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40996 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40998         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40999         DL_DST_REQ_STATIC.
41000         (DL_DST_REQ_STATIC): Remove macro.
41002 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41004         [BZ #7006]
41005         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41006         with a shift of 0 bits.
41008 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41010         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41011         $(tststatic-ENV).
41013 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41015         [BZ #15655]
41016         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41018 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41020         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41021         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41022         accepts -fno-tree-loop-distribute-patterns.
41023         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41024         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41025         recursive call.
41026         * string/memset.c (memset): Likewise.
41027         * string/test-memmove.c (simple_memmove): Disable loop transformation
41028         to library calls.
41029         * string/test-memset.c (simple_memset): Likewise.
41030         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41031         * benchtests/bench-memset.c (simple_memset): Likewise.
41032         * configure: Regenerated.
41034 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41036         * math/test-misc.c (main): Ignore fesetround failure when failures
41037         of subsequent rounding tests would be ignored.
41039         [BZ #15654]
41040         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41041         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41042         * math/fegetenv.c (__fegetenv): Return 0.
41043         * math/fegetexcept.c (fegetexcept): Return 0.
41044         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41045         FE_TONEAREST.
41046         * math/feholdexcpt.c (feholdexcept): Return 0.
41047         * math/fesetenv.c (__fesetenv): Return 0.
41048         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41049         argument FE_TONEAREST.
41050         * math/feupdateenv.c (__feupdateenv): Return 0.
41051         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41053 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41055         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41056         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41057         ($(objpfx)rtld-%.os rules): Use them.
41059 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41061         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41062         fields.
41064 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41066         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41067         length of target pattern, then descending length of dependency pattern.
41068         * configure.in (AWK): Require gawk 3.1.2 or newer.
41069         * manual/install.texi (Tools for Compilation): Say that we do.
41070         * configure: Regenerated.
41072         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41073         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41074         * scripts/sysd-rules.awk: ... this new script.
41075         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41076         than a glob-style pattern.
41078 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41080         * math/test-misc.c (main): Do not treat incorrectly rounded
41081         conversions as failure unless ROUNDING_TESTS passes.
41083 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41085         [BZ #15631]
41086         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41087         restore exception state around main square root computation, then
41088         check for inexactness explicitly.
41090         * math/libm-test.inc (fma_test_data): Add another test.
41092 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41094         * manual/threads.texi (Non-POSIX Extensions): New document
41095         node.  Document pthread_getattr_default_np and
41096         pthread_setattr_default_np.
41098         * Versions.def (libpthread): Add GLIBC_2.18.
41099         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41101         Likewise.
41102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41103         Likewise.
41104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41105         Likewise.
41106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41107         Likewise.
41108         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41109         Likewise.
41110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41111         Likewise.
41112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41113         Likewise.
41114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41115         Likewise.
41116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41117         Likewise.
41119 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41122         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41124 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41125             H.J. Lu  <hjl.tools@gmail.com>
41127         [BZ #15627]
41128         * sysdeps/x86_64/rtld-memset.c: Remove file.
41129         * sysdeps/x86_64/rtld-memset.S: New file.
41131 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41133         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41134         (test_in_one_mode): Take arguments for whether the rounding mode
41135         is supported for each floating-point type.
41136         (do_test): Pass new arguments to test_in_one_mode using
41137         ROUNDING_TESTS.
41139 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41141         * posix/tst-waitid.c (do_test): Distinguish different instances of
41142         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41143         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41144         before entering the kernel for waitpid.
41146 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41148         * NEWS: Fix note on clock function precision.  Text by Roland
41149         McGrath.
41151 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41153         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41154         it into place only when and if the sanity check passes.
41156 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41158         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41159         output for whether conversion result is exact.  Take argument
41160         indicating whether type is IBM long double.
41161         (round_for_all): Change need_exact field to ibm_ld.
41162         * stdlib/tst-strtod-round.c (struct exactness): New type.
41163         (struct test): Change bool ld_ok field to struct exactness exact.
41164         (TEST): Update all definitions for change to field.
41165         (tests): Regenerate array contents.
41166         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41167         field value.  Check for IBM long double here.
41168         (do_test): Update calls to test_in_one_mode.
41170 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41172         [BZ #12515]
41173         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41174         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41176 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41178         [BZ #15605]
41179         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41180         generated by the compiler on loop optimizations.
41181         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41182         general definitions.
41184 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41186         * math/bug-nextafter.c: Include <math-tests.h>.
41187         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41188         the relevant type.
41189         * math/bug-nexttoward.c: Include <math-tests.h>.
41190         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41191         the relevant type.
41192         * math/test-misc.c: Include <math-tests.h>.
41193         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41194         the relevant type.
41196 2013-06-12  Andreas Jaeger  <aj@suse.de>
41198         * po/ia.po: Update Interlingua translation from translation
41199         project.
41201 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         * include/fenv.h: Include stdbool.h.
41204         (struct rm_ctx): New structure.
41205         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41206         Define macro.
41207         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41208         (SET_RESTORE_ROUNDF): Likewise.
41209         (SET_RESTORE_ROUNDL): Likewise.
41210         (SET_RESTORE_ROUND_NOEX): Likewise.
41211         (SET_RESTORE_ROUND_NOEXF): Likewise.
41212         (SET_RESTORE_ROUND_NOEXL): Likewise.
41213         (SET_RESTORE_ROUND_53BIT): Likewise.
41214         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41215         (libc_feresetround_noexf_ctx): Likewise.
41216         (libc_feresetround_noexl_ctx): Likewise.
41217         (libc_feholdsetround_53bit_ctx): Likewise.
41218         (libc_feresetround_53bit_ctx): Likewise.
41219         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41220         (libc_feholdexcept_setround_sse_ctx): New function.
41221         (libc_fesetenv_sse_ctx): Likewise.
41222         (libc_feupdateenv_sse_ctx): Likewise.
41223         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41224         (libc_feholdexcept_setround_387_ctx): Likewise.
41225         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41226         (libc_feholdsetround_387_prec_ctx): Likewise.
41227         (libc_feholdsetround_387_ctx): Likewise.
41228         (libc_feholdsetround_387_53bit_ctx): Likewise.
41229         (libc_feholdsetround_sse_ctx): Likewise.
41230         (libc_feresetround_sse_ctx): Likewise.
41231         (libc_feresetround_387_ctx): Likewise.
41232         (libc_feupdateenv_387_ctx): Likewise.
41233         (libc_feholdexcept_setroundf_ctx): Define macro.
41234         (libc_fesetenvf_ctx): Likewise.
41235         (libc_feupdateenvf_ctx): Likewise.
41236         (libc_feholdsetroundf_ctx): Likewise.
41237         (libc_feresetroundf_ctx): Likewise.
41238         (libc_feholdexcept_setround_ctx): Likewise.
41239         (libc_fesetenv_ctx): Likewise.
41240         (libc_feupdateenv_ctx): Likewise.
41241         (libc_feholdsetround_ctx): Likewise.
41242         (libc_feresetround_ctx): Likewise.
41243         (libc_feholdexcept_setroundl_ctx): Likewise.
41244         (libc_feupdateenvl_ctx): Likewise.
41245         (libc_feholdsetroundl_ctx): Likewise.
41246         (libc_feresetroundl_ctx): Likewise.
41247         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41248         (libc_feresetround_53bit_ctx): Likewise.
41250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41252         * locale/iso-639.def: Convert to UTF-8.
41254 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41256         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41257         (EXCEPTION_TESTS_double): Likewise.
41258         (EXCEPTION_TESTS_long_double): Likewise.
41259         (EXCEPTION_TESTS): Likewise.
41260         * math/libm-test.inc (test_exceptions): Only test exceptions if
41261         EXCEPTION_TESTS (FLOAT).
41263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41265         * benchtests/Makefile (string-bench): Add strcpy_chk and
41266         stpcpy_chk.
41267         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41268         * benchtests/bench-stpcpy_chk.c: New file.
41269         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41270         * benchtests/bench-strcpy_chk.c: New file.
41271         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41272         code.
41273         (do_test): Likewise.
41275 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41277         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41278         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41279         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41280         with tabs where appropriate.
41281         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41282         dl-procinfo.h.
41283         [PPC_PLATFORM_PPC440]: Likewise.
41284         [PPC_PLATFORM_PPC464]: Likewise.
41285         [PPC_PLATFORM_PPC476]: Likewise.
41286         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41287         ppc464, and ppc476 platform strings merging from ports/
41288         dl-procinfo.h.
41290 2013-06-11  Andreas Schwab  <schwab@suse.de>
41292         [BZ #14991]
41293         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41294         (from_ucs4_idx): Regenerate.
41295         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41296         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41297         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41298         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41299         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41300         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41301         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41302         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41303         from FROM_LOOP and TO_LOOP specific macros.
41304         (BODY): Handle combining characters.
41305         * iconvdata/BIG5HKSCS.irreversible: Update.
41306         * iconvdata/BIG5HKSCS.precomposed: New file.
41307         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41308         characters.
41309         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41311 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41313         * include/sys/time.h: Fix indentation and add copyright header.
41315         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41316         (do_test): Likewise.
41317         * string/test-memchr.c (do_one_test): Likewise.
41318         (do_test): Likewise.
41319         * string/test-memcmp.c (do_one_test): Likewise.
41320         (do_test): Likewise.
41321         * string/test-memcpy.c (do_one_test): Likewise.
41322         (do_test): Likewise.
41323         * string/test-memmem.c (do_one_test): Likewise.
41324         (do_test): Likewise.
41325         (do_random_tests): Likewise.
41326         * string/test-memmove.c (do_one_test): Likewise.
41327         (do_test): Likewise.
41328         * string/test-memset.c (do_one_test): Likewise.
41329         (do_test): Likewise.
41330         * string/test-rawmemchr.c (do_one_test): Likewise.
41331         (do_test): Likewise.
41332         * string/test-strcasecmp.c (do_one_test): Likewise.
41333         (do_test): Likewise.
41334         * string/test-strcasestr.c (do_one_test): Likewise.
41335         (do_test): Likewise.
41336         * string/test-strcat.c (do_one_test): Likewise.
41337         (do_test): Likewise.
41338         * string/test-strchr.c (do_one_test): Likewise.
41339         (do_test): Likewise.
41340         * string/test-strcmp.c (do_one_test): Likewise.
41341         (do_test): Likewise.
41342         * string/test-strcpy.c (do_one_test): Likewise.
41343         (do_test): Likewise.
41344         * string/test-string.h: Likewise.
41345         (test_init): Likewise.
41346         * string/test-strlen.c (do_one_test): Likewise.
41347         (do_test): Likewise.
41348         * string/test-strncasecmp.c (do_one_test): Likewise.
41349         (do_test): Likewise.
41350         * string/test-strncat.c (do_one_test): Likewise.
41351         (do_test): Likewise.
41352         * string/test-strncmp.c (do_one_test): Likewise.
41353         (do_test_limit): Likewise.
41354         (do_test): Likewise.
41355         * string/test-strncpy.c (do_one_test): Likewise.
41356         (do_test): Likewise.
41357         * string/test-strnlen.c (do_one_test): Likewise.
41358         (do_test): Likewise.
41359         * string/test-strpbrk.c (do_one_test): Likewise.
41360         (do_test): Likewise.
41361         * string/test-strrchr.c (do_one_test): Likewise.
41362         (do_test): Likewise.
41363         * string/test-strspn.c (do_one_test): Likewise.
41364         (do_test): Likewise.
41365         * string/test-strstr.c (do_one_test): Likewise.
41366         (do_test): Likewise.
41368         * benchtests/Makefile (string-bench): Add string benchmarks.
41369         * benchtests/bench-bcopy-ifunc.c: New file.
41370         * benchtests/bench-bcopy.c: New file.
41371         * benchtests/bench-bzero-ifunc.c: New file.
41372         * benchtests/bench-bzero.c: New file.
41373         * benchtests/bench-memccpy-ifunc.c: New file.
41374         * benchtests/bench-memccpy.c: New file.
41375         * benchtests/bench-memchr-ifunc.c: New file.
41376         * benchtests/bench-memchr.c: New file.
41377         * benchtests/bench-memcmp-ifunc.c: New file.
41378         * benchtests/bench-memcmp.c: New file.
41379         * benchtests/bench-memmem-ifunc.c: New file.
41380         * benchtests/bench-memmem.c: New file.
41381         * benchtests/bench-memmove-ifunc.c: New file.
41382         * benchtests/bench-memmove.c: New file.
41383         * benchtests/bench-mempcpy-ifunc.c: New file.
41384         * benchtests/bench-mempcpy.c: New file.
41385         * benchtests/bench-memset-ifunc.c: New file.
41386         * benchtests/bench-memset.c: New file.
41387         * benchtests/bench-rawmemchr-ifunc.c: New file.
41388         * benchtests/bench-rawmemchr.c: New file.
41389         * benchtests/bench-stpcpy-ifunc.c: New file.
41390         * benchtests/bench-stpcpy.c: New file.
41391         * benchtests/bench-stpncpy-ifunc.c: New file.
41392         * benchtests/bench-stpncpy.c: New file.
41393         * benchtests/bench-strcasecmp-ifunc.c: New file.
41394         * benchtests/bench-strcasecmp.c: New file.
41395         * benchtests/bench-strcasestr-ifunc.c: New file.
41396         * benchtests/bench-strcasestr.c: New file.
41397         * benchtests/bench-strcat-ifunc.c: New file.
41398         * benchtests/bench-strcat.c: New file.
41399         * benchtests/bench-strchr-ifunc.c: New file.
41400         * benchtests/bench-strchr.c: New file.
41401         * benchtests/bench-strchrnul-ifunc.c: New file.
41402         * benchtests/bench-strchrnul.c: New file.
41403         * benchtests/bench-strcmp-ifunc.c: New file.
41404         * benchtests/bench-strcmp.c: New file.
41405         * benchtests/bench-strcpy-ifunc.c: New file.
41406         * benchtests/bench-strcpy.c: New file.
41407         * benchtests/bench-strcspn-ifunc.c: New file.
41408         * benchtests/bench-strcspn.c: New file.
41409         * benchtests/bench-strlen-ifunc.c: New file.
41410         * benchtests/bench-strlen.c: New file.
41411         * benchtests/bench-strncasecmp-ifunc.c: New file.
41412         * benchtests/bench-strncasecmp.c: New file.
41413         * benchtests/bench-strncat-ifunc.c: New file.
41414         * benchtests/bench-strncat.c: New file.
41415         * benchtests/bench-strncmp-ifunc.c: New file.
41416         * benchtests/bench-strncmp.c: New file.
41417         * benchtests/bench-strncpy-ifunc.c: New file.
41418         * benchtests/bench-strncpy.c: New file.
41419         * benchtests/bench-strnlen-ifunc.c: New file.
41420         * benchtests/bench-strnlen.c: New file.
41421         * benchtests/bench-strpbrk-ifunc.c: New file.
41422         * benchtests/bench-strpbrk.c: New file.
41423         * benchtests/bench-strrchr-ifunc.c: New file.
41424         * benchtests/bench-strrchr.c: New file.
41425         * benchtests/bench-strspn-ifunc.c: New file.
41426         * benchtests/bench-strspn.c: New file.
41427         * benchtests/bench-strstr-ifunc.c: New file.
41428         * benchtests/bench-strstr.c: New file.
41430         * benchtests/Makefile: Disable parallel execution of targets.
41431         (string-bench): Add memcpy.
41432         (benchset): New variable to store a list of benchmark sets.
41433         (bench-func): Renamed from bench.
41434         (bench-set): New target.
41435         (bench): Depend on bench-func and bench-set.
41436         * benchtests/README: Add section on benchmark sets.
41437         * benchtests/bench-memcpy-ifunc.c: New file.
41438         * benchtests/bench-memcpy.c: New file.
41439         * benchtests/bench-string.h: New file.
41441 2013-06-11  Andreas Schwab  <schwab@suse.de>
41443         [BZ #15577]
41444         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41445         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41446         values in the triple.
41447         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41448         terminator in the group key.
41450 2013-06-11  Andreas Jaeger  <aj@suse.de>
41452         * po/zh_TW.po: Update Chinese (traditional) translation from
41453         translation project.
41455 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41457         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41458         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41459         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41461         (clock_getcpuclockid): Likewise.
41462         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41463         Add weak_alias and libc_hidden_def.
41464         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41465         * rt/clock_gettime.c (clock_gettime): Rename to
41466         __clock_gettime.  Add weak_alias and libc_hidden_def.
41467         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41468         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41469         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41470         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41471         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41472         Likewise.
41473         * rt/clock_settime.c (clock_settime): Rename to
41474         __clock_settime.  Add weak_alias and libc_hidden_def.
41475         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41477 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41479         * mach/err_boot.sub: Remove trailing whitespace.
41480         * mach/err_ipc.sub: Likewise.
41481         * mach/err_mach.sub: Likewise.
41483         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41484         (ROUNDING_TESTS_double): Likewise.
41485         (ROUNDING_TESTS_long_double): Likewise.
41486         (ROUNDING_TESTS): Likewise.
41487         * math/libm-test.inc: Include <math-tests.h>.
41488         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41489         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41490         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41491         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41493 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41495         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41496         of assigning.
41498 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41500         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41501         otherwise empty TRANS lines.
41502         * sysdeps/gnu/errlist.c: Regenerated.
41504         * catgets/gencat.c (error_print): Use (void) in function
41505         definition.
41506         * crypt/crypt_util.c (__init_des): Likewise.
41507         * crypt/speeds.c (Stop): Likewise.
41508         (main): Likewise.
41509         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41510         * inet/ruserpass.c (token): Likewise.
41511         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41512         * intl/localealias.c (extend_alias_table): Likewise.
41513         * intl/plural-exp.c (init_germanic_plural): Likewise.
41514         * libio/fcloseall.c (__fcloseall): Likewise.
41515         * libio/genops.c (_IO_flush_all): Likewise.
41516         (_IO_flush_all_linebuffered): Likewise.
41517         (_IO_cleanup): Likewise.
41518         (_IO_iter_begin): Likewise.
41519         (_IO_iter_end): Likewise.
41520         (_IO_list_lock): Likewise.
41521         (_IO_list_unlock): Likewise.
41522         (_IO_list_resetlock): Likewise.
41523         * libio/getchar.c (getchar): Likewise.
41524         * libio/getchar_u.c (getchar_unlocked): Likewise.
41525         * libio/getwchar.c (getwchar): Likewise.
41526         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41527         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41528         * login/getpt.c (__getpt): Likewise.
41529         * login/tst-utmp.c (main): Likewise.
41530         * malloc/hooks.c (__malloc_check_init): Likewise.
41531         * malloc/malloc.c (__malloc_stats): Likewise.
41532         * malloc/mtrace.c (tr_break): Likewise.
41533         (mtrace): Likewise.
41534         (muntrace): Likewise.
41535         * misc/fstab.c (endfsent): Likewise.
41536         * misc/getclktck.c (__getclktck): Likewise.
41537         * misc/getdtsz.c (__getdtablesize): Likewise.
41538         * misc/gethostid.c (gethostid): Likewise.
41539         * misc/getpagesize.c (__getpagesize): Likewise.
41540         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41541         (__get_nprocs): Likewise.
41542         (__get_phys_pages): Likewise.
41543         (__get_avphys_pages): Likewise.
41544         * misc/getttyent.c (getttyent): Likewise.
41545         (setttyent): Likewise.
41546         (endttyent): Likewise.
41547         * misc/getusershell.c (getusershell): Likewise.
41548         (endusershell): Likewise.
41549         (setusershell): Likewise.
41550         (initshells): Likewise.
41551         * misc/hsearch.c (__hdestroy): Likewise.
41552         * misc/sync.c (sync): Likewise.
41553         * misc/syslog.c (closelog_internal): Likewise.
41554         (closelog): Likewise.
41555         * misc/ttyslot.c (ttyslot): Likewise.
41556         * misc/vhangup.c (vhangup): Likewise.
41557         * posix/fork.c (__fork): Likewise.
41558         * posix/getegid.c (__getegid): Likewise.
41559         * posix/geteuid.c (__geteuid): Likewise.
41560         * posix/getgid.c (__getgid): Likewise.
41561         * posix/getpid.c (__getpid): Likewise.
41562         * posix/getppid.c (__getppid): Likewise.
41563         * posix/getuid.c (__getuid): Likewise.
41564         * posix/pause.c (pause): Likewise.
41565         * posix/setpgrp.c (setpgrp): Likewise.
41566         * posix/setsid.c (__setsid): Likewise.
41567         * posix/test-vfork.c (noop): Likewise.
41568         * resolv/gethnamaddr.c (_endhtent): Likewise.
41569         (_gethtent): Likewise.
41570         (ht_endhostent): Likewise.
41571         (gethostent): Likewise.
41572         (dns_service): Likewise.
41573         * stdlib/drand48.c (drand48): Likewise.
41574         * stdlib/lrand48.c (lrand48): Likewise.
41575         * stdlib/mrand48.c (mrand48): Likewise.
41576         * stdlib/rand.c (rand): Likewise.
41577         * stdlib/random.c (__random): Likewise.
41578         * stdlib/setenv.c (clearenv): Likewise.
41579         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41580         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41581         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41582         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41583         (__get_nprocs): Likewise.
41584         (__get_phys_pages): Likewise.
41585         (__get_avphys_pages): Likewise.
41586         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41587         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41588         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41589         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41590         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41591         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41592         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41593         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41594         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41595         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41596         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41597         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41598         * sysdeps/posix/clock.c (clock): Likewise.
41599         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41600         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41601         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41602         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41603         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41604         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41605         (__get_nprocs_conf): Likewise.
41606         (__get_phys_pages): Likewise.
41607         (__get_avphys_pages): Likewise.
41608         * time/clock.c (clock): Likewise.
41609         * time/tzset.c (__tzname_max): Likewise.
41611 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41613         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41614         (__bswap_32): Do not use "register".
41615         * crypt/crypt.c (_ufc_doit_r): Likewise.
41616         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41617         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41618         * gmon/gmon.c (__monstartup): Likewise.
41619         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41620         * hurd/hurdmalloc.c (more_memory): Likewise.
41621         (malloc): Likewise.
41622         (free): Likewise.
41623         (realloc): Likewise.
41624         (malloc_fork_prepare): Likewise.
41625         (malloc_fork_parent): Likewise.
41626         (malloc_fork_child): Likewise.
41627         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41628         (_svcauth_des): Likewise.
41629         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41630         * inet/inet_net.c (inet_network): Likewise.
41631         * inet/inet_netof.c (inet_netof): Likewise.
41632         * inet/rcmd.c (__validuser2_sa): Likewise.
41633         * io/fts.c (fts_open): Likewise.
41634         (fts_load): Likewise.
41635         (fts_close): Likewise.
41636         (fts_read): Likewise.
41637         (fts_children): Likewise.
41638         (fts_build): Likewise.
41639         (fts_stat): Likewise.
41640         (fts_sort): Likewise.
41641         (fts_alloc): Likewise.
41642         (fts_lfree): Likewise.
41643         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41644         (_IO_file_xsgetn): Likewise.
41645         (_IO_file_xsgetn_mmap): Likewise.
41646         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41647         (_IO_cookie_write): Likewise.
41648         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41649         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41650         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41651         * malloc/obstack.c (_obstack_begin): Likewise.
41652         (_obstack_begin_1): Likewise.
41653         (_obstack_newchunk): Likewise.
41654         (_obstack_allocated_p): Likewise.
41655         (obstack_free): Likewise.
41656         (_obstack_memory_used): Likewise.
41657         * misc/getttyent.c (getttynam): Likewise.
41658         (getttyent): Likewise.
41659         (skip): Likewise.
41660         (value): Likewise.
41661         * misc/getusershell.c (initshells): Likewise.
41662         * misc/syslog.c (__vsyslog_chk): Likewise.
41663         * misc/ttyslot.c (ttyslot): Likewise.
41664         * nis/nis_hash.c (__nis_hash): Likewise.
41665         * posix/fnmatch_loop.c (FCT): Likewise.
41666         * posix/getconf.c (print_all): Likewise.
41667         (main): Likewise.
41668         * posix/getopt.c (exchange): Likewise.
41669         * posix/glob.c (globfree): Likewise.
41670         (prefix_array): Likewise.
41671         (__glob_pattern_type): Likewise.
41672         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41673         (NS_GET32): Likewise.
41674         (NS_PUT16): Likewise.
41675         (NS_PUT32): Likewise.
41676         * resolv/gethnamaddr.c (getanswer): Likewise.
41677         (gethostbyname2): Likewise.
41678         (gethostbyaddr): Likewise.
41679         (_gethtent): Likewise.
41680         (_gethtbyname2): Likewise.
41681         (_gethtbyaddr): Likewise.
41682         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41683         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41684         * resolv/res_init.c (__res_vinit): Likewise.
41685         (net_mask): Likewise.
41686         * resolv/res_mkquery.c (outchar): Likewise.
41687         (PRINT): Likewise.
41688         * stdio-common/printf_fp.c (outchar): Likewise.
41689         (PRINT): Likewise.
41690         * stdio-common/printf_fphex.c (outchar): Likewise.
41691         (PRINT): Likewise.
41692         * stdio-common/printf_size.c (outchar): Likewise.
41693         (PRINT): Likewise.
41694         * stdio-common/test_rdwr.c (main): Likewise.
41695         * stdio-common/tfformat.c (matches): Likewise.
41696         * stdio-common/vfprintf.c (outchar): Likewise.
41697         (printf_unknown): Likewise.
41698         (buffered_vfprintf): Likewise.
41699         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41700         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41701         (ReadFile): Likewise.
41702         * stdlib/qsort.c (SWAP): Likewise.
41703         (_quicksort): Likewise.
41704         * stdlib/setenv.c (__add_to_environ): Likewise.
41705         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41706         * stdlib/strtol_l.c (__strtol_l): Likewise.
41707         * stdlib/tst-strtod.c (main): Likewise.
41708         * stdlib/tst-strtol.c (main): Likewise.
41709         * stdlib/tst-strtoll.c (main): Likewise.
41710         * string/bits/string2.h (__strcmp_cc): Likewise.
41711         (__strcmp_cg): Likewise.
41712         (__strcspn_c1): Likewise.
41713         (__strcspn_c2): Likewise.
41714         (__strcspn_c3): Likewise.
41715         (__strspn_c1): Likewise.
41716         (__strspn_c2): Likewise.
41717         (__strspn_c3): Likewise.
41718         (__strsep_1c): Likewise.
41719         (__strsep_2c): Likewise.
41720         (__strsep_3c): Likewise.
41721         * string/memccpy.c (__memccpy): Likewise.
41722         * string/stpcpy.c (__stpcpy): Likewise.
41723         * string/strcmp.c (strcmp): Likewise.
41724         * string/strrchr.c (strrchr): Likewise.
41725         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41726         Likewise.
41727         * sysdeps/mach/hurd/getcwd.c
41728         (_hurd_canonicalize_directory_name_internal): Likewise.
41729         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41730         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41731         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41732         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41733         Likewise, in both definitions.
41734         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41735         definitions.
41736         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41737         64] (__bswap_64): Likewise.
41738         * time/test_time.c (main): Likewise.
41739         * time/tzfile.c (__tzfile_read): Likewise.
41740         (__tzfile_compute): Likewise.
41741         * time/tzset.c (__tzset_parse_tz): Likewise.
41742         (tzset_internal): Likewise.
41743         (compute_change): Likewise.
41744         * wcsmbs/wcscat.c (__wcscat): Likewise.
41745         * wcsmbs/wcschr.c (wcschr): Likewise.
41746         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41747         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41748         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41749         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41750         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41751         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41752         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41753         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41754         * wcsmbs/wmemset.c (wmemset): Likewise.
41756 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41758         * scripts/config.guess: Update to version 2013-05-16.
41759         * scripts/config.sub: Update to version 2013-04-24.
41760         * scripts/install-sh: Update to version 2011-11-20.07.
41761         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41762         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41764 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41766         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41767         * elf/sln.c: Likewise.
41768         * hurd/hurd/ioctl.h: Likewise.
41769         * hurd/hurdmalloc.c: Likewise.
41770         * hurd/xattr.c: Likewise.
41771         * include/shlib-compat.h: Likewise.
41772         * inet/ruserpass.c: Likewise.
41773         * libio/iofgets_u.c: Likewise.
41774         * libio/iofgetws_u.c: Likewise.
41775         * locale/programs/ld-identification.c: Likewise.
41776         * locale/programs/ld-time.c: Likewise.
41777         * mach/msg-destroy.c: Likewise.
41778         * nss/nss_files/files-netgrp.c: Likewise.
41779         * resolv/res_data.c: Likewise.
41780         * soft-fp/op-1.h: Likewise.
41781         * soft-fp/op-2.h: Likewise.
41782         * soft-fp/op-4.h: Likewise.
41783         * soft-fp/op-common.h: Likewise.
41784         * stdio-common/printf_fphex.c: Likewise.
41785         * stdlib/strtod_l.c: Likewise.
41786         * sunrpc/rpc/clnt.h: Likewise.
41787         * sysdeps/generic/framestate.c: Likewise.
41788         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41789         * sysdeps/i386/bsd-setjmp.S: Likewise.
41790         * sysdeps/i386/__longjmp.S: Likewise.
41791         * sysdeps/i386/setjmp.S: Likewise.
41792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41793         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41795         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41796         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41797         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41801         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41802         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41803         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41804         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41805         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41806         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41807         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41808         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41809         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41810         * sysdeps/ieee754/support.c: Likewise.
41811         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41812         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41813         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41814         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41815         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41816         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41817         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41818         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41819         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41820         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41821         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41822         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41823         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41824         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41825         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41826         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41827         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41830 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41832         * posix/transbug.c: Remove executable mode.
41834 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41836         * crypt/speeds.c: Remove trailing whitespace.
41837         * dlfcn/default.c: Likewise.
41838         * elf/ifuncdep2.c: Likewise.
41839         * elf/ifuncmain1.c: Likewise.
41840         * elf/ifuncmain1vis.c: Likewise.
41841         * elf/testobj.h: Likewise.
41842         * elf/tst-stackguard1.c: Likewise.
41843         * gmon/sys/gmon.h: Likewise.
41844         * hurd/hurdmsg.c: Likewise.
41845         * hurd/new-fd.c: Likewise.
41846         * hurd/ports-get.c: Likewise.
41847         * iconvdata/ibm1008_420.c: Likewise.
41848         * inet/tst-getni1.c: Likewise.
41849         * inet/tst-getni2.c: Likewise.
41850         * libio/ioungetc.c: Likewise.
41851         * libio/wfiledoalloc.c: Likewise.
41852         * manual/libm-err-tab.pl: Likewise.
41853         * math/w_dremf.c: Likewise.
41854         * misc/ftruncate.c: Likewise.
41855         * posix/bug-glob2.c: Likewise.
41856         * posix/tst-pcre.c: Likewise.
41857         * posix/wait4.c: Likewise.
41858         * resolv/README: Likewise.
41859         * resolv/res_debug.h: Likewise.
41860         * resolv/tst-inet_ntop.c: Likewise.
41861         * setjmp/bug269-setjmp.c: Likewise.
41862         * soft-fp/extended.h: Likewise.
41863         * soft-fp/op-1.h: Likewise.
41864         * soft-fp/op-2.h: Likewise.
41865         * soft-fp/op-4.h: Likewise.
41866         * soft-fp/op-8.h: Likewise.
41867         * soft-fp/testit.c: Likewise.
41868         * stdio-common/bug16.c: Likewise.
41869         * stdlib/random.c: Likewise.
41870         * sunrpc/rpcsvc/rquota.x: Likewise.
41871         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41872         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41873         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41874         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41875         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41876         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41877         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41878         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41879         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41880         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41881         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41882         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41884         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41885         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41886         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41887         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41898         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41900         * sysdeps/ieee754/s_lib_version.c: Likewise.
41901         * sysdeps/mach/hurd/check_fds.c: Likewise.
41902         * sysdeps/mach/hurd/getsockname.c: Likewise.
41903         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41904         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41905         * sysdeps/powerpc/bits/link.h: Likewise.
41906         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41907         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41908         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41909         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41910         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41911         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41912         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41913         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41914         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41915         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41916         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41917         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41918         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41919         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41920         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41921         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41922         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41924         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41925         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41926         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41927         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41928         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41929         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41930         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41931         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41932         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41933         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41934         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41935         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41936         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41937         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41938         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41939         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41940         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41941         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41942         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41943         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41944         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41945         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41946         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41947         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41948         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41949         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41950         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41951         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41952         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41953         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41954         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41955         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41956         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41957         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41958         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41959         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41960         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41961         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41962         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41963         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41964         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41965         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41966         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41967         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41968         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41969         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41970         * sysdeps/powerpc/sysdep.h: Likewise.
41971         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41972         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41973         * sysdeps/sh/dl-trampoline.S: Likewise.
41974         * sysdeps/sh/memset.S: Likewise.
41975         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41976         * sysdeps/sh/strlen.S: Likewise.
41977         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41978         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41979         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41980         * sysdeps/sparc/sparc32/rem.S: Likewise.
41981         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41982         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41983         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41984         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41985         * sysdeps/sparc/sparc32/urem.S: Likewise.
41986         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41987         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41988         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41989         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41990         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41991         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41992         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41993         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41994         * sysdeps/unix/bsd/times.c: Likewise.
41995         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41996         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42000         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42001         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42002         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42003         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42004         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42005         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42006         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42007         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42008         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42009         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42010         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42011         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42012         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42013         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42014         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42015         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42016         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42017         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42018         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42019         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42020         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42021         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42022         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42023         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42024         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42025         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42026         * sysdeps/x86_64/strcspn.S: Likewise.
42028 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42030         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42031         generated file.  Regenerate properly from gen-translit.pl.
42032         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42033         locale/C-translit.h.
42035 2013-06-05  Andreas Schwab  <schwab@suse.de>
42037         [BZ #15100]
42038         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42039         week as 6 instead of -1.
42040         * time/tst-strptime.c (day_tests): Add test case.
42042 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42044         * sysdeps/generic/math_private.h
42045         (libc_feholdexcept_setround_53bit): Replace with
42046         libc_feholdsetround_53bit.
42047         (libc_feupdateenv_53bit): Replace with
42048         libc_feresetround_53bit.
42049         (SET_RESTORE_ROUND_53BIT): Adjust.
42051 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42053         * string/test-strchrnul.c: Add copyright header.
42055         * posix/tst-getaddrinfo4.c: Increase test timeout.
42057 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42059         [BZ #15536]
42060         * math/libm-test.inc (MAX_EXP): Remove
42061         (MIN_EXP): Define.
42062         (ulp): Use MIN_EXP - MANT_DIG.
42063         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42065 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42067         * po/be.po: Revert last change.
42068         * po/zh_CN.po: Likewise.
42069         * po/header.pot: Likewise.
42071 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42073         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42074         link-libc-deps to empty as target-specific variable.
42075         * Makerules (link-libc-args): New variable.
42076         (libc-for-link): Likewise.
42077         (link-libc-deps): Likewise.
42078         (lib%.so): Depend on $(link-libc-deps).  Link with
42079         $(link-libc-args).
42080         (build-module): Link with $(link-libc-args).
42081         (build-module-asneeded): Likewise.
42082         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42083         list of objects.
42084         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42085         target-specific variable.
42086         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42087         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42088         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42089         libc.
42090         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42091         libc and ld.so.
42092         ($(objpfx)libpcprofile.so): Likewise.
42093         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42094         libc_nonshared.a.
42095         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42096         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42097         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42098         $(link-libc-deps).
42099         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42100         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42101         * login/Makefile ($(objpfx)libutil.so): Likewise.
42102         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42103         * math/Makefile ($(objpfx)libm.so): Likewise.
42104         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42105         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42106         variable instead of depending directly on libc.
42107         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42108         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42109         $(link-libc-deps).
42110         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42111         libc.
42112         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42113         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42114         ($(objpfx)libanl.so): Likewise.
42115         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42116         ld.so.
42117         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42118         $(link-libc-deps).
42119         * sysdeps/i386/fpu/Makefile: Remove file.
42120         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42121         ($(objpfx)libm.so): Remove dependency on ld.so.
42123 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42125         [BZ # 15553]
42126         * nis/yp_xdr.c (XDRMAXNAME): Define.
42127         (XDRMAXRECORD): Define.
42128         (xdr_domainname): Use XDRMAXNAME.
42129         (xdr_mapname): Likewise.
42130         (xdr_peername): Likewise.
42131         (xdr_keydat): Use XDRMAXRECORD.
42132         (xdr_valdat): Likewise.
42134 2013-05-30  Jeff Law  <law@redhat.com>
42136         [BZ #14256]
42137         * manual/errno.texi (ESTALE): Update to account for more than
42138         just NFS file systems.
42139         * sysdeps/gnu/errlist.c: Regenerated.
42141 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42143         [BZ #15465]
42144         * elf/Makefile (tests): Add tst-null-argv.
42145         (modules-names):  Add tst-null-argv-lib.
42146         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42147         (tst-null-argv-ENV): Set environment for tst-null-argv.
42148         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42149         (RTLD_PROGNAME): New macro.
42150         * elf/tst-null-argv.c: New test case.
42151         * elf/tst-null-argv-lib.c: Library for test case.
42152         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42153         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42154         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42155         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42156         * elf/dl-init.c (call_init): Likewise.
42157         (_dl_init): Likewise.
42158         * elf/dl-load.c (print_search_path): Likewise.
42159         (_dl_map_object): Likewise.
42160         * elf/dl-lookup.c (do_lookup_x): Likewise.
42161         (add_dependency): Likewise.
42162         (_dl_lookup_symbol_x): Likewise.
42163         (_dl_debug_bindings): Likewise.
42164         * elf/dl-open.c (_dl_show_scope): Likewise.
42165         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42166         * elf/dl-version.c (match_symbol): Likewise.
42167         (_dl_check_map_versions): Likewise.
42168         * elf/rtld.c (dl_main): Likewise.
42169         (print_unresolved): Use RTLD_PROGNAME.
42170         (print_missing_version): Likewise.
42171         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42172         (elf_machine_rela): Likewise.
42173         * sysdeps/powerpc/powerpc32/dl-machine.c
42174         (__process_machine_rela): Likewise.
42175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42176         Likewise.
42177         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42178         Likewise.
42179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42180         Likewise.
42181         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42182         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42183         Likewise.
42184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42185         Likewise.
42186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42188 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42190         * po/be.po: Add descriptive title.
42191         * po/zh_CN.po: Likewise.
42192         * po/header.pot: Likewise.
42194 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42196         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42197         error message.
42198         (enlarge_archive): Likewise.
42200 2013-05-28  Ben North  <ben@redfrontdoor.org>
42202         * manual/arith.texi (frexp): It is the magnitude of the return
42203         value which lies in [0.5, 1), not the return value itself.
42205 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42209 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42211         * stdio-common/bug26.c (main): Correct fscanf template.
42213         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42214         declare _dl_skip_args.
42216         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42217         Don't declare.
42219         * manual/platform.texi: Add missing @end deftypefun.
42221 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42223         [BZ #15529]
42224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42225         bit of mantissa of 2^16382.
42226         * math/libm-test.inc (hypot_test_data): Add more tests.
42228         * math/libm-test.inc: Add drem and pow10 to list of tested
42229         functions.
42230         (pow10_test): New function.
42231         (drem_test): Likewise.
42232         (drem_test_tonearest): Likewise.
42233         (drem_test_towardzero): Likewise.
42234         (drem_test_downward): Likewise.
42235         (drem_test_upward): Likewise.
42236         (main): Call the new functions.
42238         * math/libm-test.inc (finite_test_data): Remove.
42239         (finite_test): Run tests from isfinite_test_data.
42240         (gamma_test_data): Remove.
42241         (gamma_test): Run tests from lgamma_test_data.
42242         * sysdeps/i386/fpu/libm-test-ulps: Update.
42243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42245 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42247         * manual/platform.texi: Add PowerPC PPR function set documentation.
42248         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42249         implementation.
42251 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42253         * math/libm-test.inc (MAX_EXP): Define.
42254         (ULPDIFF): Define.
42255         (ulp): New function.
42256         (check_float_internal): Use ULPDIFF.
42257         (cpow_test): Disable failing test.
42258         (check_ulp): Test ulp() implemetnation.
42259         (main): Call check_ulp before starting tests.
42261 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42263         * math/gen-libm-test.pl (generate_testfile): Do not handle
42264         START_DATA and END_DATA.
42265         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42266         END_DATA.
42267         (acos_tonearest_test_data): Likewise.
42268         (acos_towardzero_test_data): Likewise.
42269         (acos_downward_test_data): Likewise.
42270         (acos_upward_test_data): Likewise.
42271         (acosh_test_data): Likewise.
42272         (asin_test_data): Likewise.
42273         (asin_tonearest_test_data): Likewise.
42274         (asin_towardzero_test_data): Likewise.
42275         (asin_downward_test_data): Likewise.
42276         (asin_upward_test_data): Likewise.
42277         (asinh_test_data): Likewise.
42278         (atan_test_data): Likewise.
42279         (atanh_test_data): Likewise.
42280         (atan2_test_data): Likewise.
42281         (cabs_test_data): Likewise.
42282         (cacos_test_data): Likewise.
42283         (cacosh_test_data): Likewise.
42284         (carg_test_data): Likewise.
42285         (casin_test_data): Likewise.
42286         (casinh_test_data): Likewise.
42287         (catan_test_data): Likewise.
42288         (catanh_test_data): Likewise.
42289         (cbrt_test_data): Likewise.
42290         (ccos_test_data): Likewise.
42291         (ccosh_test_data): Likewise.
42292         (ceil_test_data): Likewise.
42293         (cexp_test_data): Likewise.
42294         (cimag_test_data): Likewise.
42295         (clog_test_data): Likewise.
42296         (clog10_test_data): Likewise.
42297         (conj_test_data): Likewise.
42298         (copysign_test_data): Likewise.
42299         (cos_test_data): Likewise.
42300         (cos_tonearest_test_data): Likewise.
42301         (cos_towardzero_test_data): Likewise.
42302         (cos_downward_test_data): Likewise.
42303         (cos_upward_test_data): Likewise.
42304         (cosh_test_data): Likewise.
42305         (cosh_tonearest_test_data): Likewise.
42306         (cosh_towardzero_test_data): Likewise.
42307         (cosh_downward_test_data): Likewise.
42308         (cosh_upward_test_data): Likewise.
42309         (cpow_test_data): Likewise.
42310         (cproj_test_data): Likewise.
42311         (creal_test_data): Likewise.
42312         (csin_test_data): Likewise.
42313         (csinh_test_data): Likewise.
42314         (csqrt_test_data): Likewise.
42315         (ctan_test_data): Likewise.
42316         (ctan_tonearest_test_data): Likewise.
42317         (ctan_towardzero_test_data): Likewise.
42318         (ctan_downward_test_data): Likewise.
42319         (ctan_upward_test_data): Likewise.
42320         (ctanh_test_data): Likewise.
42321         (ctanh_tonearest_test_data): Likewise.
42322         (ctanh_towardzero_test_data): Likewise.
42323         (ctanh_downward_test_data): Likewise.
42324         (ctanh_upward_test_data): Likewise.
42325         (erf_test_data): Likewise.
42326         (erfc_test_data): Likewise.
42327         (exp_test_data): Likewise.
42328         (exp_tonearest_test_data): Likewise.
42329         (exp_towardzero_test_data): Likewise.
42330         (exp_downward_test_data): Likewise.
42331         (exp_upward_test_data): Likewise.
42332         (exp10_test_data): Likewise.
42333         (exp2_test_data): Likewise.
42334         (expm1_test_data): Likewise.
42335         (fabs_test_data): Likewise.
42336         (fdim_test_data): Likewise.
42337         (finite_test_data): Likewise.
42338         (floor_test_data): Likewise.
42339         (fma_test_data): Likewise.
42340         (fma_towardzero_test_data): Likewise.
42341         (fma_downward_test_data): Likewise.
42342         (fma_upward_test_data): Likewise.
42343         (fmax_test_data): Likewise.
42344         (fmin_test_data): Likewise.
42345         (fmod_test_data): Likewise.
42346         (fpclassify_test_data): Likewise.
42347         (frexp_test_data): Likewise.
42348         (gamma_test_data): Likewise.
42349         (hypot_test_data): Likewise.
42350         (ilogb_test_data): Likewise.
42351         (isfinite_test_data): Likewise.
42352         (isgreater_test_data): Likewise.
42353         (isgreaterequal_test_data): Likewise.
42354         (isinf_test_data): Likewise.
42355         (isless_test_data): Likewise.
42356         (islessequal_test_data): Likewise.
42357         (islessgreater_test_data): Likewise.
42358         (isnan_test_data): Likewise.
42359         (isnormal_test_data): Likewise.
42360         (issignaling_test_data): Likewise.
42361         (isunordered_test_data): Likewise.
42362         (j0_test_data): Likewise.
42363         (j1_test_data): Likewise.
42364         (jn_test_data): Likewise.
42365         (ldexp_test_data): Likewise.
42366         (lgamma_test_data): Likewise.
42367         (lrint_test_data): Likewise.
42368         (lrint_tonearest_test_data): Likewise.
42369         (lrint_towardzero_test_data): Likewise.
42370         (lrint_downward_test_data): Likewise.
42371         (lrint_upward_test_data): Likewise.
42372         (llrint_test_data): Likewise.
42373         (llrint_tonearest_test_data): Likewise.
42374         (llrint_towardzero_test_data): Likewise.
42375         (llrint_downward_test_data): Likewise.
42376         (llrint_upward_test_data): Likewise.
42377         (log_test_data): Likewise.
42378         (log10_test_data): Likewise.
42379         (log1p_test_data): Likewise.
42380         (log2_test_data): Likewise.
42381         (logb_test_data): Likewise.
42382         (logb_downward_test_data): Likewise.
42383         (lround_test_data): Likewise.
42384         (llround_test_data): Likewise.
42385         (modf_test_data): Likewise.
42386         (nearbyint_test_data): Likewise.
42387         (nextafter_test_data): Likewise.
42388         (nexttoward_test_data): Likewise.
42389         (pow_test_data): Likewise.
42390         (pow_tonearest_test_data): Likewise.
42391         (pow_towardzero_test_data): Likewise.
42392         (pow_downward_test_data): Likewise.
42393         (pow_upward_test_data): Likewise.
42394         (remainder_test_data): Likewise.
42395         (remainder_tonearest_test_data): Likewise.
42396         (remainder_towardzero_test_data): Likewise.
42397         (remainder_downward_test_data): Likewise.
42398         (remainder_upward_test_data): Likewise.
42399         (remquo_test_data): Likewise.
42400         (rint_test_data): Likewise.
42401         (rint_tonearest_test_data): Likewise.
42402         (rint_towardzero_test_data): Likewise.
42403         (rint_downward_test_data): Likewise.
42404         (rint_upward_test_data): Likewise.
42405         (round_test_data): Likewise.
42406         (scalb_test_data): Likewise.
42407         (scalbn_test_data): Likewise.
42408         (scalbln_test_data): Likewise.
42409         (signbit_test_data): Likewise.
42410         (sin_test_data): Likewise.
42411         (sin_tonearest_test_data): Likewise.
42412         (sin_towardzero_test_data): Likewise.
42413         (sin_downward_test_data): Likewise.
42414         (sin_upward_test_data): Likewise.
42415         (sincos_test_data): Likewise.
42416         (sinh_test_data): Likewise.
42417         (sinh_tonearest_test_data): Likewise.
42418         (sinh_towardzero_test_data): Likewise.
42419         (sinh_downward_test_data): Likewise.
42420         (sinh_upward_test_data): Likewise.
42421         (sqrt_test_data): Likewise.
42422         (tan_test_data): Likewise.
42423         (tan_tonearest_test_data): Likewise.
42424         (tan_towardzero_test_data): Likewise.
42425         (tan_downward_test_data): Likewise.
42426         (tan_upward_test_data): Likewise.
42427         (tanh_test_data): Likewise.
42428         (tgamma_test_data): Likewise.
42429         (trunc_test_data): Likewise.
42430         (y0_test_data): Likewise.
42431         (y1_test_data): Likewise.
42432         (yn_test_data): Likewise.
42433         (significand_test_data): Likewise.
42435         * math/gen-libm-test.pl (@functions): Remove variable.
42436         (generate_testfile): Don't handle START and END lines.
42437         * math/libm-test.inc (START): New macro.
42438         (END): Likewise.
42439         (END_COMPLEX): Likewise.
42440         (acos_test): Use END macro without arguments.
42441         (acos_test_tonearest): Likewise.
42442         (acos_test_towardzero): Likewise.
42443         (acos_test_downward): Likewise.
42444         (acos_test_upward): Likewise.
42445         (acosh_test): Likewise.
42446         (asin_test): Likewise.
42447         (asin_test_tonearest): Likewise.
42448         (asin_test_towardzero): Likewise.
42449         (asin_test_downward): Likewise.
42450         (asin_test_upward): Likewise.
42451         (asinh_test): Likewise.
42452         (atan_test): Likewise.
42453         (atanh_test): Likewise.
42454         (atan2_test): Likewise.
42455         (cabs_test): Likewise.
42456         (cacos_test): Use END_COMPLEX macro without arguments.
42457         (cacosh_test): Likewise.
42458         (carg_test): Use END macro without arguments.
42459         (casin_test): Use END_COMPLEX macro without arguments.
42460         (casinh_test): Likewise.
42461         (catan_test): Likewise.
42462         (catanh_test): Likewise.
42463         (cbrt_test): Use END macro without arguments.
42464         (ccos_test): Use END_COMPLEX macro without arguments.
42465         (ccosh_test): Likewise.
42466         (ceil_test): Use END macro without arguments.
42467         (cexp_test): Use END_COMPLEX macro without arguments.
42468         (cimag_test): Use END macro without arguments.
42469         (clog_test): Use END_COMPLEX macro without arguments.
42470         (clog10_test): Likewise.
42471         (conj_test): Likewise.
42472         (copysign_test): Use END macro without arguments.
42473         (cos_test): Likewise.
42474         (cos_test_tonearest): Likewise.
42475         (cos_test_towardzero): Likewise.
42476         (cos_test_downward): Likewise.
42477         (cos_test_upward): Likewise.
42478         (cosh_test): Likewise.
42479         (cosh_test_tonearest): Likewise.
42480         (cosh_test_towardzero): Likewise.
42481         (cosh_test_downward): Likewise.
42482         (cosh_test_upward): Likewise.
42483         (cpow_test): Use END_COMPLEX macro without arguments.
42484         (cproj_test): Likewise.
42485         (creal_test): Use END macro without arguments.
42486         (csin_test): Use END_COMPLEX macro without arguments.
42487         (csinh_test): Likewise.
42488         (csqrt_test): Likewise.
42489         (ctan_test): Likewise.
42490         (ctan_test_tonearest): Likewise.
42491         (ctan_test_towardzero): Likewise.
42492         (ctan_test_downward): Likewise.
42493         (ctan_test_upward): Likewise.
42494         (ctanh_test): Likewise.
42495         (ctanh_test_tonearest): Likewise.
42496         (ctanh_test_towardzero): Likewise.
42497         (ctanh_test_downward): Likewise.
42498         (ctanh_test_upward): Likewise.
42499         (erf_test): Use END macro without arguments.
42500         (erfc_test): Likewise.
42501         (exp_test): Likewise.
42502         (exp_test_tonearest): Likewise.
42503         (exp_test_towardzero): Likewise.
42504         (exp_test_downward): Likewise.
42505         (exp_test_upward): Likewise.
42506         (exp10_test): Likewise.
42507         (exp2_test): Likewise.
42508         (expm1_test): Likewise.
42509         (fabs_test): Likewise.
42510         (fdim_test): Likewise.
42511         (finite_test): Likewise.
42512         (floor_test): Likewise.
42513         (fma_test): Likewise.
42514         (fma_test_towardzero): Likewise.
42515         (fma_test_downward): Likewise.
42516         (fma_test_upward): Likewise.
42517         (fmax_test): Likewise.
42518         (fmin_test): Likewise.
42519         (fmod_test): Likewise.
42520         (fpclassify_test): Likewise.
42521         (frexp_test): Likewise.
42522         (gamma_test): Likewise.
42523         (hypot_test): Likewise.
42524         (ilogb_test): Likewise.
42525         (isfinite_test): Likewise.
42526         (isgreater_test): Likewise.
42527         (isgreaterequal_test): Likewise.
42528         (isinf_test): Likewise.
42529         (isless_test): Likewise.
42530         (islessequal_test): Likewise.
42531         (islessgreater_test): Likewise.
42532         (isnan_test): Likewise.
42533         (isnormal_test): Likewise.
42534         (issignaling_test): Likewise.
42535         (isunordered_test): Likewise.
42536         (j0_test): Likewise.
42537         (j1_test): Likewise.
42538         (jn_test): Likewise.
42539         (ldexp_test): Likewise.
42540         (lgamma_test): Likewise.
42541         (lrint_test): Likewise.
42542         (lrint_test_tonearest): Likewise.
42543         (lrint_test_towardzero): Likewise.
42544         (lrint_test_downward): Likewise.
42545         (lrint_test_upward): Likewise.
42546         (llrint_test): Likewise.
42547         (llrint_test_tonearest): Likewise.
42548         (llrint_test_towardzero): Likewise.
42549         (llrint_test_downward): Likewise.
42550         (llrint_test_upward): Likewise.
42551         (log_test): Likewise.
42552         (log10_test): Likewise.
42553         (log1p_test): Likewise.
42554         (log2_test): Likewise.
42555         (logb_test): Likewise.
42556         (logb_test_downward): Likewise.
42557         (lround_test): Likewise.
42558         (llround_test): Likewise.
42559         (modf_test): Likewise.
42560         (nearbyint_test): Likewise.
42561         (nextafter_test): Likewise.
42562         (nexttoward_test): Likewise.
42563         (pow_test): Likewise.
42564         (pow_test_tonearest): Likewise.
42565         (pow_test_towardzero): Likewise.
42566         (pow_test_downward): Likewise.
42567         (pow_test_upward): Likewise.
42568         (remainder_test): Likewise.
42569         (remainder_test_tonearest): Likewise.
42570         (remainder_test_towardzero): Likewise.
42571         (remainder_test_downward): Likewise.
42572         (remainder_test_upward): Likewise.
42573         (remquo_test): Likewise.
42574         (rint_test): Likewise.
42575         (rint_test_tonearest): Likewise.
42576         (rint_test_towardzero): Likewise.
42577         (rint_test_downward): Likewise.
42578         (rint_test_upward): Likewise.
42579         (round_test): Likewise.
42580         (scalb_test): Likewise.
42581         (scalbn_test): Likewise.
42582         (scalbln_test): Likewise.
42583         (signbit_test): Likewise.
42584         (sin_test): Likewise.
42585         (sin_test_tonearest): Likewise.
42586         (sin_test_towardzero): Likewise.
42587         (sin_test_downward): Likewise.
42588         (sin_test_upward): Likewise.
42589         (sincos_test): Likewise.
42590         (sinh_test): Likewise.
42591         (sinh_test_tonearest): Likewise.
42592         (sinh_test_towardzero): Likewise.
42593         (sinh_test_downward): Likewise.
42594         (sinh_test_upward): Likewise.
42595         (sqrt_test): Likewise.
42596         (tan_test): Likewise.
42597         (tan_test_tonearest): Likewise.
42598         (tan_test_towardzero): Likewise.
42599         (tan_test_downward): Likewise.
42600         (tan_test_upward): Likewise.
42601         (tanh_test): Likewise.
42602         (tgamma_test): Likewise.
42603         (trunc_test): Likewise.
42604         (y0_test): Likewise.
42605         (y1_test): Likewise.
42606         (yn_test): Likewise.
42607         (significand_test): Likewise.
42609 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42611         [BZ #15381]
42612         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42614 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42616         [BZ #14894]
42617         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42618         __ppc_mdoio and __ppc_mdoom.
42619         * manual/platform.texi: Document new functions __ppc_yield,
42620         __ppc_mdoio and __ppc_mdoom.
42622 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42624         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42625         (main): Mention "tls" pseudo-hwcap is legacy.
42626         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42628 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42630         * math/gen-libm-test.pl (parse_args): Output only string of
42631         arguments as text for test name, not full call or descriptions of
42632         tests for extra outputs.
42633         (generate_testfile): Do not pass function name to parse_args.
42634         Generate this_func variable from START.
42635         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42636         field to arg_str.
42637         (struct test_ff_f_data): Likewise.
42638         (test_ff_f_data_nexttoward): Likewise.
42639         (struct test_fi_f_data): Likewise.
42640         (struct test_fl_f_data): Likewise.
42641         (struct test_if_f_data): Likewise.
42642         (struct test_fff_f_data): Likewise.
42643         (struct test_c_f_data): Likewise.
42644         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42645         (struct test_fF_f1_data): Likewise.
42646         (struct test_ffI_f1_data): Likewise.
42647         (struct test_c_c_data): Rename test_name field to arg_str.
42648         (struct test_cc_c_data): Likewise.
42649         (struct test_f_i_data): Likewise.
42650         (struct test_ff_i_data): Likewise.
42651         (struct test_f_l_data): Likewise.
42652         (struct test_f_L_data): Likewise.
42653         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42654         and extra2_name.
42655         (COMMON_TEST_SETUP): New macro.
42656         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42657         (COMMON_TEST_CLEANUP): Likewise.
42658         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42659         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42660         macros.
42661         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42662         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42663         macros.
42664         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42665         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42666         cleanup macros.
42667         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42668         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42669         macros.
42670         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42671         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42672         macros.
42673         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42674         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42675         cleanup macros.
42676         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42677         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42678         cleanup macros.
42679         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42680         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42681         cleanup macros.
42682         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42683         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42684         macros.
42685         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42686         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42687         macros.
42688         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42689         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42690         macros.
42691         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42692         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42693         cleanup macros.
42694         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42695         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42696         cleanup macros.
42697         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42698         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42699         macros.
42700         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42701         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42702         cleanup macros.
42703         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42704         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42705         macros.
42706         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42707         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42708         macros.
42709         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42710         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42711         cleanup macros.
42712         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42714 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42716         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42717         to _sifields.sigfault.
42718         (si_addr_lsb): Define new macro.
42719         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42723 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42725         [BZ #15441]
42726         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42727         returns -1.
42728         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42729         null return -1.
42730         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42731         loading the domain.
42733 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42735         * math/gen-libm-test.pl (parse_args): Do not include expected
42736         result in test name.
42737         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42738         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42739         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42740         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42741         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42744 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42746         * benchtests/Makefile: Sort function entries.
42748         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42749         tanh, asinh, acosh, atanh.
42750         * benchtests/acos-inputs: New file.
42751         * benchtests/acosh-inputs: New file.
42752         * benchtests/asin-inputs: New file.
42753         * benchtests/asinh-inputs: New file.
42754         * benchtests/atanh-inputs: New file.
42755         * benchtests/cosh-inputs: New file.
42756         * benchtests/log-inputs: New file.
42757         * benchtests/sinh-inputs: New file.
42758         * benchtests/tanh-inputs: New file.
42760 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42762         [BZ #15339]
42763         * posix/tst-getaddrinfo4.c: New test.
42764         * posix/Makefile (tests): Add it.
42766 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42768         [BZ #15339]
42769         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42770         when no services were used.
42771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42772         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42774 2013-05-21  Andreas Schwab  <schwab@suse.de>
42776         [BZ #15014]
42777         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42778         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42779         successful.
42780         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42781         redundant variable declarations and reallocation of buffer when
42782         parsing as IPv6 address.  Always set NSS status when called from
42783         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42784         buffer too small.  Correct computation of needed size.
42785         * nss/Makefile (tests): Add test-digits-dots.
42786         * nss/test-digits-dots.c: New test.
42788 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42790         * benchtests/Makefile: Remove instructions for adding
42791         benchmark tests.
42792         * benchtests/README: New file to explain how to execute and
42793         enhance the benchmark tests.
42795 2013-05-21  Andreas Schwab  <schwab@suse.de>
42797         [BZ #15493]
42798         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42799         * setjmp/tst-sigsetjmp.c: New test.
42801 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42803         * sysdeps/x86_64/memset.S (memset): New implementation.
42804         (__bzero): Likewise.
42805         (__memset_tail): New function.
42807 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42809         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42810         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42811         __memcpy_sse2_unaligned ifunc selection.
42812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42813         Add memcpy-sse2-unaligned.S.
42814         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42815         Add: __memcpy_sse2_unaligned.
42817 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42819         [BZ #15490]
42820         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42821         math_force_eval before restoring floating-point envrionment.
42822         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42823         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42824         Likewise.
42825         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42826         <math_private.h>.
42827         (__nearbyintl): Use math_force_eval before restoring
42828         floating-point environment.
42829         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42831         * math/gen-libm-test.pl (special_functions): Remove.
42832         (parse_args): Don't handle TEST_extra.  Handle functions with no
42833         return value.
42834         * math/libm-test.inc (struct test_sincos_data): Replace with
42835         struct test_fFF_11_data.
42836         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42837         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42838         (sincos_test_data): Change element type to struct
42839         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42840         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42841         RUN_TEST_LOOP_sincos.
42842         * math/README.libm-test: Don't mention special handling of
42843         individual functions.
42844         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42847         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42848         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42851         * math/gen-libm-test.pl (get_variable): Remove function.
42852         (parse_args): Don't show pointer parameters to call in test
42853         names.  Use "extra output N" in test names for extra outputs
42854         rather than naming variables.
42856 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42858         [BZ #15488]
42859         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42860         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42861         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42862         double tests.
42863         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42864         disable.
42865         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42866         check_long_double.
42868         * math/gen-libm-test.pl (@tests): Remove variable.
42869         ($count): Likewise.
42870         (new_test): Remove function.
42871         (show_exceptions): New function.
42872         (special_functions): Use show_exceptions instead of new_test.
42873         (parse_args): Likewise.
42874         (generate_testfile): Pass only function name in generated call to
42875         print_max_error or print_complex_max_error.
42876         (get_ulps): Do not handle complex tests specially.
42877         (output_test): Rename to ...
42878         (get_all_ulps_for_test): ... this.  Return a string rather than
42879         printing to a file.  Require ulps to be present.
42880         (output_ulps): Generate arrays rather than #defines.
42881         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42882         (struct ulp_data): New type.
42883         (BUILD_COMPLEX_ULP): Remove macro.
42884         (compare_ulp_data): New function.
42885         (find_ulps): Likewise.
42886         (find_test_ulps): Likewise.
42887         (find_function_ulps): Likewise.
42888         (find_complex_function_ulps): Likewise.
42889         (print_max_error): Determine allowed ulps using
42890         find_function_ulps.
42891         (print_complex_max_error): Determine allowed ulps using
42892         find_complex_function_ulps.
42893         (check_float_internal): Determine max ulps using find_test_ulps.
42894         (check_float): Do not take max_ulp parameter.  Update call to
42895         check_float_internal.
42896         (check_complex): Likewise.
42897         (check_int): Do not take max_ulp parameter.
42898         (check_long): Likewise.
42899         (check_bool): Likewise.
42900         (check_longlong): Likewise.
42901         (struct test_f_f_data): Remove max_ulp field.
42902         (struct test_ff_f_data): Likewise.
42903         (struct test_ff_f_data_nexttoward): Likewise.
42904         (struct test_fi_f_data): Likewise.
42905         (struct test_fl_f_data): Likewise.
42906         (struct test_if_f_data): Likewise.
42907         (struct test_fff_f_data): Likewise.
42908         (struct test_c_f_data): Likewise.
42909         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42910         (struct test_fF_f1_data): Likewise.
42911         (struct test_ffI_f1_data): Likewise.
42912         (struct test_c_c_data): Remove max_ulp field.
42913         (struct test_cc_c_data): Likewise.
42914         (struct test_f_i_data): Likewise.
42915         (struct test_ff_i_data): Likewise.
42916         (struct test_f_l_data): Likewise.
42917         (struct test_f_L_data): Likewise.
42918         (struct test_sincos_data): Likewise.
42919         (RUN_TEST_f_f): Do not handle ulps.
42920         (RUN_TEST_LOOP_f_f): Likewise.
42921         (RUN_TEST_2_f): Likewise.
42922         (RUN_TEST_LOOP_2_f): Likewise.
42923         (RUN_TEST_fff_f): Likewise.
42924         (RUN_TEST_LOOP_fff_f): Likewise.
42925         (RUN_TEST_c_f): Likewise.
42926         (RUN_TEST_LOOP_c_f): Likewise.
42927         (RUN_TEST_f_f1): Likewise.
42928         (RUN_TEST_LOOP_f_f1): Likewise.
42929         (RUN_TEST_fF_f1): Likewise.
42930         (RUN_TEST_LOOP_fF_f1): Likewise.
42931         (RUN_TEST_fI_f1): Likewise.
42932         (RUN_TEST_LOOP_fI_f1): Likewise.
42933         (RUN_TEST_ffI_f1): Likewise.
42934         (RUN_TEST_LOOP_ffI_f1): Likewise.
42935         (RUN_TEST_c_c): Likewise.
42936         (RUN_TEST_LOOP_c_c): Likewise.
42937         (RUN_TEST_cc_c): Likewise.
42938         (RUN_TEST_LOOP_cc_c): Likewise.
42939         (RUN_TEST_f_i): Likewise.
42940         (RUN_TEST_LOOP_f_i): Likewise.
42941         (RUN_TEST_f_i_tg): Likewise.
42942         (RUN_TEST_LOOP_f_i_tg): Likewise.
42943         (RUN_TEST_ff_i_tg): Likewise.
42944         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42945         (RUN_TEST_f_b): Likewise.
42946         (RUN_TEST_LOOP_f_b): Likewise.
42947         (RUN_TEST_f_b_tg): Likewise.
42948         (RUN_TEST_LOOP_f_b_tg): Likewise.
42949         (RUN_TEST_f_l): Likewise.
42950         (RUN_TEST_LOOP_f_l): Likewise.
42951         (RUN_TEST_f_L): Likewise.
42952         (RUN_TEST_LOOP_f_L): Likewise.
42953         (RUN_TEST_sincos): Likewise.
42954         (RUN_TEST_LOOP_sincos): Likewise.
42956 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42958         [BZ #15480]
42959         [BZ #15485]
42960         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42961         main case of finite arguments, set rounding mode to FE_TONEAREST
42962         and discard exceptions.
42963         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42964         exceptions.
42965         (remainder_tonearest_test_data): New variable.
42966         (remainder_test_tonearest): New function.
42967         (remainder_towardzero_test_data): New variable.
42968         (remainder_test_towardzero): New function.
42969         (remainder_downward_test_data): New variable.
42970         (remainder_test_downward): New function.
42971         (remainder_upward_test_data): New variable.
42972         (remainder_test_upward): New function.
42973         (main): Call the new test functions.
42975         * math/libm-test.inc (struct test_f_f1_data): Remove field
42976         extra_init.
42977         (struct test_fF_f1_data): Likewise.
42978         (struct test_ffI_f1_data): Likewise.
42979         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42980         based on value of EXTRA_EXPECTED.
42981         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42982         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42983         EXTRA_VAR based on value of EXTRA_EXPECTED.
42984         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42985         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42986         EXTRA_VAR based on value of EXTRA_EXPECTED.
42987         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42988         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42989         EXTRA_VAR based on value of EXTRA_EXPECTED.
42990         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42991         * math/gen-libm-test.pl (parse_args): Don't output initializers
42992         for extra output values.
42994         * math/libm-test.inc (check_int): Expect result to be exactly
42995         equal to expected value and do not handle ulps.
42996         (check_long): Likewise.
42997         (check_longlong): Likewise.
42999         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43000         exceptions.
43001         (cimag_test_data): Likewise.
43002         (conj_test_data): Likewise.
43003         (copysign_test_data): Likewise.
43004         (cproj_test_data): Likewise.
43005         (creal_test_data): Likewise.
43006         (fabs_test_data): Likewise.
43007         (fdim_test_data): Likewise.
43008         (finite_test_data): Likewise.
43009         (floor_test_data): Likewise.
43010         (fmax_test_data): Likewise.
43011         (fmin_test_data): Likewise.
43012         (fmod_test_data): Likewise.
43013         (fpclassify_test_data): Likewise.
43014         (frexp_test_data): Likewise.
43015         (ilogb_test_data): Likewise.
43016         (isfinite_test_data): Likewise.
43017         (isgreater_test_data): Likewise.
43018         (isgreaterequal_test_data): Likewise.
43019         (isinf_test_data): Likewise.
43020         (isless_test_data): Likewise.
43021         (islessequal_test_data): Likewise.
43022         (islessgreater_test_data): Likewise.
43023         (isnan_test_data): Likewise.
43024         (isnormal_test_data): Likewise.
43025         (issignaling_test_data): Likewise.
43026         (isunordered_test_data): Likewise.
43027         (ldexp_test_data): Likewise.
43028         (lrint_test_data): Likewise.
43029         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43030         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43031         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43032         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43033         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43034         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43035         test input.
43036         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43037         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43038         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43039         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43040         that test input.
43041         (lrint_downward_test_data): Test for "inexact" exceptions.
43042         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43043         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43044         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43045         test input.
43046         (lrint_upward_test_data): Test for "inexact" exceptions.
43047         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43048         test input.
43049         (llrint_test_data): Test for "inexact" exceptions.
43050         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43051         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43052         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43053         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43054         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43055         (llrint_downward_test_data): Test for "inexact" exceptions.
43056         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43057         (llrint_upward_test_data): Test for "inexact" exceptions.
43058         (logb_test_data): Likewise.
43059         (logb_downward_test_data): Likewise.
43060         (nextafter_test_data): Likewise.
43061         (nexttoward_test_data): Likewise.
43062         (remainder_test_data): Likewise.
43063         (remquo_test_data): Likewise.
43064         (scalbn_test_data): Likewise.
43065         (scalbln_test_data): Likewise.
43066         (signbit_test_data): Likewise.
43067         (sqrt_test_data): Likewise.
43068         (significand_test_data): Likewise.
43070 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43072         [BZ #15424]
43073         * benchtests/bench-modf.c (struct args): Mark arg0 as
43074         volatile.
43075         * scripts/bench.pl: Mark members of struct args as volatile.
43077 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43079         [BZ # 15497]
43080         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43081         negative infinity on POWER6 or lower.
43082         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43084 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43086         [BZ #15442]
43087         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43088         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43089         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43090         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43091         (_FP_SETQNAN): New macro.
43092         (_FP_SETQNAN_SEMIRAW): Likewise.
43093         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43094         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43095         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43096         (FP_EXTEND): Use _FP_FRAC_SNANP.
43097         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43098         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43099         into account.
43100         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43101         New macro.
43102         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43103         Likewise.
43105 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43107         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43108         with DIVIDE_BY_ZERO_EXCEPTION.
43109         (gamma_test_data): Likewise.
43110         (lgamma_test_data): Likewise.
43111         (log_test_data): Likewise.
43112         (log10_test_data): Likewise.
43113         (log2_test_data): Likewise.
43114         (tgamma_test_data): Likewise.
43116         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43117         (acos_test_tonearest): Likewise.
43118         (acos_test_towardzero): Likewise.
43119         (acos_test_downward): Likewise.
43120         (acos_test_upward): Likewise.
43121         (acosh_test): Likewise.
43122         (asin_test): Likewise.
43123         (asin_test_tonearest): Likewise.
43124         (asin_test_towardzero): Likewise.
43125         (asin_test_downward): Likewise.
43126         (asin_test_upward): Likewise.
43127         (asinh_test): Likewise.
43128         (atan_test): Likewise.
43129         (atanh_test): Likewise.
43130         (atan2_test): Likewise.
43131         (cabs_test): Likewise.
43132         (cacos_test): Likewise.
43133         (cacosh_test): Likewise.
43134         (casin_test): Likewise.
43135         (casinh_test): Likewise.
43136         (catan_test): Likewise.
43137         (catanh_test): Likewise.
43138         (cbrt_test): Likewise.
43139         (ccos_test): Likewise.
43140         (ccosh_test): Likewise.
43141         (cexp_test): Likewise.
43142         (clog_test): Likewise.
43143         (clog10_test): Likewise.
43144         (cos_test): Likewise.
43145         (cos_test_tonearest): Likewise.
43146         (cos_test_towardzero): Likewise.
43147         (cos_test_downward): Likewise.
43148         (cos_test_upward): Likewise.
43149         (cosh_test): Likewise.
43150         (cosh_test_tonearest): Likewise.
43151         (cosh_test_towardzero): Likewise.
43152         (cosh_test_downward): Likewise.
43153         (cosh_test_upward): Likewise.
43154         (cpow_test): Likewise.
43155         (csin_test): Likewise.
43156         (csinh_test): Likewise.
43157         (csqrt_test): Likewise.
43158         (ctan_test): Likewise.
43159         (ctan_test_tonearest): Likewise.
43160         (ctan_test_towardzero): Likewise.
43161         (ctan_test_downward): Likewise.
43162         (ctan_test_upward): Likewise.
43163         (ctanh_test): Likewise.
43164         (ctanh_test_tonearest): Likewise.
43165         (ctanh_test_towardzero): Likewise.
43166         (ctanh_test_downward): Likewise.
43167         (ctanh_test_upward): Likewise.
43168         (erf_test): Likewise.
43169         (erfc_test): Likewise.
43170         (exp_test): Likewise.
43171         (exp_test_tonearest): Likewise.
43172         (exp_test_towardzero): Likewise.
43173         (exp_test_downward): Likewise.
43174         (exp_test_upward): Likewise.
43175         (exp10_test): Likewise.
43176         (exp2_test): Likewise.
43177         (expm1_test): Likewise.
43178         (fmod_test): Likewise.
43179         (gamma_test): Likewise.
43180         (hypot_test): Likewise.
43181         (j0_test): Likewise.
43182         (j1_test): Likewise.
43183         (jn_test): Likewise.
43184         (lgamma_test): Likewise.
43185         (log_test): Likewise.
43186         (log10_test): Likewise.
43187         (log1p_test): Likewise.
43188         (log2_test): Likewise.
43189         (logb_test_downward): Likewise.
43190         (pow_test): Likewise.
43191         (pow_test_tonearest): Likewise.
43192         (pow_test_towardzero): Likewise.
43193         (pow_test_downward): Likewise.
43194         (pow_test_upward): Likewise.
43195         (remainder_test): Likewise.
43196         (remquo_test): Likewise.
43197         (sin_test): Likewise.
43198         (sin_test_tonearest): Likewise.
43199         (sin_test_towardzero): Likewise.
43200         (sin_test_downward): Likewise.
43201         (sin_test_upward): Likewise.
43202         (sincos_test): Likewise.
43203         (sinh_test): Likewise.
43204         (sinh_test_tonearest): Likewise.
43205         (sinh_test_towardzero): Likewise.
43206         (sinh_test_downward): Likewise.
43207         (sinh_test_upward): Likewise.
43208         (sqrt_test): Likewise.
43209         (tan_test): Likewise.
43210         (tan_test_tonearest): Likewise.
43211         (tan_test_towardzero): Likewise.
43212         (tan_test_downward): Likewise.
43213         (tan_test_upward): Likewise.
43214         (tanh_test): Likewise.
43215         (tgamma_test): Likewise.
43216         (y0_test): Likewise.
43217         (y1_test): Likewise.
43218         (yn_test): Likewise.
43220         * math/gen-libm-test.pl (adjust_arg): Remove function.
43221         (special_function): Remove argument $in_func.  Only handle
43222         generating output for tables of tests, not inside functions.
43223         (parse_args): Likewise.
43224         (generate_testfile): Remove variable $in_func.  Update call to
43225         parse_args.
43226         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43227         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43228         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43229         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43230         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43231         (MAX_VALUE_INIT): Rename macro to max_value.
43232         (MIN_VALUE_INIT): Rename macro to min_value.
43233         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43234         (plus_zero): Remove variable.
43235         (minus_zero): Likewise.
43236         (plus_infty): Likewise.
43237         (minus_infty): Likewise.
43238         (qnan_value): Likewise.
43239         (max_value): Likewise.
43240         (min_value): Likewise.
43241         (min_subnorm_value): Likewise.
43243 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43245         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43246         uint64_t or uint32_t usage.
43247         * crypt/sha256-block.c: Likewise.
43248         * crypt/sha256-crypt.c: Likewise.
43249         * crypt/sha256.c: Likewise.
43250         * crypt/sha512-block.c: Likewise.
43251         * crypt/sha512-crypt.c: Likewise.
43252         * crypt/sha512.c: Likewise.
43253         * debug/backtrace-tst.c: Likewise.
43254         * debug/pcprofiledump.c: Likewise.
43255         * elf/cache.c: Likewise.
43256         * elf/dl-cache.c: Likewise.
43257         * elf/dl-misc.c: Likewise.
43258         * elf/dl-profile.c: Likewise.
43259         * elf/dl-support.c: Likewise.
43260         * elf/ldconfig.c: Likewise.
43261         * elf/sprof.c: Likewise.
43262         * iconv/dummy-repertoire.c: Likewise.
43263         * iconv/iconv_charmap.c: Likewise.
43264         * iconv/skeleton.c: Likewise.
43265         * iconvdata/8bit-generic.c: Likewise.
43266         * iconvdata/cp737.h: Likewise.
43267         * iconvdata/cp775.h: Likewise.
43268         * iconvdata/ibm1008.h: Likewise.
43269         * iconvdata/ibm1025.h: Likewise.
43270         * iconvdata/ibm1046.h: Likewise.
43271         * iconvdata/ibm1097.h: Likewise.
43272         * iconvdata/ibm1112.h: Likewise.
43273         * iconvdata/ibm1122.h: Likewise.
43274         * iconvdata/ibm1123.h: Likewise.
43275         * iconvdata/ibm1124.h: Likewise.
43276         * iconvdata/ibm1129.h: Likewise.
43277         * iconvdata/ibm1130.h: Likewise.
43278         * iconvdata/ibm1132.h: Likewise.
43279         * iconvdata/ibm1133.h: Likewise.
43280         * iconvdata/ibm1137.h: Likewise.
43281         * iconvdata/ibm1140.h: Likewise.
43282         * iconvdata/ibm1141.h: Likewise.
43283         * iconvdata/ibm1142.h: Likewise.
43284         * iconvdata/ibm1143.h: Likewise.
43285         * iconvdata/ibm1144.h: Likewise.
43286         * iconvdata/ibm1145.h: Likewise.
43287         * iconvdata/ibm1146.h: Likewise.
43288         * iconvdata/ibm1147.h: Likewise.
43289         * iconvdata/ibm1148.h: Likewise.
43290         * iconvdata/ibm1149.h: Likewise.
43291         * iconvdata/ibm1153.h: Likewise.
43292         * iconvdata/ibm1154.h: Likewise.
43293         * iconvdata/ibm1155.h: Likewise.
43294         * iconvdata/ibm1156.h: Likewise.
43295         * iconvdata/ibm1157.h: Likewise.
43296         * iconvdata/ibm1158.h: Likewise.
43297         * iconvdata/ibm1160.h: Likewise.
43298         * iconvdata/ibm1161.h: Likewise.
43299         * iconvdata/ibm1162.h: Likewise.
43300         * iconvdata/ibm1163.h: Likewise.
43301         * iconvdata/ibm1164.h: Likewise.
43302         * iconvdata/ibm1166.h: Likewise.
43303         * iconvdata/ibm1167.h: Likewise.
43304         * iconvdata/ibm12712.h: Likewise.
43305         * iconvdata/ibm1390.h: Likewise.
43306         * iconvdata/ibm1399.h: Likewise.
43307         * iconvdata/ibm16804.h: Likewise.
43308         * iconvdata/ibm4517.h: Likewise.
43309         * iconvdata/ibm4899.h: Likewise.
43310         * iconvdata/ibm4909.h: Likewise.
43311         * iconvdata/ibm4971.h: Likewise.
43312         * iconvdata/ibm5347.h: Likewise.
43313         * iconvdata/ibm803.h: Likewise.
43314         * iconvdata/ibm856.h: Likewise.
43315         * iconvdata/ibm901.h: Likewise.
43316         * iconvdata/ibm902.h: Likewise.
43317         * iconvdata/ibm9030.h: Likewise.
43318         * iconvdata/ibm9066.h: Likewise.
43319         * iconvdata/ibm921.h: Likewise.
43320         * iconvdata/ibm922.h: Likewise.
43321         * iconvdata/ibm9448.h: Likewise.
43322         * iconvdata/isiri-3342.h: Likewise.
43323         * iconvdata/jis0201.h: Likewise.
43324         * include/link.h: Likewise.
43325         * include/netdb.h: Likewise.
43326         * inet/check_native.c: Likewise.
43327         * inet/check_pf.c: Likewise.
43328         * inet/getipv4sourcefilter.c: Likewise.
43329         * inet/getnameinfo.c: Likewise.
43330         * inet/getsourcefilter.c: Likewise.
43331         * inet/htonl.c: Likewise.
43332         * inet/setipv4sourcefilter.c: Likewise.
43333         * inet/setsourcefilter.c: Likewise.
43334         * inet/test-inet6_opt.c: Likewise.
43335         * inet/tst-network.c: Likewise.
43336         * locale/C-collate.c: Likewise.
43337         * locale/C-ctype.c: Likewise.
43338         * locale/C-time.c: Likewise.
43339         * locale/C-translit.h: Likewise.
43340         * locale/loadarchive.c: Likewise.
43341         * locale/programs/3level.h: Likewise.
43342         * locale/programs/charmap.c: Likewise.
43343         * locale/programs/charmap.h: Likewise.
43344         * locale/programs/ld-address.c: Likewise.
43345         * locale/programs/ld-collate.c: Likewise.
43346         * locale/programs/ld-ctype.c: Likewise.
43347         * locale/programs/ld-identification.c: Likewise.
43348         * locale/programs/ld-measurement.c: Likewise.
43349         * locale/programs/ld-messages.c: Likewise.
43350         * locale/programs/ld-monetary.c: Likewise.
43351         * locale/programs/ld-name.c: Likewise.
43352         * locale/programs/ld-numeric.c: Likewise.
43353         * locale/programs/ld-paper.c: Likewise.
43354         * locale/programs/ld-telephone.c: Likewise.
43355         * locale/programs/ld-time.c: Likewise.
43356         * locale/programs/linereader.c: Likewise.
43357         * locale/programs/locale.c: Likewise.
43358         * locale/programs/locarchive.c: Likewise.
43359         * locale/programs/locfile.h: Likewise.
43360         * locale/programs/repertoire.c: Likewise.
43361         * locale/programs/simple-hash.c: Likewise.
43362         * locale/programs/simple-hash.h: Likewise.
43363         * malloc/memusage.c: Likewise.
43364         * malloc/memusagestat.c: Likewise.
43365         * nis/nis_defaults.c: Likewise.
43366         * nis/nis_hash.c: Likewise.
43367         * nis/nis_print.c: Likewise.
43368         * nis/nis_xdr.c: Likewise.
43369         * nscd/connections.c: Likewise.
43370         * nscd/hstcache.c: Likewise.
43371         * nscd/nscd_gethst_r.c: Likewise.
43372         * nscd/nscd_getserv_r.c: Likewise.
43373         * nscd/nscd_helper.c: Likewise.
43374         * nscd/servicescache.c: Likewise.
43375         * nss/makedb.c: Likewise.
43376         * nss/nss_db/db-XXX.c: Likewise.
43377         * nss/nss_db/db-initgroups.c: Likewise.
43378         * nss/nss_db/db-netgrp.c: Likewise.
43379         * nss/nss_files/files-network.c: Likewise.
43380         * nss/nss_files/files-parse.c: Likewise.
43381         * posix/bug-regex5.c: Likewise.
43382         * posix/fnmatch_loop.c: Likewise.
43383         * posix/regcomp.c: Likewise.
43384         * posix/regexec.c: Likewise.
43385         * posix/tst-rfc3484-2.c: Likewise.
43386         * posix/tst-rfc3484-3.c: Likewise.
43387         * posix/tst-rfc3484.c: Likewise.
43388         * resolv/nss_dns/dns-canon.c: Likewise.
43389         * resolv/nss_dns/dns-network.c: Likewise.
43390         * resolv/res_init.c: Likewise.
43391         * resolv/res_mkquery.c: Likewise.
43392         * resolv/tst-aton.c: Likewise.
43393         * stdlib/cxa_atexit.c: Likewise.
43394         * stdlib/cxa_finalize.c: Likewise.
43395         * stdlib/gen-fpioconst.c: Likewise.
43396         * stdlib/strtol_l.c: Likewise.
43397         * string/tst-endian.c: Likewise.
43398         * sunrpc/auth_des.c: Likewise.
43399         * sunrpc/clnt_udp.c: Likewise.
43400         * sunrpc/rtime.c: Likewise.
43401         * sunrpc/svcauth_des.c: Likewise.
43402         * sunrpc/xdr.c: Likewise.
43403         * sunrpc/xdr_intXX_t.c: Likewise.
43404         * sunrpc/xdr_rec.c: Likewise.
43405         * sysdeps/generic/ldconfig.h: Likewise.
43406         * sysdeps/generic/ldsodefs.h: Likewise.
43407         * sysdeps/generic/memusage.h: Likewise.
43408         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43409         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43410         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43411         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43413         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43414         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43416         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43418         * sysdeps/posix/getaddrinfo.c: Likewise.
43419         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43420         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43421         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43422         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43423         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43424         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43425         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43426         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43427         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43428         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43429         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43430         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43431         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43432         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43433         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43434         * sysdeps/x86_64/dl-tls.h: Likewise.
43435         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43436         * time/alt_digit.c: Likewise.
43437         * time/era.c: Likewise.
43438         * wcsmbs/tst-c16c32-1.c: Likewise.
43440 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43442         * math/libm-test.inc (struct test_sincos_data): New type.
43443         (RUN_TEST_LOOP_sincos): New macro.
43444         (sincos_test_data): New variable.
43445         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43447 2013-05-16  Richard Henderson  <rth@redhat.com>
43449         * math/atest-exp2.c (LIMB64): New macro.
43450         (CONSTSZ): New macro.
43451         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43452         (hexdig): Move ...
43453         (print_mpn_fp): ... to function scope.
43454         (read_mpn_hex): Remove.
43455         (get_log2): Remove.
43456         (exp2_mpn): Use mp_log2.
43457         (main): Use mp_exp1.
43459 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43461         * math/libm-test.inc: Remove comment about not testing "inexact"
43462         exceptions.
43463         (INEXACT_EXCEPTION): New macro.
43464         (NO_INEXACT_EXCEPTION): Likewise.
43465         (INVALID_EXCEPTION_OK): Update value.
43466         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43467         (OVERFLOW_EXCEPTION_OK): Likewise.
43468         (UNDERFLOW_EXCEPTION_OK): Likewise.
43469         (IGNORE_ZERO_INF_SIGN): Likewise.
43470         (ERRNO_UNCHANGED): Likewise.
43471         (ERRNO_EDOM): Likewise.
43472         (ERRNO_ERANGE): Likewise.
43473         (test_exceptions): Handle testing "inexact" exceptions.
43474         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43475         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43476         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43477         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43478         INEXACT_EXCEPTION.
43479         (rint_towardzero_test_data): Likewise.
43480         (rint_downward_test_data): Likewise.
43481         (rint_upward_test_data): Likewise.
43483         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43484         with OVERFLOW_EXCEPTION.
43485         (exp10_test_data): Likewise.
43486         (exp2_test_data): Likewise.
43487         (expm1_test_data): Likewise.
43488         (lgamma_test_data): Likewise.
43489         (pow_test_data): Likewise.
43490         (tgamma_test_data): Likewise.
43491         (yn_test_data): Remove duplicate test of overflow.
43493         * math/libm-test.inc (struct test_cc_c_data): New type.
43494         (RUN_TEST_LOOP_cc_c): New macro.
43495         (cpow_test_data): New variable.
43496         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43498         * math/libm-test.inc (struct test_f_L_data): New type.
43499         (RUN_TEST_LOOP_f_L): New macro.
43500         (llrint_test_data): New variable.
43501         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43502         (llrint_tonearest_test_data): New variable.
43503         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43504         (llrint_towardzero_test_data): New variable.
43505         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43506         (llrint_downward_test_data): New variable.
43507         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43508         (llrint_upward_test_data): New variable.
43509         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43510         (llround_test_data): New variable.
43511         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43513 2013-05-13  Peter Collingbourne  <pcc@google.com>
43515         * math/atest-exp2.c (get_log2): Remove const attribute.
43517 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43519         * math/libm-test.inc (struct test_f_l_data): New type.
43520         (RUN_TEST_LOOP_f_l): New macro.
43521         (lrint_test_data): New variable.
43522         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43523         (lrint_tonearest_test_data): New variable.
43524         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43525         (lrint_towardzero_test_data): New variable.
43526         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43527         (lrint_downward_test_data): New variable.
43528         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43529         (lrint_upward_test_data): New variable.
43530         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43531         (lround_test_data): New variable.
43532         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43534 2013-05-15  Peter Collingbourne  <pcc@google.com>
43536         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43537         (EXTRACT_WORDS64) Use where appropriate.
43538         (INSERT_WORDS64) Likewise.
43540         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43541         constraints with x constraints.
43542         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43544         * malloc/obstack.c (_obstack_compat): Add initializer.
43546 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43548         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43549         si_trapno and add si_addr_lsb to _sifields.sigfault.
43550         (si_trapno): Remove macro.
43551         (si_addr_lsb): Define new macro.
43552         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43554 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43556         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43557         instead of TEST_f_l.
43558         (llrint_test_tonearest): Likewise.
43559         (llrint_test_towardzero): Likewise.
43560         (llrint_test_downward): Likewise.
43561         (llrint_test_upward): Likewise.
43562         (llround_test): Likewise.
43564         * math/libm-test.inc (struct test_f_i_data): Add comment.
43565         (RUN_TEST_LOOP_f_b): New macro.
43566         (RUN_TEST_LOOP_f_b_tg): Likewise.
43567         (finite_test_data): New variable.
43568         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43569         (isfinite_test_data): New variable.
43570         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43571         (isinf_test_data): New variable.
43572         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43573         (isnan_test_data): New variable.
43574         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43575         (isnormal_test_data): New variable.
43576         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43577         (issignaling_test_data): New variable.
43578         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43579         (signbit_test_data): New variable.
43580         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43582         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43583         with INVALID_EXCEPTION.
43584         (acosh_test_data): Likewise.
43585         (asin_test_data): Likewise.
43586         (atanh_test_data): Likewise.
43587         (fmod_test_data): Likewise.
43588         (log_test_data): Likewise.
43589         (log10_test_data): Likewise.
43590         (log2_test_data): Likewise.
43591         (pow_test_data): Likewise.
43592         (sqrt_test_data): Likewise.
43593         (y0_test_data): Likewise.
43594         (y1_test_data): Likewise.
43595         (yn_test_data): Likewise.
43597         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43598         function contents.
43600         * math/libm-test.inc (struct test_ff_i_data): New type.
43601         (RUN_TEST_LOOP_ff_i_tg): New macro.
43602         (isgreater_test_data): New variable.
43603         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43604         (isgreaterequal_test_data): New variable.
43605         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43606         (isless_test_data): New variable.
43607         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43608         (islessequal_test_data): New variable.
43609         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43610         (islessgreater_test_data): New variable.
43611         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43612         (isunordered_test_data): New variable.
43613         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43615 2013-05-14  David S. Miller  <davem@davemloft.net>
43617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43619 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43621         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43623         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43624         extra_test to int.
43625         (struct test_f_i_data): Change type of max_ulp to int.
43627         * math/libm-test.inc (test_ffI_f1_data): New type.
43628         (RUN_TEST_LOOP_ffI_f1): New macro.
43629         (remquo_test_data): New variable.
43630         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43632         * setjmp/tst-setjmp-fp.c: New file.
43633         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43634         (link-libm): New variable.
43635         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43637         * math/libm-test.inc (struct test_f_i_data): New type.
43638         (RUN_TEST_LOOP_f_i): New macro.
43639         (RUN_TEST_LOOP_f_i_tg): Likewise.
43640         (fpclassify_test_data): New variable.
43641         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43642         (ilogb_test_data): New variable.
43643         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43645         * math/libm-test.inc (scalbln_test): Correct function name in END
43646         call.
43648         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43649         (RUN_TEST_LOOP_fI_f1): New macro.
43650         (frexp_test_data): New variable.
43651         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43653         * math/libm-test.inc (struct test_fF_f1_data): New type.
43654         (RUN_TEST_LOOP_fF_f1): New macro.
43655         (modf_test_data): New variable.
43656         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43658         * math/libm-test.inc (struct test_f_f1_data): New type.
43659         (RUN_TEST_LOOP_f_f1): New macro.
43660         (gamma_test_data): New variable.
43661         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43662         (lgamma_test_data): New variable.
43663         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43665 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43667         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43668         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43669         (main): Comment "tls" pseudo-hwcap.
43671 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43673         * math/libm-test.inc (struct test_fl_f_data): New type.
43674         (RUN_TEST_LOOP_fl_f): New variable.
43675         (scalbln_test_data): New variable.
43676         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43678         * math/libm-test.inc (struct test_fi_f_data): New type.
43679         (RUN_TEST_LOOP_fi_f): New macro.
43680         (ldexp_test_data): New variable.
43681         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43682         (scalbn_test_data): New variable.
43683         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43685         * math/libm-test.inc (struct test_c_f_data): New type.
43686         (RUN_TEST_LOOP_c_f): New macro.
43687         (cabs_test_data): New variable.
43688         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43689         (carg_test_data): New variable.
43690         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43691         (cimag_test_data): New variable.
43692         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43693         (creal_test_data): New variable.
43694         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43696         * math/libm-test.inc (struct test_if_f_data): New type.
43697         (RUN_TEST_LOOP_if_f): New macro.
43698         (jn_test_data): New variable.
43699         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43700         (yn_test_data): New variable.
43701         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43703         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43705 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43707         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43708         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43710 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43712         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43713         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43714         (bench-deps): Add bench-timing.h.
43715         * benchtests-bench-skeleton.c: Include bench-timing.h.
43716         (main): Use TIMING_* macros instead of clock_gettime.
43717         * benchtests/bench-timing.h: New file.
43719         [BZ #14582]
43720         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43721         Renamed from _LIB_VERSION.
43722         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43724 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43726         * math/libm-test.inc (struct test_fff_f_data): New type.
43727         (RUN_TEST_LOOP_fff_f): New macro.
43728         (fma_test_data): New variable.
43729         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43730         (fma_towardzero_test_data): New variable.
43731         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43732         (fma_downward_test_data): New variable.
43733         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43734         (fma_upward_test_data): New variable.
43735         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43737         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43738         (struct test_c_c_data): New type.
43739         (RUN_TEST_LOOP_c_c): New macro.
43740         (cacos_test_data): New variable.
43741         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43742         (cacosh_test_data): New variable.
43743         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43744         (casin_test_data): New variable.
43745         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43746         (casinh_test_data): New variable.
43747         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43748         (catan_test_data): New variable.
43749         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43750         (catanh_test_data): New variable.
43751         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43752         (ccos_test_data): New variable.
43753         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43754         (ccosh_test_data): New variable.
43755         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43756         (cexp_test_data): New variable.
43757         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43758         (clog_test_data): New variable.
43759         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43760         (clog10_test_data): New variable.
43761         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43762         (conj_test_data): New variable.
43763         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43764         (cproj_test_data): New variable.
43765         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43766         (csin_test_data): New variable.
43767         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43768         (csinh_test_data): New variable.
43769         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43770         (csqrt_test_data): New variable.
43771         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43772         (ctan_test_data): New variable.
43773         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43774         (ctan_tonearest_test_data): New variable.
43775         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43776         (ctan_towardzero_test_data): New variable.
43777         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43778         (ctan_downward_test_data): New variable.
43779         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43780         (ctan_upward_test_data): New variable.
43781         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43782         (ctanh_test_data): New variable.
43783         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43784         (ctanh_tonearest_test_data): New variable.
43785         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43786         (ctanh_towardzero_test_data): New variable.
43787         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43788         (ctanh_downward_test_data): New variable.
43789         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43790         (ctanh_upward_test_data): New variable.
43791         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43792         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43793         of BUILD_COMPLEX.
43795         * math/libm-test.inc (struct test_ff_f_data): New type.
43796         (struct test_ff_f_data_nexttoward): Likewise.
43797         (RUN_TEST_LOOP_2_f): New macro.
43798         (RUN_TEST_LOOP_ff_f): Likewise.
43799         (atan2_test_data): New variable.
43800         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43801         (copysign_test_data): New variable.
43802         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43803         (fdim_test_data): New variable.
43804         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43805         (fmax_test_data): New variable.
43806         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43807         (fmin_test_data): New variable.
43808         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43809         (fmod_test_data): New variable.
43810         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43811         (hypot_test_data): New variable.
43812         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43813         (nextafter_test_data): New variable.
43814         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43815         (nexttoward_test_data): New variable.
43816         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43817         (pow_test_data): New variable.
43818         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43819         (pow_tonearest_test_data): New variable.
43820         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43821         (pow_towardzero_test_data): New variable.
43822         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43823         (pow_downward_test_data): New variable.
43824         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43825         (pow_upward_test_data): New variable.
43826         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43827         (remainder_test_data): New variable.
43828         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43829         (scalb_test_data): New variable.
43830         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43831         * sysdeps/i386/fpu/libm-test-ulps: Update.
43833 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43835         * math/libm-test.inc (fma_test): Use max_value instead of local
43836         variable fltmax.
43837         (nextafter_test): Likewise.
43839         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43840         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43841         (acos_downward_test_data): New variable.
43842         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43843         (acos_upward_test_data): New variable.
43844         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43845         (acosh_test_data): New variable.
43846         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43847         (asin_test_data): New variable.
43848         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43849         (asin_tonearest_test_data): New variable.
43850         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43851         (asin_towardzero_test_data): New variable.
43852         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43853         (asin_downward_test_data): New variable.
43854         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43855         (asin_upward_test_data): New variable.
43856         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43857         (asinh_test_data): New variable.
43858         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43859         (atan_test_data): New variable.
43860         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43861         (atanh_test_data): New variable.
43862         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43863         (cbrt_test_data): New variable.
43864         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43865         (ceil_test_data): New variable.
43866         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43867         (cos_test_data): New variable.
43868         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43869         (cos_tonearest_test_data): New variable.
43870         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43871         (cos_towardzero_test_data): New variable.
43872         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43873         (cos_downward_test_data): New variable.
43874         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43875         (cos_upward_test_data): New variable.
43876         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43877         (cosh_test_data): New variable.
43878         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43879         (cosh_tonearest_test_data): New variable.
43880         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43881         (cosh_towardzero_test_data): New variable.
43882         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43883         (cosh_downward_test_data): New variable.
43884         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43885         (cosh_upward_test_data): New variable.
43886         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43887         (erf_test_data): New variable.
43888         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43889         (erfc_test_data): New variable.
43890         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43891         (exp_test_data): New variable.
43892         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43893         (exp_tonearest_test_data): New variable.
43894         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43895         (exp_towardzero_test_data): New variable.
43896         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43897         (exp_downward_test_data): New variable.
43898         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43899         (exp_upward_test_data): New variable.
43900         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43901         (exp10_test_data): New variable.
43902         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43903         (exp2_test_data): New variable.
43904         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43905         (expm1_test_data): New variable.
43906         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43907         (fabs_test_data): New variable.
43908         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43909         (floor_test_data): New variable.
43910         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43911         (j0_test_data): New variable.
43912         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43913         (j1_test_data): New variable.
43914         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43915         (log_test_data): New variable.
43916         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43917         (log10_test_data): New variable.
43918         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43919         (log1p_test_data): New variable.
43920         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43921         (log2_test_data): New variable.
43922         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43923         (logb_test_data): New variable.
43924         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43925         (logb_downward_test_data): New variable.
43926         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43927         (nearbyint_test_data): New variable.
43928         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43929         (rint_test_data): New variable.
43930         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43931         (rint_tonearest_test_data): New variable.
43932         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43933         (rint_towardzero_test_data): New variable.
43934         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43935         (rint_downward_test_data): New variable.
43936         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43937         (rint_upward_test_data): New variable.
43938         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43939         (round_test_data): New variable.
43940         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43941         (sin_test_data): New variable.
43942         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43943         (sin_tonearest_test_data): New variable.
43944         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43945         (sin_towardzero_test_data): New variable.
43946         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43947         (sin_downward_test_data): New variable.
43948         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43949         (sin_upward_test_data): New variable.
43950         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43951         (sinh_test_data): New variable.
43952         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43953         (sinh_tonearest_test_data): New variable.
43954         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43955         (sinh_towardzero_test_data): New variable.
43956         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43957         (sinh_downward_test_data): New variable.
43958         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43959         (sinh_upward_test_data): New variable.
43960         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43961         (sqrt_test_data): New variable.
43962         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43963         (tan_test_data): New variable.
43964         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43965         (tan_tonearest_test_data): New variable.
43966         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43967         (tan_towardzero_test_data): New variable.
43968         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43969         (tan_downward_test_data): New variable.
43970         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43971         (tan_upward_test_data): New variable.
43972         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43973         (tanh_test_data): New variable.
43974         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43975         (tgamma_test_data): New variable.
43976         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43977         (trunc_test_data): New variable.
43978         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43979         (y0_test_data): New variable.
43980         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43981         (y1_test_data): New variable.
43982         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43983         (significand_test_data): New variable.
43984         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43986 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43988         [BZ #12387]
43989         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43991 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43993         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43995 2013-05-10  Andreas Jaeger  <aj@suse.de>
43997         [BZ #15448]
43998         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43999         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44001 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44003         * math/gen-libm-test.pl (adjust_arg): New function.
44004         (special_functions): Handle generating output in both functions
44005         and arrays.
44006         (parse_args): Likewise.
44007         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44008         $in_func argument to parse_args.
44009         * math/libm-test.inc (struct test_f_f_data): New type.
44010         (IF_ROUND_INIT_): New macro.
44011         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44012         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44013         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44014         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44015         (ROUND_RESTORE_): Likewise.
44016         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44017         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44018         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44019         (ROUND_RESTORE_FE_UPWARD): Likewise.
44020         (RUN_TEST_LOOP_f_f): New macro.
44021         (acos_test_data): New variable.
44022         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44023         (acos_tonearest_test_data): New variable.
44024         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44026 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44028         * benchtests/bench-skeleton.c (startup): Fix coding style.
44030 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44032         [BZ #6809]
44033         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44034         negative infinity argument.
44035         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44036         negative infinity argument.
44037         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44038         negative infinity argument.
44039         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44040         domain errors.
44042 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44044         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44045         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44046         * iconv/iconv_prog.c (main): Likewise.
44047         * locale/programs/charmap-dir.c (charmap_readdir)
44048         (fopen_uncompressed): Likewise.
44049         * locale/programs/locfile.c (siblings_uncached)
44050         (write_locale_data): Use lstat64 instead of lstat.
44051         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44052         stat.
44054 2013-05-10  Andreas Jaeger  <aj@suse.de>
44056         [BZ #15395]
44057         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44058         localization.
44059         Include <locale.h>.
44061 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44063         * elf/dl-close.c (_dl_close_worker): Add comments.
44065 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44067         [BZ #15359]
44068         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44069         high part of pi/2.
44070         (__ieee754_rem_pio2l): Update comments.
44072         [BZ #15429]
44073         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44074         high part of pi/2.
44075         (__ieee754_rem_pio2l): Update comments.
44077         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44078         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44080         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44081         M_PI_4l.
44083         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44084         (M_PI_34_LOG10El): Likewise.
44085         (M_PI2_LOG10El): Likewise.
44086         (M_PI4_LOG10El): Likewise.
44087         (M_PI_LOG10El): Likewise.
44089 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44093 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44095         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44096         (MINUS_ZERO_INIT): Likewise.
44097         (PLUS_INFTY_INIT): Likewise.
44098         (MINUS_INFTY_INIT): Likewise.
44099         (QNAN_VALUE_INIT): Likewise.
44100         (MAX_VALUE_INIT): Likewise.
44101         (MIN_VALUE_INIT): Likewise.
44102         (MIN_SUBNORM_VALUE_INIT): Likewise.
44103         (plus_zero): Initialize with PLUS_ZERO_INIT.
44104         (minus_zero): Initialize with MINUS_ZERO_INIT.
44105         (plus_infty): Initialize with PLUS_INFTY_INIT.
44106         (minus_infty): Initialize with MINUS_INFTY_INIT.
44107         (qnan_value): Initialize with QNAN_VALUE_INIT.
44108         (max_value): Initialize with MAX_VALUE_INIT.
44109         (min_value): Initialize with MIN_VALUE_INIT.
44110         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44112         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44113         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44114         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44115         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44117         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44118         (RUN_TEST_2_f): Likewise.
44119         (RUN_TEST_ff_f): Likewise.
44120         (RUN_TEST_fi_f): Likewise.
44121         (RUN_TEST_fl_f): Likewise.
44122         (RUN_TEST_fff_f): Likewise.
44123         (RUN_TEST_c_f): Likewise.
44124         (RUN_TEST_f_f1): Likewise.
44125         (RUN_TEST_fF_f1): Likewise.
44126         (RUN_TEST_fI_f1): Likewise.
44127         (RUN_TEST_ffI_f1): Likewise.
44128         (RUN_TEST_c_c): Likewise.
44129         (RUN_TEST_cc_c): Likewise.
44130         (RUN_TEST_f_i): Likewise.
44131         (RUN_TEST_f_i_tg): Likewise.
44132         (RUN_TEST_ff_i_tg): Likewise.
44133         (RUN_TEST_f_b): Likewise.
44134         (RUN_TEST_f_b_tg): Likewise.
44135         (RUN_TEST_f_l): Likewise.
44136         (RUN_TEST_f_L): Likewise.
44137         (RUN_TEST_sincos): Likewise.
44138         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44139         whether to show exceptions.  Do not include ");\n" in return
44140         value.
44141         (special_functions): Output call to RUN_TEST_sincos instead of
44142         check_float calls.  Update calls to new_test.
44143         (parse_args): Output call to single RUN_TEST_* macro instead of
44144         check_* calls and other assignments.  Update calls to new_test.
44146         [BZ #2546]
44147         [BZ #2560]
44148         [BZ #5159]
44149         [BZ #15426]
44150         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44151         input to result for tgamma overflow.
44152         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44153         (gamma_coeff): New variable.
44154         (NCOEFF): New macro.
44155         (gamma_positive): New function.
44156         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44157         underflow here.  Use gamma_positive instead of exp (lgamma) for
44158         other arguments.
44159         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44160         (gamma_coeff): New variable.
44161         (NCOEFF): New macro.
44162         (gammaf_positive): New function.
44163         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44164         underflow here.  Use gamma_positive instead of exp (lgamma) for
44165         other arguments.
44166         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44167         (gamma_coeff): New variable.
44168         (NCOEFF): New macro.
44169         (gammal_positive): New function.
44170         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44171         underflow here.  Use gamma_positive instead of exp (lgamma) for
44172         other arguments.
44173         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44174         (gamma_coeff): New variable.
44175         (NCOEFF): New macro.
44176         (gammal_positive): New function.
44177         (__ieee754_gammal_r): Handle positive infinity, overflow and
44178         underflow here.  Handle NaN the same as positive infinity.  Remove
44179         check x < 0xffffffff for negative integers.  Use gamma_positive
44180         instead of exp (lgamma) for other arguments.
44181         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44182         (gamma_coeff): New variable.
44183         (NCOEFF): New macro.
44184         (gammal_positive): New function.
44185         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44186         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44187         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44188         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44189         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44190         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44191         * sysdeps/generic/math_private.h (__gamma_productf): New
44192         prototype.
44193         (__gamma_product): Likewise.
44194         (__gamma_productl): Likewise.
44195         * math/Makefile (libm-calls): Add gamma_product.
44196         * math/libm-test.inc (tgamma_test): Add more tests.
44197         * sysdeps/i386/fpu/libm-test-ulps: Update.
44198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44200 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44202         * benchtests/bench-skeleton.c (main): Preheat CPU.
44204 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44206         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44208 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44210         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44211         and _dl_skip_args_internal.
44213 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44215         * manual/message.texi (Message Translation): Talk about users.
44216         Message to key mapping impacts design.
44218 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44220         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44222         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44224         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44225         * sysdeps/wordsize-64/glob64.c: ... here.
44227         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44228         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44229         New macros.
44231         * debug/getlogin_r_chk.c: Moved to ...
44232         * login/getlogin_r_chk.c: ... here.
44233         * debug/Makefile (routines): Move getlogin_r_chk to ...
44234         * login/Makefile (routines): ... here.
44235         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44236         * login/Versions (libc: GLIBC_2.4): ... here.
44238         * io/poll.c (__poll): Renamed from poll.
44239         Add libc_hidden_def.
44240         (poll): Define as weak alias.
44242         * debug/ptsname_r_chk.c: Moved to ...
44243         * login/ptsname_r_chk.c: ... here.
44244         * debug/Makefile (routines): Move ptsname_r_chk to ...
44245         * login/Makefile (routines): ... here.
44246         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44247         * login/Versions (libc: GLIBC_2.4): ... here.
44249         * posix/getlogin.c: Moved to ...
44250         * login/getlogin.c: ... here.
44251         * posix/getlogin_r.c: Moved to ...
44252         * login/getlogin_r.c: ... here.
44253         * posix/getlogin_r.c: Moved to ...
44254         * login/getlogin_r.c: ... here.
44255         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44256         * login/Makefile (routines): ... here.
44257         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44258         * login/Versions (libc: GLIBC_2.0): ... here.
44260         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44261         (setrlimit): Define as weak alias.
44263         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44264         Call __ names for open, ftruncate, and close.
44265         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44266         (truncate): Define as weak alias.
44268 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44270         * math/gen-libm-test.pl (parse_args): Initialize x before each
44271         test of frexp, modf and remquo.
44273         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44274         test signgam value.
44276 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44278         [BZ #15418]
44279         [BZ #15419]
44280         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44281         internal tests.
44282         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44284 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44286         * elf/dl-writev.h: New file.
44287         * elf/dl-misc.c: Include it.
44288         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44289         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44291 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44293         * math/libm-test.inc (noXFails): Remove variable.
44294         (noXPasses): Likewise.
44295         (BUILD_COMPLEX_INT): Remove macro.
44296         (print_screen): Remove xfail argument.
44297         (print_screen_max_error): Likewise.
44298         (update_stats): Likewise.
44299         (print_max_error): Likewise.  Update calls to other affected
44300         functions.
44301         (print_complex_max_error): Likewise.
44302         (test_single_exception): Update calls to print_screen.
44303         (test_single_errno): Likewise.
44304         (check_float_internal): Remove xfail argument.  Update calls to
44305         other affected functions.
44306         (check_float): Likewise.
44307         (check_complex): Likewise.
44308         (check_int): Likewise.
44309         (check_long): Likewise.
44310         (check_bool): Likewise.
44311         (check_longlong): Likewise.
44312         (main): Don't print noXFails and noXPasses.
44313         * math/gen-libm-test.pl (top level): Don't mention expected
44314         failure handling in comment.
44315         (new_test): Don't handle expected failures.
44316         (parse_args): Don't mention expected failure handling in comment.
44317         (generate_testfile): Don't handle expected failures.
44318         (parse_ulps): Likewise.
44319         (print_ulps_file): Likewise.
44320         (get_failure): Remove function.
44321         (output_test): Don't handle expected failures.
44322         * make/README.libm-test: Don't mention expected failure handling.
44324         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44325         (minus_zero): Likewise.
44326         (plus_infty): Likewise.
44327         (minus_infty): Likewise.
44328         (qnan_value): Likewise.
44329         (max_value): Likewise.
44330         (min_value): Likewise.
44331         (min_subnorm_value): Likewise.
44332         (initialize): Do not initialize those variables dynamically.
44334 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44336         * io/open.c (__open_2): Moved to ...
44337         * io/open_2.c: ... this new file.
44338         * io/open64.c (__open64_2): Moved to ...
44339         * io/open64_2.c: ... this new file.
44340         * io/openat.c (__openat_2): Moved to ...
44341         * io/openat_2.c: ... this new file.
44342         * io/openat64.c (__openat64_2): Moved to ...
44343         * io/openat64_2.c: ... this new file.
44344         * io/Makefile (routines): Add them.
44345         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44346         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44347         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44348         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44349         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44350         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44351         (__openat64): Add hidden_ver.
44352         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44353         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44355         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44356         Separately conditionalize setting of GLRO(dl_sysinfo) so
44357         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44358         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44360 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44362         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44363         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44364         definition.
44365         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44366         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44367         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44368         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44369         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44371 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44373         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44374         test signgam value.
44376         * math/libm-test.inc (hypot_test): Do not use
44377         IGNORE_ZERO_INF_SIGN.
44379 2013-05-03  Andreas Jaeger  <aj@suse.de>
44381         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44382         Linux 3.9.
44383         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44384         (PF_MAX): Adjust for VSOCK change.
44386 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44390 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44392         [BZ #15264]
44393         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44394         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44395         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44397 2013-05-02  David S. Miller  <davem@davemloft.net>
44399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44401 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44403         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44405 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44407         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44409 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44411         [BZ #14952]
44412         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44413         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44414         Use __attribute__ ((__gnu_inline__)).
44415         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44416         Don't use __attribute__ ((__gnu_inline__)).
44418 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44420         [BZ #15423]
44421         * math/s_catan.c (__catan): Handle small real or imaginary part of
44422         input specially to avoid spurious underflow.
44423         * math/s_catanf.c (__catanf): Likewise.
44424         * math/s_catanh.c (__catanh): Likewise.
44425         * math/s_catanhf.c (__catanhf): Likewise.
44426         * math/s_catanhl.c (__catanhl): Likewise.
44427         * math/s_catanl.c (__catanl): Likewise.
44428         * math/libm-test.inc (catan_test): Add more tests.
44429         (catanh_test): Likewise.
44430         * sysdeps/i386/fpu/libm-test-ulps: Update.
44431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44433 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44437 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44439         [BZ #15416]
44440         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44441         accurately for denominator in atan2.
44442         * math/s_catanf.c (__catanf): Likewise.
44443         * math/s_catanh.c (__catanh): Likewise.
44444         * math/s_catanhf.c (__catanhf): Likewise.
44445         * math/s_catanhl.c (__catanhl): Likewise.
44446         * math/s_catanl.c (__catanl): Likewise.
44447         * math/libm-test.inc (catan_test): Add more tests.
44448         (catanh_test): Likewise.
44449         * sysdeps/i386/fpu/libm-test-ulps: Update.
44450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44452 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44456         * benchtests/Makefile (bench): Remove slow benchmarks.
44457         * benchtests/atan-inputs: Add slow benchmark inputs.
44458         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44459         (BENCH_FUNC): Accept variant offset.
44460         (VARIANT): Define.
44461         * benchtests/bench-skeleton.c (main): Run benchmark for each
44462         variant.
44463         * benchtests/cos-inputs: Add slow benchmark inputs.
44464         * benchtests/exp-inputs: Likewise.
44465         * benchtests/pow-inputs: Likewise.
44466         * benchtests/sin-inputs: Likewise.
44467         * benchtests/slowatan-inputs: Remove.
44468         * benchtests/slowatan.c: Remove.
44469         * benchtests/slowcos-inputs: Remove.
44470         * benchtests/slowcos.c: Remove.
44471         * benchtests/slowexp-inputs: Remove.
44472         * benchtests/slowexp.c: Remove.
44473         * benchtests/slowpow-inputs: Remove.
44474         * benchtests/slowpow.c: Remove.
44475         * benchtests/slowsin-inputs: Remove.
44476         * benchtests/slowsin.c: Remove.
44477         * benchtests/slowtan-inputs: Remove.
44478         * benchtests/slowtan.c: Remove.
44479         * benchtests/tan-inputs: Add slow benchmark inputs.
44480         * scripts/bench.pl: Parse comments and directives.
44482         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44483         in CPPFLAGS.
44484         ($(objpfx)bench-%.c): Remove *-ITER.
44485         * benchtests/bench-modf.c: Remove definition of ITER.
44486         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44487         (main): Loop for DURATION seconds instead of fixed number of
44488         iterations.
44489         * scripts/bench.pl: Don't expect iterations in parameters.
44491 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44493         * io/fchdir.c (__fchdir): Renamed from fchdir.
44494         (fchdir): Define as weak alias.
44496 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44498         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44499         (ERRNO_EDOM): Likewise.
44500         (ERRNO_ERANGE): Likewise.
44501         (noErrnoTests): New variable.
44502         (init_max_error): Set errno to 0.
44503         (test_single_errno): New function.
44504         (test_errno): Likewise.
44505         (check_float_internal): Call test_errno.  Set errno to 0.
44506         (check_complex): Refer to errno tests in comment.
44507         (check_int): Call test_errno.  Set errno to 0.
44508         (check_long): Likewise.
44509         (check_bool): Likewise.
44510         (check_longlong): Likewise.
44511         (cos_test): Use ERRNO_* flags for errno tests instead of
44512         check_int.
44513         (expm1_test): Likewise.
44514         (fmod_test): Likewise.
44515         (ilogb_test): Likewise.
44516         (lgamma_test): Likewise.
44517         (pow_test): Likewise.
44518         (remainder_test): Likewise.
44519         (sin_test): Likewise.
44520         (tan_test): Likewise.
44521         (yn_test): Likewise.
44522         (initialize): Set errno to 0.
44523         (main): Print number of errno tests.
44524         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44526 2013-04-29  Andreas Jaeger  <aj@suse.de>
44528         [BZ #15084]
44529         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44530         and RES_USEVC.
44532         [BZ #15085]
44533         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44534         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44535         unimplemented.
44537         [BZ #15380]
44538         * stdlib/random.c (__initstate): Return NULL if
44539         __initstate fails.
44541         [BZ #15086]
44542         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44543         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44544         RES_SNGLKUPREOP.
44546 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44550 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44552         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44553         of individual tests.
44554         (casin_test): Likewise.
44555         (casinh_test): Likewise.
44557 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44559         [BZ #15409]
44560         * math/s_catan.c (__catan): Handle arguments with large real or
44561         imaginary part separately without squaring.
44562         * math/s_catanf.c (__catanf): Likewise.
44563         * math/s_catanh.c (__catanh): Likewise.
44564         * math/s_catanhf.c (__catanhf): Likewise.
44565         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44566         and redefine.
44567         (__catanhl): Handle arguments with large real or imaginary part
44568         separately without squaring.
44569         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44570         and redefine.
44571         (__catanl): Handle arguments with large real or imaginary part
44572         separately without squaring.
44573         * math/libm-test.inc (catan_test): Add more tests.
44574         (catanh_test): Likewise.
44575         * sysdeps/i386/fpu/libm-test-ulps: Update.
44576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44578 2013-04-27  Andreas Jaeger  <aj@suse.de>
44580         [BZ #15007]
44581         * stdlib/stdlib.h: Update guards for qecvt.
44582         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44583         <stdlib.h>.
44585 2013-04-27  Allan McRae  <allan@archlinux.org>
44587         * sysdeps/i386/fpu/libm-test-ulps: Update.
44589 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44591         [BZ #15406]
44592         * math/s_catan.c: Include <float.h>.
44593         (__catan): Ensure underflow exception occurs for underflowed
44594         result.
44595         * math/s_catanf.c: Include <float.h>.
44596         (__catanf): Ensure underflow exception occurs for underflowed
44597         result.
44598         * math/s_catanh.c: Include <float.h>.
44599         (__catanh): Ensure underflow exception occurs for underflowed
44600         result.
44601         * math/s_catanhf.c: Include <float.h>.
44602         (__catanhf): Ensure underflow exception occurs for underflowed
44603         result.
44604         * math/s_catanhl.c: Include <float.h>.
44605         (__catanhl): Ensure underflow exception occurs for underflowed
44606         result.
44607         * math/s_catanl.c: Include <float.h>.
44608         (__catanl): Ensure underflow exception occurs for underflowed
44609         result.
44610         * math/libm-test.inc (catan_test): Add more tests.
44611         (catanh_test): Likewise.
44613         [BZ #15405]
44614         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44615         underflowed result.
44616         * math/s_ccoshf.c (__ccoshf): Likewise.
44617         * math/s_ccoshl.c (__ccoshl): Likewise.
44618         * math/s_csin.c (__csin): Likewise.
44619         * math/s_csinf.c (__csinf): Likewise.
44620         * math/s_csinh.c (__csinh): Likewise.
44621         * math/s_csinhf.c (__csinhf): Likewise.
44622         * math/s_csinhl.c (__csinhl): Likewise.
44623         * math/s_csinl.c (__csinl): Likewise.
44624         * math/libm-test.inc (ccos_test): Add more tests.
44625         (ccosh_test): Likewise.
44626         (csin_test): Likewise.
44627         (csinh_test): Likewise.
44629 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44631         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44632         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44633         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44634         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44635         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44636         powerpc/power5+/fpu folders.
44637         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44640 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44644 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44646         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44647         additions to variable.
44648         [$(config-machine) = x86_64] (modules-names): Likewise.
44649         ($(objpfx)tst-audit3): Remove dependency.
44650         ($(objpfx)tst-audit3.out): Likewise.
44651         ($(objpfx)tst-audit4): Likewise.
44652         ($(objpfx)tst-audit4.out): Likewise.
44653         ($(objpfx)tst-audit5): Likewise.
44654         ($(objpfx)tst-audit5.out): Likewise.
44655         ($(objpfx)tst-audit6): Likewise.
44656         ($(objpfx)tst-audit6.out): Likewise.
44657         ($(objpfx)tst-audit7): Likewise.
44658         ($(objpfx)tst-audit7.out): Likewise.
44659         (tst-audit3-ENV): Remove variable.
44660         (tst-audit4-ENV): Likewise.
44661         (tst-audit5-ENV): Likewise.
44662         (tst-audit6-ENV): Likewise.
44663         (tst-audit7-ENV): Likewise.
44664         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44665         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44666         addition to variable.
44667         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44668         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44669         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44670         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44671         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44672         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44673         tst-audit3, tst-audit4 and tst-audit5.
44674         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44675         tst-audit6 and tst-audit7.
44676         [$(subdir) = elf] (modules-names): Add audit modules for those
44677         tests.
44678         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44679         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44680         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44681         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44682         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44683         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44684         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44685         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44686         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44687         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44688         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44689         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44690         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44691         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44692         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44693         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44694         Likewise.
44695         [$(subdir) = elf && $(config-cflags-avx) = yes]
44696         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44697         [$(subdir) = elf && $(config-cflags-avx) = yes]
44698         (CFLAGS-tst-auditmod4a.c): Likewise.
44699         [$(subdir) = elf && $(config-cflags-avx) = yes]
44700         (CFLAGS-tst-auditmod4b.c): Likewise.
44701         [$(subdir) = elf && $(config-cflags-avx) = yes]
44702         (CFLAGS-tst-auditmod6b.c): Likewise.
44703         [$(subdir) = elf && $(config-cflags-avx) = yes]
44704         (CFLAGS-tst-auditmod6c.c): Likewise.
44705         [$(subdir) = elf && $(config-cflags-avx) = yes]
44706         (CFLAGS-tst-auditmod7b.c): Likewise.
44707         * elf/tst-audit3.c: Move to ...
44708         * sysdeps/x86_64/tst-audit3.c: ... here.
44709         * elf/tst-audit4.c: Move to ...
44710         * sysdeps/x86_64/tst-audit4.c: ... here.
44711         * elf/tst-audit5.c: Move to ...
44712         * sysdeps/x86_64/tst-audit5.c: ... here.
44713         * elf/tst-audit6.c: Move to ...
44714         * sysdeps/x86_64/tst-audit6.c: ... here.
44715         * elf/tst-audit7.c: Move to ...
44716         * sysdeps/x86_64/tst-audit7.c: ... here.
44717         * elf/tst-auditmod3a.c: Move to ...
44718         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44719         * elf/tst-auditmod3b.c: Move to ...
44720         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44721         * elf/tst-auditmod4a.c: Move to ...
44722         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44723         * elf/tst-auditmod4b.c: Move to ...
44724         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44725         * elf/tst-auditmod5a.c: Move to ...
44726         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44727         * elf/tst-auditmod5b.c: Move to ...
44728         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44729         * elf/tst-auditmod6a.c: Move to ...
44730         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44731         * elf/tst-auditmod6b.c: Move to ...
44732         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44733         * elf/tst-auditmod6c.c: Move to ...
44734         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44735         * elf/tst-auditmod7a.c: Move to ...
44736         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44737         * elf/tst-auditmod7b.c: Move to ...
44738         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44740 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44742         [BZ #15366]
44743         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44744         define unconditionally.
44745         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44746         define unconditionally.
44747         (INT8_C, INT16_C, etc.): Likewise.
44749 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44751         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44752         __ehdr_start with hidden visibility.
44754         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44756 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44758         * math/libm-test.inc (cos_test): Use accurate hex constants.
44759         (sincost_test): Likewise.
44761 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44763         * math/libm-test.inc (catan_test): Add more tests.
44764         (catanh_test): Likewise.
44766         * math/s_catanf.c (__catanf): Use suffixed floating-point
44767         constants.
44768         * math/s_catanhf.c (__catanhf): Likewise.
44769         * math/s_catanhl.c (__catanhl): Likewise.
44770         * math/s_catanl.c (__catanl): Likewise.
44772         [BZ #15394]
44773         * math/s_catan.c (__catan): Calculate imaginary part of result
44774         with log1p not log unless computing log of number close to 0.
44775         * math/s_catanf.c (__catanf): Likewise.
44776         * math/s_catanl.c (__catanl): Likewise.
44777         * math/s_catanh.c (__catanh): Calculate real part of result with
44778         log1p not log unless computing log of number close to 0.
44779         * math/s_catanhf.c (__catanhf): Likewise.
44780         * math/s_catanhl.c (__catanhl): Likewise.
44781         * math/libm-test.inc (catan_test): Add more tests.
44782         (catanh_test): Likewise.
44783         * sysdeps/i386/fpu/libm-test-ulps: Update.
44784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44786 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44788         * benchtests/Makefile: Mention files in which fast and slow
44789         paths of math functions are implemented.
44791 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44793         * sysdeps/posix/timespec_get.c: New file.
44795 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44797         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44798         POWER.
44799         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44800         for POWER.
44801         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44802         powerpc/power5/fpu folders.
44803         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44804         * benchtests/Makefile: Add modf testcase.
44805         * benchtests/bench-modf.c: New file: Benchmark test for mo
44807 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44809         [BZ #14888]
44810         * time/Makefile (tests): Add tst-strptime-whitespace.
44811         * time/strptime_l.c (get_number): Use ISSPACE.
44812         (__strptime_internal): Likewise.
44813         * time/tst-strptime-whitespace.c: New test case.
44815 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44817         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44818         member.
44819         (_nss_files_init): Set it here.
44821 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44823         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44824         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44825         unsigned.
44827 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44829         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44831 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44833         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44834         size just once.
44836 2013-04-21  David S. Miller  <davem@davemloft.net>
44838         * po/ru.po: Update Russion translation from translation project.
44840 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44842         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44843         and setfsgid.
44845 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44847         * configure.in: Remove i386 configure warning. Remove i386 case.
44848         * configure: Regenerate.
44849         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44850         Add example to error message.
44851         * sysdeps/i386/configure: Regenerate.
44853 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44855         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44856         slowtan.
44857         * benchtests/cos-inputs: New file.
44858         * benchtests/slowcos-inputs: New file.
44859         * benchtests/slowcos.c: New file.
44860         * benchtests/slowtan-inputs: New file.
44861         * benchtests/slowtan.c: New file.
44862         * benchtests/tan-inputs: New file.
44864 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44866         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44867         considered kosher.
44869 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44871         * benchtests/Makefile: Include cppflags-iterator.mk to add
44872         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44874         * Makefile.in (bench-clean): New target.
44875         * benchtests/Makefile (bench-clean): Likewise.
44877 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44879         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44881 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44883         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44885 2013-04-15  Andreas Schwab  <schwab@suse.de>
44887         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44889         * nscd/pwdcache.c (cache_addpw): Likewise.
44890         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44891         more than recsize.
44893 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44895         * benchtests/Makefile (bench): Write all output to
44896         bench-out.tmp together.
44898 2013-04-15  Andreas Schwab  <schwab@suse.de>
44900         * nscd/nscd.c (main): Don't fork again after closing files.
44902 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44904         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44906         * benchtests/Rules (bench-deps): Collect dependencies into a
44907         single variable.  Add Makefile to dependencies.
44908         ($(objpfx)bench-%.c): Depend on bench-deps.
44910 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44911             Xavier Roche  <roche+kml2@exalead.com>
44913         [BZ #15361]
44914         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44915         just that it's a file descriptor.
44916         * manual/llio.texi (Synchronizing AIO Operations): Update description
44917         for EBADF error from aio_fsync.
44919 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44921         * Rules (bench): Move target definition...
44922         * benchtests/Makefile: ... here.
44924 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44926         * math/libm-test.inc (cos_test): Fix PI/2 test.
44927         (sincos_test): Likewise.
44928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44929         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44931 2013-04-11  Andreas Schwab  <schwab@suse.de>
44933         [BZ #13988]
44934         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44935         accept exponent character only when digits were seen.
44936         * stdio-common/Makefile (tests): Add bug26.
44937         * stdio-common/bug26.c: New file.
44939         [BZ #14293]
44940         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44941         non-freeable.
44943 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * Makeconfig (rtld-prefix): Define built linker prefix.
44946         * Rules (run-bench): Use it.
44947         * math/Makefile (run-regen-ulps): Likewise.
44949         * Rules (bench): Remove eval.
44951 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44952             Roland McGrath  <roland@hack.frob.com>
44953             Ondrej Bilka  <neleai@seznam.cz>
44955         [BZ #15346]
44956         * time/getdate.c: Include ctype.h and alloca.h.
44957         (__getdate_r): Trim leading and trailing spaces of input.
44958         * time/tst-getdate.c (tests): Add tests with leading and
44959         trailing spaces.
44961 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44963         [BZ #14280]
44964         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44965         when computing value.
44967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44969         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44970         Use testrun.sh to run libm tests.
44972         [BZ #15309]
44973         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44975 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44977         [BZ #15264]
44978         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44980 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44982         * Makefile.in (regen-ulps): New target.
44983         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44984         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44985         [ifneq (no,$(PERL)] (regen-ulps): New target.
44986         [ifeq (no,$(PERL)] (regen-ulps): New target.
44987         * math/libm-test.inc (ulps_file_name): Define.
44988         (output_dir): New variable.
44989         (options): Add "output-dir" option.
44990         (parse_opt): Handle 'o' case.
44991         (main): If output_dir is non-NULL use it as a prefix
44992         otherwise use "".
44993         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44995 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44997         [BZ #10060, #10062]
44998         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44999         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45000         fail configure if __sync_val_compare_and_swap is not inlined.
45001         * sysdeps/i386/configure: Regenerate.
45002         * configure.in: Build for i686 when configured for i386.
45003         * configure: Regenerate.
45004         * README: Remove i386 reference.
45006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45008         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45009         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45011 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45013         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45014         (lmsnanval): New variables.
45015         (F): Add conversion tests.
45016         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45017         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45019         * stdio-common/tstdiomisc.c (F): Properly collect individual
45020         tests' results.
45022         [BZ #14686, #15336]
45023         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45024         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45025         Instead, use input NaN values or generate a qNaN by arithmetic
45026         operation.  Also fix bugs to comply with the standard.
45027         * math/libm-test.inc (remainder_test): Add more tests.
45029         [BZ #15335, #15342]
45030         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45032         input NaN values or generate a qNaN by arithmetic operation.
45034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45035         unreachable code.
45037         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45038         definitions.
45040 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45042         [BZ #14478]
45043         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45044         underflowed result.
45045         * math/s_cexpf.c (__cexpf): Likewise.
45046         * math/s_cexpl.c (__cexpl): Likewise.
45047         * math/libm-test.inc (cexp_test): Add more tests.
45049 2013-04-03  Andreas Schwab  <schwab@suse.de>
45051         [BZ #15330]
45052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45053         order arrays from heap if bigger than alloca cutoff.
45055 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45057         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45058         (SNAN_TESTS_double): Refer to GCC PR56831.
45059         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45060         GCC PR56828.
45062 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45064         * Rules (bench): Move bench.out after the run is complete.
45066         * Rules (bench): Echo currently running benchmark.
45068         * benchtests/Makefile (bench): Add atan and slowatan.
45069         * benchtests/atan-inputs: New file.
45070         * benchtests/slowatan-inputs: New file.
45071         * benchtests/slowatan.c: New file.
45073         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45075         its value.
45077         [BZ #15305]
45078         * sysdeps/unix/sysv/linux/kernel-features.h
45079         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45080         __ASSUME_XFS_RESTRICTED_CHOWN.
45081         * sysdeps/unix/sysv/linux/pathconf.c
45082         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45083         Save and restore errno.
45085 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45087         [BZ #15327]
45088         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45089         arguments using __kernel_casinh.
45090         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45091         arguments using __kernel_casinhf.
45092         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45093         arguments using __kernel_casinhl.
45094         * math/libm-test.inc (cacosh_test): Add more tests.
45095         * sysdeps/i386/fpu/libm-test-ulps: Update.
45096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45098 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45100         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45103         * bench/Makefile (bench): Add sin and slowsin.
45104         * benchtests/sin-inputs: New file.
45105         * benchtests/slowsin-inputs: New file.
45106         * benchtests/slowsin.c: New file.
45108         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45109         (bench): Add slowexp and slowpow.
45110         (exp-ITER): Increase iterations.
45111         (pow-ITER): Likewise.
45112         * benchtests/exp-inputs: Change input.
45113         * benchtests/pow-inputs: Likewise.
45114         * benchtests/slowexp-inputs: New file.
45115         * benchtests/slowexp.c: New file.
45116         * benchtests/slowpow-inputs: New file.
45117         * benchtests/slowpow.c: New file.
45119 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45121         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45122         instructions.
45123         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45124         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45125         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45126         * benchtests/Makefile: Add rint benchtest.
45127         * benchtests/rint-inputs: Input for rint benchtest.
45129 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45131         * Versions.def (libm): Add GLIBC_2.18.
45132         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45133         hidden libm prototypes.
45134         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45135         * math/Makefile (libm-calls): Add s_issignaling.
45136         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45137         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45138         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45139         declaration.
45140         * math/math.h [__USE_GNU] (issignaling): New macro.
45141         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45142         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45144         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45147         * manual/arith.texi (issignaling): New section.
45148         * manual/libm-err-tab.pl (@all_functions): Update comment.
45149         * math/gen-libm-test.pl (parse_args): Apply special handling for
45150         issignaling.
45151         * math/libm-test.inc (print_float, issignaling_test): New
45152         functions.
45153         (check_float_internal): Add issignaling checks.
45154         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45155         default definition.
45156         * sysdeps/powerpc/math-tests.h: New file.
45157         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45158         tests.
45159         * math/test-snan.c (TEST_FUNC): Likewise.
45161 2013-03-30  David S. Miller  <davem@davemloft.net>
45163         * po/de.po: Update from translation team.
45165 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45167         [BZ #10357]
45168         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45169         imaginary part less than 1.0 and real part less than 0.5
45170         specially.
45171         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45172         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45173         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45174         (cacos_test): Add more tests.
45175         (casin_test): Likewise.
45176         (casinh_test): Likewise.
45177         * sysdeps/i386/fpu/libm-test-ulps: Update.
45178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45180 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45182         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45183         ONE with its value.
45185         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45186         (__pow_mp): Replace ONE and MONE with their values.
45187         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45188         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45189         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45190         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45191         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45192         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45194         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45196         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45197         (__pow_mp): Replace ZERO and MZERO with their values.
45198         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45199         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45200         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45202         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45203         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45204         (__sqr): Likewise.
45206         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45208         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45210 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45212         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45213         Declare with __attribute__ ((weak)).
45214         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45215         Call __call_tls_dtors only if it's not NULL.
45217 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45219         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45220         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45221         magic __ehdr_start linker symbol if it's defined.
45222         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45223         them up here if it was already done.
45225         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45226         (_dl_aux_init): Use const in cast when setting it.
45227         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45228         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45229         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45231         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45232         Declare them here.
45233         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45234         * csu/libc-tls.c: Nor here.
45235         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45237         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45238         (__libc_message): Never call vsyslog.
45240 2013-03-28  Alan Modra  <amodra@gmail.com>
45242         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45243         Define as empty.
45244         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45245         Likewise.
45247 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45249         [BZ #15214]
45250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45251         underflow.
45252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45254 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45256         [BZ #15304]
45257         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45258         Don't add gid passed as argument.
45260         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45262 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45264         [BZ #15307]
45265         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45266         imaginary part between 1.0 and 1.5 and real part less than 0.5
45267         specially.
45268         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45269         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45270         * math/libm-test.inc (cacos_test): Add more tests.
45271         (casin_test): Likewise.
45272         (casinh_test): Likewise.
45273         * sysdeps/i386/fpu/libm-test-ulps: Update.
45274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45276 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45279         constants.
45280         (norm): Likewise.
45281         (denorm): Likewise.
45282         (__dbl_mp): Likewise.
45283         (add_magnitudes): Likewise.
45284         (sub_magnitudes): Likewise.
45285         (__add): Likewise.
45286         (__sub): Likewise.
45287         (__mul): Likewise.
45288         (__sqr): Likewise.
45289         (__inv): Likewise.
45290         (__dvd): Likewise.
45292         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45293         commented code.
45294         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45295         (__dubcos): Likewise.
45296         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45297         (__ieee754_acos): Likewise.
45298         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45299         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45300         (__exp1): Likewise.
45301         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45303         (log1): Likewise.
45304         (my_log2): Likewise.
45305         (checkint): Likewise.
45306         * sysdeps/ieee754/dbl-64/e_remainder.c
45307         (__ieee754_remainder): Likewise.
45308         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45310         (bsloww): Likewise.
45311         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45313         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45314         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45315         MANTISSA_STORE_T to store computations on mantissa.  Use
45316         macros for rounding and division.
45317         (denorm): Likewise.
45318         (__dbl_mp): Likewise.
45319         (add_magnitudes): Likewise.
45320         (sub_magnitudes): Likewise.
45321         (__mul): Likewise.
45322         (__sqr): Likewise.
45323         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45324         powers of two in terms of TWOPOW macro.
45325         (mp_no): Make type of mantissa as MANTISSA_T.
45326         [!RADIXI]: Define RADIXI.
45327         [!TWO52]: Define TWO52.
45328         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45330 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45332         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45333         llroundl symbol when building for PPC32.
45335 2013-03-24  Mark H Weaver  <mhw@netris.org>
45337         * manual/arith.texi (Normalization Functions): Fix prototypes for
45338         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45340 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45342         [BZ #13889]
45343         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45344         high value to check if expl overflow.
45345         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45346         to check for underflow and overflow.
45347         * math/libm-test.inc: Add exp test.
45349 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45351         [BZ #11120]
45352         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45353         with NOT_IN_libc.
45355 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45357         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45358         symbol.
45360 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45362         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45363         wrap blocks consisting of several statements.
45365         * sysdeps/generic/math-tests.h: New file.
45366         * sysdeps/i386/fpu/math-tests.h: Likewise.
45367         * math/test-snan.c: Include it.
45368         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45370 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45372         [BZ #15285]
45373         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45374         (__ieee754_j0l): Do not improve calculations using cos of twice
45375         input for inputs above LDBL_MAX / 2.0L.
45376         (__ieee754_y0l): Likewise.
45377         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45378         (__ieee754_j1l): Do not improve calculations using cos of twice
45379         input for inputs above LDBL_MAX / 2.0L.
45380         (__ieee754_y1l): Likewise.
45381         * math/libm-test.inc (j0_test): Add another test.
45382         (j1_test): Likewise.
45383         (y0_test): Likewise.
45384         (y1_test): Likewise.
45385         * sysdeps/i386/fpu/libm-test-ulps: Update.
45387 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45389         * Rules ($(objpfx)bench-%.c): Include code from a C source
45390         file.
45392 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45394         [BZ #15287]
45395         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45396         imaginary part 1.0 and real part less than 0.5 specially.
45397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45399         * math/libm-test.inc (cacos_test): Add more tests.
45400         (casin_test): Likewise.
45401         (casinh_test): Likewise.
45402         * sysdeps/i386/fpu/libm-test-ulps: Update.
45403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45405 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45407         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45408         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45410 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45412         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45413         * config.make.in (config-cflags-sse4): Remove variable.
45414         (config-cflags-avx): Likewise.
45415         (config-cflags-sse2avx): Likewise.
45416         (config-cflags-novzeroupper): Likewise.
45417         (config-asflags-i686): Likewise.
45418         (have-mfma4): Likewise.
45419         (have-as-vis3): Likewise.
45420         (MIG): Likewise.
45421         * configure.in (MIG): Do not AC_SUBST.
45422         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45423         (libc_cv_cc_sse4): Do not AC_SUBST.
45424         (libc_cv_cc_avx): Likewise.
45425         (libc_cv_cc_sse2avx): Likewise.
45426         (libc_cv_cc_novzeroupper): Likewise.
45427         (libc_cv_cc_fma4): Likewise.
45428         (libc_cv_as_i686): Likewise.
45429         (libc_cv_sparc_as_vis3): Likewise.
45430         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45431         LIBC_CONFIG_VAR.
45432         (config-asflags-i686): Likewise.
45433         (config-cflags-avx): Likewise.
45434         (config-cflags-sse2avx): Likewise.
45435         (have-mfma4): Likewise.
45436         (config-cflags-novzeroupper): Likewise.
45437         * sysdeps/mach/configure.in (MIG): Likewise.
45438         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45439         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45440         LIBC_CONFIG_VAR.
45441         (config-cflags-avx): Likewise.
45442         (config-cflags-sse2avx): Likewise.
45443         (have-mfma4): Likewise.
45444         (config-cflags-novzeroupper): Likewise.
45445         * configure: Regenerated.
45446         * sysdeps/i386/configure: Likewise.
45447         * sysdeps/mach/configure: Likewise.
45448         * sysdeps/sparc/configure: Likewise.
45449         * sysdeps/x86_64/configure: Likewise.
45451 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45453         [BZ #14812]
45454         * locale/programs/localedef.c (options): Put N_ translation marker
45455         on argument names, not just descriptions.
45457 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45459         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45461 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45463         [BZ #14176]
45464         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45466 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45468         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45469         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45470         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45471         [!BEFORE_ABORT] (before_abort): New function.
45472         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45473         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45474         (writev_for_fatal): New function.
45475         (WRITEV_FOR_FATAL): New macro; call that.
45476         (backtrace_and_maps): New function.
45477         (BEFORE_ABORT): New macro; call that.
45478         (struct str_list): Type removed.
45479         (__libc_message, __libc_fatal): Functions removed.
45480         Include <sysdeps/posix/libc_fatal.c> instead.
45482 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45484         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45485         constants.
45486         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45487         double constants.
45489 2013-03-19  Andreas Schwab  <schwab@suse.de>
45491         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45492         * sysdeps/gnu/configure: Regenerate.
45494         * configure.in: Substitute libc_cv_rtlddir.
45495         * configure: Regenerate.
45496         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45497         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45498         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45499         * elf/Makefile (install-others, CFLAGS-interp.c)
45500         (ldso_install, common-ldd-rewrite): Likewise.
45501         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45502         $(inst_slibdir)/$(rtld-installed-name).
45503         * scripts/rellns-sh: Add -p option.
45504         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45505         for source.
45507 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45509         * manual/nptl.texi: Renamed to ...
45510         * manual/threads.texi: ... this.
45511         * manual/Makefile (chapters): Update.
45513 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45515         [BZ #14812]
45516         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45517         on argument names, not just descriptions.
45518         * malloc/memusagestat.c (options): Likewise.
45519         * nss/getent.c (options): Likewise.
45521 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45523         [BZ #14812]
45524         * iconv/iconv_prog.c (options): Put N_ translation marker
45525         on argument names, not just descriptions.
45526         * iconv/iconvconfig.c (options): Likewise.
45528 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45530         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45531         implementation which is faster on all x86_64 architectures.
45532         Tested on AMD, Intel Nehalem, SNB, IVB.
45533         * sysdeps/x86_64/strnlen.S: Likewise.
45535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45536         Remove all multiarch strlen and strnlen versions.
45537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45538         Remove strlen and strnlen related parts.
45540         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45541         Inline strlen part.
45542         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45544         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45545         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45546         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45547         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45548         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45549         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45551 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45553         * manual/memory.texi (Malloc Tunable Parameters):
45554         Sort parameters alphabetically. Add comments for missing entries.
45556 2013-03-17  David S. Miller  <davem@davemloft.net>
45558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45560 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45562         [BZ #15283]
45563         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45564         for arguments at most half maximum finite value.
45565         * math/libm-test.inc (j0_test): Add more tests.
45566         (j1_test): Likewise.
45567         (y0_test): Likewise.
45568         (y1_test): Likewise.
45569         * sysdeps/i386/fpu/libm-test-ulps: Update.
45570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45572         [BZ #14155]
45573         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45574         1 / x and functions P and Q for arguments above 0x1p256L.
45575         (__ieee754_y0l): Likewise.
45576         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45577         (__ieee754_y1l): Likewise.
45578         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45579         (j1_test): Likewise.
45580         (y0_test): Likewise.
45581         (y1_test): Likewise.
45583 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45585         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45586         variable.
45588 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45590         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45591         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45592         zero since it's initialized to EXEC_PAGESIZE.
45594         * sysdeps/unix/sysv/linux/ldsodefs.h
45595         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45596         * sysdeps/generic/ldsodefs.h: ... here.
45598 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45600         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45602         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45603         math/test-snan.c.
45604         * math/test-snan.c: Renamed from
45605         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45606         * math/Makefile (tests): Add test-snan.
45607         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45608         test-powerpc-snan.
45610         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45611         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45612         functions.
45613         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45614         __builtin_nan family of functions.
45615         * math/libm-test.inc (initialize): Initialize qnan_value with
45616         __builtin_nan family of functions.
45617         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45618         Remove variables.
45619         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45620         Remove functions.
45621         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45622         storage class.  Initialize qNaN_var and sNaN_var with
45623         __builtin_nan and __builtin_nans families of functions,
45624         respectively.
45626         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45627         (sqrt_test): Remove duplicate test with qNaN input.
45628         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45629         (round_test, signbit_test, significand_test): Note missing +/-Inf
45630         as well as qNaN tests.
45632         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45633         qNaN_var.  Fix a few strings, too.
45634         * math/libm-test.inc (nan_value): Rename to qnan_value.
45635         * math/gen-libm-test.pl (%beautify): Adjust to that.
45636         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45637         * math/test-misc.c (main): Likewise.
45638         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45639         to __qnan_bytes, and __qnan_union, respectively.
45640         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45641         Likewise.
45642         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45643         and lqnanval, respectively.
45644         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45645         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45646         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45647         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45649         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45650         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45651         doubles.
45653         * math/test-misc.c (main): Fix copy'n'pastos.
45654         * misc/tst-efgcvt.c (special): Likewise.
45656         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45657         Remove declarations.
45659 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45662         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45663         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45664         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45666 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45668         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45669         macro to return vdso values correctly in IFUNC implementations.
45670         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45671         Optimization by using IFUNC.
45673 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45674             Richard Henderson  <rth@redhat.com>
45675             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45677         * Makefile.in (bench): New target.
45678         * NEWS: Mention the benchmark framework.
45679         * Rules (bench): Likewise.
45680         (binaries-bench): Generate binaries for functions to
45681         benchmark.
45682         * benchtests/Makefile: New makefile for benchmark tests.
45683         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45684         programs.
45685         * benchtests/exp-inputs: New input file for EXP function.
45686         * benchtests/pow-inputs: New input file for POW function.
45687         * scripts/bench.pl: New script to generate source files for
45688         benchmark programs.
45690 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45692         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45694         computations on mantissa.  Use macros for rounding and
45695         division.
45696         (denorm): Likewise.
45697         (__dbl_mp): Likewise.
45698         (add_magnitudes): Likewise.
45699         (sub_magnitudes): Likewise.
45700         (__mul): Likewise.
45701         (__sqr): Likewise.
45702         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45703         powers of two in terms of TWOPOW macro.
45704         (mp_no): Make type of mantissa as MANTISSA_T.
45705         [!RADIXI]: Define RADIXI.
45706         [!TWO52]: Define TWO52.
45707         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45709         * manual/nptl.texi (cindex): Modify threads to pthreads.
45711 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45713         * sysdeps/x86_64/preconfigure: Regenerated.
45715 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45717         [BZ #14155]
45718         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45719         0x1p28 and above.
45720         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45721         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45722         0x1p28 and above.
45723         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45724         * math/libm-test.inc (j0_test): Do not allow one spurious
45725         underflow exception.
45726         (y1_test): Likewise.
45728 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45730         * manual/Makefile (chapters): Add nptl.
45731         * manual/debug.texi (Debugging Support): Add link to Threads
45732         chapter.
45733         * manual/nptl.texi: New file.
45735         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45737 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45739         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45740         for non-NULL pointer before the memory validity test. Pointed
45741         out by Holger Brunck <holger.brunck@keymile.com>.
45743 2013-03-13  Andreas Schwab  <schwab@suse.de>
45745         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45746         instead of .os.
45748 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45750         * timezone/zic.c: Update from tzcode 2013b.
45752 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45754         * manual/install.texi (Configuring and compiling):
45755         Mention i686 and i586.
45756         * INSTALL: Regenerate.
45758 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45760         * sysdeps/init_array/elf-init.c: New file.
45761         * csu/elf-init.c
45762         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45763         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45765         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45766         __gmon_start__ as global, but as static with a .preinit_array pointer.
45767         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45768         * sysdeps/init_array/crti.S: New file, empty except for comments.
45769         * sysdeps/init_array/crtn.S: Likewise.
45771 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45773         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45774         definining bcopy.
45775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45776         Remove Prefer_SSE_for_memop.
45777         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45778         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45779         HAS_PREFER_SSE_FOR_MEMOP.
45780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45781         memset-x86-64.
45782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45783         Remove bzero, memset ifunc support.
45784         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45785         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45786         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45787         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45789 2013-03-11  Andreas Schwab  <schwab@suse.de>
45791         [BZ #15234]
45792         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45793         by SHLIB_COMPAT.
45794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45795         (GLIBC_2.16): Remove pthread_atfork.
45797 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45799         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45800         (ptestcases.h): Likewise.
45802 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45804         * Makeconfig ($(common-objpfx)config.status): Depend on
45805         sysdeps/*/preconfigure{,.in} too.
45807 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45809         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45810         (__free_hook): Use void * instead of __malloc_ptr_t.
45811         (__malloc_hook): Likewise.
45812         (__realloc_hook): Likewise.
45813         (__memalign_hook): Likewise.
45814         (__after_morecore_hook): Likewise.
45815         * malloc/arena.c (save_malloc_hook): Likewise.
45816         (save_free_hook): Likewise.
45817         * malloc/hooks.c (malloc_hook_ini): Likewise.
45818         (realloc_hook_ini): Likewise.
45819         (memalign_hook_ini): Likewise.
45820         * malloc/malloc.c (malloc_hook_ini): Likewise.
45821         (realloc_hook_ini): Likewise.
45822         (memalign_hook_ini): Likewise.
45823         (__free_hook): Likewise.
45824         (__malloc_hook): Likewise.
45825         (__realloc_hook): Likewise.
45826         (__memalign_hook): Likewise.
45827         (__libc_malloc): Likewise.
45828         (__libc_free): Likewise.
45829         (__libc_realloc): Likewise.
45830         (__libc_memalign): Likewise.
45831         (__libc_valloc): Likewise.
45832         (__libc_pvalloc): Likewise.
45833         (__libc_calloc): Likewise.
45834         (__posix_memalign): Likewise.
45835         * malloc/morecore.c (__sbrk): Likewise.
45836         (__default_morecore): Likewise.
45838         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45840         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45841         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45842         __malloc_ptrdiff_t.
45844         * malloc/malloc.h (__malloc_size_t): Remove macro.
45845         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45846         __malloc_size_t.
45847         (old_memalign_hook): Likewise.
45848         (old_realloc_hook): Likewise.
45849         (struct hdr): Likewise.
45850         (flood): Likewise.
45851         (mallochook): Likewise.
45852         (memalignhook): Likewise.
45853         (reallochook): Likewise.
45854         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45855         (tr_old_realloc_hook): Likewise.
45856         (tr_old_memalign_hook): Likewise.
45857         (tr_mallochook): Likewise.
45858         (tr_reallochook): Likewise.
45859         (tr_memalignhook): Likewise.
45861 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45864         default_ldbl_pack and using as default implementation.
45865         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45866         implementation.
45867         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45868         redundant definition.
45869         (ldbl_insert_mantissa): Likewise.
45870         (ldbl_canonicalize): Likewise.
45871         (ldbl_nearbyint): Likewise.
45872         (ldbl_pack): Rename to ldbl_pack_ppc.
45873         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45874         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45875         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45877 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45880         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45881         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45882         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45884         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45885         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45886         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45888 2013-03-07  Andreas Jaeger  <aj@suse.de>
45890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45891         bits/mman-linux.h.
45893 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45895         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45896         Include mpa.h and declare __MPEXP.
45897         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45898         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45899         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45900         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45901         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45902         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45903         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45905         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45906         (__slowpow): Use long double EXPL and LOGL functions to
45907         compute POW.
45908         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45909         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45910         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45911         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45912         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45913         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45916         intermediate variable to calculate exponent.
45917         (__sqr): Likewise.
45918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45919         Likewise.
45920         (__sqr): Likewise.
45922         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45923         [!NO__SQR]: Define __sqr.
45924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45925         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45926         sysdeps/ieee754/dbl-64/mpa.c.
45927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45929         [BZ #12723]
45930         * posix/Makefile (tests): Add tst-pathconf.
45931         * posix/tst-pathconf.c: New test case.
45932         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45933         _PC_PIPE_BUF.
45934         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45936 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45938         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45940 2013-03-06  Andreas Jaeger  <aj@suse.de>
45942         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45943         definition via __MAP_ANONYMOUS.
45945         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45946         it's not part of Linux headers.
45948         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45949         (MAP_HUGE_MASK): Define.
45951         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45952         Define.
45953         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45954         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45955         Define.
45956         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45957         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45958         Define.
45959         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45960         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45961         Define.
45962         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45964         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45965         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45966         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45967         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45968         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45969         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45971         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45972         Handle f2fs.
45974         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45975         Handle f2fs and efivarfs.
45977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45978         f2fs.
45980         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45981         (EFIVARFS_MAGIC): Add.
45982         (F2FS_LINK_MAX): Add.
45984 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45986         * stdio-common/vfprintf.c: Replace __builtin_expect with
45987         __glibc_unlikely.
45989 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45991         [BZ #13550]
45992         * sysdeps/generic/bp-sym.h: Remove file.
45993         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45994         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45995         <bp-sym.h> and <bp-asm.h>.
45996         (__longjmp): Don't use BP_SYM.
45997         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45998         and <bp-asm.h>.
45999         (memcpy): Don't use BP_SYM.
46000         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46001         <bp-sym.h> and <bp-asm.h>.
46002         (memcpy): Don't use BP_SYM.
46003         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46004         <bp-asm.h>.
46005         (memcpy): Don't use BP_SYM.
46006         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46007         <bp-asm.h>.
46008         (memset): Don't use BP_SYM.
46009         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46010         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46011         (__bzero): Don't use BP_SYM.
46012         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46013         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46015         <bp-sym.h> and <bp-asm.h>.
46016         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46017         pointers.
46018         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46019         <bp-sym.h> and <bp-asm.h>.
46020         (memcpy): Don't use BP_SYM.
46021         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46022         <bp-sym.h> and <bp-asm.h>.
46023         (memset): Don't use BP_SYM.
46024         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46025         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46026         (__bzero): Don't use BP_SYM.
46027         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46028         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46029         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46030         <bp-sym.h> and <bp-asm.h>.
46031         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46032         pointers.
46033         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46034         <bp-sym.h> and <bp-asm.h>.
46035         (memcpy): Don't use BP_SYM.
46036         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46037         <bp-sym.h> and <bp-asm.h>.
46038         (memset): Don't use BP_SYM.
46039         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46040         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46041         (__bzero): Don't use BP_SYM.
46042         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46043         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46044         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46045         <bp-sym.h> and <bp-asm.h>.
46046         (__memchr): Don't use BP_SYM.
46047         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46048         <bp-sym.h> and <bp-asm.h>.
46049         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46050         pointers.
46051         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46052         <bp-sym.h> and <bp-asm.h>.
46053         (memcpy): Don't use BP_SYM.
46054         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46055         <bp-sym.h> and <bp-asm.h>.
46056         (__mempcpy): Don't use BP_SYM.
46057         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46058         <bp-sym.h> and <bp-asm.h>.
46059         (__memrchr): Don't use BP_SYM.
46060         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46061         <bp-sym.h> and <bp-asm.h>.
46062         (memset): Don't use BP_SYM.
46063         (__bzero): Likewise.
46064         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46065         <bp-sym.h> and <bp-asm.h>.
46066         (__rawmemchr): Don't use BP_SYM.
46067         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46068         <bp-sym.h> and <bp-asm.h>.
46069         (__STRCMP): Don't use BP_SYM.
46070         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46071         <bp-sym.h> and <bp-asm.h>.
46072         (strchr): Don't use BP_SYM.
46073         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46074         <bp-sym.h> and <bp-asm.h>.
46075         (__strchrnul): Don't use BP_SYM.
46076         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46077         <bp-sym.h> and <bp-asm.h>.
46078         (strlen): Don't use BP_SYM.
46079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46080         <bp-sym.h> and <bp-asm.h>.
46081         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46082         pointers.
46083         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46084         <bp-sym.h> and <bp-asm.h>.
46085         (__strnlen): Don't use BP_SYM.
46086         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46087         <bp-sym.h> and <bp-asm.h>.
46088         (__GI__setjmp): Don't use BP_SYM.
46089         (_setjmp): Likewise.
46090         (__sigsetjmp): Likewise.
46091         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46092         (L(start_addresses)): Don't use BP_SYM.
46093         (_start): Likewise.
46094         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46095         <bp-asm.h>.
46096         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46097         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46098         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46099         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46100         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46101         <bp-asm.h>.
46102         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46103         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46104         about bounded pointers.
46105         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46106         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46107         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46108         <bp-asm.h>.
46109         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46110         about bounded pointers.  Remove GKM FIXME comments.
46111         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46112         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46113         <bp-asm.h>.
46114         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46115         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46116         Remove GKM FIXME comments.
46117         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46118         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46119         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46120         <bp-asm.h>.
46121         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46122         about bounded pointers.  Remove GKM FIXME comment.
46123         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46124         and <bp-asm.h>.
46125         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46126         pointers.
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46128         <bp-sym.h> and <bp-asm.h>.
46129         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46131         <bp-sym.h> and <bp-asm.h>.
46132         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46133         comment.
46135 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46137         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46138         call free(NULL).
46140 2013-03-05  David S. Miller  <davem@davemloft.net>
46142         * po/es.po: Update from translation team.
46144 2013-03-05  Andreas Jaeger  <aj@suse.de>
46146         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46147         <bits/mman-linux.h>.
46148         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46149         is fine.
46150         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46151         <bits/mman-linux.h> to end of file.
46152         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46153         is fine.
46154         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46155         <bits/mman-linux.h> to end of file.
46156         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46157         is fine.
46158         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46159         <bits/mman-linux.h> to end of file.
46161         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46162         (MCL_CURRENT, MCL_FUTURE): Define here.
46164 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46166         [BZ #15232]
46167         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46168         attribute_hidden.
46169         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46171 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46173         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46174         fourth parameter needed for rt_sigprocmask syscall.
46175         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46176         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46177         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46178         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46179         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46180         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46182 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46184         [BZ #13550]
46185         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46186         comment about bounded pointers.
46187         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46188         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46190 2013-03-04  Andreas Jaeger  <aj@suse.de>
46192         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46193         common definitions.
46195         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46196         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46197         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46198         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46199         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46200         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46202 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46204         [BZ #15055]
46205         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46206         __ieee754_sqrl instead of __sqrl.
46208 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46210         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46211         * sysdeps/powerpc/fpu_control.h: ... here.
46212         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46213         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46214         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46215         * sysdeps/powerpc/bits/mathinline.h: ... here.
46217 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46219         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46220         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46221         to just [NEED_DL_SYSINFO_DSO].
46222         * elf/dl-support.c: Likewise.
46223         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46224         * elf/rtld.c (dl_main): Likewise.
46225         * elf/setup-vdso.h (setup_vdso): Likewise.
46226         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46227         * sysdeps/unix/sysv/linux/dl-sysdep.c
46228         (_dl_discover_osversion): Likewise.
46230 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46232         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46233         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46235 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46237         * NEWS: Mention libm performance improvements and non-x86 PI
46238         futex support.
46240         * csu/libc-start.c (__pthread_initialize_minimal): Change
46241         function arguments.
46242         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46244 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46246         [BZ #13550]
46247         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46248         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46249         <bp-sym.h> and <bp-asm.h>.
46250         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46251         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46252         and <bp-asm.h>.
46253         (memcpy): Don't use BP_SYM.
46254         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46255         <bp-asm.h>.
46256         (__mpn_add_n): Don't use BP_SYM.
46257         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46258         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46259         and <bp-asm.h>.
46260         (__mpn_addmul_1): Don't use BP_SYM.
46261         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46262         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46263         <bp-sym.h>.
46264         (_setjmp): Don't use BP_SYM.
46265         (__novmx_setjmp): Likewise.
46266         (__GI__setjmp): Likewise.
46267         (__vmx_setjmp): Likewise.
46268         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46269         <bp-sym.h>.
46270         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46271         (__bzero): Don't use BP_SYM.
46272         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46273         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46274         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46275         <bp-sym.h> and <bp-asm.h>.
46276         (memcpy): Don't use BP_SYM.
46277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46278         <bp-sym.h> and <bp-asm.h>.
46279         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46281         <bp-sym.h> and <bp-asm.h>.
46282         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46283         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46284         <bp-asm.h>.
46285         (__mpn_lshift): Don't use BP_SYM.
46286         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46287         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46288         <bp-asm.h>.
46289         (memset): Don't use BP_SYM.
46290         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46291         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46292         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46293         <bp-asm.h>.
46294         (__mpn_mul_1): Don't use BP_SYM.
46295         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46297         <bp-sym.h> and <bp-asm.h>.
46298         (memcmp): Don't use BP_SYM.
46299         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46300         <bp-sym.h> and <bp-asm.h>.
46301         (memcpy): Don't use BP_SYM.
46302         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46303         <bp-sym.h> and <bp-asm.h>.
46304         (memset): Don't use BP_SYM.
46305         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46306         <bp-sym.h> and <bp-asm.h>.
46307         (strncmp): Don't use BP_SYM.
46308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46309         <bp-sym.h> and <bp-asm.h>.
46310         (memcpy): Don't use BP_SYM.
46311         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46312         <bp-sym.h> and <bp-asm.h>.
46313         (memset): Don't use BP_SYM.
46314         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46315         <bp-sym.h> and <bp-asm.h>.
46316         (__memchr): Don't use BP_SYM.
46317         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46318         <bp-sym.h> and <bp-asm.h>.
46319         (memcmp): Don't use BP_SYM.
46320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46321         <bp-sym.h> and <bp-asm.h>.
46322         (memcpy): Don't use BP_SYM.
46323         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46324         <bp-sym.h> and <bp-asm.h>.
46325         (__mempcpy): Don't use BP_SYM.
46326         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46327         <bp-sym.h> and <bp-asm.h>.
46328         (__memrchr): Don't use BP_SYM.
46329         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46330         <bp-sym.h> and <bp-asm.h>.
46331         (memset): Don't use BP_SYM.
46332         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46333         <bp-sym.h> and <bp-asm.h>.
46334         (__rawmemchr): Don't use BP_SYM.
46335         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46336         <bp-sym.h> and <bp-asm.h>.
46337         (__STRCMP): Don't use BP_SYM.
46338         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46339         <bp-sym.h> and <bp-asm.h>.
46340         (strchr): Don't use BP_SYM.
46341         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46342         <bp-sym.h> and <bp-asm.h>.
46343         (__strchrnul): Don't use BP_SYM.
46344         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46345         <bp-sym.h> and <bp-asm.h>.
46346         (strlen): Don't use BP_SYM.
46347         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46348         <bp-sym.h> and <bp-asm.h>.
46349         (strncmp): Don't use BP_SYM.
46350         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46351         <bp-sym.h> and <bp-asm.h>.
46352         (__strnlen): Don't use BP_SYM.
46353         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46354         <bp-asm.h>.
46355         (__mpn_rshift): Don't use BP_SYM.
46356         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46357         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46358         <bp-sym.h> and <bp-asm.h>.
46359         (__sigsetjmp): Don't use BP_SYM.
46360         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46361         (L(start_addresses)): Don't use BP_SYM.
46362         (_start): Likewise.
46363         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46364         <bp-asm.h>.
46365         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46366         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46367         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46368         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46369         <bp-asm.h>.
46370         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46371         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46372         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46373         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46374         <bp-asm.h>.
46375         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46376         comments.
46377         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46378         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46379         <bp-asm.h>.
46380         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46381         FIXME comments.
46382         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46383         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46384         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46385         <bp-asm.h>.
46386         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46387         comment.
46388         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46389         and <bp-asm.h>.
46390         (strncmp): Don't use BP_SYM,
46391         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46392         <bp-asm.h>.
46393         (__mpn_sub_n): Don't use BP_SYM.
46394         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46395         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46396         and <bp-asm.h>.
46397         (__mpn_submul_1): Don't use BP_SYM.
46398         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46400         <bp-sym.h> and <bp-asm.h>.
46401         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46403         <bp-sym.h> and <bp-asm.h>.
46404         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46405         comment.
46407 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46410         Use ZK to minimize writes to Z.
46411         (sub_magnitudes): Simplify code a bit.
46412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46413         Use ZK to minimize writes to Z.
46414         (sub_magnitudes): Simplify code a bit.
46416 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46418         * csu/gmon-start.c: Add special exception to license text.
46420 2013-02-27  Richard Henderson  <rth@redhat.com>
46422         * scripts/config.guess: Update from config.git.
46423         * scripts/config.sub: Likewise.
46425 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46427         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46429         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46431         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46433         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46435         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46437 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46439         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46440         [$(build-shared = yes].
46442 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46444         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46445         (__mul): Reduce iterations for calculating mantissa.
46447         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46448         MPTWO.
46449         (__mpranred): Likewise.
46451         [BZ #15160]
46452         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46453         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46455 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46457         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46458         Define __attribute__.
46460 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46462         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46463         unused.
46464         * posix/regex_internal.h (__attribute): Remove.
46465         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46466         (re_string_context_at): Likewise.
46467         (bitset_not): Use __attribute__ and mark function as possibly
46468         unused.
46469         (bitset_merge): Likewise.
46470         (bitset_mask): Likewise.
46471         (re_string_char_size_at): Likewise.
46472         (re_string_wchar_at): Likewise.
46473         (re_string_elem_size_at): Likewise.
46475 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46477         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46478         code.
46479         (cc32): Likewise.
46481         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46482         (__acr): Likewise.
46483         (__cpy): Likewise.
46484         (norm): Likewise.
46485         (denorm): Likewise.
46486         (__dbl_mp): Likewise.
46487         (add_magnitudes): Likewise.
46488         (sub_magnitudes): Likewise.
46489         (__mul): Likewise.
46490         (__inv): Likewise.
46492         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46493         style.
46495         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46496         style.
46498         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46499         code.
46501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46502         up changes with default code.
46503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46504         Likewise.
46506 2013-02-24  Allan McRae  <allan@archlinux.org>
46508         * manual/socket.texi (The Internet Namespace): Order menu items
46509         to match that in the file.
46511         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46512         node listing of the info page menu.
46514 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46516         [BZ #13550]
46517         * sysdeps/i386/bp-asm.h: Remove file.
46518         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46519         (PARMS): Do not use macros from bp-asm.h.
46520         (S1): Likewise.
46521         (S2): Likewise.
46522         (SIZE): Likewise.
46523         (__mpn_add_n): Do not use BP_SYM
46524         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46525         "bp-asm.h".
46526         (PARMS): Do not use macros from bp-asm.h.
46527         (S1): Likewise.
46528         (SIZE): Likewise.
46529         (__mpn_addmul_1): Do not use BP_SYM
46530         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46531         "bp-asm.h".
46532         (PARMS): Do not use macros from bp-asm.h.
46533         (SIGMSK): Likewise.
46534         (_setjmp): Likewise.  Do not use BP_SYM.
46535         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46536         "bp-asm.h".
46537         (PARMS): Do not use macros from bp-asm.h.
46538         (SIGMSK): Likewise.
46539         (setjmp): Likewise.  Do not use BP_SYM.
46540         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46541         "bp-asm.h".
46542         (PARMS): Do not use macros from bp-asm.h.
46543         (__frexp): Do not use BP_SYM.
46544         (frexp): Likewise.
46545         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46546         "bp-asm.h".
46547         (PARMS): Do not use macros from bp-asm.h.
46548         (__frexpf): Do not use BP_SYM.
46549         (frexpf): Likewise.
46550         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46551         "bp-asm.h".
46552         (PARMS): Do not use macros from bp-asm.h.
46553         (__frexpl): Do not use BP_SYM.
46554         (frexpl): Likewise.
46555         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46556         "bp-asm.h".
46557         (PARMS): Do not use macros from bp-asm.h.
46558         (__remquo): Do not use BP_SYM.
46559         (remquo): Likewise.
46560         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46561         "bp-asm.h".
46562         (PARMS): Do not use macros from bp-asm.h.
46563         (__remquof): Do not use BP_SYM.
46564         (remquof): Likewise.
46565         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46566         "bp-asm.h".
46567         (PARMS): Do not use macros from bp-asm.h.
46568         (__remquol): Do not use BP_SYM.
46569         (remquol): Likewise.
46570         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46571         "bp-asm.h".
46572         (PARMS): Do not use macros from bp-asm.h.
46573         (DEST): Likewise.
46574         (SRC): Likewise.
46575         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46576         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46577         "bp-asm.h".
46578         (PARMS): Do not use macros from bp-asm.h.
46579         (strlen): Do not use BP_SYM.
46580         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46581         "bp-asm.h".
46582         (PARMS): Do not use macros from bp-asm.h.
46583         (S1): Likewise.
46584         (S2): Likewise.
46585         (SIZE): Likewise.
46586         (__mpn_add_n): Do not use BP_SYM.
46587         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46588         "bp-asm.h".
46589         (PARMS): Do not use macros from bp-asm.h.
46590         (S1): Likewise.
46591         (SIZE): Likewise.
46592         (__mpn_addmul_1): Do not use BP_SYM.
46593         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46594         weak_alias.
46595         (bzero): Likewise.
46596         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46597         "bp-asm.h".
46598         (PARMS): Do not use macros from bp-asm.h.
46599         (S): Likewise.
46600         (SIZE): Likewise.
46601         (__mpn_lshift): Do not use BP_SYM.
46602         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46603         "bp-asm.h".
46604         (PARMS): Do not use macros from bp-asm.h.
46605         (DEST): Likewise.
46606         (SRC): Likewise.
46607         (LEN): Likewise.
46608         (memcpy): Likewise.  Do not use BP_SYM.
46609         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46610         libc_hidden_def and weak_alias.
46611         (mempcpy): Do not use BP_SYM in weak_alias.
46612         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46613         "bp-asm.h".
46614         (PARMS): Do not use macros from bp-asm.h.
46615         (DEST): Likewise.
46616         (LEN): Likewise.
46617         [!BZERO_P] (CHR): Likewise.
46618         (memset): Likewise.  Do not use BP_SYM.
46619         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46620         "bp-asm.h".
46621         (PARMS): Do not use macros from bp-asm.h.
46622         (S1): Likewise.
46623         (SIZE): Likewise.
46624         (__mpn_mul_1): Do not use BP_SYM.
46625         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46626         "bp-asm.h".
46627         (PARMS): Do not use macros from bp-asm.h.
46628         (S): Likewise.
46629         (SIZE): Likewise.
46630         (__mpn_rshift): Do not use BP_SYM.
46631         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46632         "bp-asm.h".
46633         (PARMS): Do not use macros from bp-asm.h.
46634         (STR): Likewise.
46635         (CHR): Likewise.
46636         (strchr): Likewise.  Do not use BP_SYM.
46637         (index): Do not use BP_SYM in weak_alias.
46638         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46639         "bp-asm.h".
46640         (PARMS): Do not use macros from bp-asm.h.
46641         (DEST): Likewise.
46642         (SRC): Likewise.
46643         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46644         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46645         "bp-asm.h".
46646         (PARMS): Do not use macros from bp-asm.h.
46647         (strlen): Do not use BP_SYM.
46648         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46649         "bp-asm.h".
46650         (PARMS): Do not use macros from bp-asm.h.
46651         (S1): Likewise.
46652         (S2): Likewise.
46653         (SIZE): Likewise.
46654         (__mpn_sub_n): Do not use BP_SYM.
46655         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46656         "bp-asm.h".
46657         (PARMS): Do not use macros from bp-asm.h.
46658         (S1): Likewise.
46659         (SIZE): Likewise.
46660         (__mpn_submul_1): Do not use BP_SYM.
46661         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
46666         (SIZE): Likewise.
46667         (__mpn_add_n): Do not use BP_SYM.
46668         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46669         weak_alias.
46670         (bzero): Likewise.
46671         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46672         "bp-asm.h".
46673         (PARMS): Do not use macros from bp-asm.h.
46674         (BLK2): Likewise.
46675         (LEN): Likewise.
46676         (memcmp): Do not use BP_SYM.
46677         (bcmp): Do not use BP_SYM in weak_alias.
46678         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46679         "bp-asm.h".
46680         (PARMS): Do not use macros from bp-asm.h.
46681         (DEST): Likewise.
46682         (SRC): Likewise.
46683         (LEN): Likewise.
46684         (memcpy): Likewise.  Do not use BP_SYM.
46685         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46686         "bp-asm.h".
46687         (PARMS): Do not use macros from bp-asm.h.
46688         (DEST): Likewise.
46689         (SRC): Likewise.
46690         (LEN): Likewise.
46691         (memmove): Likewise.  Do not use BP_SYM.
46692         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46693         "bp-asm.h".
46694         (PARMS): Do not use macros from bp-asm.h.
46695         (DEST): Likewise.
46696         (SRC): Likewise.
46697         (LEN): Likewise.
46698         (__mempcpy): Likewise.  Do not use BP_SYM.
46699         (mempcpy): Do not use BP_SYM in weak_alias.
46700         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46701         "bp-asm.h".
46702         (PARMS): Do not use macros from bp-asm.h.
46703         (DEST): Likewise.
46704         (LEN): Likewise.
46705         [!BZERO_P] (CHR): Likewise.
46706         (memset): Likewise.  Do not use BP_SYM.
46707         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46708         "bp-asm.h".
46709         (PARMS): Do not use macros from bp-asm.h.
46710         (STR2): Likewise.
46711         (strcmp): Do not use BP_SYM.
46712         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46713         "bp-asm.h".
46714         (PARMS): Do not use macros from bp-asm.h.
46715         (STR): Likewise.
46716         (DELIM): Likewise.
46717         [USE_AS_STRTOK_R] (SAVE): Likewise.
46718         (FUNCTION): Likewise.  Do not use BP_SYM.
46719         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46720         aliases.
46721         (strtok_r): Likewise.
46722         (__GI___strtok_r): Likewise.
46723         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46724         (PARMS): Do not use macros from bp-asm.h.
46725         (S): Likewise.
46726         (SIZE): Likewise.
46727         (__mpn_lshift): Do not use BP_SYM.
46728         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46729         (PARMS): Do not use macros from bp-asm.h.
46730         (STR): Likewise.
46731         (CHR): Likewise.
46732         (__memchr): Do not use BP_SYM.
46733         (memchr): Do not use BP_SYM in weak_alias.
46734         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46735         (PARMS): Do not use macros from bp-asm.h.
46736         (BLK2): Likewise.
46737         (LEN): Likewise.
46738         (memcmp): Do not use BP_SYM.
46739         (bcmp): Do not use BP_SYM in weak_alias.
46740         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46741         (PARMS): Do not use macros from bp-asm.h.
46742         (S1): Likewise.
46743         (SIZE): Likewise.
46744         (__mpn_mul_1): Do not use BP_SYM.
46745         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46746         "bp-asm.h".
46747         (PARMS): Do not use macros from bp-asm.h.
46748         (STR): Likewise.
46749         (CHR): Likewise.
46750         (__rawmemchr): Do not use BP_SYM.
46751         (rawmemchr): Do not use BP_SYM in weak_alias.
46752         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46753         (PARMS): Do not use macros from bp-asm.h.
46754         (S): Likewise.
46755         (SIZE): Likewise.
46756         (__mpn_rshift): Do not use BP_SYM.
46757         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46758         (PARMS): Do not use macros from bp-asm.h.
46759         (SIGMSK): Likewise.
46760         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46761         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46762         (_start): Do not use BP_SYM.
46763         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46764         (PARMS): Do not use macros from bp-asm.h.
46765         (DEST): Likewise.
46766         (SRC): Likewise.
46767         (__stpcpy): Likewise.  Do not use BP_SYM.
46768         (stpcpy): Do not use BP_SYM in weak_alias.
46769         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46770         "bp-asm.h".
46771         (PARMS): Do not use macros from bp-asm.h.
46772         (DEST): Likewise.
46773         (SRC): Likewise.
46774         (LEN): Likewise.
46775         (__stpncpy): Likewise.  Do not use BP_SYM.
46776         (stpncpy): Do not use BP_SYM in weak_alias.
46777         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46778         (PARMS): Do not use macros from bp-asm.h.
46779         (STR): Likewise.
46780         (CHR): Likewise.
46781         (strchr): Likewise.  Do not use BP_SYM.
46782         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46783         "bp-asm.h".
46784         (PARMS): Do not use macros from bp-asm.h.
46785         (STR): Likewise.
46786         (CHR): Likewise.
46787         (__strchrnul): Likewise.  Do not use BP_SYM.
46788         (strchrnul): Do not use BP_SYM in weak_alias.
46789         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46790         "bp-asm.h".
46791         (PARMS): Do not use macros from bp-asm.h.
46792         (STOP): Likewise.
46793         (strcspn): Do not use BP_SYM.
46794         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46795         "bp-asm.h".
46796         (PARMS): Do not use macros from bp-asm.h.
46797         (STR): Likewise.
46798         (STOP): Likewise.
46799         (strpbrk): Likewise.  Do not use BP_SYM.
46800         * sysdeps/i386/strrchr.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         (CHR): Likewise.
46805         (strrchr): Likewise.  Do not use BP_SYM.
46806         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46807         (PARMS): Do not use macros from bp-asm.h.
46808         (SKIP): Likewise.
46809         (strspn): Do not use BP_SYM.
46810         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46811         (PARMS): Do not use macros from bp-asm.h.
46812         (STR): Likewise.
46813         (DELIM): Likewise.
46814         (SAVE): Likewise.
46815         (FUNCTION): Likewise.  Do not use BP_SYM.
46816         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46817         aliases.
46818         (strtok_r): Likewise.
46819         (__GI___strtok_r): Likewise.
46820         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46821         (PARMS): Do not use macros from bp-asm.h.
46822         (S1): Likewise.
46823         (S2): Likewise.
46824         (SIZE): Likewise.
46825         (__mpn_sub_n): Do not use BP_SYM.
46826         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46827         "bp-asm.h".
46828         (PARMS): Do not use macros from bp-asm.h.
46829         (S1): Likewise.
46830         (SIZE): Likewise.
46831         (__mpn_submul_1): Do not use BP_SYM.
46832         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46833         <bp-sym.h>.
46834         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46835         and <bp-asm.h>.
46836         (PARMS): Do not use macros from bp-asm.h.
46837         (FLAGS): Likewise.
46838         (PTID): Likewise.
46839         (TLS): Likewise.
46840         (CTID): Likewise.
46841         (__clone): Do not use BP_SYM.
46842         (clone): Do not use BP_SYM in weak_alias.
46843         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46844         and <bp-asm.h>.
46845         (PARMS): Do not use macros from bp-asm.h.
46846         (LEN): Likewise.
46847         (__mmap64): Do not use BP_SYM.
46848         (mmap64): Do not use BP_SYM in weak_alias.
46849         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46850         <bp-sym.h> and <bp-asm.h>.
46851         (PARMS): Do not use macros from bp-asm.h.
46852         (__posix_fadvise64_l64): Do not use BP_SYM.
46853         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46854         (PARMS): Do not use macros from bp-asm.h.
46855         (NSOPS): Likewise.
46856         (semtimedop): Do not use BP_SYM.
46857         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46858         and <bp-asm.h>.
46860 2013-02-21  Allan McRae  <allan@archlinux.org>
46862         * manual/message.texi (Charset conversion in gettext):
46863         Move @end statement to beginning of line.
46865 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46868         static.
46869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46870         Likewise.
46872         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46873         (denorm): Likewise.
46874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46877 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46879         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46880         tail-call to the resolved function if pltexit isn't needed.
46882 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46885         or Y being zero as being unlikely.
46886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46887         Likewise.
46889 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46891         * manual/nss.texi (System Databases and Name Service Switch):
46892         Remove frobnicate @pxref.
46894 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46896         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46897         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46899 2013-02-20  Petr Machata  <pmachata@redhat.com>
46901         * elf/elf.h (R_ARM_TARGET1): New macro.
46902         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46903         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46904         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46905         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46906         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46907         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46908         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46909         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46910         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46911         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46912         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46913         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46914         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46915         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46916         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46917         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46918         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46919         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46920         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46921         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46922         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46923         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46924         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46925         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46926         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46927         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46928         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46929         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46930         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46931         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46932         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46933         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46934         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46935         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46936         (R_ARM_THM_GOT_BREL12): Likewise.
46937         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46938         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46939         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46940         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46941         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46942         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46943         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46944         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46945         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46947 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46949         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46950         __attribute_used__ to __attribute__ ((unused)).
46952 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46954         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46955         powerpc mpa.c.
46956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46957         comment formatting.
46958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46960 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46962         [BZ #13550]
46963         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46964         Remove macro.
46965         (ENTER): Remove both macro definitions.
46966         (LEAVE): Likewise.
46967         (CHECK_BOUNDS_LOW): Likewise.
46968         (CHECK_BOUNDS_HIGH): Likewise.
46969         (CHECK_BOUNDS_BOTH): Likewise.
46970         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46971         (RETURN_BOUNDED_POINTER): Likewise.
46972         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46973         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46974         (POP_ERRNO_LOCATION_RETURN): Likewise.
46975         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46976         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46977         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46978         macros.
46979         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46980         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46981         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46982         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46983         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46984         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46985         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46986         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46987         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46988         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46989         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46990         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46991         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46992         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46993         removed macros.
46994         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46995         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46996         macros.
46997         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46998         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46999         * sysdeps/i386/i586/memset.S (memset): Likewise.
47000         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47001         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47002         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47003         macros.
47004         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47005         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47006         Change uses of L(2) to L(out).
47007         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47008         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47009         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47010         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47011         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47012         removed macros.
47013         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47014         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47015         macros.
47016         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47017         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47018         (RETURN): Do not use macro LEAVE.
47019         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47020         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47021         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47022         * sysdeps/i386/i686/memset.S (memset): Likewise.
47023         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47024         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47025         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47026         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47027         Likewise.
47028         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47029         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47030         L(1_2) and L(1_3) into L(1).
47031         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47032         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47033         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47034         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47035         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47036         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47037         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47038         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47039         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47040         macros.
47041         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47043         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47044         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47045         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47046         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47047         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47048         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47049         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47050         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47051         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47052         * sysdeps/i386/strspn.S (strspn): Likewise.
47053         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47054         conditional code.
47055         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47056         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47057         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47058         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47059         L(1_3) into L(1_1).
47060         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47061         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47062         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47063         macros.
47064         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47066 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47068         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47069         macro.
47071 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47073         * math/atest-exp.c (exp_mpn): Remove ROUND.
47074         * math/atest-exp2.c (exp_mpn): Likewise.
47075         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47077         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47078         * stdlib/tst-tls-atexit-lib.c: Likewise.
47079         * stdlib/tst-tls-atexit.c: Likewise.
47081 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47083         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47084         and __attribute_alloc_size__.
47086 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47088         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47089         __attribute_alloc_size__.
47090         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47091         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47093 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47095         * include/programs/xmalloc.h: New file.
47096         * catgets/gencat.c: Include it.
47097         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47098         * elf/pldd.c: Likewise.
47099         * iconv/iconv_charmap.c: Likewise.
47100         * iconv/iconvconfig.c: Likewise.
47101         * iconv/strtab.c: Likewise.
47102         * locale/programs/locale.c: Likewise.
47103         * locale/programs/localedef.h: Likewise.
47104         * locale/programs/simple-hash.c: Likewise.
47105         * nscd/nscd.h: Likewise.
47106         * nss/makedb.c: Likewise.
47107         * sysdeps/generic/ldconfig.h: Likewise.
47109 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47111         * Versions.def: Add GLIBC_2.18.
47112         * include/link.h (struct link_map): New member l_tls_dtor_count.
47113         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47114         (__call_tls_dtors): Likewise.
47115         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47116         __cxa_thread_atexit_impl.
47117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47118         Likewise.
47119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47120         Likewise.
47121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47122         Likewise.
47123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47124         Likewise.
47125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47127         Likewise.
47128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47129         Likewise.
47130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47132         Likewise.
47133         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47134         (tests): Add test case tst-tls-atexit.
47135         (modules-names): Add shared library for tst-tls-atexit.
47136         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47137         (GLIBC_PRIVATE): Add __call_tls_dtors.
47138         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47139         for libstdc++.
47140         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47141         * stdlib/tst-tls-atexit.c: New test case.
47142         * stdlib/tst-tls-atexit-lib.c: New test case.
47144         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47146         * elf/Versions (ld): Add _dl_find_dso_for_object.
47147         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47148         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47149         (dl_open_worker): Use _dl_find_dso_for_object.
47150         * elf/dl-sym.c (do_sym): Likewise.
47151         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47153 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47155         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47156         Syntactic changes only.
47157         (_dl_runtime_profile): Do a tail-call to the resolved function.
47159 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47161         [BZ #13550]
47162         * sysdeps/x86_64/bp-asm.h: Remove file.
47163         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47164         <bp-sym.h> and <bp-asm.h>.
47165         (__clone): Do not use BP_SYM.
47166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47167         <bp-sym.h> and <bp-asm.h>.
47168         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47169         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47170         "bp-asm.h".
47171         (_setjmp): Do not use BP_SYM.
47172         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47173         "bp-asm.h".
47174         (setjmp): Do not use BP_SYM.
47175         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47176         libc_hidden_def.
47177         (mempcpy): Do not use BP_SYM in weak_alias.
47178         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47179         "bp-asm.h".
47180         (strchr): Do not use BP_SYM.
47181         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47182         "bp-asm.h".
47183         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47184         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47185         (_start): Do not use BP_SYM.
47186         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47187         "bp-asm.h".
47188         (strcat): Do not use BP_SYM.
47189         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47190         "bp-asm.h".
47191         (STRCMP): Do not use BP_SYM.
47192         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47193         "bp-asm.h".
47194         (STRCPY): Do not use BP_SYM.
47195         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47196         "bp-asm.h".
47197         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47198         "bp-asm.h".
47199         (FUNCTION): Do not use BP_SYM.
47200         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47201         weak_alias.
47202         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47204 2013-02-17  Andreas Jaeger  <aj@suse.de>
47206         * time/Versions: Sort entries.
47207         * string/Versions: Likewise.
47208         * resolv/Versions: Likewise.
47209         * posix/Versions: Likewise.
47210         * iconv/Versions: Likewise.
47211         * elf/Versions: Likewise.
47212         * wcsmbs/Versions: Likewise.
47214 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47216         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47217         loop termination condition.
47219         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47220         variable to calculate EZ.
47221         (__sqr): Likewise.
47223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47224         the lower precision input.
47226 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47228         [BZ #13550]
47229         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47230         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47231         (run-via-rtld-prefix): Do not handle %-bp tests.
47232         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47233         (all-object-suffixes): Remove .ob.
47234         (bppfx): Remove variable.
47235         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47236         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47237         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47238         [$(build-bounded) = yes] (libtype.ob): Likewise.
47239         * Makerules (elide-routines.ob): Remove variable.
47240         (do-tests-clean): Do not handle *-bp.out.
47241         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47242         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47243         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47244         (tests): Do not include $(tests-bp.out).
47245         (xtests): Do not include $(xtests-bp.out).
47246         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47247         [$(build-bounded) = yes] ($(addprefix
47248         $(objpfx),$(binaries-bounded))): Remove rule.
47249         ($(objpfx)%-bp.out): Remove rule.
47250         * config.make.in (build-bounded): Remove variable.
47251         * crypt/Makefile [$(build-bounded) = yes]
47252         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47253         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47254         append to variable.
47255         [$(build-bounded) = yes] (install-lib): Likewise.
47256         [$(build-bounded) = yes] (generated): Likewise.
47257         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47258         Remove rule.
47259         * intl/Makefile [$(build-bounded) = yes]
47260         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47261         * math/Makefile [$(build-bounded) = yes]
47262         ($(tests:%=$(objpfx)%-bp): Likewise.
47263         * misc/Makefile [$(build-bounded) = yes]
47264         ($(objpfx)tst-tsearch-bp): Likewise.
47265         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47266         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47267         Remove dependency.
47268         * string/Makefile (o-objects.ob): Remove variable.
47269         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47270         (CFLAGS-.ob): Remove variable.
47271         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47272         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47273         both definitions of variable.
47274         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47275         (ASFLAGS-.ob): Remove variable.
47277 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47279         [BZ #13550]
47280         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47281         Remove __BOUNDED_POINTERS__ from condition.
47282         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47283         * string/bits/string2.h [!__NO_STRING_INLINES &&
47284         !__BOUNDED_POINTERS__]: Likewise.
47285         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47286         Likewise.
47287         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47288         Remove conditional code.
47289         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47290         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47291         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47292         condition.
47294         [BZ #13550]
47295         * csu/libc-start.c: Do not include <bp-sym.h>.
47296         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47297         * elf/dl-open.c: Do not include <bp-sym.h>.
47298         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47299         * math/fegetenv.c: Do not include <bp-sym.h>.
47300         (fegetenv): Do not use BP_SYM in versioned symbols.
47301         * nptl/sysdeps/pthread/bits/libc-lockP.h
47302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47303         <bp-sym.h>.
47304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47305         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47307         (__pthread_mutex_destroy): Likewise.
47308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47309         (__pthread_mutex_lock): Likewise.
47310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47311         (__pthread_mutex_trylock): Likewise.
47312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47313         (__pthread_mutex_unlock): Likewise.
47314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47315         (__pthread_mutexattr_init): Likewise.
47316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47317         (__pthread_mutexattr_destroy): Likewise.
47318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47319         (__pthread_mutexattr_settype): Likewise.
47320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47321         (__pthread_rwlock_init): Likewise.
47322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47323         (__pthread_rwlock_destroy): Likewise.
47324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47325         (__pthread_rwlock_rdlock): Likewise.
47326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47327         (__pthread_rwlock_tryrdlock): Likewise.
47328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47329         (__pthread_rwlock_wrlock): Likewise.
47330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47331         (__pthread_rwlock_trywrlock): Likewise.
47332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47333         (__pthread_rwlock_unlock): Likewise.
47334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47335         (__pthread_key_create): Likewise.
47336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47337         (__pthread_setspecific): Likewise.
47338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47339         (__pthread_getspecific): Likewise.
47340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47341         Likewise.
47342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47343         (_pthread_cleanup_push_defer): Likewise.
47344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47345         (_pthread_cleanup_pop_restore): Likewise.
47346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47347         (pthread_setcancelstate): Likewise.
47348         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47349         <bp-sym.h>.
47350         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47351         (memchr): Do not use BP_SYM in weak_alias.
47352         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47353         (fegetenv): Do not use BP_SYM in versioned symbols.
47354         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47355         (fesetenv): Do not use BP_SYM in versioned symbols.
47356         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47357         (feupdateenv): Do not use BP_SYM in versioned symbols.
47358         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47359         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47360         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47361         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47362         (open64): Do not use BP_SYM in weak_alias.
47363         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47364         (fegetenv): Do not use BP_SYM in versioned symbols.
47365         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47366         (fesetenv): Do not use BP_SYM in versioned symbols.
47367         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47368         (feupdateenv): Do not use BP_SYM in versioned symbols.
47369         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47370         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47371         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47372         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47373         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47374         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47376         <bp-sym.h>.
47377         (__libc_start_main): Do not use BP_SYM.
47379 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47382         redundant return line.
47383         (norm): Likewise.
47384         (denorm): Likewise.
47385         (dbl_mp): Likewise.
47386         (sub_magnitudes): Likewise.
47387         (__add): Likewise.
47388         (__sub): Likewise.
47389         (__mul): Likewise.
47390         (__inv): Likewise.
47391         (__dvd): Likewise.
47392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47393         (norm): Likewise.
47394         (denorm): Likewise.
47395         (dbl_mp): Likewise.
47396         (sub_magnitudes): Likewise.
47397         (__add): Likewise.
47398         (__sub): Likewise.
47399         (__mul): Likewise.
47400         (__inv): Likewise.
47401         (__dvd): Likewise.
47403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47404         instead of __mul.
47405         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47406         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47407         (cc32): Likewise.
47409         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47410         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47412         of __mul for squares.
47413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47414         function
47415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47416         Likewise.
47417         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47420 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47422         [BZ #13550]
47423         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47424         code.
47425         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47426         prototype or function definition.  Rename ubp_* variables and
47427         parameters.  Remove argv definitions conditional on
47428         [__BOUNDED_POINTERS__].
47429         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47430         * elf/dl-runtime.c (_dl_fixup): Likewise.
47431         * include/set-hooks.h (RUN_HOOK): Likewise.
47432         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47433         definition.
47434         * string/strcpy.c (strcpy): Do not use __unbounded.
47435         * sysdeps/generic/frame.h (struct layout): Likewise.
47436         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47437         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47438         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47439         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47440         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47441         (__backtrace): Likewise.
47442         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47443         use __ptrvalue.
47444         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47445         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47446         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47447         Likewise.
47448         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47449         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47450         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47451         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47452         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47453         Do not use __unbounded.
47454         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47455         Rename __unboundedrlimits parameter to rlimits in prototype.
47456         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47457         Do not use __unbounded.
47458         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47459         not use __ptrvalue.
47460         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47461         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47462         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47463         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47464         __ptrvalue or __unbounded.
47465         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47466         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47467         use __unbounded.
47468         (__new_msgctl): Do not use __ptrvalue.
47469         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47470         __unbounded.
47471         (__libc_msgrcv): Do not use __ptrvalue.
47472         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47473         startup_info): Do not use __unbounded.
47474         (__libc_start_main): Likewise.  Rename ubp_* variables and
47475         parameters.  Remove argv definitions conditional on
47476         [__BOUNDED_POINTERS__].
47477         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47478         __ptrvalue.
47479         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47480         use __unbounded.
47481         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47482         or __ptrvalue.
47483         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47484         use __unbounded.
47485         (__new_shmctl): Do not use __ptrvalue.
47486         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47487         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47488         Likewise.
47489         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47490         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47491         (__libc_sigaction): Likewise.
47492         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47493         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47494         Likewise.
47495         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47497 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47499         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47501         * string/mempcpy.c: Implement by calling memcpy.
47503 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47505         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47508         evaluation.
47510         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47511         values in the mantissa.
47513         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47514         minimize writes to Z.
47515         (sub_magnitudes): Simplify code a bit.
47517 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47519         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47520         from the message.  The linker prefixes all warnings with that already.
47522 2013-02-12  Andreas Schwab  <schwab@suse.de>
47524         [BZ #15078]
47525         * posix/regexec.c (extend_buffers): Add parameter min_len.
47526         (check_matching): Pass minimum needed length.
47527         (clean_state_log_if_needed): Likewise.
47528         (get_subexp): Likewise.
47529         * posix/Makefile (tests): Add bug-regex34.
47530         (bug-regex34-ENV): Define.
47531         * posix/bug-regex34.c: New file.
47533         [BZ #11561]
47534         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47535         elements compare against the byte sequence of it, not its name.
47536         * posix/Makefile (tests): Add bug-regex35.
47537         (bug-regex35-ENV): Define.
47538         * posix/bug-regex35.c: New file.
47540 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47542         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47543         comment.
47544         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47545         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47546         (CHECK_EOL): Add undef.
47548 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47550         * bits/stdlib-bsearch.h: New file.
47551         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47552         * stdlib/stdlib.h: Likewise.
47554 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47556         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47557         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47558         declaration.
47559         * manual/search.texi (Array Search Function): Add missing const in
47560         lfind prototype.
47561         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47562         declaration to use rlim_t.
47563         (Basic Scheduling Functions): Remove erroneous const from
47564         sched_getparam prototype.  Remove erroneous * from
47565         sched_get_priority_max and sched_get_priority_min prototypes.
47566         (Resource Usage): Fix summary @comment on vtimes to refer to
47567         sys/vtimes.h rather than vtimes.h.
47568         Add missing *s in vtimes prototype.
47569         (Limits on Resources): Fix ulimit prototype to return long int.
47570         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47571         prototypes to use long int rather than double.
47572         (BSD Random): Fix initstate and setstate to use char *, not void *.
47573         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47574         prototype to make second argument 'struct aiocb64 *const[]'.
47575         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47576         (Status of AIO Operations): Remove erroneous const in aio_return and
47577         aio_return64 prototypes.
47578         (Synchronizing I/O): Fix sync prototype to return void.
47579         * manual/startup.texi (Suboptions): Remove an erroneous const in
47580         getsubopt prototype.
47581         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47582         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47583         use size_t rather than int.
47584         (Scanning All Users): Likewise for getpwent_r.
47585         (Setting Groups): Add missing const to setgroups prototype.
47586         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47587         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47588         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47589         'const void *' rather than 'const char *'.
47590         (Host Address Functions): Likewise for inet_ntop.
47591         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47592         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47593         ssize_t for return value.
47594         (Sending Data): Likewise for send, sendto, sendmsg.
47595         (Socket Option Functions): Add a missing const in setsockopt prototype.
47596         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47597         use wchar_t for the argument.
47598         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47599         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47600         take no arguments.
47601         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47602         double/float/long double for second argument.
47603         Fix return types of significand, significandf, significandl.
47604         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47605         argument in fchmod prototype.
47606         (File Owner): Use uid_t and gid_t in fchown prototype.
47607         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47608         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47609         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47610         use 'const struct dirent **' as argument types to CMP function pointer
47611         argument.
47612         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47613         (File Times): Fix summary magic @comment for struct utimbuf and utime
47614         to refer to utime.h, not time.h.
47615         * manual/string.texi (Argz Functions): Add missing const in
47616         argz_extract and argz_next prototypes.
47617         (Finding Tokens in a String): Likewise for basename.
47618         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47619         (Copying and Concatenation): Fix typo in wmemmove prototype.
47620         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47621         (Signal Stack): Remove erroneous const in sigstack prototype.
47622         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47623         prototype.
47624         (Simple Calendar Time): Likewise for stime.
47625         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47626         prototype.
47627         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47628         say sys/sysctl.h instead.
47629         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47630         and vsyslog prototypes.
47632 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47634         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47635         Remove.
47637 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47639         * misc/sys/mman.h: Fix typo in mremap comment.
47641 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47643         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47644         the '\0' terminator.
47646 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47648         [BZ #13550]
47649         * debug/segfault.c: Don't include <bp-checks.h>.
47650         * sysdeps/generic/bp-checks.h: Remove file.
47651         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47652         (__GETDENTS): Don't use CHECK_N.
47653         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47654         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47655         (__getgroups): Don't use CHECK_N.
47656         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47657         (setgroups): Don't use CHECK_N.
47658         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47659         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47660         (__libc_msgrcv): Don't use CHECK_N.
47661         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47662         (__libc_msgsnd): Don't use CHECK_N.
47663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47664         <bp-checks.h>.
47665         (__libc_pread): Don't use CHECK_N.
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47667         include <bp-checks.h>.
47668         (__libc_pread64): Don't use CHECK_N.
47669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47670         include <bp-checks.h>.
47671         (__libc_pwrite): Don't use CHECK_N.
47672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47673         include <bp-checks.h>.
47674         (__libc_pwrite64): Don't use CHECK_N.
47675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47676         <bp-checks.h>.
47677         (__libc_pread): Don't use CHECK_N.
47678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47679         include <bp-checks.h>.
47680         (__libc_pread64): Don't use CHECK_N.
47681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47682         include <bp-checks.h>.
47683         (__libc_pwrite): Don't use CHECK_N.
47684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47685         include <bp-checks.h>.
47686         (__libc_pwrite64): Don't use CHECK_N.
47687         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47688         (do_pread): Don't use CHECK_N.
47689         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47690         (do_pread64): Don't use CHECK_N.
47691         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47692         (do_pwrite): Don't use CHECK_N.
47693         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47694         (do_pwrite64): Don't use CHECK_N.
47695         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47696         (__libc_readv): Don't use CHECK_N.
47697         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47698         (semop): Don't use CHECK_N.
47699         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47700         <bp-checks.h>.
47701         (semtimedop): Don't use CHECK_N.
47702         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47703         (__libc_pread): Don't use CHECK_N.
47704         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47705         <bp-checks.h>.
47706         (__libc_pread64): Don't use CHECK_N.
47707         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47708         <bp-checks.h>.
47709         (__libc_pwrite): Don't use CHECK_N.
47710         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47711         <bp-checks.h>.
47712         (__libc_pwrite64): Don't use CHECK_N.
47713         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47714         <bp-checks.h>.
47715         (__libc_msgrcv): Don't use CHECK_N.
47716         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47717         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47718         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47719         (__libc_writev): Don't use CHECK_N.
47721 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47723         * string/strcpy.c: Removed unused variable.
47725         * Makeconfig (+sysdep-includes): Define with := rather than =.
47726         Use an existing include/ subdir of each sysdeps dir before it.
47728 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47730         * nscd/connection.c (register_traced_file): Comment function.
47731         [HAVE_INOTIFY] (union __inev): Define.
47732         [HAVE_INOTIFY] (inotify_check_files): New function.
47733         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47734         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47735         clear_db_cache.
47736         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47738 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47740         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47741         loaded if not already and that a failure is permanent.
47743 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47745         [BZ #15006]
47746         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47747         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47749 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47751         [BZ #13550]
47752         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47753         (CHECK_1_NULL_OK): Likewise.
47754         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47755         (__fxstat): Do not use CHECK_1.
47756         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47757         <bp-checks.h>.
47758         (___fxstat64): Do not use CHECK_1.
47759         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47760         <bp-checks.h>.
47761         (__fxstatat): Do not use CHECK_1.
47762         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47763         <bp-checks.h>.
47764         (__fxstatat64): Do not use CHECK_1.
47765         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47766         <bp-checks.h>.
47767         (__fxstat): Do not use CHECK_1.
47768         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47769         <bp-checks.h>.
47770         (__fxstatat): Do not use CHECK_1.
47771         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47772         <bp-checks.h>.
47773         (__getresgid): Do not use CHECK_1.
47774         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47775         <bp-checks.h>.
47776         (__getresuid): Do not use CHECK_1.
47777         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47778         <bp-checks.h>.
47779         (__lxstat): Do not use CHECK_1.
47780         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47781         <bp-checks.h>.
47782         (__old_msgctl): Do not use CHECK_1.
47783         (__new_msgctl): Likewise.
47784         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47785         <bp-checks.h>.
47786         (__new_setrlimit): Do not use CHECK_1.
47787         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47788         <bp-checks.h>.
47789         (__old_shmctl): Do not use CHECK_1.
47790         (__new_shmctl): Likewise.
47791         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47792         <bp-checks.h>.
47793         (__xstat): Do not use CHECK_1.
47794         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47795         (__lxstat): Do not use CHECK_1.
47796         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47797         <bp-checks.h>.
47798         (___lxstat64): Do not use CHECK_1.
47799         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47800         (__old_msgctl): Do not use CHECK_1.
47801         (__new_msgctl): Likewise.
47802         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47803         <bp-checks.h>.
47804         (__gettimeofday): Do not use CHECK_1.
47805         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47806         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47807         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47808         <bp-checks.h>.
47809         (__gettimeofday): Do not use CHECK_1.
47810         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47811         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47812         (__new_shmctl): Do not use CHECK_1.
47813         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47814         <bp-checks.h>.
47815         (do_sigtimedwait): Do not use CHECK_1.
47816         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47817         <bp-checks.h>.
47818         (do_sigwaitinfo): Do not use CHECK_1.
47819         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47820         <bp-checks.h>.
47821         (msgctl): Do not use CHECK_1.
47822         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47823         <bp-checks.h>.
47824         (shmctl): Do not use CHECK_1.
47825         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47826         (ustat): Do not use CHECK_1.
47827         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47828         <bp-checks.h>.
47829         (__fxstat): Do not use CHECK_1.
47830         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47831         <bp-checks.h>.
47832         (__fxstatat): Do not use CHECK_1.
47833         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47834         <bp-checks.h>.
47835         (__lxstat): Do not use CHECK_1.
47836         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47837         <bp-checks.h>.
47838         (__xstat): Do not use CHECK_1.
47839         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47840         (__xstat): Do not use CHECK_1.
47841         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47842         (___xstat64): Do not use CHECK_1.
47844         [BZ #13550]
47845         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47846         definitions.
47847         (CHECK_BOUNDS_HIGH): Likewise.
47848         * string/strcpy.c: Do not include <bp-checks.h>.
47849         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47851 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47853         * nscd/nscd-client.h (__nscd_drop_map_ref):
47854         Add __attribute__ ((unused)).
47855         * nis/nss-nisplus.h (niserr2nss): Likewise.
47857         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47858         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47860         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47861         Remove inline keyword.
47862         * include/rounding-mode.h (round_away): Likewise.
47863         * libio/wfileops.c (adjust_wide_data): Likewise.
47864         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47865         (__m128i_strloadu_tolower): Likewise.
47866         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47867         (__m128i_strloadu_tolower): Likewise.
47868         * time/mktime.c (ydhms_diff): Likewise.
47869         * locale/elem-hash.h (elem_hash): Likewise.
47870         * locale/setlocale.c (setdata): Likewise.
47871         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47872         (re_string_wchar_at): Likewise.
47873         (bitset_not, bitset_merge, bitset_mask): Likewise.
47874         [!(__GNUC__ > 3)] (inline): Remove macro.
47875         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47876         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47877         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47878         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47879         * string/memcmp.c (memcmp_bytes): Likewise.
47880         * locale/programs/locarchive.c (compute_hashval): Likewise.
47881         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47882         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47883         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47884         * nss/getent.c (print_rpc, print_protocols): Likewise.
47885         (print_passwd, print_group, print_aliases): Likewise.
47886         * nis/nss-nisplus.h (niserr2nss): Likewise.
47887         * nscd/connections.c (restart_p): Likewise.
47888         Change return type to bool.
47890 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47892         * Makeconfig (all-Depend-files): Add existing
47893         $(sorted-subdirs:=/Depend) files.
47894         (all-subdirs): Remove nss.
47895         * sysdeps/unix/inet/Subdirs: Add it here instead.
47896         * hesiod/Depend: New file.
47898         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47899         instead of calling alloca.
47901         * io/lseek.c (__lseek): Rename to __libc_lseek.
47902         Define __lseek as an alias.
47904         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47906 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47908         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47909         else clause and remove check for non-standard endianness.
47911 2013-02-04  David S. Miller  <davem@davemloft.net>
47913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47915 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47917         [BZ #13550]
47918         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47919         (__ubp_memchr): Remove prototype.
47920         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47921         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47922         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47923         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47924         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47925         Remove alias.
47926         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47927         (__ubp_memchr): Likewise.
47928         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47929         (__ubp_memchr): Likewise.
47930         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47931         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47932         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47933         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47934         CHECK_STRING.
47935         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47936         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47937         (__getcwd): Do not use CHECK_STRING.
47938         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47939         <bp-checks.h>.
47940         (__real_chown): Do not use CHECK_STRING.
47941         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47942         <bp-checks.h>.
47943         (fchownat): Do not use CHECK_STRING.
47944         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47945         CHECK_STRING.
47946         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47947         <bp-checks.h>.
47948         (__lchown): Do not use CHECK_STRING.
47949         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47950         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47951         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47952         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47954         include <bp-checks.h>.
47955         (truncate64): Do not use CHECK_STRING.
47956         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47957         <bp-checks.h>.
47958         (__real_chown): Do not use CHECK_STRING.
47959         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47960         <bp-checks.h>.
47961         (__lchown): Do not use CHECK_STRING.
47962         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47963         <bp-checks.h>.
47964         (__chown): Do not use CHECK_STRING.
47965         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47966         <bp-checks.h>.
47967         (truncate64): Do not use CHECK_STRING.
47968         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47969         Likewise.
47970         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47971         (__xmknod): Do not use CHECK_STRING.
47972         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47973         <bp-checks.h>.
47974         (__xmknodat): Do not use CHECK_STRING.
47975         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47976         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47978 2013-02-04  Andreas Schwab  <schwab@suse.de>
47980         [BZ #14142]
47981         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47982         * include/netdb.h: Likewise for h_errno.
47983         * elf/tst-stackguard1.c: Include <tls.h>.
47985 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47987         * elf/link.h (struct link_map): Extend the l_addr comment.
47988         * include/link.h (struct link_map): Likewise.
47990 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47992         [BZ #13550]
47993         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47994         (BOUNDED_1): Remove macro.
47995         * debug/backtrace.c: Don't include <bp-checks.h>.
47996         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47997         (__backtrace): Likewise.
47998         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47999         <bp-checks.h>.
48000         (__backtrace): Don't use BOUNDED_1.
48001         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48002         <bp-checks.h>.
48003         (__backtrace): Don't use BOUNDED_1.
48004         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48005         (__backtrace): Don't use BOUNDED_1.
48006         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48007         (shmat): Don't use BOUNDED_N.
48009 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48011         [BZ #13550]
48012         * sysdeps/generic/bp-start.h: Remove file.
48013         * csu/libc-start.c: Don't include <bp-start.h>.
48014         (LIBC_START_MAIN): Set up __environ directly instead of using
48015         INIT_ARGV_and_ENVIRON.
48016         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48017         <bp-start.h>.
48019         [BZ #13550]
48020         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48021         definitions.
48022         (CHECK_FCNTL): Likewise.
48023         (CHECK_N_PAGES): Likewise.
48025         [BZ #13550]
48026         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48027         definitions.
48028         (CHECK_SIGSET_NULL_OK): Likewise.
48029         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48030         <bp-checks.h>.
48031         (sigpending): Don't use CHECK_SIGSET.
48032         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48033         <bp-checks.h>.
48034         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48035         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48036         <bp-checks.h>.
48037         (do_sigsuspend): Don't use CHECK_SIGSET.
48038         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48039         use CHECK_SIGSET.
48040         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48041         (do_sigwait): Don't use CHECK_SIGSET.
48042         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48043         use CHECK_SIGSET.
48044         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48045         include <bp-checks.h>.
48046         (sigpending): Don't use CHECK_SIGSET.
48047         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48048         include <bp-checks.h>.
48049         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48050         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48051         <bp-checks.h>.
48052         (sigpending): Don't use CHECK_SIGSET.
48053         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48054         <bp-checks.h>.
48055         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48057         [BZ #13550]
48058         * sysdeps/generic/bp-semctl.h: Remove file.
48059         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48060         <bp-checks.h> and <bp-semctl.h>.
48061         (__old_semctl): Don't use CHECK_SEMCTL.
48062         (__new_semctl): Likewise.
48063         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48064         and <bp-semctl.h>.
48065         (__old_semctl): Don't use CHECK_SEMCTL.
48066         (__new_semctl): Likewise.
48067         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48068         <bp-checks.h> and <bp-semctl.h>.
48069         (__old_semctl): Don't use CHECK_SEMCTL.
48070         (__new_semctl): Likewise.
48071         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48072         <bp-checks.h> and <bp-semctl.h>.
48073         (semctl): Don't use CHECK_SEMCTL.
48075         [BZ #13550]
48076         * Makerules (elide-bp-thunks): Remove variable.
48077         (elide-routines.oS): Don't use $(elide-bp-thunks).
48078         (elide-routines.os): Likewise.
48079         (elide-routines.o): Likewise.
48080         (elide-routines.op): Likewise.
48081         (elide-routines.og): Likewise.
48082         (objects): Don't use $(bp-thunks).
48083         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48084         include.
48085         (common-generated): Do not add s-proto-bp.d.
48086         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48087         (int): Likewise.
48088         (typ): Likewise.
48089         Do not generate makefile rules for bounded-pointer thunks.
48090         * sysdeps/generic/bp-thunks.h: Remove file.
48091         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48092         * sysdeps/unix/s-proto-bp.S: Likewise.
48094         [BZ #15062]
48095         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48096         parts of result separately when argument is not close to line from
48097         -i to i and one part of argument is small.
48098         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48099         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48100         * math/libm-test.inc (cacos_test): Add more tests.
48101         (casin_test): Likewise.
48102         (casinh_test): Likewise.
48103         * sysdeps/i386/fpu/libm-test-ulps: Update.
48104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48106 2013-01-31  David S. Miller  <davem@davemloft.net>
48108         * po/de.po: Update from translation team.
48110 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48112         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48114 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48116         * configure.in (_AC_PROG_CC_C89): New definition.
48117         * configure: Regenerate.
48119         * configure.in (AC_PROG_CPP): New definition.
48120         * configure: Regenerate.
48122 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48124         * debug/tst-backtrace.h: New file.
48125         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48126         (ret): Remove variable.
48127         (x): Likewise.
48128         (FAIL): Remove macro.
48129         (NO_INLINE): Likewise.
48130         (fn1): Use match function instead of strstr.
48131         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48132         (ret): Remove variable.
48133         (x): Likewise.
48134         (FAIL): Remove macro.
48135         (NO_INLINE): Likewise.
48136         (fn): Use match function instead of strstr.
48137         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48138         (ret): Remove variable.
48139         (x): Likewise.
48140         (FAIL): Remove macro.
48141         (NO_INLINE): Likewise.
48142         (handle_signal): Use match function instead of strstr.
48143         * debug/tst-backtrace5.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.
48150 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48152         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48154 2013-01-23  David S. Miller  <davem@davemloft.net>
48156         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48157         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48158         argument of CAS if possible.
48159         * sysdeps/sparc/sparc64/bits/atomic.h
48160         (__arch_compare_and_exchange_val_32_acq): Likewise.
48161         (__arch_compare_and_exchange_val_64_acq): Likewise.
48163 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48165         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48166         * sysdeps/posix/ulimit.c: ... this.
48167         Include <limits.h>.
48168         * sysdeps/unix/bsd/ulimit.c: Remove file.
48170 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48172         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48173         (LDFLAGS-tst-array5): Likewise.
48175 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48177         [BZ #15036]
48178         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48179         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48180         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48181         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48183 2013-01-21  David S. Miller  <davem@davemloft.net>
48185         * sysdeps/sparc/backtrace.c: New file.
48186         * sysdeps/sparc/sparc32/backtrace.h: New file.
48187         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48188         * sysdeps/sparc/sparc64/backtrace.h: New file.
48189         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48190         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48191         -funwind-tables.
48193 2013-01-21  Andreas Schwab  <schwab@suse.de>
48195         [BZ #15020]
48196         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48197         closed its stdout.
48199 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48202         "mpa2.h".
48203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48205 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48206             Mark Mitchell  <mark@codesourcery.com>
48207             Tom de Vries  <tom@codesourcery.com>
48208             Paul Pluzhnikov  <ppluzhnikov@google.com>
48210         * debug/tst-backtrace2.c: New file.
48211         * debug/tst-backtrace3.c: Likewise.
48212         * debug/tst-backtrace4.c: Likewise.
48213         * debug/tst-backtrace5.c: Likewise.
48214         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48215         (CFLAGS-tst-backtrace3.c): Likewise.
48216         (CFLAGS-tst-backtrace4.c): Likewise.
48217         (CFLAGS-tst-backtrace5.c): Likewise.
48218         (LDFLAGS-tst-backtrace2): Likewise.
48219         (LDFLAGS-tst-backtrace3): Likewise.
48220         (LDFLAGS-tst-backtrace4): Likewise.
48221         (LDFLAGS-tst-backtrace5): Likewise.
48222         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48223         tst-backtrace4 and tst-backtrace5.
48225 2013-01-18  Anton Blanchard  <anton@samba.org>
48226             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48228         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48229         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48230         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48231         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48233         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48234         "+r" and remove output regs list as redundant.  Add explicit inline
48235         asm to specify register of return val to work around compiler codegen
48236         bug.  Remove (int) cast on return value.  Add return type parameter to
48237         use in macro so that this macro does not truncate return value for
48238         64-bit values.
48239         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48240         pass to INTERNAL_VSYSCALL_NCS.
48241         (INLINE_VSYSCALL): Add 'long int' as return type to
48242         INTERNAL_VSYSCALL_NCS macro invocation.
48243         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48244         INTERNAL_VSYSCALL_NCS macro invocation.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48247 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48249         [BZ #14496]
48250         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48251         Fix application of SIMD FP exception mask.
48253         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48254         mp_no from a power of two.
48255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48256         __mpexp_twomm1.  Use __pow_mp.
48258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48259         multiplication.
48261 2013-01-17  David S. Miller  <davem@davemloft.net>
48263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48265 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #15023]
48268         * include/complex.h: Condition contents on [!_COMPLEX_H].
48269         (__kernel_casinhf): New prototype.
48270         (__kernel_casinh): Likewise.
48271         (__kernel_casinhl): Likewise.
48272         * math/Makefile (libm_calls): Add k_casinh.
48273         * math/k_casinh.c: New file.
48274         * math/k_casinhf.c: Likewise.
48275         * math/k_casinhl.c: Likewise.
48276         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48277         finite nonzero arguments.
48278         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48279         finite nonzero arguments.
48280         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48281         finite nonzero arguments.
48282         * math/s_casinh.c: Do not include <float.h>.
48283         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48284         * math/s_casinhf.c: Do not include <float.h>.
48285         (__casinhf): Move code for finite nonzero arguments to
48286         k_casinhf.c.
48287         * math/s_casinhl.c: Do not include <float.h>.
48288         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48289         redefine.
48290         (__casinhl): Move code for finite nonzero arguments to
48291         k_casinhl.c.
48292         * math/libm-test.inc (cacos_test): Add more tests.
48293         * sysdeps/i386/fpu/libm-test-ulps: Update.
48294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48296 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48298         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48299         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48300         [!HAVE_MREMAP]: Remove [defined linux] case.
48301         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48303 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48305         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48307 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48309         * elf/elf.h (R_386_SIZE32): New relocation.
48310         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48311         R_386_SIZE32.
48312         (elf_machine_rela): Likewise.
48313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48314         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48316 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48318         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48319         (FP_FAST_FMA): Do not define.
48320         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48321         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48322         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48323         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48324         !_SOFT_FLOAT]: Likewise.
48325         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48326         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48327         value.
48328         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48329         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48330         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48331         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48332         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48333         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48334         file.
48336 2013-01-16  Andreas Schwab  <schwab@suse.de>
48338         [BZ #14327]
48339         * include/stdlib.h (__mktemp): Add declaration.
48340         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48341         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48343 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48345         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48346         definitions.
48347         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48348         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48349         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48350         definitions here.
48351         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48352         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48353         definitions.
48354         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48355         and ONE.
48356         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48357         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48358         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48359         definitions.
48360         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48361         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48362         definitions.
48363         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48365         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48367 2013-01-15  David S. Miller  <davem@davemloft.net>
48369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48370         trunc{,f} to libm-sysdep_routes.
48371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48373         file.
48374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48376         file.
48377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48378         file.
48379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48381         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48382         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48383         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48384         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48385         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48386         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48389         nearbyint{,f} to libm-sysdep_routes.
48390         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48392         New file.
48393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48394         file.
48395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48396         New file.
48397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48398         file.
48399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48401         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48402         file.
48403         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48404         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48405         file.
48406         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48407         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48408         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48410         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48411         libc_feholdexcept and libc_fesetenv.
48413 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48415         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48417 2013-01-14  David S. Miller  <davem@davemloft.net>
48419         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48420         (SPARC_ASM_VIS2_IFUNC): Likewise.
48421         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48423         use of 'siam' instruction.
48424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48425         Likewise.
48426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48427         Likewise.
48428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48429         Likewise.
48430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48435         file.
48436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48437         file.
48438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48439         file.
48440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48441         file.
48442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48444         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48447         new VIS2 routines.
48448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48451         Likewise.
48452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48457         routines to libm-sysdep_routines.
48458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48461         fdim/fdimf to libm-sysdep_routines.
48462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48463         file.
48464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48466         file.
48467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48470         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48471         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48472         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48473         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48475 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48477         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48478         to optimize copies.
48480         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48485         local variable MPTWO.
48486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48487         Likewise.
48489 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48491         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48492         GLOB_NOESCAPE.
48494 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48496         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48498 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48500         * manual/pattern.texi (glob_t): Document gl_flags.
48501         (glob64_t): Likewise.
48503 2013-01-11  David S. Miller  <davem@davemloft.net>
48505         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48506         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48507         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48508         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48509         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48510         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48511         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48512         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48513         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48514         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48515         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48516         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48517         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48519         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48520         sparc V9 rather than using V8 code.
48521         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48522         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48524         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48525         Move to...
48526         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48527         Here.
48529 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48531         [BZ #14941]
48532         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48533         not in the main loop.
48534         * configure: Regenerated.
48536 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48538         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48539         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48540         to just #else.
48541         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48542         [!__GLIBC_HAVE_LONG_LONG] case.
48543         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48544         condition to just #else.
48545         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48546         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48547         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48548         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48549         unconditional.
48550         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48551         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48552         #elif condition to just #else.
48553         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48554         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48555         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48556         #elif condition to just #else.
48558 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48560         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48561         (EF_MIPS_ARCH_64): Fix value.
48562         (EF_MIPS_ARCH_32R2): New.
48563         (EF_MIPS_ARCH_64R2): New.
48565 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48567         * Makeconfig (+link-pie-before-libc): New.
48568         (+link-pie-after-libc): Likewise.
48569         (+link-pie-tests): Likewise.
48570         (+link-pie): Rewritten.
48571         (link-before-libc): Remove $(config-LDFLAGS).
48572         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48573         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48574         (config-LDFLAGS): Renamed to ...
48575         (rtld-LDFLAGS): This.
48576         (rtld-tests-LDFLAGS): New macro.
48577         (link-libc-rpath-link): Likewise.
48578         (link-libc-tests-rpath-link): Likewise.
48579         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48580         (link-libc): Prepand $(link-libc-rpath-link).
48581         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48582         (test-program-prefix): New macro.
48583         (test-via-rtld-prefix): Likewise.
48584         (test-program-cmd): Likewise.
48585         (host-test-program-cmd): Likewise.
48586         * Makefile ($(common-objpfx)testrun.sh): Replace
48587         $(run-program-prefix) with $(test-program-prefix).
48588         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48589         $(rtld-LDFLAGS).
48590         ($(common-objpfx)shlib.lds): Likewise.
48591         (build-module-helper): Likewise.
48592         ($(common-objpfx)format.lds): Likewise.
48593         * Rules (binaries-pie-tests): New.
48594         (binaries-pie-notests): Likewise.
48595         (binaries-pie): Rewritten.
48596         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48597         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48598         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48599         (make-test-out): Replace $(host-built-program-cmd) with
48600         $(host-test-program-cmd).
48601         * config.make.in (build-hardcoded-path-in-tests): New variable.
48602         * configure.in (--enable-hardcoded-path-in-tests): New configure
48603         option.
48604         (hardcoded_path_in_tests): New AC_SUBST.
48605         * configure: Regenerated.
48606         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48607         $(built-program-cmd) with $(test-program-cmd).
48608         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48609         (test_program_cmd): This.
48610         * elf/Makefile ($(objpfx)order.out): Run test with
48611         $(test-program-prefix).
48612         ($(objpfx)order2.out): Likewise.
48613         ($(objpfx)tst-initorder.out): Likewise.
48614         ($(objpfx)tst-initorder2.out): Likewise.
48615         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48616         $(test-program-cmd).
48617         ($(objpfx)tst-array1-static.out): Likewise.
48618         ($(objpfx)tst-array2.out): Likewise.
48619         ($(objpfx)tst-array3.out): Likewise.
48620         ($(objpfx)tst-array4.out): Likewise.
48621         ($(objpfx)tst-array5.out): Likewise.
48622         ($(objpfx)tst-array5-static.out): Likewise.
48623         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48624         $(test-program-cmd).
48625         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48626         $(run-program-prefix) with $(test-program-prefix).
48627         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48628         (test_program_prefix): This.
48629         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48630         $(run-program-prefix) with $(test-program-prefix).
48631         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48632         (test_program_prefix): This.
48633         * iconvdata/tst-tables.sh: Likewise.
48634         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48635         $(run-program-prefix) with $(test-program-prefix).
48636         ($(objpfx)tst-translit.out): Likewise.
48637         ($(objpfx)tst-gettext2.out): Likewise.
48638         ($(objpfx)tst-gettext4.out): Likewise.
48639         ($(objpfx)tst-gettext6.out): Likewise.
48640         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48641         (test_program_prefix): This.
48642         * intl/tst-gettext2.sh: Likewise.
48643         * intl/tst-gettext4.sh  Likewise.
48644         * intl/tst-gettext6.sh: Likewise.
48645         * intl/tst-translit.sh: Likewise.
48646         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48647         with $(test-program-cmd).
48648         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48649         $(run-program-prefix) with $(test-program-prefix).
48650         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48651         (test_program_prefix): This.
48652         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48653         $(run-program-prefix) with $(test-program-prefix).
48654         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48655         (test_program_prefix): This.
48656         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48657         * posix/Makefile ($(objpfx)globtest.out): Replace
48658         $(run-via-rtld-prefix) and $(test-wrapper) with
48659         $(test-program-prefix) and $(test-via-rtld-prefix).
48660         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48661         $(test-program-prefix).
48662         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48663         $(host-test-program-cmd).
48664         (tst-spawn-ARGS): Likewise.
48665         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48666         $(test-program-prefix).
48667         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48668         (test_via_rtld_prefix): This.
48669         (test_wrapper): Renamed to ...
48670         (test_program_prefix): This.
48671         (run_program_prefix): Replaced by test_program_prefix.
48672         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48673         (test_program_prefix): This.
48674         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48675         with $(host-test-program-cmd).
48676         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48677         $(run-program-prefix) with $(test-program-prefix).
48678         ($(objpfx)tst-printf.out): Likewise.
48679         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48680         $(test-program-cmd).
48681         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48682         (test_program_prefix): This.
48683         * stdio-common/tst-unbputc.sh: Likewise.
48684         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48685         $(run-program-prefix) with $(test-program-prefix).
48686         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48687         (test_program_prefix): This.
48688         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48689         $(built-program-cmd) with $(test-program-cmd).
48691 2013-01-11  Andreas Jaeger  <aj@suse.de>
48693         [BZ #15003]
48694         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48695         value. Sync with Linux 3.7.
48697 2013-01-10  David S. Miller  <davem@davemloft.net>
48699         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48700         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48701         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48703 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48705         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48706         never set.
48707         * configure: Regenerated.
48709 2013-01-10  David S. Miller  <davem@davemloft.net>
48711         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48712         sparc V9 rather than using V8 code.
48713         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48714         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48716 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48718         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48719         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48720         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48721         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48722         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48723         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48724         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48725         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48726         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48727         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48728         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48729         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48730         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48731         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48732         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48733         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48734         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48735         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48736         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48737         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48738         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48739         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48740         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48741         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48742         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48743         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48744         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48746 2013-01-10  David S. Miller  <davem@davemloft.net>
48748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48750 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48752         * posix/Makefile (tests-static): New variable.
48753         (tests): Add $(tests-static).
48754         (tst-exec-static-ARGS): New variable.
48755         (tst-spawn-static-ARGS): Likewise.
48756         * posix/tst-exec-static.c: New file.
48757         * posix/tst-spawn-static.c: Likewise.
48758         * posix/tst-exec.c: Support run directly.
48759         * posix/tst-spawn.c: Likewise.
48761 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48763         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48764         long.
48765         * math/bits/mathcalls.h (llrint): Likewise.
48766         (llround): Likewise.
48767         * stdlib/stdlib.h (struct drand48_data): Likewise.
48768         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48769         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48770         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48771         Likewise.
48772         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48773         Likewise.
48774         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48775         (elf_greg_t): Likewise.
48776         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48777         (__jmp_buf): Likewise.
48778         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48779         definitions.
48780         (llrint): Likewise, for all definitions.
48781         (llrintl): Likewise.
48783         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48784         Remove [__GNUC__] condition.
48785         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48786         condition to just [__USE_ISOC99].
48787         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48789 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48791         [BZ #14200]
48792         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48793         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48794         defined.
48795         (_POSIX_V6_ILP32_OFF32): Likewise.
48796         (_XBS5_ILP32_OFF32): Likewise.
48797         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48798         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48800 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48802         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48805         doubles __mpexp_twomm1.  Adjust usage.
48806         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48807         Remove.
48809 2013-01-10  Andreas Schwab  <schwab@suse.de>
48811         [BZ #14964]
48812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48813         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48815 2013-01-09  David S. Miller  <davem@davemloft.net>
48817         [BZ #15003]
48818         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48819         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48820         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48821         (TCP_FASTOPEN): Define.
48822         (tcp_repair_opt): New structure.
48823         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48824         enum values.
48825         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48826         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48827         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48828         (tcp_cookie_transactions): New structure.
48830 2013-01-09  Anton Blanchard  <anton@samba.org>
48832         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48833         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48834         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48835         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48837 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48839         * include/features.h (__USE_ANSI): Remove.
48841 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48843         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48845         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48847 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48849         * sysdeps/s390/fpu/libm-test-ulps: Update.
48851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48853         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48854         (__acr): Likewise.
48855         (__cpy): Likewise.
48856         (norm): Likewise.
48857         (denorm): Likewise.
48858         (__mp_dbl): Likewise.
48859         (__dbl_mp): Likewise.
48860         (add_magnitudes): Likewise.
48861         (sub_magnitudes): Likewise.
48862         (__add): Likewise.
48863         (__sub): Likewise.
48864         (__mul): Likewise.
48865         (__inv): Likewise.
48866         (__dvd): Likewise.
48867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48868         (__acr): Likewise.
48869         (__cpy): Likewise.
48870         (norm): Likewise.
48871         (denorm): Likewise.
48872         (__mp_dbl): Likewise.
48873         (__dbl_mp): Likewise.
48874         (add_magnitudes): Likewise.
48875         (sub_magnitudes): Likewise.
48876         (__add): Likewise.
48877         (__sub): Likewise.
48878         (__mul): Likewise.
48879         (__inv): Likewise.
48880         (__dvd): Likewise.
48881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48882         (__acr): Likewise.
48883         (__cpy): Likewise.
48884         (norm): Likewise.
48885         (denorm): Likewise.
48886         (__mp_dbl): Likewise.
48887         (__dbl_mp): Likewise.
48888         (add_magnitudes): Likewise.
48889         (sub_magnitudes): Likewise.
48890         (__add): Likewise.
48891         (__sub): Likewise.
48892         (__mul): Likewise.
48893         (__inv): Likewise.
48894         (__dvd): Likewise.
48896 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48898         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48899         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48900         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48901         2 && __USE_EXTERN_INLINES]: Likewise.
48903 2013-01-08  Andreas Jaeger  <aj@suse.de>
48905         [BZ# 14985]
48906         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48907         Remove.
48908         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48909         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48911 2013-01-07  Anton Blanchard  <anton@samba.org>
48913         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48914         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48915         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48916         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48917         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48918         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48919         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48920         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48922         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48923         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48924         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48926         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48927         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48928         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48929         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48930         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48931         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48933         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48934         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48935         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48936         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48937         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48938         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48939         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48940         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48942         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48943         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48945         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48946         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48948         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48949         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48950         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48951         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48952         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48953         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48955         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48957 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48959         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48960         (__MALLOC_PMT): Likewise.
48961         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48962         [__GNUC__], only on [_LIBC].
48963         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48964         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48965         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48966         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48967         forward declaration.
48968         (realloc_hook_ini): Likewise.
48969         (memalign_hook_ini): Likewise.
48970         (__libc_memalign): Do not use __MALLOC_PMT in variable
48971         declaration.
48972         (__libc_valloc): Likewise.
48973         (__libc_pvalloc): Likewise.
48974         (__libc_calloc): Likewise.
48975         (__posix_memalign): Likewise.
48977         [BZ #14996]
48978         * math/s_casinh.c: Include <float.h>.
48979         (__casinh): Do not do computation with squaring and square root
48980         for large arguments.
48981         * math/s_casinhf.c: Include <float.h>.
48982         (__casinhf): Do not do computation with squaring and square root
48983         for large arguments.
48984         * math/s_casinhl.c: Include <float.h>.
48985         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48986         (__casinhl): Do not do computation with squaring and square root
48987         for large arguments.
48988         * math/libm-test.inc (casin_test): Add more tests.
48989         (casinh_test): Likewise.
48990         * sysdeps/i386/fpu/libm-test-ulps: Update.
48991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48993 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48995         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48996         (__x86_64_raw_data_cache_size): Likewise.
48997         (__x86_64_data_cache_size_half): Likewise.
48998         (__x86_64_raw_data_cache_size_half): Likewise.
48999         (__x86_64_shared_cache_size): Likewise.
49000         (__x86_64_raw_shared_cache_size): Likewise.
49001         (__x86_64_shared_cache_size_half): Likewise.
49002         (__x86_64_raw_shared_cache_size_half): Likewise.
49003         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49004         to ...
49005         (__x86_data_cache_size): This.
49006         (__x86_64_raw_data_cache_size): Renamed to ...
49007         (__x86_raw_data_cache_size): This.
49008         (__x86_64_data_cache_size_half): Renamed to ...
49009         (__x86_data_cache_size_half): This.
49010         (__x86_64_raw_data_cache_size_half): Renamed to ...
49011         (__x86_raw_data_cache_size_half): This.
49012         (__x86_64_shared_cache_size): Renamed to ...
49013         (__x86_shared_cache_size): This.
49014         (__x86_64_raw_shared_cache_size): Renamed to ...
49015         (__x86_raw_shared_cache_size): This.
49016         (__x86_64_shared_cache_size_half): Renamed to ...
49017         (__x86_shared_cache_size_half): This.
49018         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49019         (__x86_raw_shared_cache_size_half): This.
49020         * sysdeps/x86_64/memcpy.S: Updated.
49021         * sysdeps/x86_64/memset.S: Likewise.
49022         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49023         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49024         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49026 2013-01-04  David S. Miller  <davem@davemloft.net>
49028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49030 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49032         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49033         1 to avoid redefinition warning.
49034         (__USE_GNU): Don't define.
49035         (init_signaling_nan): Protoize.
49037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49039 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49041         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49043         (__cpymn): Likewise.
49044         (norm): Remove commented code.
49045         (denorm): Likewise.
49046         (__mp_dbl): Likewise.
49047         (__inv): Likewise.
49048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49049         (__cpymn): Likewise.
49050         (norm): Remove commented code.
49051         (denorm): Likewise.
49052         (__mp_dbl): Likewise.
49053         (__inv): Likewise.
49055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49056         mp_no value for 1.0 and 2.0.
49057         (norm): Use RADIXI instead of radixi.d.
49058         (denorm): Likewise.
49059         (__mul): Use 0.0 instead of zero.d.
49060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49061         mp_no value for 1.0 and 2.0.
49062         (norm): Use RADIXI instead of radixi.d.
49063         (denorm): Likewise.
49064         (__mul): Use 0.0 instead of zero.d.
49066 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49068         [BZ #14994]
49069         * math/s_casinh.c (__casinh): Reduce finite argument to first
49070         quadrant then set signs of results at the end.
49071         * math/s_casinhf.c (__casinhf): Likewise.
49072         * math/s_casinhl.c (__casinhl): Likewise.
49073         * math/libm-test.inc (casin_test): Add more tests.
49074         (casinh_test): Likewise.
49075         * sysdeps/i386/fpu/libm-test-ulps: Update.
49076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49078 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49080         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49082         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49084         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49085         declarations.
49086         (denorm): Likewise.
49087         (__mp_dbl): Likewise.
49088         (__inv): Likewise.
49090         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49091         and adjust the header comment.
49093         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49094         variable name from declaration.
49096 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49099         Initialize COMMON_CPUID_INDEX_7 element.
49100         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49101         (CPUID_RTM): Likewise.
49102         (HAS_RTM): Likewise.
49103         (COMMON_CPUID_INDEX_7): New enum.
49105 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49107         [BZ #14981]
49108         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49109         size is zero, record memory as freed.
49111 2013-01-03  Andreas Jaeger  <aj@suse.de>
49113         * po/ia.po: Add new Interlingua translation.
49115 2012-01-03  Allan McRae  <allan@archlinux.org>
49117         * locale/programs/localedef.c: Fix description of '--posix' flag.
49119 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49121         * NEWS: Update dates in second copyright notice.
49122         * README: Update copyright dates in example.
49123         * manual/libc.texinfo: Update copyright dates.
49124         * scripts/test-installation.pl: Update copyright date in --version
49125         output.
49127         * hurd/ctty-input.c: Fix copyright notice formatting.
49128         * hurd/ctty-output.c: Likewise.
49129         * hurd/dtable.c: Likewise.
49130         * hurd/hurd-raise.c: Likewise.
49131         * hurd/hurdprio.c: Likewise.
49132         * hurd/msgportdemux.c: Likewise.
49133         * misc/sys/file.h: Likewise.
49134         * misc/sys/ioctl.h: Likewise.
49135         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49136         * sysdeps/mach/hurd/chdir.c: Likewise.
49137         * sysdeps/mach/hurd/fchdir.c: Likewise.
49138         * sysdeps/mach/hurd/rename.c: Likewise.
49139         * sysdeps/mach/hurd/rmdir.c: Likewise.
49140         * sysdeps/mach/hurd/seekdir.c: Likewise.
49141         * sysdeps/mach/hurd/setsid.c: Likewise.
49142         * sysdeps/posix/wait3.c: Likewise.
49144         * All files with FSF copyright notices: Update copyright dates
49145         using scripts/update-copyrights.
49146         * intl/plural.c: Regenerated.
49147         * locale/programs/charmap-kw.h: Likewise.
49148         * locale/programs/locfile-kw.h: Likewise.
49150 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49152         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49153         four values.
49155         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49156         calculation loop and add branch prediction.
49158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49159         check access beyond bounds of m1np.
49161         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49162         MPTWO.
49163         (__inv): Remove local variable MPTWO to use the global
49164         constant.
49165         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49166         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49167         variable MPTWO.
49168         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49169         MP3HALFS static const.
49171 2013-01-01  David S. Miller  <davem@davemloft.net>
49173         * po/ca.po: Update from translation team.
49175 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49177         * scripts/update-copyrights: New file.
49178         * Makeconfig: Reformat copyright notice.
49179         * ctype/ctype.h: Likewise.
49180         * debug/swprintf_chk.c: Likewise.
49181         * elf/dl-cache.c: Likewise.
49182         * elf/dl-debug.c: Likewise.
49183         * elf/dl-object.c: Likewise.
49184         * grp/initgroups.c: Likewise.
49185         * hurd/Makefile: Likewise.
49186         * hurd/hurd/signal.h: Likewise.
49187         * hurd/hurdfault.c: Likewise.
49188         * hurd/hurdioctl.c: Likewise.
49189         * hurd/hurdlookup.c: Likewise.
49190         * hurd/intr-msg.c: Likewise.
49191         * iconv/gconv_open.c: Likewise.
49192         * libio/swprintf.c: Likewise.
49193         * locale/lc-ctype.c: Likewise.
49194         * locale/nl_langinfo.c: Likewise.
49195         * mach/Machrules: Likewise.
49196         * mach/Makefile: Likewise.
49197         * malloc/obstack.h: Likewise.
49198         * manual/Makefile: Likewise.
49199         * manual/tsort.awk: Likewise.
49200         * misc/bits/stab.def: Likewise.
49201         * nis/nis_print_group_entry.c: Likewise.
49202         * nis/nis_table.c: Likewise.
49203         * nis/nss_compat/compat-pwd.c: Likewise.
49204         * nis/nss_compat/compat-spwd.c: Likewise.
49205         * po/Makefile: Likewise.
49206         * posix/fnmatch.c: Likewise.
49207         * posix/regex.h: Likewise.
49208         * resolv/Makefile: Likewise.
49209         * resolv/nss_dns/dns-network.c: Likewise.
49210         * resolv/res_hconf.c: Likewise.
49211         * scripts/gen-sorted.awk: Likewise.
49212         * soft-fp/soft-fp.h: Likewise.
49213         * stdio-common/printf.h: Likewise.
49214         * stdlib/monetary.h: Likewise.
49215         * stdlib/random.c: Likewise.
49216         * stdlib/random_r.c: Likewise.
49217         * sysdeps/generic/Makefile: Likewise.
49218         * sysdeps/gnu/Makefile: Likewise.
49219         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49220         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49221         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49223         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49226         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49229         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49230         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49231         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49232         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49233         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49234         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49235         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49236         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49237         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49238         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49239         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49240         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49241         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49247         * sysdeps/mach/hurd/errnos.awk: Likewise.
49248         * sysdeps/mach/hurd/fork.c: Likewise.
49249         * sysdeps/mach/hurd/getcwd.c: Likewise.
49250         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49251         * sysdeps/mach/hurd/mmap.c: Likewise.
49252         * sysdeps/mach/hurd/utimes.c: Likewise.
49253         * sysdeps/mach/hurd/xmknod.c: Likewise.
49254         * sysdeps/posix/profil.c: Likewise.
49255         * sysdeps/posix/readdir_r.c: Likewise.
49256         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49257         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49258         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49259         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49261         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49262         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49263         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49265         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49266         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49267         * sysdeps/pthread/lio_listio.c: Likewise.
49268         * sysdeps/sparc/dl-procinfo.h: Likewise.
49269         * sysdeps/unix/i386/sysdep.S: Likewise.
49270         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49271         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49272         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49273         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49275         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49276         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49277         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49278         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49279         * sysdeps/wordsize-32/divdi3.c: Likewise.
49280         * time/sys/time.h: Likewise.
49281         * wcsmbs/Makefile: Likewise.
49283 2013-01-01  David S. Miller  <davem@davemloft.net>
49285         * po/fr.po: Update from translation team.
49287         * catgets/gencat.c: Update copyright year.
49288         * csu/version.c: Likewise.
49289         * debug/catchsegv.sh: Likewise.
49290         * debug/pcprofiledump.c: Likewise.
49291         * debug/xtrace.sh: Likewise.
49292         * elf/ldconfig.c: Likewise.
49293         * elf/ldd.bash.in: Likewise.
49294         * elf/pldd.c: Likewise.
49295         * elf/sotruss.ksh: Likewise.
49296         * elf/sprof.c: Likewise.
49297         * iconv/iconv_prog.c: Likewise.
49298         * iconv/iconvconfig.c: Likewise.
49299         * locale/programs/locale.c: Likewise.
49300         * locale/programs/localedef.c: Likewise.
49301         * login/programs/pt_chown.c: Likewise.
49302         * malloc/memusage.sh: Likewise.
49303         * malloc/memusagestat.c: Likewise.
49304         * malloc/mtrace.pl: Likewise.
49305         * nscd/nscd.c: Likewise.
49306         * nss/getent.c: Likewise.
49307         * nss/makedb.c: Likewise.
49308         * posix/getconf.c: Likewise.
49310 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49312         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49313         numbers.
49315 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49317         * math/bits/mathcalls.h (modf): Use __nonnull.
49319 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49321         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49322         (split): Use macro CN instead of the bare value.
49323         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49324         could be used.
49325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49326         instead of the bare value.
49327         (power1): Likewise.
49329 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49331         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49332         __ATAN_TWOM.
49333         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49335         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49336         their values.
49337         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49338         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49339         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49340         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49342 2012-12-28  Andreas Jaeger  <aj@suse.de>
49344         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49345         values are from Linux 3.7.
49347         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49348         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49350 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49352         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49353         TRUE case.
49355         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49356         (norm): Likewise.
49357         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49358         variables with preprocessor constants.
49359         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49360         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49361         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49363 2012-12-27  Bruno Haible  <bruno@clisp.org>
49365         [BZ #14317]
49366         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49367         only if needed.
49369 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49372         and use variable directly.
49373         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49375         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49376         MPONE.
49377         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49378         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49379         variable MPONE.
49380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49382         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49383         include directive.  Remove local variable MPONE.
49384         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49385         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49386         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49388 2012-12-25  David S. Miller  <davem@davemloft.net>
49390         * version.h (RELEASE): Set to "development".
49391         (VERSION): Set to "2.17.90".
49392         * NEWS: Add 2.18 section.
49394 2012-12-21  David S. Miller  <davem@davemloft.net>
49396         * po/hr.po: Update from translation team.
49398 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49400         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49402 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49404         * NEWS:  Mention new memcpy for MIPS.
49406 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49408         * manual/contrib.texi (Contributors): Spelling correction.
49410 2012-12-15  David S. Miller  <davem@davemloft.net>
49412         * po/ru.po: Update from translation team.
49414 2012-12-13  David S. Miller  <davem@davemloft.net>
49416         * NEWS: Mention IFUNC testsuite enhancements.
49418         * po/pl.po: Update from translation team.
49419         * po/bg.po: Likewise.
49421         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49422         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49424 2012-12-11  David S. Miller  <davem@davemloft.net>
49426         * po/sv.po: Update from translation team.
49428         * po/vi.po: Update from translation team.
49430         * po/cs.po: Update from translation team.
49432         * po/de.po: Update from translation team.
49433         * po/eo.po: Likewise.
49434         * po/nl.po: Likewise.
49436 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49438         [BZ #14246]
49439         * manual/argp.texi (Argp Helper Functions): Move node to follow
49440         Argp Parsing State.
49442         [BZ #14872]
49443         * manual/conf.texi (Limits on File System Capacity): Mention if
49444         terminating null is included in the max size.
49446 2012-12-10  Andreas Jaeger  <aj@suse.de>
49448         * po/cs.po: Update from translation team.
49450 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49453         void pointer and cast to uintptr_t.
49454         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49455         path.
49456         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49457         * sysdeps/s390/s390-64/memset.S: Likewise.
49459 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49461         [BZ #14833]
49462         * menual/message.texi (Message Translation): Fix typos.
49463         (Helper programs for gettext): Likewise.
49465 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49467         [BZ #14898]
49468         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49469         Change to -1.
49471 2012-12-07  David S. Miller  <davem@davemloft.net>
49473         * po/libc.pot: Update.
49475 2012-12-07  Richard Henderson  <rth@redhat.com>
49477         [BZ #10114]
49478         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49479         normal/normal case to before the switch.
49480         (_FP_DIV): Likewise.
49482 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49483             Mike Frysinger  <vapier@gentoo.org>
49485         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49486         check for __NR_fadvise64_64.
49488 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49490         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49491         0, not just to plain "0" as a statement.
49492         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49493         with cw.
49495 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49497         * NEWS: Use sourceware.org in Bugzilla URL.
49499 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49502         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49504         * stdio-common/tst-put-error.c (do_test): Add newline to the
49505         padded test to ensure flush.
49507 2012-12-05  Jeff Law  <law@redhat.com>
49509         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49511 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49513         * README: Don't refer to ports add-on as distributed separately.
49514         Mention AArch64 in list of systems supported in the ports add-on.
49516         * LICENSES: Add more non-FSF copyright and license notices.
49518         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49519         ((unused)).
49521         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49523         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49524         10000 as width of padded output.
49526 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49528         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49531         variable LX with __attribute__ ((unused)).
49532         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49533         Likewise.
49534         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49537         with __attribute__ ((unused)).
49539 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49541         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49543 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49545         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49546         (CFLAGS-nldbl-acos.c): New variable.
49547         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49548         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49549         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49550         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49551         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49552         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49553         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49554         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49555         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49556         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49557         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49558         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49559         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49560         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49561         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49562         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49563         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49564         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49565         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49566         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49567         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49568         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49569         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49570         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49571         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49572         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49573         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49574         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49575         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49576         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49577         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49578         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49579         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49580         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49581         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49582         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49583         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49584         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49585         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49586         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49587         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49588         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49589         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49590         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49591         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49592         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49593         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49594         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49595         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49596         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49597         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49598         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49599         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49600         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49601         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49602         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49603         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49604         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49605         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49606         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49607         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49608         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49609         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49610         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49611         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49612         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49613         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49614         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49615         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49616         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49617         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49618         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49619         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49620         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49621         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49622         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49623         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49624         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49625         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49626         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49627         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49628         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49629         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49630         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49631         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49632         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49633         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49634         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49635         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49636         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49637         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49638         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49639         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49640         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49641         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49642         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49643         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49646         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49648         [BZ #14914]
49649         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49650         whole low double instead of just low 47 bits when splitting values
49651         into two parts.
49653 2012-12-03  Allan McRae  <allan@archlinux.org>
49655         * manual/stdio.texi (Predefined Printf Handlers): Remove
49656         @hsep and @vsep usage.
49658 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49660         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49661         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49663 2012-12-03  Jeff Law  <law@redhat.com>
49665         * time/sys/time.h (settimeofday): Do not mark TV argument
49666         as __nonnull.
49668 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49670         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49671         when currently writing and seek to current position when not.
49672         * libio/Makefile (tests): Remove bug-fclose1.
49673         * libio/bug-fclose1.c: Delete.
49675 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49677         * manual/arith.texi (feenableexcept): Fix typo.
49678         (fedisableexcept): Likewise.
49680 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49682         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49683         second, differently-typed declaration, rather than a cast.
49685 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49687         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49688         * include/rpc/svc.h: ... here.
49690 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49692         [BZ #13013]
49693         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49694         depending n and resplen2 to catch cases where answer
49695         equals answerp2.
49697 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49699         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49700         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49702 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49704         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49706 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49708         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49710 2012-11-28  Jeff Law  <law@redhat.com>
49712         [BZ #13761]
49713         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49714         dataset_temporary.  Track alloca usage into alloca_used.
49715         If dataset is large allocate and release it via malloc/free.
49717 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49719         [BZ #14197]
49720         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49722 2012-11-28  David S. Miller  <davem@davemloft.net>
49724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49726 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49728         [BZ #14803]
49729         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49730         of pi/2 rounded to nearest to 64 bits.
49731         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49732         nearest to 64 bits.
49733         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49734         bits.
49736 2012-11-28  Jeff Law <law@redhat.com>
49737             Martin Osvald <mosvald@redhat.com>
49739         [BZ #14889]
49740         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49741         * sunrpc/svc.c: Include time.h.
49742         (__svc_accept_failed): New function.
49743         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49744         any reason other than EINTR, call __svc_accept_failed.
49745         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49746         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49748 2012-11-28  Andreas Schwab  <schwab@suse.de>
49750         * scripts/abilist.awk: Also handle indirect functions in .opd
49751         section.
49753 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #13881]
49756         * sysdeps/x86/fpu/powl_helper.c: New file.
49757         * sysdeps/x86/fpu/Makefile: Likewise.
49758         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49759         (p3): New object.
49760         (__ieee754_powl): Use __powl_helper for finite arguments except
49761         integer exponents below 8.
49762         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49763         (p3): New object.
49764         (__ieee754_powl): Use __powl_helper for finite arguments except
49765         integer exponents below 8.
49766         * math/libm-test.inc (pow_test): Add more tests and enable some
49767         previously disabled tests.
49768         * sysdeps/i386/fpu/libm-test-ulps: Update.
49769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49771 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49772             Carlos O'Donell  <carlos_odonell@mentor.com>
49774         * nss/makedb.c (is_prime): Assert that input is odd and greater
49775         than 4.  Note that fact in a comment too.
49776         (next_prime): Add 4 to input.
49778 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49780         [BZ #11741]
49781         * libio/Makefile (tests): Add test case tst-fwrite-error.
49782         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49783         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49784         * libio/tst-fwrite-error.c: New test case.
49786 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49788         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49789         before casting to void *.
49790         * include/libc-internal.h (__pointer_type): New macro.
49791         (__integer_if_pointer_type_sub): Likewise.
49792         (__integer_if_pointer_type): Likewise.
49793         (cast_to_integer): Likewise.
49794         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49795         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49796         before casting to atomic64_t.
49797         (atomic_exchange_acq): Likewise.
49798         (__arch_exchange_and_add_body): Likewise.
49799         (__arch_add_body): Likewise.
49800         (atomic_add_negative): Likewise.
49801         (atomic_add_zero): Likewise.
49803 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49805         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49806         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49807         (add_fdes): Likewise.
49808         (linear_search_fdes): Likewise.
49809         (binary_search_unencoded_fdes): Likewise.
49811 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49813         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49815 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49817         * configure.in: Autodetect C++ header directories.
49818         * configure: Regenerated.
49820 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49822         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49824 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49828 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49830         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49831         LDBL_MANT_DIG == 106]: Disable some tests.
49832         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49833         Likewise.
49834         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49835         Likewise.
49837         [BZ #14871]
49838         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49839         input for small inputs.  Return +/- pi/2 for large inputs.
49840         * math/libm-test.inc (atan_test): Add more tests.
49842         * sysdeps/generic/unwind-dw2-fde-glibc.c
49843         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49844         __attribute__ ((unused)).
49846         [BZ #14645]
49847         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49848         x * y if x and y are nonzero and z is zero.
49850         [BZ #14811]
49851         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49852         nonzero exponents with absolute value below 0x1p-117 to +/-
49853         0x1p-117.
49855         [BZ #14869]
49856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49857         up arguments below 2**-450, not just those below 2**-500.
49858         * math/libm-test.inc (hypot_test): Add another test.
49860         [BZ #14868]
49861         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49862         Return a+b for ratio over 2**120, not 2**60.
49863         * math/libm-test.inc (hypot_test): Add another test.
49865         * math/libm-test.inc (clog_test): Use
49866         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49867         (clog10_test): Likewise.
49869         [BZ #6778]
49870         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49872 2012-11-22  Andreas Schwab  <schwab@suse.de>
49874         * sysdeps/i386/fpu/libm-test-ulps: Update.
49876 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49878         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49879         printf output with newline.
49881 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49883         [BZ #14865]
49884         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49885         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49886         -z nodlopen, -z initfirst and -z execstack support.
49887         * configure: Regenerated.
49889         * elf/elf.h (DF_1_NODIRECT): New macro.
49890         (DF_1_IGNMULDEF): Likewise.
49891         (DF_1_NOKSYMS): Likewise.
49892         (DF_1_NOHDR): Likewise.
49893         (DF_1_EDITED): Likewise.
49894         (DF_1_NORELOC): Likewise.
49895         (DF_1_SYMINTPOSE): Likewise.
49896         (DF_1_GLOBAUDIT): Likewise.
49897         (DF_1_SINGLETON): Likewise.
49898         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49899         DT_1_SUPPORTED_MASK bits.
49900         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49902 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49904         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49906 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49908         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49909         macro.
49911         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49912         (sendmmsg): Move declarations...
49913         * socket/sys/socket.h: ... here.
49914         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49915         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49916         include it from...
49917         * socket/recvmmsg.c: ... this new file.
49918         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49919         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49920         definition of __sendmmsg hidden.
49921         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49922         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49923         Move ENOSYS stub into and include it from...
49924         * socket/sendmmsg.c: ... this new file.
49925         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49926         (sysdep_routines): Move recvmmsg and sendmmsg...
49927         * socket/Makefile (routines): ... here.
49928         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49929         (GLIBC_PRIVATE): Add __sendmmsg.
49930         * include/sys/socket.h (__sendmmsg): Add declarations.
49931         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49932         sendmmsg.
49934 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49937         variable I1 with __attribute__ ((unused)).
49938         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49940 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49942         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49943         DUMMY variables with __attribute__ ((unused)).
49945         * bits/byteswap.h: Include <bits/types.h>.
49946         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49948 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49950         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49951         string_t.  Do not manually set errno.
49952         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49953         length with __strnlen.  Make sure to both set errno and return it on
49954         failure.
49956 2012-11-19  David S. Miller  <davem@davemloft.net>
49958         With help from Joseph Myers.
49959         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49960         very large arguments properly.
49961         * math/libm-test.inc (atan_test): New tests.
49962         (atan2_test): New tests.
49963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49966 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49968         [BZ #14856]
49969         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49970         Define to 3.
49972         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49973         [POSIX] (EADDRNOTAVAIL): Likewise.
49974         [POSIX] (EAFNOSUPPORT): Likewise.
49975         [POSIX] (EALREADY): Likewise.
49976         [POSIX] (ECONNABORTED): Likewise.
49977         [POSIX] (ECONNREFUSED): Likewise.
49978         [POSIX] (ECONNRESET): Likewise.
49979         [POSIX] (EDESTADDRREQ): Likewise.
49980         [POSIX] (EDQUOT): Likewise.
49981         [POSIX] (EHOSTUNREACH): Likewise.
49982         [POSIX] (EIDRM): Likewise.
49983         [POSIX] (EISCONN): Likewise.
49984         [POSIX] (ELOOP): Likewise.
49985         [POSIX] (EMULTIHOP): Likewise.
49986         [POSIX] (ENETDOWN): Likewise.
49987         [POSIX] (ENETUNREACH): Likewise.
49988         [POSIX] (ENOBUFS): Likewise.
49989         [POSIX] (ENODATA): Likewise.
49990         [POSIX] (ENOLINK): Likewise.
49991         [POSIX] (ENOMSG): Likewise.
49992         [POSIX] (ENOPROTOOPT): Likewise.
49993         [POSIX] (ENOSR): Likewise.
49994         [POSIX] (ENOSTR): Likewise.
49995         [POSIX] (ENOTCONN): Likewise.
49996         [POSIX] (ENOTSOCK): Likewise.
49997         [POSIX] (EOPNOTSUPP): Likewise.
49998         [POSIX] (EOVERFLOW): Likewise.
49999         [POSIX] (EPROTO): Likewise.
50000         [POSIX] (EPROTONOSUPPORT): Likewise.
50001         [POSIX] (EPROTOTYPE): Likewise.
50002         [POSIX] (ESTALE): Likewise.
50003         [POSIX] (ETIME): Likewise.
50004         [POSIX] (ETXTBSY): Likewise.
50005         [POSIX] (EWOULDBLOCK): Likewise.
50006         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50007         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50008         [POSIX] (SEEK_CUR): Likewise.
50009         [POSIX] (SEEK_END): Likewise.
50010         [POSIX || UNIX98] (mode_t): Do not require.
50011         [POSIX] (off_t): Likewise.
50012         [POSIX] (pid_t): Likewise.
50013         [POSIX] (sys/stat.h): Do not allow header.
50014         [POSIX] (unistd.h): Likewise.
50015         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50016         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50017         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50018         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50019         require.
50020         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50021         sigevent): Specify elements.
50022         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50023         entry.
50024         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50025         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50027         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50028         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50029         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50030         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50031         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50032         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50033         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50034         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50035         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50036         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50037         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50038         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50039         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50040         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50041         Likewise.
50042         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50043         Likewise.
50044         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50045         Likewise.
50046         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50047         Likewise.
50048         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50049         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50050         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50051         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50052         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50053         Specify lower bound on value.
50054         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50055         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50056         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50057         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50058         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50059         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50060         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50061         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50062         value.
50063         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50064         as optional.
50065         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50066         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50067         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50068         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50069         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50070         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50071         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50072         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50073         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50074         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50075         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50076         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50077         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50078         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50079         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50080         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50081         entry.
50082         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50083         optional.
50084         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50085         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50086         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50087         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50088         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50089         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50090         Likewise.
50091         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50092         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50093         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50094         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50095         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50096         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50097         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50098         as optional.
50099         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50100         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50101         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50102         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50103         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50104         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50105         specify as optional.
50106         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50107         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50108         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50109         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50110         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50111         [XPG3] (NL_LANGMAX): Likewise.
50112         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50113         [POSIX || XPG3] (NL_NMAX): Likewise.
50114         [POSIX || XPG3] (NL_SETMAX): Likewise.
50115         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50116         [XPG3] (NZERO): Likewise.
50117         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50118         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50119         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50120         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50121         (REG_ERANGE): Expect.
50122         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50123         optional-constant.
50124         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50125         Use (void) in prototype.
50126         [POSIX] (*_t): Allow.
50127         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50128         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50129         (WRDE_BADVAL): Expect.
50131         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50132         expect.
50133         [XPG3 || XPG4] (O_RSYNC): Likewise.
50134         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50135         Likewise.
50136         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50137         [XPG3 || XPG4] (sigqueue): Likewise.
50138         [XPG3 || XPG4] (sigtimedwait): Likewise.
50139         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50140         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50141         [XPG3 || XPG4] (vsnprintf): Likewise.
50142         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50143         Likewise.
50144         [XPG3 || XPG4] (blksize_t): Likewise.
50145         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50146         Likewise.
50147         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50148         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50149         [XPG3 || XPG4] (struct itimerspec): Likewise.
50150         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50151         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50152         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50153         [XPG3 || XPG4] (clockid_t): Likewise.
50154         [XPG3 || XPG4] (timer_t): Likewise.
50155         [XPG3 || XPG4] (clock_getres): Likewise.
50156         [XPG3 || XPG4] (clock_gettime): Likewise.
50157         [XPG3 || XPG4] (clock_settime): Likewise.
50158         [XPG3 || XPG4] (nanosleep): Likewise.
50159         [XPG3 || XPG4] (timer_create): Likewise.
50160         [XPG3 || XPG4] (timer_delete): Likewise.
50161         [XPG3 || XPG4] (timer_gettime): Likewise.
50162         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50163         [XPG3 || XPG4] (timer_settime): Likewise.
50164         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50165         [XPG3 || XPG4] (getlogin_r): Likewise.
50166         [XPG3 || XPG4] (pread): Likewise.
50167         [XPG3 || XPG4] (pthread_atfork): Likewise.
50168         [XPG3 || XPG4] (pwrite): Likewise.
50170         [BZ #14835]
50171         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50172         <bits/siginfo.h>.
50174 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50176         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50177         finalizing MALLSTREAM.
50179         * sysdeps/mach/hurd/syncfs.c: New file.
50181 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50183         [BZ #14719]
50184         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50185         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50186         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50187         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50188         (_nss_dns_gethostbyname4_r): Likewise.
50189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50190         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50192 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50194         [BZ #13763]
50195         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50197 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50199         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50200         * elf/cache.c (print_entry): Print ",AArch64" for
50201         FLAG_AARCH64_LIB64
50203         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50204         * elf/cache.c (print_entry): Print ",hard-float" for
50205         FLAG_ARM_LIBHF.
50207 2012-11-18  David S. Miller  <davem@davemloft.net>
50209         With help from Joseph Myers.
50210         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50211         cutoff to 2**-13.
50212         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50213         cutoff to 2**-25.
50214         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50215         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50216         small.
50217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50218         * math/libm-test.inc (y0_test): New tests.
50219         (y1_test): New tests.
50220         * sysdeps/i386/fpu/libm-test-ulps: Update.
50221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50224 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50226         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50227         64-bit targets.
50228         * configure: Regenerated.
50230 2012-11-17  David S. Miller  <davem@davemloft.net>
50232         [BZ #14811]
50233         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50234         nonzero exponents with absolute value below 0x1p-128 to +/-
50235         0x1p-128.
50237 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50239         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50241         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50243         * posix/getconf-speclist.c: New file.
50244         * posix/posix-envs.def: Likewise.
50245         * posix/confstr.c (START_ENV_GROUP): New macro.
50246         (END_ENV_GROUP): Likewise.
50247         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50248         (KNOWN_PRESENT_ENV_STRING): Likewise.
50249         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50250         (UNKNOWN_ENVIRONMENT): Likewise.
50251         (confstr): Include posix-envs.def instead of handling
50252         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50253         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50254         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50255         (END_ENV_GROUP): Likewise.
50256         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50257         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50258         (UNKNOWN_ENVIRONMENT): Likewise.
50259         (__sysconf): Include posix-envs.def instead of handling associated
50260         cases directly here.
50261         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50262         preprocessing getconf-speclist.c rather than running getconf or
50263         generating empty file.
50265 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50267         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50269 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50271         [BZ #14672]
50272         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50274 2012-11-16  David S. Miller  <davem@davemloft.net>
50276         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50277         smaller than LDBL_EPSILON/2.0L, just return xm1.
50279 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50281         * elf/tst-array1.c (init): Set constructor priority to 1000.
50282         (fini): Set destructor priority to 1000.
50283         * elf/tst-array2dep.c: Likewise.
50285 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50287         [BZ #11741]
50288         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50289         (_IO_new_file_xsputn): Also return EOF if none of the input
50290         data was written when overflow failed.
50291         * libio/iopadn.c (_IO_padn): Likewise.
50292         * libio/iowpadn.c (_IO_wpadn): Likewise.
50293         * stdio-common/tst-put-error.c: Add copyright notice.
50294         (do_test): Add case for printing padded string.
50295         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50296         _IO_padn returned error.
50297         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50298         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50299         return EOF.
50301 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50303         * libio/libioP.h: Add comment note that the references to C++
50304         bits are now obsolete.
50306 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50308         * math/libm-test.inc (check_complex): Use asprintf.
50310 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50312         * debug/pcprofiledump.c (print_version): Update copyright year.
50313         * malloc/memusagestat.c (print_version): Likewise.
50315 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50317         [BZ #14831]
50318         * elf/Makefile (tests): Add tst-audit8.
50319         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50320         ($(objpfx)tst-audit8.out): New target.
50321         (tst-audit8-ENV): New variable.
50322         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50323         audit if l_reloc_result is NULL.
50324         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50325         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50326         * elf/tst-audit8.c: New file.
50328 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50330         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50331         * misc/Makefile (CFLAGS-select.c): Define.
50332         * posix/Makefile (CFLAGS-pause.c): Define.
50334 2012-11-13  David S. Miller  <davem@davemloft.net>
50336         * crypt/Makefile: Move test targets after toplevel Rules
50337         inclusion.  Grab any necessary sysdep routines when linking.
50338         * crypt/md5.c (md5_process_block): Remove define, we will always
50339         name it __md5_process_block.
50340         (md5_finish_ctx): Update md5_process_block call.
50341         (md5_stream): Likewise.
50342         (md5_process_bytes): Likewise.
50343         (md5_process_block): Rename to __md5_process_block and move to ...
50344         * crypt/md5-block.c: ... here.
50345         * crypt/sha256.c (sha256_process_block): Move to ...
50346         * crypt/sha256-block.c: ... here.
50347         * crypt/sha512.c (sha512_process_block): Move to ...
50348         * crypt/sha512-block.c: ... here.
50349         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50350         path.
50351         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50352         * sysdeps/sparc/sparc64/multiarch/Makefile
50353         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50354         crypt subdir.
50355         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50356         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50357         multiarch changes.
50358         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50359         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50360         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50361         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50362         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50363         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50364         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50365         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50366         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50367         file.
50368         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50370         file.
50371         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50373 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50375         * timezone/tzselect.ksh: Update from tzcode git revision
50376         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50377         * timezone/zdump.c: Likewise.
50378         * timezone/zic.c: Likewise.
50379         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50380         in TZVERSION setting, not $(PKGVERSION).
50381         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50382         REPORT_BUGS_TO settings.
50384         [BZ #14838]
50385         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50386         macro.
50388 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50390         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50391         detection to immediately after _FP_ROUND().
50392         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50393         bits are 0.
50395 2012-11-11  David S. Miller  <davem@davemloft.net>
50397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50398         inttypes.h
50399         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50400         __close rather than their public counterparts.
50402 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50404         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50405         file.
50406         [UNIX98] (sem_timedwait): Do not expect.
50407         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50408         [XPG4 || UNIX98] (sockatmark): Do not expect.
50409         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50410         (clock_getcpuclockid): Do not expect.
50411         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50412         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50413         Do not expect.
50414         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50415         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50416         [UNIX98] (vwscanf): Likewise.
50417         [UNIX98] (vswscanf): Likewise.
50419 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50421         * timezone/version.h: Remove file.
50422         * timezone/README: Do not refer to version.h.
50423         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50424         $(objpfx)version.h.
50425         ($(objpfx)zdump.o): Likewise.
50426         ($(objpfx)version.h): New target.
50428         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50429         2012i.
50430         * timezone/README: Don't mention modification to tzselect.ksh.
50431         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50432         work on unmodified tzselect.ksh.  Substitute version numbers in
50433         tzselect.ksh.
50435         * Makefile (format-me): Remove.
50436         (INSTALL): Adjust indentation.  Use commands directly instead of
50437         using $(format-me).
50439         * aclocal.m4 (ACX_PKGVERSION): New macro.
50440         (ACX_BUGURL): Likewise.
50441         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50442         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50443         (REPORT_BUGS_TO): Likewise.
50444         * configure: Regenerated.
50445         * config.h.in (PKGVERSION): New macro.
50446         (REPORT_BUGS_TO): Likewise.
50447         * config.make.in (PKGVERSION): New variable.
50448         (PKGVERSION_TEXI): Likewise.
50449         (REPORT_BUGS_TO): Likewise.
50450         (REPORT_BUGS_TEXI): Likewise.
50451         * Makefile (format-me): Use -I$(common-objpfx)manual.
50452         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50453         ($(common-objpfx)manual/%): New target.
50454         (manual/%): Remove target.
50455         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50456         (print_version): Use PKGVERSION.
50457         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50458         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50459         and REPORT_BUGS_TO.
50460         ($(objpfx)xtrace): Likewise.
50461         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50462         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50463         (print_version): Use PKGVERSION.
50464         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50465         (do_version): Use PKGVERSION.
50466         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50467         REPORT_BUGS_TO.
50468         (common-ldd-rewrite): Likewise.
50469         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50470         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50471         (print_version): Use PKGVERSION.
50472         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50473         * elf/pldd.c (argp_program_bug_address): Remove variable.
50474         (more_help): New function.
50475         (argp): Use more_help.
50476         (print_version): Use PKGVERSION.
50477         * elf/sln.c (main): Use PKGVERSION.
50478         (usage): Use REPORT_BUGS_TO.
50479         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50480         (top level): Use PKGVERSION.
50481         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50482         (print_version): Use PKGVERSION.
50483         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50484         (print_version): Use PKGVERSION.
50485         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50486         (print_version): Use PKGVERSION.
50487         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50488         (print_version): Use PKGVERSION.
50489         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50490         (print_version): Use PKGVERSION.
50491         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50492         (print_version): Use PKGVERSION.
50493         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50494         and BUGURL.
50495         ($(objpfx)memusage): Likewise.
50496         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50497         (do_version): Use PKGVERSION.
50498         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50499         (print_version): Use PKGVERSION.
50500         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50501         ($PKGVERSION): New variable.
50502         ($REPORT_BUGS_TO): Likewise.
50503         (usage): Use $REPORT_BUGS_TO.
50504         (top level): Use $PKGVERSION.
50505         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50506         ($(objpfx)pkgvers.texi): New rule.
50507         ($(objpfx)stamp-pkgvers): Likewise.
50508         * manual/install.texi: Include pkgvers.texi.
50509         (--with-pkgversion): Document new configure option.
50510         (--with-bugurl): Likewise.
50511         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50512         than necessarily for this particular distribution.  Use
50513         REPORT_BUGS_TO for where to report bugs.
50514         * INSTALL: Regenerated.
50515         * manual/libc.texinfo: Include pkgvers.texi.
50516         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50517         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50518         (print_version): Use PKGVERSION.
50519         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50520         (print_version): Use PKGVERSION.
50521         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50522         (print_version): Use PKGVERSION.
50523         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50524         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50525         macro.
50526         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50527         (print_version): Use PKGVERSION.
50528         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50529         (print_version): Use PKGVERSION.
50530         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50531         and PKGVERSION.
50533         * timezone/checktab.awk: Update from tzcode 2012i.
50534         * timezone/ialloc.c: Likewise.
50535         * timezone/private.h: Likewise.
50536         * timezone/scheck.c: Likewise.
50537         * timezone/tzfile.h: Likewise.
50538         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50539         (TZVERSION): Hardcode tzcode version number.
50540         * timezone/zdump.c: Update from tzcode 2012i.
50541         * timezone/zic.c: Likewise.
50542         * timezone/version.h: New file.
50543         * timezone/README: Describe version.h.  Update upstream location.
50545         [BZ #14824]
50546         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50547         (mktemp): Enable declaration.
50548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50550         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50552         Likewise.
50553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50554         Likewise.
50555         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50556         Likewise.
50557         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50558         Likewise.
50559         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50560         Likewise.
50561         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50562         Likewise.
50564         [BZ #14821]
50565         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50566         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50567         for copies of such integer values.
50568         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50569         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50571 2012-11-09  Andreas Jaeger  <aj@suse.de>
50573         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50574         definitions and declarations that are provided by
50575         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50577 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50579         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50580         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50581         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50582         definition.
50584 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50586         * elf/elf.h: Update comment before AArch64 relocations.
50588 2012-11-07  David S. Miller  <davem@davemloft.net>
50590         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50591         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50592         (__start_context): Declare.
50593         (__makecontext_ret): Delete.
50594         (__makecontext): Hook up __start_context instead of
50595         __makecontext_ret.
50596         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50597         (sysdep_routines): Add __start_context when in stdlib.
50599 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50601         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50602         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50603         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50604         hardcoded "nm".
50605         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50606         (READELF): New variable.  Use it instead of hardcoded "readelf".
50608 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50610         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50611         * sysdeps/x86/Makefile: Here.
50612         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50613         * sysdeps/x86/tst-xmmymm.sh: This.
50615 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50617         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50618         expectations.
50619         [UNIX98] (pthread_barrier_t): Do not expect.
50620         [UNIX98] (pthread_barrierattr_t): Likewise.
50621         [UNIX98] (pthread_spinlock_t): Likewise.
50622         [UNIX98] (pthread_barrier_destroy): Likewise.
50623         [UNIX98] (pthread_barrier_init): Likewise.
50624         [UNIX98] (pthread_barrier_wait): Likewise.
50625         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50626         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50627         [UNIX98] (pthread_barrierattr_init): Likewise.
50628         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50629         [UNIX98] (pthread_getcpuclockid): Likewise.
50630         [UNIX98] (pthread_mutex_timedlock): Likewise.
50631         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50632         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50633         [UNIX98] (pthread_sigmask): Likewise.
50634         [UNIX98] (pthread_spin_destroy): Likewise.
50635         [UNIX98] (pthread_spin_init): Likewise.
50636         [UNIX98] (pthread_spin_lock): Likewise.
50637         [UNIX98] (pthread_spin_trylock): Likewise.
50638         [UNIX98] (pthread_spin_unlock): Likewise.
50639         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50640         Do not expect.
50641         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50642         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50643         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50644         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50645         [XPG3 || XPG4] (pthread_key_t): Likewise.
50646         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50647         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50648         [XPG3 || XPG4] (pthread_once_t): Likewise.
50649         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50650         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50651         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50652         [XPG3 || XPG4] (pthread_t): Likewise.
50654         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50655         not expect.
50656         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50658         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50659         Change function return type to int.
50661         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50662         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50663         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50664         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50665         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50666         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50667         [!POSIX] (posix_madvise): Likewise.
50668         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50669         && !UNIX98].
50670         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50671         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50672         (mode_t): Likewise.
50673         (posix_mem_offset): Likewise.
50674         (posix_typed_mem_get_info): Likewise.
50675         (posix_typed_mem_open): Likewise.
50677         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50678         Change condition to [XOPEN2K8].
50680         * conform/conformtest.pl: Preprocess allow-header data with -x c
50681         instead of from stdin.
50682         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50683         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50684         [C99-based standards] (cerfc): Likewise.
50685         [C99-based standards] (cexp2): Likewise.
50686         [C99-based standards] (cexpm1): Likewise.
50687         [C99-based standards] (clog10): Likewise.
50688         [C99-based standards] (clog1p): Likewise.
50689         [C99-based standards] (clog2): Likewise.
50690         [C99-based standards] (clgamma): Likewise.
50691         [C99-based standards] (ctgamma): Likewise.
50692         [C99-based standards] (cerff): Likewise.
50693         [C99-based standards] (cerfcf): Likewise.
50694         [C99-based standards] (cexp2f): Likewise.
50695         [C99-based standards] (cexpm1f): Likewise.
50696         [C99-based standards] (clog10f): Likewise.
50697         [C99-based standards] (clog1pf): Likewise.
50698         [C99-based standards] (clog2f): Likewise.
50699         [C99-based standards] (clgammaf): Likewise.
50700         [C99-based standards] (ctgammaf): Likewise.
50701         [C99-based standards] (cerfl): Likewise.
50702         [C99-based standards] (cerfcl): Likewise.
50703         [C99-based standards] (cexp2l): Likewise.
50704         [C99-based standards] (cexpm1l): Likewise.
50705         [C99-based standards] (clog10l): Likewise.
50706         [C99-based standards] (clog1pl): Likewise.
50707         [C99-based standards] (clog2l): Likewise.
50708         [C99-based standards] (clgammal): Likewise.
50709         [C99-based standards] (ctgammal): Likewise.
50710         * conform/data/inttypes.h-data [C99-based standards]: Include
50711         stdint.h-data.  Remove all expectations for stdint.h contents.
50712         [C99-based standards] (PRI*): Do not allow.
50713         [C99-based standards] (SCN*): Likewise.
50714         [C99-based standards] (*_t): Likewise.
50715         [C99-based-standards] (PRId8): Expect macro.
50716         [C99-based-standards] (PRIi8): Likewise.
50717         [C99-based-standards] (PRIo8): Likewise.
50718         [C99-based-standards] (PRIu8): Likewise.
50719         [C99-based-standards] (PRIx8): Likewise.
50720         [C99-based-standards] (PRIX8): Likewise.
50721         [C99-based-standards] (SCNd8): Likewise.
50722         [C99-based-standards] (SCNi8): Likewise.
50723         [C99-based-standards] (SCNo8): Likewise.
50724         [C99-based-standards] (SCNu8): Likewise.
50725         [C99-based-standards] (SCNx8): Likewise.
50726         [C99-based-standards] (PRIdLEAST8): Likewise.
50727         [C99-based-standards] (PRIiLEAST8): Likewise.
50728         [C99-based-standards] (PRIoLEAST8): Likewise.
50729         [C99-based-standards] (PRIuLEAST8): Likewise.
50730         [C99-based-standards] (PRIxLEAST8): Likewise.
50731         [C99-based-standards] (PRIXLEAST8): Likewise.
50732         [C99-based-standards] (SCNdLEAST8): Likewise.
50733         [C99-based-standards] (SCNiLEAST8): Likewise.
50734         [C99-based-standards] (SCNoLEAST8): Likewise.
50735         [C99-based-standards] (SCNuLEAST8): Likewise.
50736         [C99-based-standards] (SCNxLEAST8): Likewise.
50737         [C99-based-standards] (PRIdFAST8): Likewise.
50738         [C99-based-standards] (PRIiFAST8): Likewise.
50739         [C99-based-standards] (PRIoFAST8): Likewise.
50740         [C99-based-standards] (PRIuFAST8): Likewise.
50741         [C99-based-standards] (PRIxFAST8): Likewise.
50742         [C99-based-standards] (PRIXFAST8): Likewise.
50743         [C99-based-standards] (SCNdFAST8): Likewise.
50744         [C99-based-standards] (SCNiFAST8): Likewise.
50745         [C99-based-standards] (SCNoFAST8): Likewise.
50746         [C99-based-standards] (SCNuFAST8): Likewise.
50747         [C99-based-standards] (SCNxFAST8): Likewise.
50748         [C99-based-standards] (PRId16): Likewise.
50749         [C99-based-standards] (PRIi16): Likewise.
50750         [C99-based-standards] (PRIo16): Likewise.
50751         [C99-based-standards] (PRIu16): Likewise.
50752         [C99-based-standards] (PRIx16): Likewise.
50753         [C99-based-standards] (PRIX16): Likewise.
50754         [C99-based-standards] (SCNd16): Likewise.
50755         [C99-based-standards] (SCNi16): Likewise.
50756         [C99-based-standards] (SCNo16): Likewise.
50757         [C99-based-standards] (SCNu16): Likewise.
50758         [C99-based-standards] (SCNx16): Likewise.
50759         [C99-based-standards] (PRIdLEAST16): Likewise.
50760         [C99-based-standards] (PRIiLEAST16): Likewise.
50761         [C99-based-standards] (PRIoLEAST16): Likewise.
50762         [C99-based-standards] (PRIuLEAST16): Likewise.
50763         [C99-based-standards] (PRIxLEAST16): Likewise.
50764         [C99-based-standards] (PRIXLEAST16): Likewise.
50765         [C99-based-standards] (SCNdLEAST16): Likewise.
50766         [C99-based-standards] (SCNiLEAST16): Likewise.
50767         [C99-based-standards] (SCNoLEAST16): Likewise.
50768         [C99-based-standards] (SCNuLEAST16): Likewise.
50769         [C99-based-standards] (SCNxLEAST16): Likewise.
50770         [C99-based-standards] (PRIdFAST16): Likewise.
50771         [C99-based-standards] (PRIiFAST16): Likewise.
50772         [C99-based-standards] (PRIoFAST16): Likewise.
50773         [C99-based-standards] (PRIuFAST16): Likewise.
50774         [C99-based-standards] (PRIxFAST16): Likewise.
50775         [C99-based-standards] (PRIXFAST16): Likewise.
50776         [C99-based-standards] (SCNdFAST16): Likewise.
50777         [C99-based-standards] (SCNiFAST16): Likewise.
50778         [C99-based-standards] (SCNoFAST16): Likewise.
50779         [C99-based-standards] (SCNuFAST16): Likewise.
50780         [C99-based-standards] (SCNxFAST16): Likewise.
50781         [C99-based-standards] (PRId32): Likewise.
50782         [C99-based-standards] (PRIi32): Likewise.
50783         [C99-based-standards] (PRIo32): Likewise.
50784         [C99-based-standards] (PRIu32): Likewise.
50785         [C99-based-standards] (PRIx32): Likewise.
50786         [C99-based-standards] (PRIX32): Likewise.
50787         [C99-based-standards] (SCNd32): Likewise.
50788         [C99-based-standards] (SCNi32): Likewise.
50789         [C99-based-standards] (SCNo32): Likewise.
50790         [C99-based-standards] (SCNu32): Likewise.
50791         [C99-based-standards] (SCNx32): Likewise.
50792         [C99-based-standards] (PRIdLEAST32): Likewise.
50793         [C99-based-standards] (PRIiLEAST32): Likewise.
50794         [C99-based-standards] (PRIoLEAST32): Likewise.
50795         [C99-based-standards] (PRIuLEAST32): Likewise.
50796         [C99-based-standards] (PRIxLEAST32): Likewise.
50797         [C99-based-standards] (PRIXLEAST32): Likewise.
50798         [C99-based-standards] (SCNdLEAST32): Likewise.
50799         [C99-based-standards] (SCNiLEAST32): Likewise.
50800         [C99-based-standards] (SCNoLEAST32): Likewise.
50801         [C99-based-standards] (SCNuLEAST32): Likewise.
50802         [C99-based-standards] (SCNxLEAST32): Likewise.
50803         [C99-based-standards] (PRIdFAST32): Likewise.
50804         [C99-based-standards] (PRIiFAST32): Likewise.
50805         [C99-based-standards] (PRIoFAST32): Likewise.
50806         [C99-based-standards] (PRIuFAST32): Likewise.
50807         [C99-based-standards] (PRIxFAST32): Likewise.
50808         [C99-based-standards] (PRIXFAST32): Likewise.
50809         [C99-based-standards] (SCNdFAST32): Likewise.
50810         [C99-based-standards] (SCNiFAST32): Likewise.
50811         [C99-based-standards] (SCNoFAST32): Likewise.
50812         [C99-based-standards] (SCNuFAST32): Likewise.
50813         [C99-based-standards] (SCNxFAST32): Likewise.
50814         [C99-based-standards] (PRId64): Likewise.
50815         [C99-based-standards] (PRIi64): Likewise.
50816         [C99-based-standards] (PRIo64): Likewise.
50817         [C99-based-standards] (PRIu64): Likewise.
50818         [C99-based-standards] (PRIx64): Likewise.
50819         [C99-based-standards] (PRIX64): Likewise.
50820         [C99-based-standards] (SCNd64): Likewise.
50821         [C99-based-standards] (SCNi64): Likewise.
50822         [C99-based-standards] (SCNo64): Likewise.
50823         [C99-based-standards] (SCNu64): Likewise.
50824         [C99-based-standards] (SCNx64): Likewise.
50825         [C99-based-standards] (PRIdLEAST64): Likewise.
50826         [C99-based-standards] (PRIiLEAST64): Likewise.
50827         [C99-based-standards] (PRIoLEAST64): Likewise.
50828         [C99-based-standards] (PRIuLEAST64): Likewise.
50829         [C99-based-standards] (PRIxLEAST64): Likewise.
50830         [C99-based-standards] (PRIXLEAST64): Likewise.
50831         [C99-based-standards] (SCNdLEAST64): Likewise.
50832         [C99-based-standards] (SCNiLEAST64): Likewise.
50833         [C99-based-standards] (SCNoLEAST64): Likewise.
50834         [C99-based-standards] (SCNuLEAST64): Likewise.
50835         [C99-based-standards] (SCNxLEAST64): Likewise.
50836         [C99-based-standards] (PRIdFAST64): Likewise.
50837         [C99-based-standards] (PRIiFAST64): Likewise.
50838         [C99-based-standards] (PRIoFAST64): Likewise.
50839         [C99-based-standards] (PRIuFAST64): Likewise.
50840         [C99-based-standards] (PRIxFAST64): Likewise.
50841         [C99-based-standards] (PRIXFAST64): Likewise.
50842         [C99-based-standards] (SCNdFAST64): Likewise.
50843         [C99-based-standards] (SCNiFAST64): Likewise.
50844         [C99-based-standards] (SCNoFAST64): Likewise.
50845         [C99-based-standards] (SCNuFAST64): Likewise.
50846         [C99-based-standards] (SCNxFAST64): Likewise.
50847         [C99-based-standards] (PRIdMAX): Likewise.
50848         [C99-based-standards] (PRIiMAX): Likewise.
50849         [C99-based-standards] (PRIoMAX): Likewise.
50850         [C99-based-standards] (PRIuMAX): Likewise.
50851         [C99-based-standards] (PRIxMAX): Likewise.
50852         [C99-based-standards] (PRIXMAX): Likewise.
50853         [C99-based-standards] (SCNdMAX): Likewise.
50854         [C99-based-standards] (SCNiMAX): Likewise.
50855         [C99-based-standards] (SCNoMAX): Likewise.
50856         [C99-based-standards] (SCNuMAX): Likewise.
50857         [C99-based-standards] (SCNxMAX): Likewise.
50858         [C99-based-standards] (PRIdPTR): Likewise.
50859         [C99-based-standards] (PRIiPTR): Likewise.
50860         [C99-based-standards] (PRIoPTR): Likewise.
50861         [C99-based-standards] (PRIuPTR): Likewise.
50862         [C99-based-standards] (PRIxPTR): Likewise.
50863         [C99-based-standards] (PRIXPTR): Likewise.
50864         [C99-based-standards] (SCNdPTR): Likewise.
50865         [C99-based-standards] (SCNiPTR): Likewise.
50866         [C99-based-standards] (SCNoPTR): Likewise.
50867         [C99-based-standards] (SCNuPTR): Likewise.
50868         [C99-based-standards] (SCNxPTR): Likewise.
50869         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50870         allow.
50871         * conform/data/stdint.h-data: Update comments to clarify
50872         requirements.
50873         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50874         type.
50875         [C99-based standards] (INT8_MAX): Likewise.
50876         [C99-based standards] (INT16_MIN): Likewise.
50877         [C99-based standards] (INT16_MAX): Likewise.
50878         [C99-based standards] (INT32_MIN): Likewise.
50879         [C99-based standards] (INT32_MAX): Likewise.
50880         [C99-based standards] (INT64_MIN): Likewise.
50881         [C99-based standards] (INT64_MAX): Likewise.
50882         [C99-based standards] (UINT8_MAX): Likewise.
50883         [C99-based standards] (UINT16_MAX): Likewise.
50884         [C99-based standards] (UINT32_MAX): Likewise.
50885         [C99-based standards] (UINT64_MAX): Likewise.
50886         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50887         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50888         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50889         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50890         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50891         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50892         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50893         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50894         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50895         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50896         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50897         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50898         [C99-based standards] (INT_FAST8_MIN): Likewise.
50899         [C99-based standards] (INT_FAST8_MAX): Likewise.
50900         [C99-based standards] (INT_FAST16_MIN): Likewise.
50901         [C99-based standards] (INT_FAST16_MAX): Likewise.
50902         [C99-based standards] (INT_FAST32_MIN): Likewise.
50903         [C99-based standards] (INT_FAST32_MAX): Likewise.
50904         [C99-based standards] (INT_FAST64_MIN): Likewise.
50905         [C99-based standards] (INT_FAST64_MAX): Likewise.
50906         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50907         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50908         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50909         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50910         [C99-based standards] (INTPTR_MIN): Likewise.
50911         [C99-based standards] (INTPTR_MAX): Likewise.
50912         [C99-based standards] (UINTPTR_MAX): Likewise.
50913         [C99-based standards] (INTMAX_MIN): Likewise.
50914         [C99-based standards] (INTMAX_MAX): Likewise.
50915         [C99-based standards] (UINTMAX_MAX): Likewise.
50916         [C99-based standards] (PTRDIFF_MIN): Likewise.
50917         [C99-based standards] (PTRDIFF_MAX): Likewise.
50918         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50919         [C99-based standards] (SIZE_MAX): Likewise.
50920         [C99-based standards] (WCHAR_MAX): Likewise.
50921         [C99-based standards] (WINT_MAX): Likewise.
50922         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50923         constraint on value.
50924         [C99-based standards] (WCHAR_MIN): Likewise.
50925         [C99-based standards] (WINT_MIN): Likewise.
50926         [C99-based standards] (*_t): Allow.
50927         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50928         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50929         Include math.h-data and complex.h-data.  Remove all expectations
50930         of math.h and complex.h contents.
50931         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50932         at end of line.
50933         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50934         (struct tm): Expect tag.
50935         [C99-based-standards] (wcstof): Expect function.
50936         [C99-based-standards] (wcstold): Likewise.
50937         [C99-based-standards] (wcstoll): Likewise.
50938         [C99-based-standards] (wcstoull): Likewise.
50939         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50940         macro-int-constant.  Specify type.
50941         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50942         constraint on value.
50943         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50944         Specify type.
50945         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50946         Specify value.
50947         [ISO C standards]: Do not allow headers.
50948         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50949         wcs[abcdefghijklmnopqrstuvwxyz]*.
50950         [ISO C standards] (*_t): Do not allow.
50951         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50952         Expect function.
50953         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50954         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50955         Specify type.
50956         [ISO C standards]: Do not allow headers.
50957         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50958         is[abcdefghijklmnopqrstuvwxyz]*.
50959         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50960         to[abcdefghijklmnopqrstuvwxyz]*.
50961         [ISO C standards] (*_t): Do not allow.
50962         * conform/data/stdalign.h-data: New file.
50963         * conform/data/stdbool.h-data: Likewise.
50964         * conform/data/stdnoreturn.h-data: Likewise.
50966 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50968         [BZ #14815]
50969         * manual/filesys.texi (Directory Entries): Typo fix.
50970         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50972 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50974         * elf/elf.h (EM_AARCH64): New macro.
50975         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50976         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50977         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50978         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50979         (R_AARCH64_TLSDESC): Likewise.
50980         (NT_ARM_TLS): Likewise.
50981         (NT_ARM_HW_BREAK): Likewise.
50982         (NT_ARM_HW_WATCH): Likewise.
50984 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50986         [BZ #14811]
50987         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50988         (__ieee754_powl): Saturate nonzero exponents with absolute value
50989         below 0x1p-79 to +/- 0x1p-79.
50990         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50991         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50992         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50993         nonzero exponents with absolute value below 0x1p-32 to +/-
50994         0x1p-32.
50995         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50996         (__ieee754_powl): Saturate nonzero exponents with absolute value
50997         below 0x1p-79 to +/- 0x1p-79.
50998         * math/libm-test.inc (pow_test): Add more tests.
51000 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51002         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51003         _dl_s390_cap_flags with kernel. Increase string length.
51004         (_dl_s390_platforms): Add z196 and zEC12.
51006 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51008         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51009         Change XOPEN21K to XOPEN2K.
51011 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51013         * string/memmove.c: Use memcpy when possible.
51015 2012-11-06  Andreas Jaeger  <aj@suse.de>
51017         * po/eo.po: Update from translation team.
51019 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51021         [BZ #14793]
51022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51023         exponent and small x and y exponents, scale x or y up.  Increase
51024         by 2 the exponent used in scaling up.
51025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51027         * math/libm-test.inc (fma_test): Add more tests.
51028         (fma_test_towardzero): Likewise.
51029         (fma_test_downward): Likewise.
51030         (fma_test_upward): Likewise.
51032 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51034         [BZ #14805]
51035         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51036         fenv_t *.
51038         [BZ #14801]
51039         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51040         namespace for names of struct fields.
51041         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51042         fenv_t fields.
51043         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51044         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51046 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51048         [BZ #3665]
51049         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51051 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51053         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51054         PTR_DEMANGLE.
51056         [BZ #5246]
51057         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51058         PTR_DEMANGLE.
51060 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51062         [BZ #14797]
51063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51064         definitely overflow as x * y not x * y + z.
51065         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51066         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51067         * math/libm-test.inc (fma_test): Add more tests.
51068         (fma_test_towardzero): Likewise.
51069         (fma_test_downward): Likewise.
51070         (fma_test_upward): Likewise.
51072 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51074         [BZ #157]
51076         * include/stub-tag.h: Remove file.
51077         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51078         '#include' of it.
51079         * manual/maint.texi (Porting): Don't reference it.
51080         * Makerules ($(objpfx)stubs): Likewise.
51081         * dirent/closedir.c: Don't include <stub-tag.h>.
51082         * dirent/dirfd.c: Likewise.
51083         * dirent/fdopendir.c: Likewise.
51084         * dirent/getdents.c: Likewise.
51085         * dirent/getdents64.c: Likewise.
51086         * dirent/opendir.c: Likewise.
51087         * dirent/readdir.c: Likewise.
51088         * dirent/readdir64.c: Likewise.
51089         * dirent/readdir64_r.c: Likewise.
51090         * dirent/readdir_r.c: Likewise.
51091         * dirent/rewinddir.c: Likewise.
51092         * dirent/seekdir.c: Likewise.
51093         * dirent/telldir.c: Likewise.
51094         * gmon/profil.c: Likewise.
51095         * grp/setgroups.c: Likewise.
51096         * inet/if_index.c: Likewise.
51097         * io/access.c: Likewise.
51098         * io/chdir.c: Likewise.
51099         * io/chmod.c: Likewise.
51100         * io/chown.c: Likewise.
51101         * io/close.c: Likewise.
51102         * io/dup.c: Likewise.
51103         * io/dup2.c: Likewise.
51104         * io/dup3.c: Likewise.
51105         * io/euidaccess.c: Likewise.
51106         * io/faccessat.c: Likewise.
51107         * io/fchdir.c: Likewise.
51108         * io/fchmod.c: Likewise.
51109         * io/fchmodat.c: Likewise.
51110         * io/fchown.c: Likewise.
51111         * io/fchownat.c: Likewise.
51112         * io/fcntl.c: Likewise.
51113         * io/flock.c: Likewise.
51114         * io/fstatfs.c: Likewise.
51115         * io/fstatfs64.c: Likewise.
51116         * io/fstatvfs.c: Likewise.
51117         * io/fstatvfs64.c: Likewise.
51118         * io/futimens.c: Likewise.
51119         * io/fxstat.c: Likewise.
51120         * io/fxstat64.c: Likewise.
51121         * io/fxstatat.c: Likewise.
51122         * io/fxstatat64.c: Likewise.
51123         * io/getcwd.c: Likewise.
51124         * io/isatty.c: Likewise.
51125         * io/lchmod.c: Likewise.
51126         * io/lchown.c: Likewise.
51127         * io/link.c: Likewise.
51128         * io/linkat.c: Likewise.
51129         * io/lseek.c: Likewise.
51130         * io/lseek64.c: Likewise.
51131         * io/lxstat64.c: Likewise.
51132         * io/mkdir.c: Likewise.
51133         * io/mkdirat.c: Likewise.
51134         * io/mkfifo.c: Likewise.
51135         * io/mkfifoat.c: Likewise.
51136         * io/open.c: Likewise.
51137         * io/open64.c: Likewise.
51138         * io/openat.c: Likewise.
51139         * io/openat64.c: Likewise.
51140         * io/pipe.c: Likewise.
51141         * io/pipe2.c: Likewise.
51142         * io/poll.c: Likewise.
51143         * io/posix_fadvise.c: Likewise.
51144         * io/posix_fadvise64.c: Likewise.
51145         * io/posix_fallocate.c: Likewise.
51146         * io/posix_fallocate64.c: Likewise.
51147         * io/read.c: Likewise.
51148         * io/readlink.c: Likewise.
51149         * io/readlinkat.c: Likewise.
51150         * io/rmdir.c: Likewise.
51151         * io/sendfile.c: Likewise.
51152         * io/sendfile64.c: Likewise.
51153         * io/statfs.c: Likewise.
51154         * io/statfs64.c: Likewise.
51155         * io/statvfs.c: Likewise.
51156         * io/statvfs64.c: Likewise.
51157         * io/symlink.c: Likewise.
51158         * io/symlinkat.c: Likewise.
51159         * io/ttyname.c: Likewise.
51160         * io/ttyname_r.c: Likewise.
51161         * io/umask.c: Likewise.
51162         * io/unlink.c: Likewise.
51163         * io/unlinkat.c: Likewise.
51164         * io/utime.c: Likewise.
51165         * io/utimensat.c: Likewise.
51166         * io/write.c: Likewise.
51167         * io/xmknod.c: Likewise.
51168         * io/xmknodat.c: Likewise.
51169         * io/xstat.c: Likewise.
51170         * io/xstat64.c: Likewise.
51171         * login/getpt.c: Likewise.
51172         * login/grantpt.c: Likewise.
51173         * login/unlockpt.c: Likewise.
51174         * math/e_acoshl.c: Likewise.
51175         * math/e_acosl.c: Likewise.
51176         * math/e_asinl.c: Likewise.
51177         * math/e_atan2l.c: Likewise.
51178         * math/e_atanhl.c: Likewise.
51179         * math/e_coshl.c: Likewise.
51180         * math/e_expl.c: Likewise.
51181         * math/e_fmodl.c: Likewise.
51182         * math/e_gammal_r.c: Likewise.
51183         * math/e_hypotl.c: Likewise.
51184         * math/e_j0l.c: Likewise.
51185         * math/e_j1l.c: Likewise.
51186         * math/e_jnl.c: Likewise.
51187         * math/e_lgammal_r.c: Likewise.
51188         * math/e_log10l.c: Likewise.
51189         * math/e_log2l.c: Likewise.
51190         * math/e_logl.c: Likewise.
51191         * math/e_powl.c: Likewise.
51192         * math/e_rem_pio2l.c: Likewise.
51193         * math/e_sinhl.c: Likewise.
51194         * math/e_sqrtl.c: Likewise.
51195         * math/fclrexcpt.c: Likewise.
51196         * math/fedisblxcpt.c: Likewise.
51197         * math/feenablxcpt.c: Likewise.
51198         * math/fegetenv.c: Likewise.
51199         * math/fegetexcept.c: Likewise.
51200         * math/fegetround.c: Likewise.
51201         * math/feholdexcpt.c: Likewise.
51202         * math/fesetenv.c: Likewise.
51203         * math/fesetround.c: Likewise.
51204         * math/feupdateenv.c: Likewise.
51205         * math/fgetexcptflg.c: Likewise.
51206         * math/fraiseexcpt.c: Likewise.
51207         * math/fsetexcptflg.c: Likewise.
51208         * math/ftestexcept.c: Likewise.
51209         * math/k_cosl.c: Likewise.
51210         * math/k_rem_pio2l.c: Likewise.
51211         * math/k_sinl.c: Likewise.
51212         * math/k_tanl.c: Likewise.
51213         * math/s_asinhl.c: Likewise.
51214         * math/s_atanl.c: Likewise.
51215         * math/s_cbrtl.c: Likewise.
51216         * math/s_erfl.c: Likewise.
51217         * math/s_expm1l.c: Likewise.
51218         * math/s_log1pl.c: Likewise.
51219         * math/s_tanhl.c: Likewise.
51220         * misc/acct.c: Likewise.
51221         * misc/brk.c: Likewise.
51222         * misc/chflags.c: Likewise.
51223         * misc/chroot.c: Likewise.
51224         * misc/fchflags.c: Likewise.
51225         * misc/fgetxattr.c: Likewise.
51226         * misc/flistxattr.c: Likewise.
51227         * misc/fremovexattr.c: Likewise.
51228         * misc/fsetxattr.c: Likewise.
51229         * misc/fsync.c: Likewise.
51230         * misc/ftruncate.c: Likewise.
51231         * misc/futimes.c: Likewise.
51232         * misc/futimesat.c: Likewise.
51233         * misc/getdomain.c: Likewise.
51234         * misc/getdtsz.c: Likewise.
51235         * misc/gethostid.c: Likewise.
51236         * misc/gethostname.c: Likewise.
51237         * misc/getloadavg.c: Likewise.
51238         * misc/getpagesize.c: Likewise.
51239         * misc/getsysstats.c: Likewise.
51240         * misc/getxattr.c: Likewise.
51241         * misc/gtty.c: Likewise.
51242         * misc/ioctl.c: Likewise.
51243         * misc/lgetxattr.c: Likewise.
51244         * misc/listxattr.c: Likewise.
51245         * misc/llistxattr.c: Likewise.
51246         * misc/lremovexattr.c: Likewise.
51247         * misc/lsetxattr.c: Likewise.
51248         * misc/lutimes.c: Likewise.
51249         * misc/madvise.c: Likewise.
51250         * misc/mincore.c: Likewise.
51251         * misc/mlock.c: Likewise.
51252         * misc/mlockall.c: Likewise.
51253         * misc/mmap.c: Likewise.
51254         * misc/mprotect.c: Likewise.
51255         * misc/msync.c: Likewise.
51256         * misc/munlock.c: Likewise.
51257         * misc/munlockall.c: Likewise.
51258         * misc/munmap.c: Likewise.
51259         * misc/preadv.c: Likewise.
51260         * misc/preadv64.c: Likewise.
51261         * misc/ptrace.c: Likewise.
51262         * misc/pwritev.c: Likewise.
51263         * misc/pwritev64.c: Likewise.
51264         * misc/readv.c: Likewise.
51265         * misc/reboot.c: Likewise.
51266         * misc/remap_file_pages.c: Likewise.
51267         * misc/removexattr.c: Likewise.
51268         * misc/revoke.c: Likewise.
51269         * misc/select.c: Likewise.
51270         * misc/setdomain.c: Likewise.
51271         * misc/setegid.c: Likewise.
51272         * misc/seteuid.c: Likewise.
51273         * misc/sethostid.c: Likewise.
51274         * misc/sethostname.c: Likewise.
51275         * misc/setregid.c: Likewise.
51276         * misc/setreuid.c: Likewise.
51277         * misc/setxattr.c: Likewise.
51278         * misc/sstk.c: Likewise.
51279         * misc/stty.c: Likewise.
51280         * misc/swapoff.c: Likewise.
51281         * misc/swapon.c: Likewise.
51282         * misc/sync.c: Likewise.
51283         * misc/syncfs.c: Likewise.
51284         * misc/syscall.c: Likewise.
51285         * misc/truncate.c: Likewise.
51286         * misc/ualarm.c: Likewise.
51287         * misc/usleep.c: Likewise.
51288         * misc/ustat.c: Likewise.
51289         * misc/utimes.c: Likewise.
51290         * misc/vhangup.c: Likewise.
51291         * misc/writev.c: Likewise.
51292         * posix/_exit.c: Likewise.
51293         * posix/alarm.c: Likewise.
51294         * posix/execve.c: Likewise.
51295         * posix/fexecve.c: Likewise.
51296         * posix/fork.c: Likewise.
51297         * posix/fpathconf.c: Likewise.
51298         * posix/getaddrinfo.c: Likewise.
51299         * posix/getegid.c: Likewise.
51300         * posix/geteuid.c: Likewise.
51301         * posix/getgid.c: Likewise.
51302         * posix/getgroups.c: Likewise.
51303         * posix/getlogin.c: Likewise.
51304         * posix/getlogin_r.c: Likewise.
51305         * posix/getpgid.c: Likewise.
51306         * posix/getpid.c: Likewise.
51307         * posix/getppid.c: Likewise.
51308         * posix/getresgid.c: Likewise.
51309         * posix/getresuid.c: Likewise.
51310         * posix/getsid.c: Likewise.
51311         * posix/getuid.c: Likewise.
51312         * posix/glob64.c: Likewise.
51313         * posix/nanosleep.c: Likewise.
51314         * posix/pathconf.c: Likewise.
51315         * posix/pause.c: Likewise.
51316         * posix/posix_madvise.c: Likewise.
51317         * posix/pread.c: Likewise.
51318         * posix/pread64.c: Likewise.
51319         * posix/pwrite.c: Likewise.
51320         * posix/pwrite64.c: Likewise.
51321         * posix/sched_getaffinity.c: Likewise.
51322         * posix/sched_getp.c: Likewise.
51323         * posix/sched_gets.c: Likewise.
51324         * posix/sched_primax.c: Likewise.
51325         * posix/sched_primin.c: Likewise.
51326         * posix/sched_rr_gi.c: Likewise.
51327         * posix/sched_setaffinity.c: Likewise.
51328         * posix/sched_setp.c: Likewise.
51329         * posix/sched_sets.c: Likewise.
51330         * posix/sched_yield.c: Likewise.
51331         * posix/setgid.c: Likewise.
51332         * posix/setlogin.c: Likewise.
51333         * posix/setpgid.c: Likewise.
51334         * posix/setresgid.c: Likewise.
51335         * posix/setresuid.c: Likewise.
51336         * posix/setsid.c: Likewise.
51337         * posix/setuid.c: Likewise.
51338         * posix/sleep.c: Likewise.
51339         * posix/spawni.c: Likewise.
51340         * posix/sysconf.c: Likewise.
51341         * posix/times.c: Likewise.
51342         * posix/wait.c: Likewise.
51343         * posix/wait3.c: Likewise.
51344         * posix/wait4.c: Likewise.
51345         * posix/waitpid.c: Likewise.
51346         * resolv/gai_sigqueue.c: Likewise.
51347         * resource/getpriority.c: Likewise.
51348         * resource/getrlimit.c: Likewise.
51349         * resource/getrusage.c: Likewise.
51350         * resource/nice.c: Likewise.
51351         * resource/setpriority.c: Likewise.
51352         * resource/setrlimit.c: Likewise.
51353         * resource/ulimit.c: Likewise.
51354         * rt/aio_cancel.c: Likewise.
51355         * rt/aio_fsync.c: Likewise.
51356         * rt/aio_read.c: Likewise.
51357         * rt/aio_sigqueue.c: Likewise.
51358         * rt/aio_suspend.c: Likewise.
51359         * rt/aio_write.c: Likewise.
51360         * rt/clock_getres.c: Likewise.
51361         * rt/clock_gettime.c: Likewise.
51362         * rt/clock_nanosleep.c: Likewise.
51363         * rt/clock_settime.c: Likewise.
51364         * rt/lio_listio.c: Likewise.
51365         * rt/mq_close.c: Likewise.
51366         * rt/mq_getattr.c: Likewise.
51367         * rt/mq_notify.c: Likewise.
51368         * rt/mq_open.c: Likewise.
51369         * rt/mq_receive.c: Likewise.
51370         * rt/mq_send.c: Likewise.
51371         * rt/mq_setattr.c: Likewise.
51372         * rt/mq_timedreceive.c: Likewise.
51373         * rt/mq_timedsend.c: Likewise.
51374         * rt/mq_unlink.c: Likewise.
51375         * rt/shm_open.c: Likewise.
51376         * rt/shm_unlink.c: Likewise.
51377         * rt/timer_create.c: Likewise.
51378         * rt/timer_delete.c: Likewise.
51379         * rt/timer_getoverr.c: Likewise.
51380         * rt/timer_gettime.c: Likewise.
51381         * rt/timer_settime.c: Likewise.
51382         * setjmp/__longjmp.c: Likewise.
51383         * setjmp/setjmp.c: Likewise.
51384         * signal/kill.c: Likewise.
51385         * signal/killpg.c: Likewise.
51386         * signal/raise.c: Likewise.
51387         * signal/sigaction.c: Likewise.
51388         * signal/sigaltstack.c: Likewise.
51389         * signal/sigblock.c: Likewise.
51390         * signal/sigignore.c: Likewise.
51391         * signal/sigintr.c: Likewise.
51392         * signal/signal.c: Likewise.
51393         * signal/sigpause.c: Likewise.
51394         * signal/sigpending.c: Likewise.
51395         * signal/sigqueue.c: Likewise.
51396         * signal/sigreturn.c: Likewise.
51397         * signal/sigset.c: Likewise.
51398         * signal/sigsetmask.c: Likewise.
51399         * signal/sigstack.c: Likewise.
51400         * signal/sigsuspend.c: Likewise.
51401         * signal/sigtimedwait.c: Likewise.
51402         * signal/sigvec.c: Likewise.
51403         * signal/sigwait.c: Likewise.
51404         * signal/sigwaitinfo.c: Likewise.
51405         * signal/sysv_signal.c: Likewise.
51406         * socket/accept.c: Likewise.
51407         * socket/accept4.c: Likewise.
51408         * socket/bind.c: Likewise.
51409         * socket/connect.c: Likewise.
51410         * socket/getpeername.c: Likewise.
51411         * socket/getsockname.c: Likewise.
51412         * socket/getsockopt.c: Likewise.
51413         * socket/isfdtype.c: Likewise.
51414         * socket/listen.c: Likewise.
51415         * socket/recv.c: Likewise.
51416         * socket/recvfrom.c: Likewise.
51417         * socket/recvmsg.c: Likewise.
51418         * socket/send.c: Likewise.
51419         * socket/sendmsg.c: Likewise.
51420         * socket/sendto.c: Likewise.
51421         * socket/setsockopt.c: Likewise.
51422         * socket/shutdown.c: Likewise.
51423         * socket/sockatmark.c: Likewise.
51424         * socket/socket.c: Likewise.
51425         * socket/socketpair.c: Likewise.
51426         * stdio-common/ctermid.c: Likewise.
51427         * stdio-common/cuserid.c: Likewise.
51428         * stdio-common/remove.c: Likewise.
51429         * stdio-common/rename.c: Likewise.
51430         * stdio-common/renameat.c: Likewise.
51431         * stdio-common/tempname.c: Likewise.
51432         * stdlib/getcontext.c: Likewise.
51433         * stdlib/makecontext.c: Likewise.
51434         * stdlib/setcontext.c: Likewise.
51435         * stdlib/swapcontext.c: Likewise.
51436         * stdlib/system.c: Likewise.
51437         * streams/fattach.c: Likewise.
51438         * streams/fdetach.c: Likewise.
51439         * streams/getmsg.c: Likewise.
51440         * streams/getpmsg.c: Likewise.
51441         * streams/putmsg.c: Likewise.
51442         * streams/putpmsg.c: Likewise.
51443         * sysdeps/unix/bsd/getpt.c: Likewise.
51444         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51445         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51446         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51448         Likewise.
51449         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51450         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51451         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51452         * sysvipc/msgctl.c: Likewise.
51453         * sysvipc/msgget.c: Likewise.
51454         * sysvipc/msgrcv.c: Likewise.
51455         * sysvipc/msgsnd.c: Likewise.
51456         * sysvipc/semctl.c: Likewise.
51457         * sysvipc/semget.c: Likewise.
51458         * sysvipc/semop.c: Likewise.
51459         * sysvipc/semtimedop.c: Likewise.
51460         * sysvipc/shmat.c: Likewise.
51461         * sysvipc/shmctl.c: Likewise.
51462         * sysvipc/shmdt.c: Likewise.
51463         * sysvipc/shmget.c: Likewise.
51464         * termios/tcdrain.c: Likewise.
51465         * termios/tcflow.c: Likewise.
51466         * termios/tcflush.c: Likewise.
51467         * termios/tcgetattr.c: Likewise.
51468         * termios/tcgetpgrp.c: Likewise.
51469         * termios/tcsendbrk.c: Likewise.
51470         * termios/tcsetattr.c: Likewise.
51471         * termios/tcsetpgrp.c: Likewise.
51472         * time/adjtime.c: Likewise.
51473         * time/clock.c: Likewise.
51474         * time/getitimer.c: Likewise.
51475         * time/gettimeofday.c: Likewise.
51476         * time/setitimer.c: Likewise.
51477         * time/settimeofday.c: Likewise.
51478         * time/stime.c: Likewise.
51479         * time/time.c: Likewise.
51481 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51483         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51484         /usr/old/bin.
51486         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51487         instead of spaces.
51488         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51490 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51492         [BZ #14796]
51493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51494         FE_TONEAREST before applying Dekker multiplication and Knuth
51495         addition.  Clear inexact exceptions and check for exact zero
51496         results afterwards.
51497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51499         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51500         * math/libm-test.inc (fma_test): Add more tests.
51501         (fma_test_towardzero): Likewise.
51502         (fma_test_downward): Likewise.
51503         (fma_test_upward): Likewise.
51504         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51505         function.
51506         (libc_fesetround): New macro.
51507         (libc_fesetroundf): Likewise.
51508         (libc_fesetroundl): Likewise.
51509         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51510         function.
51511         (libc_fesetround_387): Likewise.
51512         (libc_fesetroundf): New macro.
51513         (libc_fesetround): Likewise.
51514         (libc_fesetroundl): Likewise.
51515         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51516         function.
51517         (libc_fesetroundf): New macro.
51518         (libc_fesetround): Likewise.
51519         (libc_fesetroundl): Likewise.
51520         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51521         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51522         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51523         libm_hidden_ver.
51524         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51525         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51526         libm_hidden_def.
51527         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51528         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51529         libm_hidden_ver.
51530         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51531         libm_hidden_def.
51533         [BZ #3439]
51534         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51535         integer constant usable in #if and use that to give value to enum
51536         constant.
51537         (FE_DIVBYZERO): Likewise.
51538         (FE_UNDERFLOW): Likewise.
51539         (FE_OVERFLOW): Likewise.
51540         (FE_INVALID): Likewise.
51541         (FE_INVALID_SNAN): Likewise.
51542         (FE_INVALID_ISI): Likewise.
51543         (FE_INVALID_IDI): Likewise.
51544         (FE_INVALID_ZDZ): Likewise.
51545         (FE_INVALID_IMZ): Likewise.
51546         (FE_INVALID_COMPARE): Likewise.
51547         (FE_INVALID_SOFTWARE): Likewise.
51548         (FE_INVALID_SQRT): Likewise.
51549         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51550         (FE_TONEAREST): Likewise.
51551         (FE_TOWARDZERO): Likewise.
51552         (FE_UPWARD): Likewise.
51553         (FE_DOWNWARD): Likewise.
51554         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51555         (FE_DIVBYZERO): Likewise.
51556         (FE_OVERFLOW): Likewise.
51557         (FE_UNDERFLOW): Likewise.
51558         (FE_INEXACT): Likewise.
51559         (FE_TONEAREST): Likewise.
51560         (FE_DOWNWARD): Likewise.
51561         (FE_UPWARD): Likewise.
51562         (FE_TOWARDZERO): Likewise.
51563         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51564         (FE_UNDERFLOW): Likewise.
51565         (FE_OVERFLOW): Likewise.
51566         (FE_DIVBYZERO): Likewise.
51567         (FE_INVALID): Likewise.
51568         (FE_TONEAREST): Likewise.
51569         (FE_TOWARDZERO): Likewise.
51570         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51571         (FE_OVERFLOW): Likewise.
51572         (FE_UNDERFLOW): Likewise.
51573         (FE_DIVBYZERO): Likewise.
51574         (FE_INEXACT): Likewise.
51575         (FE_TONEAREST): Likewise.
51576         (FE_TOWARDZERO): Likewise.
51577         (FE_UPWARD): Likewise.
51578         (FE_DOWNWARD): Likewise.
51579         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51580         (FE_DIVBYZERO): Likewise.
51581         (FE_OVERFLOW): Likewise.
51582         (FE_UNDERFLOW): Likewise.
51583         (FE_INEXACT): Likewise.
51584         (FE_TONEAREST): Likewise.
51585         (FE_DOWNWARD): Likewise.
51586         (FE_UPWARD): Likewise.
51587         (FE_TOWARDZERO): Likewise.
51589 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51591         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51593 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51595         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51596         commands.  Quote $PWD.
51597         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51598         -x" by "export".
51599         (remove_newlines): Remove.
51601 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51603         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51604         * stdlib/stdlib.h (atof): Moved to ...
51605         * include/bits/stdlib-float.h: Here.  New file.
51606         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51607         * stdlib/bits/stdlib-float.h: New file.
51608         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51609         -mno-sse -mno-mmx.
51610         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51611         <xmmintrin.h>.
51613 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51615         * conform/conformtest.pl (@headers): Add fenv.h.
51616         * conform/data/fenv.h-data: New file.
51617         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51618         include of <math/fenv.h>.
51620         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51621         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51622         && !UNIX98].  Enables tests for XOPEN2K8.
51623         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51624         POSIX2008]: Likewise.
51626         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51627         (struct rusage): Do not expect type or its members.
51629         [BZ #3439]
51630         * math/math.h (FP_NAN): Define macro to integer constant usable in
51631         #if and use that to give value to enum constant.
51632         (FP_INFINITE): Likewise.
51633         (FP_ZERO): Likewise.
51634         (FP_SUBNORMAL): Likewise.
51635         (FP_NORMAL): Likewise.
51637 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51639         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51640         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51641         arguments.
51643 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51645         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51646         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51647         autoconf-time if not.
51648         * configure.in: Remove AC_PREREQ.
51650 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51652         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51653         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51654         of the internal implementation.
51656 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51658         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51659         except include of <misc/sys/syslog.h>.
51661 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51664         function returns with a NULL context exit with zero.
51666 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51668         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51670 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51672         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51673         (run_program_cmd): This.
51674         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51675         (tst_langinfo): New variable.  Use it.
51677 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51679         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51680         floating point opcodes.
51682 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51684         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51685         variable.
51687         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51689         * sysdeps/mach/hurd/powerpc: Remove directory.
51690         * sysdeps/mach/powerpc: Likewise.
51692 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51694         * scripts/check-local-headers.sh: Ignore c++ headers.
51696 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51698         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51699         __libc_cleanup_region_start argument.
51701 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51703         [BZ #14784]
51704         [BZ #14785]
51705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51706         x * y using scaling, not as x * y + z.
51707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51709         * math/libm-test.inc (fma_test): Add more tests.
51710         (fma_test_towardzero): Likewise.
51711         (fma_test_downward): Likewise.
51712         (fma_test_upward): Likewise.
51714 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51716         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51718 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51720         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51721         New variable.
51723 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51725         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51727 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51730         Fix sort order.
51731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51732         Likewise.
51734 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51737         Fix the order of the list for glibc 2.17.
51738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51739         Likewise.
51741 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51745 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51747         [BZ #14610]
51748         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51749         for low part of x being zero before using __atanl (y).
51750         * math/libm-test.inc (atan2_test): Add another test.
51752         * manual/install.texi (Configuring and compiling): Document
51753         general use of test-wrapper and test-wrapper-env.
51754         * INSTALL: Regenerated.
51756         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51757         (__fma): Do not extract and scale down low bits on after-rounding
51758         systems when result rounded to normal precision would have normal
51759         exponent.
51760         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51761         (__fmal): Do not extract and scale down low bits on after-rounding
51762         systems when result rounded to normal precision would have normal
51763         exponent.
51764         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51765         (__fmal): Do not extract and scale down low bits on after-rounding
51766         systems when result rounded to normal precision would have normal
51767         exponent.
51768         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51769         macro.
51770         (fma_test): Add more tests.
51771         (fma_test_towardzero): Likewise.
51772         (fma_test_downward): Likewise.
51773         (fma_test_upward): Likewise.
51775 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51777         * sysdeps/i386/tininess.h: Renamed to ...
51778         * sysdeps/x86/tininess.h: This.
51779         * sysdeps/x86_64/tininess.h: Removed.
51781 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51783         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51784         input.  Use $(build-program-cmd).
51785         ($(objpfx)tst-array1-static.out): Likewise.
51786         ($(objpfx)tst-array2.out): Likewise.
51787         ($(objpfx)tst-array3.out): Likewise.
51788         ($(objpfx)tst-array4.out): Likewise.
51789         ($(objpfx)tst-array5.out): Likewise.
51790         ($(objpfx)tst-array5-static.out): Likewise.
51792 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51794         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51795         if defined.
51797         * nss/nsswitch.h (nss_interface_function): Provide new
51798         macro for use with NSS functions.
51799         * grp/initgroups.c: Use new macro.
51800         * nss/getXXbyYY.c: Likewise.
51801         * nss/getXXbyYY_r.c: Likewise.
51802         * nss/getXXent.c: Likewise.
51803         * nss/getXXent_r.c: Likewise.
51804         * sysdeps/posix/getaddrinfo.c: Likewise.
51806 2012-10-30  Andreas Jaeger  <aj@suse.de>
51808         * po/ru.po: Update Russion translation from translation project.
51810 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51812         [BZ #14152]
51813         [BZ #14783]
51814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51815         result and shift together with sticky bit instead of replicating
51816         round-to-nearest rounding.
51817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51818         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51819         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51820         missing underflow exceptions.
51821         (fma_test_towardzero): Add more tests.
51822         (fma_test_downward): Likewise.
51823         (fma_test_upward): Likewise.
51825         [BZ #14047]
51826         * sysdeps/generic/tininess.h: New file.
51827         * sysdeps/i386/tininess.h: Likewise.
51828         * sysdeps/sh/tininess.h: Likewise.
51829         * sysdeps/x86_64/tininess.h: Likewise.
51830         * stdlib/tst-strtod-underflow.c: Likewise.
51831         * stdlib/tst-tininess.c: Likewise.
51832         * stdlib/strtod_l.c: Include <tininess.h>.
51833         (round_and_return): Do not set errno for exact underflow cases.
51834         Force an underflow exception when setting errno for underflow.
51835         Determine underflow based on rounding to normal precision if
51836         TININESS_AFTER_ROUNDING.
51837         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51838         ERANGE for exact underflow cases.
51839         * stdlib/Makefile (tests): Add tst-tininess and
51840         tst-strtod-underflow.
51841         ($(objpfx)tst-tininess): Use $(link-libm).
51842         ($(objpfx)tst-strtod-underflow): Likewise.
51844 2012-10-30  Andreas Jaeger  <aj@suse.de>
51846         [BZ#14767]
51847         * elf/Makefile (tests): Remove conditional for have-initfini-array
51848         since this is now always required and the variable does not exist
51849         anymore.
51850         (tests-static): Likewise.
51851         (modules-names): Likewise.
51853         * po/eo.po: Add Esperanto translation from translation project.
51855         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51856         merged with constructor/destructor.
51857         (init_array): Likewise.
51858         * elf/tst-array2dep.c (fini_array): Likewise.
51859         (init_array): Likewise.
51861 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51863         * manual/message.texi: Delete @cartouche tags.
51865 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51867         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51868         EOPNOTSUPP.
51869         * sysdeps/mach/hurd/fsync.c: Likewise.
51871         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51872         [_POSIX_REALTIME_SIGNALS]: Change condition to
51873         [_POSIX_REALTIME_SIGNALS > 0].
51875 2012-10-27  Andreas Jaeger  <aj@suse.de>
51877         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51878         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51880         [__WORDSIZE != 64]: Likewise.
51882 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51884         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51885         *  iconvdata/tst-tables.sh: Likewise.
51887 2012-10-25  David S. Miller  <davem@davemloft.net>
51889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51890         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51891         of strtoull.
51893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51894         ifunc-impl-list.c
51895         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51896         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51897         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51898         file.
51900 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51903         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51904         __getdirentries.
51906 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51907             Jim Blandy  <jimb@codesourcery.com>
51909         * scripts/cross-test-ssh.sh: New file.
51910         * manual/install.texi (Configuring and compiling): Document use of
51911         cross-test-ssh.sh.
51912         * INSTALL: Regenerated.
51914 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51916         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51917         EOPNOTSUPP.
51919 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51921         * Makeconfig (run-program-prefix): Fix comment.
51923 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51924             Jim Blandy  <jimb@codesourcery.com>
51926         * Makeconfig (test-wrapper): New variable,
51927         (test-wrapper-env): Likewise.
51928         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51929         (run-built-tests): Define to yes.
51930         (run-program-prefix): Use $(test-wrapper).
51931         (built-program-cmd): Likewise.
51932         * Rules (make-test-out): Use $(test-wrapper-env) and
51933         $(host-built-program-cmd).
51934         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51935         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51936         tst-pathopt.sh.
51937         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51938         $(test-wrapper-env) to tst-rtld-load-self.sh.
51939         ($(objpfx)order2.out): Use $(test-wrapper).
51940         ($(objpfx)tst-initorder.out): Likewise.
51941         ($(objpfx)tst-initorder2.out): Likewise.
51942         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51943         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51944         (test_wrapper_env): New variable.  Use it to run ld.so.
51945         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51946         Use it to run ld.so.
51947         (test_wrapper_env): Likewise.
51948         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51949         $(test-wrapper) to run-iconv-test.sh.
51950         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51951         (ICONV): Use $test_wrapper.
51952         * posix/Makefile ($(objpfx)globtest.out): Pass
51953         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51954         globtest.sh, not $(run-program-prefix).
51955         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51956         (test_wrapper): Likewise.
51957         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51958         set together with run_via_rtld_prefix.
51959         (run_program_prefix): Define in terms of test_wrapper and
51960         run_via_rtld_prefix.
51962 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51964         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51965         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51966         Targets removed.
51968         [BZ #14743]
51969         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51970         Declare __clock_getres, __clock_gettime, __clock_settime,
51971         __clock_nanosleep, and __clock_getcpuclockid.
51972         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51973         Remove librt_hidden_def (clock_gettime).
51974         * sysdeps/unix/clock_gettime.c: Likewise.
51975         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51976         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51977         * rt/clock_getres.c: Define __clock_getres as an alias.
51978         * sysdeps/posix/clock_getres.c: Likewise.
51979         * rt/clock_settime.c: Define __clock_settime as an alias.
51980         * sysdeps/unix/clock_settime.c: Likewise.
51981         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51982         * sysdeps/unix/clock_nanosleep.c: Likewise.
51983         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51984         * rt/clock-compat.c: New file.
51985         * rt/Makefile (librt-routines): Add clock-compat and move
51986         $(clock-routines) to ...
51987         (routines): ... here, new variable.
51988         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51989         Don't add get_clockfreq here.
51990         * rt/Versions (libc: GLIBC_2.17): New version set.
51991         Add clock_* symbols here.
51992         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51993         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51994         (GLIBC_2.17): Add clock_* symbols.
51995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51999         Likewise.
52000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52001         Likewise.
52002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52006         * NEWS: Mention the move.
52008         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52009         Use __open, __read, __close rather than their public counterparts.
52010         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52011         (__get_clockfreq_via_cpuinfo): Likewise.
52012         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52013         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52015         * config.h.in (HAVE_IFUNC): New #undef.
52016         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52017         was successful.
52018         * configure: Regenerated.
52020 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52022         * configure.in: Move READELF check to start of file.
52023         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52024         libc_cv_asm_gnu_indirect_function in the process.
52025         * configure: Regenerated.
52027 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52029         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52030         send the output to /dev/null.
52031         (libc_cv_cc_with_libunwind): Likewise.
52032         (libc_cv_as_noexecstack): Likewise.
52033         * configure: Regenerate.
52035 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52037         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52039         * posix/globtest.sh (TMPDIR): Do not set.
52040         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52041         (testout): Likewise.
52043 2012-10-24  Andreas Jaeger  <aj@suse.de>
52045         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52046         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52047         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52048         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52049         posix_fadvise64, posix_fallocate64.
52051         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52052         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52053         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52054         Likewise.
52055         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52056         Likewise.
52057         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52060         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52061         <bits/fcntl-linux.h>.
52062         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52065         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52066         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52067         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52068         [__WORDSIZE != 64]: Likewise.
52070 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52072         * Makeconfig (run-built-tests): New variable.
52073         * Rules [$(cross-compiling) = yes]: Change condition to
52074         [$(run-built-tests) = no].
52075         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52076         to [$(run-built-tests) = yes].
52077         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52078         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52079         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52080         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52081         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52082         * io/Makefile [$(cross-compiling) = no]: Likewise.
52083         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52084         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52085         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52086         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52087         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52088         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52089         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52090         * string/Makefile [$(cross-compiling) = no]: Likewise.
52092         * posix/Makefile ($(objpfx)globtest.out): Pass
52093         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52094         $(rtld-installed-name).
52095         * posix/globtest.sh (elf_objpfx): Remove variable.
52096         (rtld_installed_name): Likewise.
52097         (library_path): Likewise.
52098         (run_program_prefix): New variable.  Use for running globtest
52099         binary.
52101 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52102             Joseph Myers  <joseph@codesourcery.com>
52104         * Makeconfig (host-built-program-cmd): New variable.
52105         * elf/Makefile (tst-stackguard1-ARGS): Use
52106         $(host-built-program-cmd).
52107         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52108         (tst-spawn-ARGS): Likewise.
52109         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52111 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52112             Jim Blandy  <jimb@codesourcery.com>
52114         * Makeconfig (run-via-rtld-prefix): New variable.
52115         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52116         (built-program-cmd): Likewise.
52118 2012-10-22  Andreas Jaeger  <aj@suse.de>
52120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52121         __O_RSYNC if it exists, otherwise to O_SYNC.
52123 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52124             Joseph Myers  <joseph@codesourcery.com>
52126         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52127         /dev/null.
52128         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52129         from /dev/null
52130         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52131         /dev/null.
52133 2012-10-22  Andreas Jaeger  <aj@suse.de>
52135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52136         Define always.
52137         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52140         bits/fcntl-linux.h.
52142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52143         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52146         to __O_LARGEFILE.
52147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52148         to __O_LARGEFILE.
52150 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52151             Joseph Myers  <joseph@codesourcery.com>
52153         * config.make.in (NM): New variable.
52155 2012-10-21  Andreas Jaeger  <aj@suse.de>
52157         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52158         definitions and declarations that are provided by
52159         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52161 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52163         [BZ #14683]
52164         * elf/Makefile (tests-static): Add tst-leaks1-static.
52165         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52166         ($(objpfx)tst-leaks1-static): New rule.
52167         ($(objpfx)tst-leaks1-static-mem): Likewise.
52168         (tst-leaks1-static-ENV): New macro.
52169         * elf/dl-open.c (dl_open_worker): Check the main application
52170         only if SHARED is defined.
52171         * elf/tst-leaks1-static.c: New file.
52173 2012-10-20  Andreas Jaeger  <aj@suse.de>
52175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52176         generic values for Linux.
52177         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52178         and declarations that are provided by <bits/fcntl-linux.h> and
52179         include <bits/fcntl-linux.h>.
52180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52183 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52185         * io/fcntl.h: Move include of <bits/types.h> to the top and
52186         include it unconditionally.
52188 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52190         * wcsmbs/Makefile (tests-ifunc): New variable.
52191         (tests): Add $(tests-ifunc).
52192         * wcsmbs/test-wcschr-ifunc.c: New file.
52193         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52194         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52195         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52196         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52197         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52199         * string/Makefile (tests-ifunc): New variable.
52200         (tests): Add $(tests-ifunc).
52201         * string/test-memccpy.c (TEST_NAME): New macro.
52202         * string/test-memchr.c (TEST_NAME): Likewise.
52203         * string/test-memcmp.c (TEST_NAME): Likewise.
52204         * string/test-memcpy.c (TEST_NAME): Likewise.
52205         * string/test-memmem.c (TEST_NAME): Likewise.
52206         * string/test-memmove.c (TEST_NAME): Likewise.
52207         * string/test-memset.c (TEST_NAME): Likewise.
52208         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52209         * string/test-stpcpy.c (TEST_NAME): Likewise.
52210         * string/test-stpncpy.c (TEST_NAME): Likewise.
52211         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52212         * string/test-strcasestr.c (TEST_NAME): Likewise.
52213         * string/test-strcat.c (TEST_NAME): Likewise.
52214         * string/test-strchr.c (TEST_NAME): Likewise.
52215         * string/test-strcmp.c(TEST_NAME): Likewise.
52216         * string/test-strcpy.c (TEST_NAME): Likewise.
52217         * string/test-strcspn.c (TEST_NAME): Likewise.
52218         * string/test-strlen.c (TEST_NAME): Likewise.
52219         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52220         * string/test-strncmp.c (TEST_NAME): Likewise.
52221         * string/test-strncpy.c (TEST_NAME): Likewise.
52222         * string/test-strnlen.c (TEST_NAME): Likewise.
52223         * string/test-strpbrk.c (TEST_NAME): Likewise.
52224         * string/test-strrchr.c (TEST_NAME): Likewise.
52225         * string/test-strspn.c (TEST_NAME): Likewise.
52226         * string/test-strstr.c (TEST_NAME): Likewise.
52227         * string/test-bcopy-ifunc.c: New file.
52228         * string/test-bzero-ifunc.c: Likewise.
52229         * string/test-memccpy-ifunc.c: Likewise.
52230         * string/test-memchr-ifunc.c: Likewise.
52231         * string/test-memcmp-ifunc.c: Likewise.
52232         * string/test-memcpy-ifunc.c: Likewise.
52233         * string/test-memmem-ifunc.c: Likewise.
52234         * string/test-memmove-ifunc.c: Likewise.
52235         * string/test-mempcpy-ifunc.c: Likewise.
52236         * string/test-memset-ifunc.c: Likewise.
52237         * string/test-rawmemchr-ifunc.c: Likewise.
52238         * string/test-stpcpy-ifunc.c: Likewise.
52239         * string/test-stpncpy-ifunc.c: Likewise.
52240         * string/test-strcasecmp-ifunc.c: Likewise.
52241         * string/test-strcasestr-ifunc.c: Likewise.
52242         * string/test-strcat-ifunc.c: Likewise.
52243         * string/test-strchr-ifunc.c: Likewise.
52244         * string/test-strchrnul-ifunc.c: Likewise.
52245         * string/test-strcmp-ifunc.c: Likewise.
52246         * string/test-strcpy-ifunc.c: Likewise.
52247         * string/test-strcspn-ifunc.c: Likewise.
52248         * string/test-strlen-ifunc.c: Likewise.
52249         * string/test-strncasecmp-ifunc.c: Likewise.
52250         * string/test-strncat-ifunc.c: Likewise.
52251         * string/test-strncmp-ifunc.c: Likewise.
52252         * string/test-strncpy-ifunc.c: Likewise.
52253         * string/test-strnlen-ifunc.c: Likewise.
52254         * string/test-strpbrk-ifunc.c: Likewise.
52255         * string/test-strrchr-ifunc.c: Likewise.
52256         * string/test-strspn-ifunc.c: Likewise.
52257         * string/test-strstr-ifunc.c: Likewise.
52259         * debug/Makefile (tests-ifunc): New variable.
52260         (tests): Add $(tests-ifunc).
52261         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52262         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52263         * debug/test-stpcpy_chk-ifunc.c: New file.
52264         * debug/test-strcpy_chk-ifunc.c: Likewise.
52266 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52268         [BZ #13601]
52269         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52270         header is not read in.
52272 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52274         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52275         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52276         directly.  Pass built executable to script as
52277         $(built-program-cmd).
52278         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52279         $testprogram without using LD_LIBRARY_PATH and $ldso.
52281         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52282         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52283         $(rtld-installed-name).
52284         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52285         (rtld_installed_name): Likewise.
52286         (library_path): Likewise.
52287         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52288         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52289         $(run-program-prefix) to tst-tables.sh.
52290         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52291         it to run tst-table-from and tst-table-to.
52292         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52293         Pass it to tst-table.sh.
52294         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52295         $(run-program-prefix) to tst-gettext.sh.
52296         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52297         tst-translit.sh.
52298         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52299         tst-gettext2.sh.
52300         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52301         to run tst-gettext.
52302         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52303         to run tst-gettext2.
52304         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52305         to run tst-translit.
52306         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52307         $(run-program-prefix) to tst-mtrace.sh.
52308         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52309         to run tst-mtrace.
52310         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52311         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52312         $(rtld-installed-name).
52313         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52314         (rtld_installed_name): Likewise.
52315         (run_program_prefix): New variable.  Use it to run wordexp-test.
52317         * Makeconfig (ARCH): Remove all definitions.
52318         (machine): Likewise.
52319         [ARCH]: Remove conditional code.
52320         [!objdir]: Give error.
52321         [!objdir] (objpfx): Remove.
52322         [!objdir] (common-objpfx): Likewise.
52323         [!objdir] (common-objdir): Likewise.
52324         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52325         AC_CONFIG_FILES call.
52326         * configure: Regenerated.
52328         [BZ #13888]
52329         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52330         or TMPDIR.
52331         (testout): Likewise.
52333         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52334         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52335         $(rtld-installed-name).
52336         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52337         (rtld_installed_name): Likwise.
52338         (runit): Remove function.
52339         (run_getconf): New variable,  Use it for running getconf binary.
52341 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52343         [BZ #14716]
52344         * string/test-memmem.c (check_result): New function.
52345         (do_one_test): Use it.
52346         (check1): New function.
52347         (test_main): Use it.
52349 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52351         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52353 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52355         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52356         (_G_LSEEK64): Likewise.
52357         (_G_MMAP64): Likewise.
52358         (_G_FSTAT64): Likewise.
52359         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52360         (_G_LSEEK64): Likewise.
52361         (_G_MMAP64): Likewise.
52362         (_G_FSTAT64): Likewise.
52363         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52364         unconditional.  Call __mmap64 directly.
52365         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52366         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52367         __lseek64 directly.
52368         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52369         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52370         __mmap64 directly.
52371         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52372         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52373         __lseek64 directly.
52374         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52375         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52376         __lseek64 directly.
52377         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52378         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52379         __lseek64 directly.
52380         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52381         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52382         __fxstat64 directly.
52383         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52384         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52385         unconditional.
52386         (freopen64) [!_G_OPEN64]: Remove conditional code.
52387         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52388         unconditional.
52389         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52390         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52391         unconditional.
52392         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52393         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52394         unconditional.
52395         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52396         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52397         unconditional.
52398         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52399         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52400         unconditional.
52401         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52402         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52403         unconditional.
52404         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52405         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52406         unconditional.
52407         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52409 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52411         [BZ #12140]
52412         * manual/memory.texi (Malloc Tunable Parameters): Add note
52413         about free list pointers overwriting some perturb bytes.
52414         Wording suggested by Roland McGrath.
52416 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52418         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52419         (lgamma_test): Likewise.
52420         (tgamma_test): Likewise.
52422 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52424         [BZ #14700]
52425         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52426         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52428 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52430         * NEWS: Mention BZ #14716.
52431         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52432         when removing AVAILABLE1_USES_J macro.
52434 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52436         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52437         (__bswap_64): __uint64_t for unsigned 64-bit int.
52439 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52441         * include/string.h (memmem): Declare libc hidden alias.
52442         * string/memmem.c (memmem): Define libc hidden alias.
52443         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52444         __read, __close instead of open, read, close.
52446 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52449         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52450         global and hidden.
52451         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52452         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52453         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52454         Likewise.
52455         (__rawmemchr_sse2): Likewise.
52456         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52457         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52458         (__strchr_sse2): Likewise.
52459         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52460         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52461         (__strcasecmp_sse2): Likewise.
52462         (__strncasecmp_sse2): Likewise.
52463         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52464         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52465         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52466         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52467         (__strrchr_sse2): Likewise.
52468         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52469         ifunc-impl-list.c.
52470         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52471         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52472         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52473         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52474         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52475         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52476         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52477         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52478         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52479         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52480         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52481         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52482         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52483         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52484         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52485         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52486         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52487         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52488         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52489         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52490         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52491         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52492         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52493         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52494         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52495         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52496         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52497         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52498         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52499         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52501         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52502         global and hidden.
52503         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52504         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52505         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52506         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52507         Likewise.
52508         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52509         Likewise.
52510         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52511         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52512         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52513         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52514         ifunc-impl-list.c.
52515         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52516         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52517         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52518         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52519         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52520         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52521         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52522         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52523         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52524         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52525         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52526         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52527         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52528         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52529         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52531         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52532         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52533         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52534         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52535         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52536         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52537         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52538         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52539         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52540         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52541         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52542         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52543         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52544         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52545         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52546         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52547         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52548         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52549         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52550         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52551         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52553         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52554         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52555         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52557         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52558         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52559         * include/ifunc-impl-list.h: New file.
52560         * misc/ifunc-impl-list.c: Likewise.
52561         * misc/Makefile (routines): Add ifunc-impl-list.
52562         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52563         * string/test-string.h: Include <ifunc-impl-list.h>.
52564         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52565         TEST_NAME]: New variables.
52566         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52567         are defined.
52568         (test_init): Call __libc_ifunc_impl_list to initialize
52569         func_list if TEST_IFUNC and TEST_NAME are defined.
52571         * string/Makefile (strop-tests): Add bcopy and bzero.
52572         * string/test-bcopy.c: New file.
52573         * string/test-bzero.c: Likewise.
52574         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52575         defined.
52576         * string/test-memset.c: Support bzero test if TEST_BZERO is
52577         defined.
52578         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52579         __libc_memmove.
52580         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52581         __libc_memset.
52582         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52583         of memset.
52585 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52587         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52588         * configure: Regenerated.
52590         * Makeconfig (+link-static-before-libc): Don't include
52591         $(link-static-libc).
52593         * libio/libio.h (_IO_pos_t): Remove.
52595 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52597         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52598         McGrath.
52600 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52602         * crypt/crypt-entry.c: Include fips-private.h.
52603         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52604         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52605         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52606         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52608 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52610         * crypt/crypt-private.h: Include stdbool.h.
52611         (_ufc_setup_salt_r): Return bool.
52612         * crypt/crypt-entry.c: Include errno.h.
52613         (__crypt_r): Return NULL with EINVAL for bad salt.
52614         * crypt/crypt_util.c (bad_for_salt): New.
52615         (_ufc_setup_salt_r): Check that salt is long enough and within
52616         the specified alphabet.
52617         * crypt/badsalttest.c: New file.
52618         * crypt/Makefile (tests): Add it.
52619         ($(objpfx)badsalttest): New.
52621 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52623         * NEWS: Add entry for BZ #14602.
52625 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52627         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52628         type-generic.
52629         * math/libm-test.inc: Update comment listing what functions and
52630         macros are tested.
52631         (isgreater_test): New function.
52632         (isgreaterequal_test): Likewise.
52633         (isless_test): Likewise.
52634         (islessequal_test): Likewise.
52635         (islessgreater_test): Likewise.
52636         (isunordered_test): Likewise.
52637         (main): Call the new functions.
52639 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52641         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52642         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52643         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52644         * sysdeps/i386/configure: Regenerated.
52645         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52646         * sysdeps/mach/configure: Regenerated.
52647         * sysdeps/mach/hurd/configure: Regenerated.
52648         * sysdeps/powerpc/configure: Regenerated.
52649         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52650         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52651         * sysdeps/s390/s390-32/configure: Regenerated.
52652         * sysdeps/s390/s390-64/configure: Regenerated.
52653         * sysdeps/sh/configure: Regenerated.
52654         * sysdeps/sparc/configure: Regenerated.
52655         * sysdeps/unix/sysv/linux/configure: Regenerated.
52656         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52657         * sysdeps/x86_64/configure: Regenerated.
52659         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52660         defined.  Don't check if MAP is NULL.
52662 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52664         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52665         (_G_stat64): Likewise.
52666         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52667         (_G_stat64): Likewise.
52668         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52669         instead of struct _G_stat64.
52670         * libio/fileops.c (mmap_remap_check): Likewise.
52671         (decide_maybe_mmap): Likewise.
52672         (_IO_new_file_seekoff): Likewise.
52673         (_IO_file_stat): Likewise.
52674         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52675         _G_off64_t.
52676         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52677         instead of struct _G_stat64.
52678         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52680 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52682         [BZ #14602]
52683         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52684         Replace with ...
52685         (CHECK_EOL): New macro.
52686         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52687         CHECK_EOL.
52688         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52689         Replace with CHECK_EOL.
52690         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52691         Replace with CHECK_EOL.
52693 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52695         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52696         type-generic.
52697         * math/libm-test.inc: Update comment listing what functions and
52698         macros are tested.
52699         (finite_test): New function.
52700         (isinf_test): Likewise.
52701         (isnan_test): Likewise.
52702         (fpclassify_test): Test subnormal input.
52703         (isfinite_test): Likewise.
52704         (isnormal_test): Likewise.
52705         (main): Call the new functions.
52707 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52709         [BZ #14660]
52710         * Makerules (%.dynsym): Force C locale when running
52711         $(OBJDUMP) --dynamic-syms.
52713 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52715         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52716         <stdint.h>.
52718 2012-10-06  David S. Miller  <davem@davemloft.net>
52720         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52721         upper 32-bits of the length value in %o2 since we use branch-on-register
52722         tests which consider the entire 64-bit register.
52724 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52726         * string/test-strstr.c (check2): Add a test for page boundary.
52728 2012-10-05  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52731         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52732         file.
52733         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52734         sysdep_routines.
52735         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52736         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52737         and bzero when HWCAP_SPARC_CRYPTO is present.
52739 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52741         [BZ #14602]
52742         * string/test-strstr.c (check2): New function.
52743         (test_main): Call check2.
52745         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52746         and bug-strchr1.
52747         * string/bug-strcasestr1.c (do_test): Moved to ...
52748         * string/test-strcasestr.c (check1): Here.  New function.
52749         (do_one_test): Break out result checking code into ...
52750         (check_result): This.  New function.
52751         (do_one_test): Call check_result.
52752         (test_main): Call check1.
52753         * string/bug-strchr1.c (do_test): Moved to ...
52754         * string/test-strchr.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-strstr1.c (main): Moved to ...
52760         * string/test-strstr.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-strcasestr1.c: Removed.
52766         * string/bug-strchr1.c: Likewise.
52767         * string/bug-strstr1.c: Likewise.
52769         * elf/Makefile (dl-routines): Add hwcaps.
52770         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52771         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52772         (_dl_important_hwcaps): Moved to ...
52773         * elf/dl-hwcaps.c: Here.  New file.
52774         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52776         [BZ #14557]
52777         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52778         if IS_IN_rtld isn't defined.
52780         * elf/dl-support.c (_dl_sysinfo_map): New.
52781         Include "get-dynamic-info.h" and "setup-vdso.h".
52782         (_dl_non_dynamic_init): Call setup_vdso.
52783         * elf/dynamic-link.h: Don't include <assert.h>.
52784         (elf_get_dynamic_info): Moved to ...
52785         * elf/get-dynamic-info.h: Here.  New file.
52786         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52787         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52788         * elf/setup-vdso.h: Here.  New file.
52789         * elf/rtld.c: Include "setup-vdso.h".
52790         (dl_main): Call setup_vdso.
52792 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52794         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52795         creal in comment listing functions tested.  List finite, isinf,
52796         isnan, isless, islessequal, isgreater, isgreaterequal,
52797         islessgreater, isunordered, lgamma_r and pow10 as functions and
52798         macros not tested.  Mention which functions not tested are aliases
52799         for other functions.  Fix typo.  Note that signs of NaNs are not
52800         tested.
52802         * scripts/config.guess: Update from config.git.
52803         * scripts/config.sub: Likewise.
52805 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52807         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52808         * misc/madvise.c (madvise): Renamed to __madvise.
52809         Make madvise a weak alias.
52810         * include/sys/mman.h: Declare __madvise.
52811         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52812         * sysdeps/unix/syscalls.list
52813         (madvise): Make __madvise the strong name, and madvise a weak alias.
52814         * sysdeps/unix/sysv/linux/syscalls.list
52815         (madvise, mmap): Remove redundant entries.
52816         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52817         * malloc/malloc.c (mtrim): Likewise.
52818         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52820 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52822         * sysdeps/mach/hurd/dl-cache.c: File removed.
52823         * config.h.in (USE_LDCONFIG): New #undef.
52824         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52825         * configure: Regenerated.
52826         * elf/Makefile (dl-routines): Add dl-cache only under
52827         [$(use-ldconfig) = yes].
52828         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52829         cache on [USE_LDCONFIG].
52830         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52831         [USE_LDCONFIG].
52832         * elf/rtld.c (dl_main): Likewise.
52834 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52836         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52837         _SC_LEVEL4_CACHE_LINESIZE.
52839 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52841         * sysdeps/unix/bsd/confstr.h: File removed.
52843 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52845         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52846         sys/sdt-config.h.
52848 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52850         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52851         Make 'mapoff' field ElfW(Off) rather than off_t.
52853 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52855         * nscd/Makefile: Remove nscd-cflags and all its users.
52856         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52857         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52859         [BZ #10631]
52860         * malloc.c (malloc_printerr): Clarify error message.
52862 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52864         [BZ #14648]
52865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52866         Set bit_FMA_Usable if FMA is supported.
52867         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52868         macro.
52869         (bit_FMA4_Usable): Updated.
52870         (index_FMA_Usable): New macro.
52871         (CPUID_FMA): Likewise.
52872         (HAS_FMA): Defined with bit_FMA_Usable.
52874 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52876         * bits/types.h (__swblk_t): Type removed.
52877         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52878         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52880         (__SWBLK_T_TYPE): Likewise.
52881         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52882         (__SWBLK_T_TYPE): Likewise.
52883         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52884         (__SWBLK_T_TYPE): Likewise.
52885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52886         (__SWBLK_T_TYPE): Likewise.
52888 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52889             Honza Horak <hhorak@redhat.com>
52891         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52892         (xdr_mapname): Use YPMAXMAP as maxsize.
52893         (xdr_peername): Use YPMAXPEER as maxsize.
52894         (xdr_keydat): Use YPAXRECORD as maxsize.
52895         (xdr_valdat): Use YPMAXRECORD as maxsize.
52897 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52899         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52901         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52902         * csu/init-first.c: ... here.
52903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52904         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52905         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52906         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52907         * sysdeps/i386/init-first.c: File removed.
52908         * sysdeps/sh/init-first.c: File removed.
52910 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52912         [BZ #14645]
52913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52914         if x * y might underflow to zero and z is zero.
52915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52916         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52917         * math/libm-test.inc (min_subnorm_value): New variable.
52918         (fma_test): Add more tests.
52919         (fma_test_towardzero): Likewise.
52920         (fma_test_downward): Likewise.
52921         (fma_test_upward): Likewise.
52922         (initialize): Set min_subnorm_value.
52924 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52926         [BZ #14638]
52927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52928         0 + 0.
52929         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52930         mode for addition resulting in exact zero.
52931         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52933         exact 0 + 0.
52934         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52935         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52936         * math/libm-test.inc (fma_test): Add more tests.
52937         (fma_test_towardzero): New function.
52938         (fma_test_downward): Likewise.
52939         (fma_test_upward): Likewise.
52940         (main): Call the new functions.
52942 2012-09-28  David S. Miller  <davem@davemloft.net>
52944         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52946 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52948         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52949         instead of SIGALRM.
52951         * sysdeps/gnu/_G_config.h: Moved to ...
52952         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52953         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52954         * sysdeps/generic/_G_config.h: ... here.
52956         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52958         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52960         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52961         Conditionalize target on [libnss_test1.so-version].
52963         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52965         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52966         (elfobjdir): Move out of conditionals.
52968         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52969         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52970         (__nss_lookup_function): Conditionalize label remove_from_tree on
52971         [!DO_STATIC_NSS || SHARED], matching its only use.
52973 2012-09-28  David S. Miller  <davem@davemloft.net>
52975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52976         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52977         file.
52978         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52979         sysdep_routines.
52980         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52982         when HWCAP_SPARC_CRYPTO is present.
52984 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52986         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52988 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52990         [BZ #6530]
52991         * stdio-common/vfprintf.c (process_string_arg): Revert
52992         2000-07-22 change.
52994 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52996         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52997         for testcase.
52998         * stdio-common/tst-sprintf.c: Include <locale.h>
52999         (main): Test sprintf's handling of incomplete multibyte
53000         characters.
53002 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53004         * elf/dl-runtime.c (VERSYMIDX): Removed.
53005         * elf/dl-version.c (VERSYMIDX): Likewise.
53006         * elf/do-rel.h (VERSYMIDX): Likewise.
53007         (VALIDX): Likewise.
53008         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53009         * elf/rtld.c (VALIDX): Likewise.
53010         (ADDRIDX): Likewise.
53011         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53012         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53013         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53014         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53015         (VALIDX): Likewise.
53016         (ADDRIDX): Likewise.
53018 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53020         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53022 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53024         [BZ #11438]
53025         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53026         to global scope.
53027         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53028         addresses are in the same scope as 192.0.2/24.
53029         * posix/gai.conf: Document new scope table defaults.
53031 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         [BZ #5298]
53034         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53035         for ftell.  Compute offsets from write pointers instead.
53036         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53038 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53040         [BZ #14543]
53041         * libio/Makefile (tests): New test case tst-fseek.
53042         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53043         combination works in wide mode.
53044         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53045         state when the external buffer state changes.
53047 2012-09-27  David S. Miller  <davem@davemloft.net>
53049         [BZ #14376]
53050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53051         pass reloc->r_addend in as the 'high' argument to
53052         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53056 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53058         * rt/tst-aio2.c: Include <pthread.h>.
53059         * rt/tst-aio3.c: Likewise.
53061 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53063         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53065 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53067         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53068         contents on [SHARED].
53070 2012-09-26  Marek Polacek  <polacek@redhat.com>
53072         [BZ #14530]
53073         [BZ #13741]
53074         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53075         for C++ and GCC <4.3 as well as for non GCC compilers.
53077 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53081 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53083         * Makefile.in (all, install): Declare with .PHONY.
53084         Reported by Michael Hope <michael.hope@linaro.org>.
53086 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53088         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53089         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53090         system header.
53091         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53092         Likewise.
53093         (sydep_routines): Add the new and the internal functions.
53094         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53095         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53097         (GLIBC_2.17): Add the new function.
53098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53099         (GLIBC_2.17): Likewise.
53100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53101         (GLIBC_2.17): Likewise.
53102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53103         (GLIBC_2.17): Likewise.
53104         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53106 2012-09-25  Alan Modra  <amodra@gmail.com>
53108         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53109         Add release barrier before setting once_control to say
53110         initialisation is done.  Add hints on lwarx.  Use macro in
53111         place of isync.
53112         (clear_once_control): Add release barrier.
53114 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53116         [BZ #13629]
53117         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53118         specially.
53119         * math/s_clog10.c (__clog10): Likewise.
53120         * math/s_clog10f.c (__clog10f): Likewise.
53121         * math/s_clog10l.c (__clog10l): Likewise.
53122         * math/s_clogf.c (__clogf): Likewise.
53123         * math/s_clogl.c (__clogl): Likewise.
53124         * math/Makefile (libm-calls): Add x2y2m1.
53125         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53126         (__x2y2m1): Likewise.
53127         (__x2y2m1l): Likewise.
53128         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53129         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53130         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53131         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53132         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53133         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53134         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53135         * sysdeps/i386/fpu/libm-test-ulps: Update.
53136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53138         [BZ #14621]
53139         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53140         int as type of variable DEPTH.
53141         (glob): Use size_t instead of int as type of variables NEWCOUNT
53142         and OLD_PATHC.
53144 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53146         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53147         Add s_sincosf-sse2.
53148         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53149         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53150         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53151         macros for using routine as __sincosf_ia32.
53152         Use macro for function declaration and weak_alias.
53153         * sysdeps/i386/fpu/libm-test-ulps: Update.
53155         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53158         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53159         subnormal argument.
53160         * math/s_cexpf.c (__cexpf): Likewise.
53161         * math/s_csinf.c (__csinf): Likewise.
53162         * math/s_csinhf.c (__csinhf): Likewise.
53163         * math/s_ctanf.c (__ctanf): Likewise.
53164         * math/s_ctanhf.c (__ctanhf): Likewise.
53165         * math/s_ccosh.c (__ccoshf): Likewise.
53166         * math/s_cexp.c (__cexpl): Likewise.
53167         * math/s_csin.c (__csin): Likewise.
53168         * math/s_csinh.c (__csinh): Likewise.
53169         * math/s_ctan.c (__ctan): Likewise.
53170         * math/s_ctanh.c (ctanh): Likewise.
53171         * math/s_ccoshl.c (__ccoshl): Likewise.
53172         * math/s_cexpl.c (__cexpl): Likewise.
53173         * math/s_csinl.c (__csinl): Likewise.
53174         * math/s_csinhl.c (__csinhl): Likewise.
53175         * math/s_ctanl.c (__ctanl): Likewise.
53176         * math/s_ctanhl.c (__ctanhl): Likewise.
53178 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53180         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53181         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53182         (_IO_off_t): Define to __off_t, not _G_off_t.
53183         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53184         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53185         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53186         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53187         type of __dummy and __dummy2 fields.
53188         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53189         (_G_ssize_t): Likewise.
53190         (_G_off_t): Likewise.
53191         (_G_pid_t): Likewise.
53192         (_G_uid_t): Likewise.
53193         (_G_wchar_t): Likewise.
53194         (_G_wint_t): Likewise.
53195         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53196         (_G_ssize_t): Likewise.
53197         (_G_off_t): Likewise.
53198         (_G_pid_t): Likewise.
53199         (_G_uid_t): Likewise.
53200         (_G_wchar_t): Likewise.
53201         (_G_wint_t): Likewise.
53202         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53203         (_G_ssize_t): Likewise.
53204         (_G_off_t): Likewise.
53205         (_G_pid_t): Likewise.
53206         (_G_uid_t): Likewise.
53207         (_G_wchar_t): Likewise.
53208         (_G_wint_t): Likewise.
53210 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53212         * malloc/arena.c: Include malloc-sysdep.h.
53213         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53214         is sufficient to shrink the heap or an unmap is needed.
53215         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53216         new function check_may_shrink_heap.
53217         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53218         new function check_may_shrink_heap.
53220 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53222         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53223         comments.
53225 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53227         * catgets/test-gencat.sh: Add "set -e".
53228         * elf/tst-pathopt.sh: Likewise.
53229         * grp/tst_fgetgrent.sh: Likewise.
53230         * iconvdata/run-iconv-test.sh: Likewise.
53231         * intl/tst-gettext.sh: Likewise.
53232         * intl/tst-gettext2.sh: Likewise.
53233         * intl/tst-gettext4.sh: Likewise.
53234         * intl/tst-gettext6.sh: Likewise.
53235         * intl/tst-translit.sh: Likewise.
53236         * io/ftwtest-sh: Likewise.
53237         * libio/test-freopen.sh: Likewise.
53238         * malloc/tst-mtrace.sh: Likewise.
53239         * posix/globtest.sh: Likewise.
53240         * posix/tst-getconf.sh: Likewise.
53241         * posix/wordexp-tst.sh: Likewise.
53242         * stdio-common/tst-printf.sh: Likewise.
53243         * stdio-common/tst-unbputc.sh: Likewise.
53244         * stdlib/tst-fmtmsg.sh: Likewise.
53245         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53246         * catgets/Makefile: Do not specify -e option when running
53247         testsuite shell scripts.
53248         * elf/Makefile: Likewise.
53249         * grp/Makefile: Likewise.
53250         * iconvdata/Makefile: Likewise.
53251         * intl/Makefile: Likewise.
53252         * io/Makefile: Likewise.
53253         * libio/Makefile: Likewise.
53254         * malloc/Makefile: Likewise.
53255         * posix/Makefile: Likewise.
53256         * stdio-common/Makefile: Likewise.
53257         * stdlib/Makefile: Likewise.
53258         * sysdeps/x86_64/Makefile: Likewise.
53260         * io/ftwtest-sh: Add copyright header.
53261         * posix/globtest.sh: Likewise.
53262         * posix/tst-getconf.sh: Likewise.
53263         * posix/wordexp-tst.sh: Likewise.
53264         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53266 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53268         [BZ #13679]
53269         * Makeconfig (+link): Defined as $(+link-static) if
53270         $(build-shared) isn't yes.
53271         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53272         isn't yes.
53273         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53275         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53277         [BZ #14562]
53278         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53279         new chunk size with MALLOC_ALIGN_MASK.
53281 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53283         [BZ #5044]
53284         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53285         <rounding-mode.h>.
53286         (__printf_fphex): Determine rounding using get_rounding_mode and
53287         round_away.
53288         * stdio-common/tst-printf-round.c (struct hex_test): New
53289         structure.
53290         (hex_tests): New variable.
53291         (test_hex_in_one_mode): New function.
53292         (do_test): Also run tests for hex float output.
53294 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53296         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53297         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53298         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53299         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53300         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53301         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53302         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53303         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53305 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53307         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53308         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53309         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53310         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53312 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53314         [BZ #14579]
53315         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53316         mode only.
53317         * elf/tst-rtld-load-self.sh: New test.
53318         * elf/Makefile: Run it.
53320 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53322         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53323         (tst-writev-ENV): Remove.
53324         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53326 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53328         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53330 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53332         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53333         unconditional.
53334         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53335         Likewise.
53336         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53337         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53338         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53339         Likewise.
53341 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53343         [BZ #14587]
53344         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53345         * config.make.in (have-cpp-asm-debuginfo): Removed.
53346         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53347         * configure: Regenerated.
53349 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53351         [BZ #5044]
53352         * stdio-common/printf_fp.c: Include <stdbool.h> and
53353         <rounding-mode.h>.
53354         (___printf_fp): Determine rounding using get_rounding_mode and
53355         round_away.
53356         * stdio-common/tst-printf-round.c: New file.
53357         * stdio-common/Makefile (tests): Add tst-printf-round.
53358         (link-libm): New variable.
53359         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53361 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53363         [BZ #14576]
53364         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53365         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53366         Likewise.
53367         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53368         Likewise.
53370 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53372         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53373         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53374         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53375         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53377 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53379         [BZ #14518]
53380         * include/rounding-mode.h: New file.
53381         * sysdeps/generic/get-rounding-mode.h: Likewise.
53382         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53383         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53384         (MAX_VALUE): New macro.
53385         (MIN_VALUE): Likewise.
53386         (overflow_value): New function.
53387         (underflow_value): Likewise.
53388         (round_and_return): Use overflow_value and underflow_value to
53389         determine return values in overflow and underflow cases.  Use
53390         round_away to determine rounding depending on rounding mode.
53391         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53392         determine return values in overflow and underflow cases.
53393         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53394         (struct test_results): New structure.
53395         (struct test): Use struct test_results to store expected results
53396         for all rounding modes.
53397         (TEST): Include expected results for all rounding modes.
53398         (test_in_one_mode): New function.
53399         (do_test): Use test_in_one_mode to compute and check results.
53400         Check results for all rounding modes.
53401         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53402         $(link-libm).
53404 2012-12-09  Allan McRae  <allan@archlinux.org>
53406         * sysdeps/i386/fpu/libm-test-ulps: Update
53408 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53410         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53411         (_G_int32_t): Likewise.
53412         (_G_uint16_t): Likewise.
53413         (_G_uint32_t): Likewise.
53414         (_G_HAVE_BOOL): Likewise.
53415         (_G_HAVE_ATEXIT): Likewise.
53416         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53417         (_G_HAVE_IO_FILE_OPEN): Likewise.
53418         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53419         (_G_int32_t): Likewise.
53420         (_G_uint16_t): Likewise.
53421         (_G_uint32_t): Likewise.
53422         (_G_HAVE_BOOL): Likewise.
53423         (_G_HAVE_ATEXIT): Likewise.
53424         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53425         (_G_HAVE_IO_FILE_OPEN): Likewise.
53426         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53427         (_G_int32_t): Likewise.
53428         (_G_uint16_t): Likewise.
53429         (_G_uint32_t): Likewise.
53430         (_G_HAVE_BOOL): Likewise.
53431         (_G_HAVE_ATEXIT): Likewise.
53432         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53433         (_G_HAVE_IO_FILE_OPEN): Likewise.
53435 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53437         * csu/libc-tls.c: Update copyright years.
53439 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53441         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53442         [!_G_USING_THUNKS]: Remove conditional code.
53443         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53444         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53446         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53447         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53448         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53449         (_G_VTABLE_LABEL_PREFIX): Likewise.
53450         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53451         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53452         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53453         (_G_VTABLE_LABEL_PREFIX): Likewise.
53454         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53455         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53456         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53457         (_G_VTABLE_LABEL_PREFIX): Likewise.
53458         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53460 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53462         * libio/Makefile: Include ../Makeconfig before tests.
53463         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53464         only if $(build-shared) is yes.
53466         * iconv/gconv_db.c: Update copyright years.
53468 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53470         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53471         unwind info if defined PIC. Fix special cases description.
53472         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53474         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53475         DP_HI_MASK entry.
53476         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53478 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53480         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53482         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53483         is NULL.
53485         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53486         (LDLIBS-tst-chk4): This.
53487         (LDFLAGS-tst-chk5): Renamed to ...
53488         (LDLIBS-tst-chk5): This.
53489         (LDFLAGS-tst-chk6): Renamed to ...
53490         (LDLIBS-tst-chk6): This.
53491         (LDFLAGS-tst-lfschk4): Renamed to ...
53492         (LDLIBS-tst-lfschk4): This.
53493         (LDFLAGS-tst-lfschk5): Renamed to ...
53494         (LDLIBS-tst-lfschk5): This.
53495         (LDFLAGS-tst-lfschk6): Renamed to ...
53496         (LDLIBS-tst-lfschk6): This.
53498         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53499         on $(common-objpfx)soversions.mk.
53501 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53503         [BZ #10014]
53504         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53505         example host name.
53507 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53509         * malloc/arena.c (arena_get_retry): New function that gets
53510         another arena for the caller to try its request on.
53511         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53512         current arena cannot fulfill the request.
53513         (__libc_memalign): Likewise.
53514         (__libc_memalign): Likewise.
53515         (__libc_pvalloc): Likewise.
53516         (__libc_calloc): Likewise.
53518 2012-09-05  John Tobey  <john.tobey@gmail.com>
53520         [BZ #13542]
53521         * manual/arith.texi (Operations on Complex): Fix description
53522         of carg branch cut.
53524 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53526         [BZ #10014]
53527         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53528         host name.
53530         [BZ #10038]
53531         * manual/memory.texi (Memory): Make order of menu items match
53532         order of sections.
53534 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53536         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53537         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53538         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53540 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53542         * csu/libc-tls.c (static_dtv): Renamed to ...
53543         (_dl_static_dtv): This.  Make it global.
53544         (_dl_initial_dtv): Removed.
53545         (__libc_setup_tls): Updated.
53546         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53547         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53548         DL_INITIAL_DTV.
53550 2012-09-06  Petr Machata  <pmachata@redhat.com>
53552         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53553         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53554         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53555         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53557 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53559         [BZ #14545]
53560         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53561         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53562         freeing dtv[-1].
53564 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53566         [BZ #14544]
53567         * Makeconfig (link-static-before-libc): Replace $(+prector)
53568         with $(+prectorT).
53569         (link-static-after-libc): Replace $(+postctor) with
53570         $(+postctorT).
53571         (link-bounded): Replace $(+prector)/$(+postctor) with
53572         $(+prectorT)/$(+postctorT).
53573         (+prectorT): New macro.
53574         (+postctorT): Likewise.
53576 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53578         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53579         (round_str): Handle values above the maximum for IBM long double
53580         as inexact.
53581         * stdlib/tst-strtod-round.c (tests): Regenerated.
53583 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53585         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53586         assembler flag.
53587         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53588         zarch_nohighgprs around the zarch optimized routines.
53589         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53590         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53592         for zarch.
53594 2012-09-05  David S. Miller  <davem@davemloft.net>
53596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53598         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53599         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53600         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53601         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53602         entries.
53604 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53606         * malloc/arena.c: Fold copyright years.
53607         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53609 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53611         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53613 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53615         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53617 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53619         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53620         change internal state upon failure.
53622 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53624         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53625         * malloc/memusage.c (mmap): Likewise.
53626         (mmap64, mremap): Likewise.  Adjust name in comment.
53628 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53630         * libio/fileops.c: Fix typos in comments.
53631         * libio/oldfileops.c: Likewise.
53632         * libio/wfileops.c: Likewise.
53634 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53636         [BZ #1349]
53637         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53638         (tst-malloc-usable-ENV): Set environment for test case.
53639         * malloc/hooks.c (malloc_check_get_size): New function to get
53640         requested size.
53641         * malloc/malloc.c (musable): Use malloc_check_get_size.
53642         * malloc/tst-malloc-usable.c: New test case.
53644 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53646         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53648 2012-09-05  Allan McRae  <allan@archlinux.org>
53650         [BZ #13966]
53651         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53652         determine header location.
53653         * configure: Regenerated.
53655 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53657         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53658         float format.
53659         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53660         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53661         format.
53662         (test): Regenerate.
53664 2012-09-04  David S. Miller  <davem@davemloft.net>
53666         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53667         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53668         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53670 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53672         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53673         failures.
53675         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53677 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53679         [BZ #9914]
53680         * libio/iogetdelim.c: Include <limits.h>.
53681         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53682         + len + 1 would overflow.
53684 2012-09-03  Andreas Jaeger  <aj@suse.de>
53686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53687         * sysdeps/i386/fpu/libm-test-ulps: Update.
53689 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53691         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53692         Add s_sinf-sse2, s_conf-sse2.
53694         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53695         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53696         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53697         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53699         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53700         for using routine as __sinf_ia32.
53701         Use macro for function declaration and weak_alias.
53702         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53703         for using routine as __cosf_ia32.
53704         Use macro for function declaration and weak_alias.
53706         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53707         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53709         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53710         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53713         * math/libm-test.inc (cos_test): Add more test cases.
53714         (sin_test): Likewise.
53715         (sincos_test): Likewise.
53717 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53720         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53721         hidden.
53722         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53724 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53726         [BZ #14538]
53727         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53728         first element of the GOT.
53729         (elf_machine_load_address): Return the difference between
53730         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53732 2012-09-01  Allan McRae  <allan@archlinux.org>
53734         [BZ #13412]
53735         * configure.in (AWK): Require gawk version 3.0 or later.
53736         * configure: Regenerated.
53738 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53740         * sysdeps/unix/sysv/linux/kernel-features.h
53741         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53743         [__NR_clock_getres]: Make code unconditional.
53744         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53745         (clock_getcpuclockid): Remove code left unreachable by removal of
53746         conditionals.
53747         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53748         code unconditional.
53749         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53750         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53751         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53752         Make code unconditional.
53753         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53754         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53755         * sysdeps/unix/sysv/linux/clock_settime.c
53756         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53757         conditional code.
53758         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53759         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53761 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53763         [BZ #14476]
53764         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53765         scripts/test-installation.pl.
53767         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53768         and $ld_so_version if it is set.
53770 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53772         [BZ #14516]
53773         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53774         failure if reading from procfs failed.
53775         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53777 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53779         * sysdeps/unix/sysv/linux/kernel-features.h
53780         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53781         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53782         Remove conditional code.
53783         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53784         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53785         Remove conditional code.
53786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53787         * sysdeps/unix/sysv/linux/i386/fxstat.c
53788         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53790         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53791         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53793         * sysdeps/unix/sysv/linux/i386/lxstat.c
53794         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53796         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53797         Remove conditional code.
53798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53799         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53800         Remove conditional code.
53801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53802         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53803         <kernel-features.h>.
53804         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53805         Remove.
53806         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53807         Remove conditional code.
53808         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53809         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53810         Remove conditional.
53812 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53814         [BZ #5400]
53815         * NEWS: Add fixed bug number.
53817 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53819         [BZ #14519]
53820         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53821         underflowing exponent in case of negative sign.
53822         * stdlib/tst-strtod-round-data: Add more tests.
53823         * stdlib/tst-strtod-round.c (tests): Regenerated.
53825         [BZ #3479]
53826         * stdlib/strtod_l.c (NDIG): Remove.
53827         (HEXNDIG): Likewise.
53828         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53829         smallest representable value.
53830         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53831         lie within an exact representation of 1/2 ulp of the result.
53832         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53833         unconditionally.
53834         (TENS_P9_IDX): Define unconditionally.
53835         (TENS_P9_SIZE): Likewise.
53836         (TENS_P10_IDX): Likewise.
53837         (TENS_P10_SIZE): Likewise.
53838         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53839         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53840         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53841         entries for 10^2^13 and 10^2^14.
53842         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53843         (TENS_P13_IDX): Define.
53844         (TENS_P13_SIZE): Likewise.
53845         (TENS_P14_IDX): Likewise.
53846         (TENS_P14_SIZE): Likewise.
53847         (_fpioconst_pow10): Change array size to
53848         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53849         unconditional.
53850         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53851         1024]: Add entries for 10^2^13 and 10^2^14.
53852         [LAST_POW10 > _LAST_POW10]: Remove #error.
53853         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53854         (_fpioconst_pow10): Change array size to
53855         FPIOCONST_POW10_ARRAY_SIZE.
53856         * stdlib/gen-fpioconst.c: New file.
53857         * stdlib/gen-tst-strtod-round.c: Likewise.
53858         * stdlib/tst-strtod-round-data: Likewise.
53859         * stdlib/tst-strtod-round.c: Likewise.
53860         * stdlib/Makefile (tests): Add tst-strtod-round.
53862         [BZ #14459]
53863         * stdlib/strtod_l.c: Include <stdint.h>.
53864         (NDEBUG): Do not define.
53865         (round_and_return): Change EXPONENT parameter to type intmax_t.
53866         Rearrange calculations to avoid internal overflow possibilities.
53867         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53868         Rearrange calculations to avoid internal overflow possibilities.
53869         Assert that number fits inside MPNSIZE limbs.
53870         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53871         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53872         calculations and add assertions to avoid internal overflow
53873         possibilities.  Add casts to avoid signed/unsigned operations.
53874         * stdlib/tst-strtod-overflow.c: New file.
53875         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53877 2012-08-25  Marek Polacek  <polacek@redhat.com>
53879         * time/time.h: Fix some typos in comments.
53881 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53883         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53884         * posix/tst-rfc3484-2.c: Likewise.
53885         * posix/tst-rfc3484-3.c: Likewise.
53887 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53889         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53890         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53892 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53894         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53895         #include of fxstatat64.c.
53897 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53899         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53900         * shadow/getspent_r.c: Likewise.
53901         * shadow/getspnam.c: Likewise.
53902         * shadow/getspnam_r.c: Likewise.
53903         * gshadow/getsgent.c: Likewise.
53904         * gshadow/getsgent_r.c: Likewise.
53905         * gshadow/getsgnam.c: Likewise.
53906         * gshadow/getsgnam_r.c: Likewise.
53907         * inet/getnetbyad.c: Likewise.
53908         * inet/getnetbyad_r.c: Likewise.
53909         * inet/getnetbynm.c: Likewise.
53910         * inet/getnetbynm_r.c: Likewise.
53911         * inet/getnetent.c: Likewise.
53912         * inet/getnetent_r.c: Likewise.
53913         * inet/getproto.c: Likewise.
53914         * inet/getproto_r.c: Likewise.
53915         * inet/getprtent.c: Likewise.
53916         * inet/getprtent_r.c: Likewise.
53917         * inet/getprtname.c: Likewise.
53918         * inet/getprtname_r.c: Likewise.
53919         * inet/getrpcbyname.c: Likewise.
53920         * inet/getrpcbyname_r.c: Likewise.
53921         * inet/getrpcbynumber.c: Likewise.
53922         * inet/getrpcbynumber_r.c: Likewise.
53923         * inet/getrpcent.c: Likewise.
53924         * inet/getrpcent_r.c: Likewise.
53925         * inet/getaliasent.c: Likewise.
53926         * inet/getaliasent_r.c: Likewise.
53927         * inet/getaliasname.c: Likewise.
53928         * inet/getaliasname_r.c: Likewise.
53929         * nscd/getgrgid_r.c: Likewise.
53930         * nscd/getgrnam_r.c: Likewise.
53931         * nscd/gethstbyad_r.c: Likewise.
53932         * nscd/gethstbynm3_r.c: Likewise.
53933         * nscd/getpwnam_r.c: Likewise.
53934         * nscd/getpwuid_r.c: Likewise.
53935         * nscd/getsrvbynm_r.c: Likewise.
53936         * nscd/getsrvbypt_r.c: Likewise.
53937         * nscd/gai.c: Likewise.
53939         * configure.in (build_nscd): New substituted variable, set
53940         by --disable-build-nscd and defaults to $use_nscd.
53941         * configure: Regenerated.
53942         * config.make.in (build-nscd): New substituted variable.
53943         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53944         Change conditional to require [$(build-nscd) = yes] as well.
53945         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53947         [BZ# 13696]
53948         * configure.in (use_nscd): New substituted variable, set by
53949         --disable-nscd.  If enabled, define USE_NSCD.
53950         * configure: Regenerated.
53951         * config.h.in: Add USE_NSCD.
53952         * config.make.in (use-nscd): New substituted variable.
53953         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53954         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53955         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53956         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53957         (CFLAGS-getgrnam_r.c): Likewise.
53958         (CFLAGS-initgroups.c): Likewise.
53959         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53960         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53961         Variables removed.
53962         * inet/getnetgrent_r.c
53963         (nscd_setnetgrent): New function, broken out of ...
53964         (setnetgrent): ... here.  Call it.
53965         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53966         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53967         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53968         * nscd/Makefile (routines, aux): Move definitions after include of
53969         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53970         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53971         Conditionalize on [USE_NSCD].
53972         (is_nscd, nscd_init_cb): Likewise.
53973         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53974         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53975         * nss/nss_db/db-init.c: Likewise.
53976         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53977         [USE_NSCD].
53978         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53979         (make_request): Use it.
53980         (cache_valid_p): New function.
53981         (__check_pf): Use it.
53982         * NEWS: Add item for --disable-nscd.
53984 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53986         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53987         to support sed >= 4.2.1-20-ga9bf076.
53988         * configure: Regenerated.
53990 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53992         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53993         Conditionalize whole body on [IREL].
53995 2012-08-22  Jeff Law <law@redhat.com>
53997         [BZ #14505]
53998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53999         if the family is PF_UNSPEC.
54001 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54003         * Makerules (lib-version): Rename from V.
54004         (install-lib-nosubdir): Change V to lib-version.
54006 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54008         [BZ #14252]
54009         * powerpc32/power6/wcschr.c: New file.
54010         * powerpc32/power6/wcscpy.c: New file.
54011         * powerpc32/power6/wcsrchr.c: New file.
54012         * powerpc64/power6/wcschr.c: New file.
54013         * powerpc64/power6/wcscpy.c: New file.
54014         * powerpc64/power6/wcsrchr.c: New file.
54016 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54018         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54019         (two_way_short_needle): Use it.
54020         * string/strstr.c (AVAILABLE1_USES_J): Define.
54021         * string/strcasestr.c: Likewise.
54023         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54024         array references.
54025         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54027         [BZ #11607]
54028         * NEWS: Add an entry.
54029         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54030         define their defaults.
54031         (two_way_short_needle): Detect end-of-string on-the-fly.
54032         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54033         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54034         * string/bug-strcasestr1.c: New test.
54035         * string/Makefile: Run it.
54037 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54039         [BZ #11607]
54040         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54041         the first character.
54043 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54045         * csu/elf-init.c (__libc_csu_irel): Function removed.
54046         * csu/libc-start.c (apply_irel): New function.
54047         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54049 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54051         * sysdeps/unix/sysv/linux/kernel-features.h
54052         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54053         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54054         <kernel-features.h>.
54055         [__NR_fadvise64_64]: Make code unconditional.
54056         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54057         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54058         !__NR_fadvise64_64)]: Likewise.
54059         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54060         !__NR_fadvise64_64))]: Likewise.
54061         [__NR_fadvise64]: Make code unconditional.
54062         [!__NR_fadvise64]: Remove conditional code.
54063         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54064         <kernel-features.h>.
54065         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54066         unconditional.
54067         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54068         conditional code.
54069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54070         not include <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/s390/s390-32/posix_fadvise64.c: Do not
54076         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.
54082 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54084         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54085         slight instruction rearrangements per scrollpipe analysis.
54086         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54088 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54090         * manual/syslog.texi (syslog; vsyslog, closelog):
54091         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54092         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54094         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54095         DSOCAPS to match condition on defining it.
54097 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54099         * sysdeps/unix/sysv/linux/kernel-features.h
54100         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54102         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54103         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54105         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54106         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54108         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54109         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54111         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54112         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54114         * sysdeps/unix/sysv/linux/kernel-features.h
54115         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54116         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54117         unconditional.
54118         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54119         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54120         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54121         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54122         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54123         Make code unconditional.
54124         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54125         (__mmap64) [!__NR_mmap2]: Likewise.
54126         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54127         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54128         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54130         [__NR_mmap2]: Make code unconditional.
54131         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54132         (__mmap64) [!__NR_mmap2]: Likewise.
54134 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54136         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54138 2012-08-18  Andreas Jaeger  <aj@suse.de>
54140         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54142 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54144         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54145         * include/unistd.h (__have_sock_cloexec): Likewise.
54146         (__have_pipe2): Likewise.
54147         (__have_dup3): Likewise.
54149 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54151         [BZ #9685]
54152         * include/unistd.h (__have_pipe2): Change define into an extern int.
54153         (__have_dup3): Likewise.
54154         * socket/have_sock_cloexec.c: Include fcntl.h.
54155         (__have_pipe2): New variable.
54156         (__have_dup3): Likewise.
54158 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54160         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54162 2012-08-17  Marek Polacek  <polacek@redhat.com>
54164         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54165         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54167 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54169         * configure.in: Add AC_SUBST for sysheaders.
54170         * configure: Regenerated.
54171         * config.make.in (sysheaders): New substituted variable.
54173         * sysdeps/unix/mkfifo.c: Moved ...
54174         * sysdeps/posix/mkfifo.c: ... here.
54175         * sysdeps/unix/mkfifoat.c: Moved ...
54176         * sysdeps/posix/mkfifoat.c: ... here.
54178         * sysdeps/unix/utime.c: Moved ...
54179         * sysdeps/posix/utime.c: ... here.
54181         * sysdeps/unix/time.c: Moved ...
54182         * sysdeps/posix/time.c: ... here.
54183         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54184         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54186         * sysdeps/unix/nice.c: Moved ...
54187         * sysdeps/posix/nice.c: ... here.
54189         * sysdeps/unix/alarm.c: Moved ...
54190         * sysdeps/posix/alarm.c: ... here.
54192         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54194 2012-08-17  Jeff Law <law@redhat.com>
54196         * intl/Makefile (codeset_mo): New variable.
54197         ($(codeset_mo)): New target.
54198         (tst-codeset.out): Depend on that.  Remove explicit rule.
54199         (tst-gettext3.out, tst-gettext5.out): Likewise.
54200         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54201         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54202         * intl/tst-codeset.sh: Remove.
54203         * intl/tst-gettext3.sh: Likewise.
54204         * intl/tst-gettext5.sh: Likewise.
54206 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54208         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54209         * sysdeps/unix/syscalls.list: ... here.
54211         * sysdeps/posix/getaddrinfo.c
54212         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54213         (gaiconf_init, gaiconf_reload): Use them.
54214         [!_STATBUF_ST_NSEC]
54215         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54216         Define using time_t rather than struct timespec.
54218         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54219         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54220         Macros removed.
54221         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54222         [!NO_THREADS].
54223         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54224         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54225         Likewise.
54227         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54228         __libc_cleanup_push argument.
54230         * bits/param.h: New file.
54231         * misc/sys/param.h: New file.
54232         * include/sys/param.h: New file.
54233         * misc/Makefile (headers): Add bits/param.h.
54234         * sysdeps/generic/sys/param.h: File removed.
54235         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54236         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54237         * sysdeps/mach/hurd/bits/param.h: New file.
54238         * sysdeps/mach/hurd/sys/param.h: File removed.
54240         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54241         last change.
54243         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54244         [_IO_MTSAFE_IO].
54245         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54246         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54247         New macros.
54249         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54250         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54251         rather than -D_IO_MTSAFE_IO conditionally.
54252         * stdio-common/Makefile (CPPFLAGS): Likewise.
54253         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54254         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54255         Use $(libio-mtsafe).
54256         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54257         of -D_IO_MTSAFE_IO.
54258         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54259         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54260         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54261         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54262         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54263         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54264         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54265         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54266         (CFLAGS-fread_u_chk.c): Likewise.
54267         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54268         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54269         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54270         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54271         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54272         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54273         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54274         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54275         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54277         * libio/Makefile: Test [$(libc-reentrant) = yes]
54278         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54280         * Makeconfig
54281         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54282         * sysdeps/pthread/configure: File removed.
54283         * sysdeps/pthread/Makeconfig: New file.
54284         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54285         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54287 2012-08-16  Gary Benson  <gbenson@redhat.com>
54289         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54290         unmapping the first object in a namespace.
54292 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54294         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54295         (__internal_setnetgrent): ... this.  Add internal_function to
54296         definition.  Add libc_hidden_def.
54297         (setnetgrent): Update caller.
54298         (internal_endnetgrent): Renamed to ...
54299         (__internal_endnetgrent): ... this.  Add internal_function to
54300         definition.  Add libc_hidden_def.
54301         (endnetgrent): Update caller.
54302         (internal_getnetgrent_r): Renamed to ...
54303         (__internal_getnetgrent_r): ... this.  Add internal_function to
54304         definition.  Add libc_hidden_def.
54305         (__getnetgrent_r): Update caller.
54306         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54308 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54310         * stdlib/longlong.h: Update from GCC.
54312 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54314         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54315         on _QL, which is set by umul_ppmm but never used.
54316         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54317         variables, which are set by GMP macros but never used.
54318         * stdio-common/_itowa.c (_itowa): Likewise.
54319         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54320         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54322 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54324         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54325         struct La_sh_regs is not constant.
54326         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54327         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54328         and struct La_sparc64_regs are not constant.
54330 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54332         * sysdeps/unix/sysv/linux/kernel-features.h
54333         (__ASSUME_POSIX_TIMERS): Remove.
54334         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54335         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54336         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54337         Make code unconditional.
54338         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54339         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54340         Make code unconditional.
54341         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54342         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54343         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54344         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54345         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54346         Make code unconditional.
54347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54348         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54349         (__libc_missing_posix_timers): Remove.
54351 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54353         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54354         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54356         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54358         * elf/dl-sym.c: Include <stdlib.h>.
54360         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54361         constants, which avoids warnings in 32-bit builds.
54363         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54364         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54366         * misc/lseek.c: File moved to ...
54367         * io/lseek.c: ... here.
54369         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54371         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54372         shifting LEN more than 31 bits at once.
54374 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54376         [BZ #14195]
54377         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54378         segmentation fault for a case of two empty input strings.
54379         * string/test-strncasecmp.c (check1): Renamed to...
54380         (bz12205): ...this.
54381         (bz14195): Add new testcase for two empty input strings and N > 0.
54382         (test_main): Call new testcase, adapt for renamed function.
54384 2012-08-15  Andreas Jaeger  <aj@suse.de>
54386         [BZ #14090]
54387         * crypt/md5test2.c: New test, based on test supplied by Serge
54388         Belyshev <belyshev@depni.sinp.msu.ru>.
54389         * crypt/Makefile (xtests): Add md5test-giant..
54390         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54392 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54394         [BZ #14090]
54395         * crypt/md5.c (md5_process_block): Don't assume the buffer
54396         length is less than 2**32.
54397         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54398         length is less than 2**64.
54400 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54402         * string/str-two-way.h: Include <sys/param.h>.
54403         (MAX): Macro removed.
54405         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54406         Move #define and #undef of memmove to just before and after
54407         including <string.h>.
54409         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54410         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54411         and after including <string.h>.  Move declarations of
54412         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54413         to before #include "string/memmove.c".
54415         * include/dirent.h: Declare __getdirentries.
54417         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54418         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54420 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54422         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54423         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54424         * sysdeps/i386/configure: Regenerated.
54425         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54426         STABS_CURRENT_FILE, and STABS_FUN.
54427         (END): Remove call to STABS_FUN_END.
54428         (STABS_CURRENT_FILE1): Delete.
54429         (STABS_CURRENT_FILE): Likewise.
54430         (STABS_FUN): Likewise.
54431         (STABS_FUN_END): Likewise.
54432         (STABS_FUN2): Likewise.
54433         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54434         * sysdeps/x86_64/configure: Regenerated.
54436 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54438         * elf/dl-open.c: Include <atomic.h>.
54439         * elf/dl-lookup.c: Likewise.
54441 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54443         * sysdeps/unix/sysv/linux/kernel-features.h
54444         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54445         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54446         unconditionally.
54447         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54448         unconditionally.
54449         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54450         condition on __ASSUME_CLONE_THREAD_FLAGS.
54452 2012-08-14  Andreas Jaeger  <aj@suse.de>
54454         * sysdeps/i386/fpu/libm-test-ulps: Update.
54456 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54458         * include/atomic.h (atomic_exchange_and_add): Split into ...
54459         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54460         New atomic macros.
54462 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54466 2012-08-13  Jeff Law <law@redhat.com>
54468         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54469         null byte in the output string.
54471 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54473         * sysdeps/unix/sysv/linux/kernel-features.h
54474         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54475         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54476         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54477         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54478         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54479         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54480         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54482 2012-08-09  Jeff Law <law@redhat.com>
54484         [BZ #13939]
54485         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54486         When avoid_arena is set, don't retry in the that arena.  Pick the
54487         next one, whatever it might be.
54488         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54489         (arena_lock): Pass in new parameter to arena_get2.
54490         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54491         arena_get2.
54492         (__libc_malloc): Unify retrying after main arena failure with
54493         __libc_memalign version.
54494         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54496 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54498         [BZ #14166]
54499         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54500         to __redirect_strstr.
54501         (__strstr_sse42): Use typeof __redirect_strstr.
54502         (__strstr_ia32): Likewise.
54503         (__libc_strstr): New prototype.
54504         (strstr): Renamed to ...
54505         (__libc_strstr): This.
54506         (strstr): New strong alias of __libc_strstr.
54507         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54508         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54509         __redirect_time.
54510         Include <time.h>.
54511         (__libc_time): New prototype.
54512         (time_ifunc): Replace time with __libc_time.
54513         (time): New strong alias and hidden definition of __libc_time.
54514         (__GI_time): Remove strong alias.
54515         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54516         Include <stddef.h>.
54517         (memmove): Redefined to __redirect_memmove.
54518         (__memmove_sse2): Use typeof __redirect_memmove.
54519         (__memmove_ssse3): Likewise.
54520         (__memmove_ssse3_back): Likewise.
54521         (__libc_memmove): New prototype.
54522         (memmove): Renamed to ...
54523         (__libc_memmove): This.
54524         (memmove): New strong alias of __libc_memmove.
54526 2012-08-08  Mark Salter  <msalter@redhat.com>
54528         * elf/elf.h
54529         (R_MN10300_TLS_GD): Define.
54530         (R_MN10300_TLS_LD): Likewise.
54531         (R_MN10300_TLS_LDO): Likewise.
54532         (R_MN10300_TLS_GOTIE): Likewise.
54533         (R_MN10300_TLS_IE): Likewise.
54534         (R_MN10300_TLS_LE): Likewise.
54535         (R_MN10300_TLS_DTPMOD): Likewise.
54536         (R_MN10300_TLS_DTPOFF): Likewise.
54537         (R_MN10300_TLS_TPOFF): Likewise.
54538         (R_MN10300_SYM_DIFF): Likewise.
54539         (R_MN10300_ALIGN): Likewise.
54540         (R_MN10300_NUM): Update.
54542 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54545         Remove.
54547 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54549         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54551         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54552         sysdeps/unix -> sysdeps/posix move.
54553         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54555 2012-08-07      Allan McRae     <allan@archlinux.org>
54557         [BZ #14303]
54558         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54559         (SUNOS_CPP): Likewise.
54560         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54561         not found.
54562         (open_input): Call CPP using execvp.
54564 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54566         * sysdeps/unix/sysv/linux/kernel-features.h
54567         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54568         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54569         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54570         (__ASSUME_WAITID_SYSCALL): Likewise.
54571         * sysdeps/unix/sysv/linux/dl-execstack.c
54572         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54573         code unconditional.
54574         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54575         conditional code.
54576         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54577         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54578         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54579         code.
54580         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54581         unconditional.
54582         [__ASSUME_WAITID_SYSCALL]: Likewise.
54583         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54585 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54587         * sysdeps/unix/closedir.c: Renamed to ...
54588         * sysdeps/posix/closedir.c: ... here.
54589         * sysdeps/unix/dirfd.c: Renamed to ...
54590         * sysdeps/posix/dirfd.c: ... here.
54591         * sysdeps/unix/dirstream.h: Renamed to ...
54592         * sysdeps/posix/dirstream.h: ... here.
54593         * sysdeps/unix/fdopendir.c: Renamed to ...
54594         * sysdeps/posix/fdopendir.c: ... here.
54595         * sysdeps/unix/opendir.c: Renamed to ...
54596         * sysdeps/posix/opendir.c: ... here.
54597         * sysdeps/unix/readdir.c: Renamed to ...
54598         * sysdeps/posix/readdir.c: ... here.
54599         * sysdeps/unix/readdir_r.c: Renamed to ...
54600         * sysdeps/posix/readdir_r.c: ... here.
54601         * sysdeps/unix/rewinddir.c: Renamed to ...
54602         * sysdeps/posix/rewinddir.c: ... here.
54603         * sysdeps/unix/seekdir.c: Renamed to ...
54604         * sysdeps/posix/seekdir.c: ... here.
54605         * sysdeps/unix/telldir.c: Renamed to ...
54606         * sysdeps/posix/telldir.c: ... here.
54607         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54608         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54609         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54610         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54612         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54613         * bits/fcntl.h: ... here.
54615         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54616         not 0.
54617         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54618         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54619         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54620         (struct flock): Move l_start, l_len to the beginning.
54621         Use __pid_t for l_pid.
54622         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54623         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54624         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54625         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54626         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54627         [__USE_LARGEFILE64] (struct flock64): New type.
54628         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54630         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54631         * bits/dirent.h: ... here.
54633         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54634         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54636 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54638         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54639         Change from 2.6.0 to 2.6.16.
54640         * sysdeps/unix/sysv/linux/configure: Regenerated.
54641         * sysdeps/unix/sysv/linux/kernel-features.h
54642         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54643         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54644         version.
54645         (__ASSUME_UTIMES): Likewise.
54646         (__ASSUME_CLONE_STOPPED): Remove.
54647         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54648         architectures, not kernel version.
54649         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54650         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54651         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54652         (__ASSUME_WAITID_SYSCALL): Likewise.
54653         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54654         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54655         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54656         refer to older versions.
54658 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54660         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54661         Define alphasort64 as an alias.
54662         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54663         Define versionsort64 as an alias.
54664         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54665         Define scandir64 as an alias.
54666         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54667         Define scandirat64 as an alias.
54668         * dirent/alphasort64.c (alphasort64):
54669         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54670         * dirent/versionsort64.c: Likewise.
54671         * dirent/scandir64.c: Likewise.
54672         * dirent/scandirat64.c: Likewise.
54673         * sysdeps/wordsize-64/alphasort.c: File removed.
54674         * sysdeps/wordsize-64/alphasort64.c: File removed.
54675         * sysdeps/wordsize-64/scandir.c: File removed.
54676         * sysdeps/wordsize-64/scandir64.c: File removed.
54677         * sysdeps/wordsize-64/scandirat.c: File removed.
54678         * sysdeps/wordsize-64/scandirat64.c: File removed.
54679         * sysdeps/wordsize-64/versionsort.c: File removed.
54680         * sysdeps/wordsize-64/versionsort64.c: File removed.
54681         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54682         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54683         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54685         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54687         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54688         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54690         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54692         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54694         [defined __arch64__ || defined __sparcv9]
54695         (__INO_T_MATCHES_INO64_T): New macro.
54696         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54697         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54698         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54699         * sysdeps/unix/sysv/linux/bits/dirent.h
54700         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54701         (_DIRENT_MATCHES_DIRENT64): New macro.
54703         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54704         Define lockf64 as an alias.
54705         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54706         Define fseeko64 as an alias.
54707         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54708         Define ftello64 as an alias.
54709         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54710         Define _IO_fgetpos64 and fgetpos64 as aliases.
54711         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54712         Define _IO_fsetpos64 and fsetpos64 as aliases.
54713         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54714         Conditionalize body on this.
54715         * libio/fseeko64.c: Likewise.
54716         * libio/ftello64.c: Likewise.
54717         * libio/iofgetpos64.c: Likewise.
54718         * libio/iofsetpos64.c: Likewise.
54719         * sysdeps/wordsize-64/lockf.c: File removed.
54720         * sysdeps/wordsize-64/lockf64.c: File removed.
54721         * sysdeps/wordsize-64/fseeko.c: File removed.
54722         * sysdeps/wordsize-64/fseeko64.c: File removed.
54723         * sysdeps/wordsize-64/ftello.c: File removed.
54724         * sysdeps/wordsize-64/ftello64.c: File removed.
54725         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54726         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54727         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54728         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54729         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54730         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54731         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54732         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54733         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54734         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54735         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54736         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54738         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54740         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54741         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54742         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54744         [defined __arch64__ || defined __sparcv9]
54745         (__OFF_T_MATCHES_OFF64_T): New macro.
54746         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54747         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54749         (__OFF_T_MATCHES_OFF64_T): New macro.
54751 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54753         * stdlib/secure-getenv.c (__secure_getenv): Replace
54754         GLIBC_2_16 with GLIBC_2_17.
54756 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54758         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54761 2012-08-03  David S. Miller  <davem@davemloft.net>
54763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54765 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54767         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54768         Remove.
54769         (__ASSUME_CORRECT_SI_PID): Likewise.
54770         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54771         (__ASSUME_TMPFS_NAME): Likewise.
54772         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54773         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54774         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54775         (HAVE_AUX_SECURE): Make definition unconditional.
54776         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54777         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54779 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54781         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54782         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54783         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54784         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54785         __eloop_threshold instead of SYMLOOP_MAX.
54787         * sysdeps/generic/eloop-threshold.h: New file.
54788         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54789         of MAXSYMLINKS.
54790         * elf/chroot_canon.c (chroot_canon): Likewise.
54792 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54794         [BZ #13717]
54795         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54796         Change to 2.6.0 everywhere.
54797         * sysdeps/unix/sysv/linux/configure: Regenerated.
54798         * sysdeps/unix/sysv/linux/kernel-features.h
54799         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54800         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54801         kernel versions.
54802         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54803         (__ASSUME_FUTEX_REQUEUE): Remove.
54804         (__ASSUME_STATFS64): Define unconditionally.
54805         (__ASSUME_AT_SECURE): Likewise.
54806         (__ASSUME_CORRECT_SI_PID): Likewise.
54807         (__ASSUME_TGKILL): Define without depending on kernel version for
54808         i386.
54809         (__ASSUME_UTIMES): Likewise.
54810         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54811         kernel version.
54812         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54813         (__ASSUME_TMPFS_NAME): Likewise.
54814         * README: Update reference to Linux kernel versions.
54816 2012-08-02  Marek Polacek  <polacek@redhat.com>
54818         [BZ# 14150]
54819         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54820         libc_cv_asm_type_prefix with %.
54821         * configure: Regenerated.
54822         * include/libc-symbols.h: Remove comment about
54823         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54824         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54825         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54826         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54827         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54828         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54829         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54830         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54831         * elf/tst-unique2mod1.c: Likewise.
54832         * elf/tst-unique1mod2.c: Likewise.
54833         * elf/tst-unique1mod1.c: Likewise.
54834         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54835         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54836         Replace ASM_TYPE_DIRECTIVE with .type.
54837         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54838         * sysdeps/i386/sysdep.h: Likewise.
54839         * sysdeps/x86_64/sysdep.h: Likewise.
54840         * sysdeps/sh/sysdep.h: Likewise.
54841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54842         Do not define ASM_TYPE_DIRECTIVE.
54843         * sysdeps/powerpc/sysdep.h: Likewise.
54844         * sysdeps/powerpc/powerpc32/sysdep.h:
54845         Replace ASM_TYPE_DIRECTIVE with .type.
54846         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54848         * sysdeps/i386/fpu/e_powf.S: Likewise.
54849         * sysdeps/i386/fpu/e_expl.S: Likewise.
54850         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54851         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54852         * sysdeps/i386/fpu/e_pow.S: Likewise.
54853         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54854         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54855         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54856         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54857         * sysdeps/i386/fpu/e_log2.S: Likewise.
54858         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54859         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54860         * sysdeps/i386/fpu/e_powl.S: Likewise.
54861         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54862         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54863         * sysdeps/i386/fpu/e_logl.S: Likewise.
54864         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54865         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54866         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54867         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54868         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54869         * sysdeps/i386/fpu/e_log.S: Likewise.
54870         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54871         * sysdeps/i386/fpu/e_logf.S: Likewise.
54872         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54873         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54874         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54875         * sysdeps/i386/fpu/e_log10.S: Likewise.
54876         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54877         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54878         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54879         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54880         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54881         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54882         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54883         * sysdeps/i386/i686/strtok.S: Likewise.
54884         * sysdeps/i386/i386-mcount.S: Likewise.
54885         * sysdeps/i386/strtok.S: Likewise.
54886         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54887         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54888         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54889         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54890         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54891         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54892         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54893         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54894         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54895         * sysdeps/x86_64/_mcount.S: Likewise.
54896         * sysdeps/x86_64/strtok.S: Likewise.
54897         * sysdeps/sh/_mcount.S: Likewise.
54899 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54901         * libio/iofopen.c: Include <fcntl.h>.
54902         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54903         (_IO_fopen64, fopen64): Define as aliases.
54904         * libio/iofopen64.c: Include <fcntl.h>.
54905         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54906         Conditionalize body on this.
54907         * sysdeps/wordsize-64/iofopen.c: File removed.
54908         * sysdeps/wordsize-64/iofopen64.c: File removed.
54910 2012-08-01  Marek Polacek  <polacek@redhat.com>
54912         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54913         Use dlfcn directly instead of a variable.
54914         (binfmt-subdir): Do not define.
54915         (dlfcn): Likewise.
54917 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54920         Remove all definitions.
54921         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54922         <kernel-features.h>.
54923         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54924         (miss_F_GETOWN_EX): Remove all definitions.
54925         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54926         macro definition.
54927         [!__ASSUME_FCNTL64]: Remove conditional code.
54928         [__ASSUME_FCNTL64]: Make code unconditional.
54929         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54930         <kernel-features.h>.
54931         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54932         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54933         (lockf64) [__NR_fcntl64]: Make code unconditional.
54934         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54936         * sysdeps/unix/sysv/linux/kernel-features.h
54937         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54938         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54939         Make code unconditional.
54940         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54941         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54943         [__NR_vfork]: Make code unconditional.
54944         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54945         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54947         [__NR_vfork]: Make code unconditional.
54948         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54949         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54951 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54953         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54954         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54956         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54957         Define mkstemp64 as an alias.
54958         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54959         Define mkstemps64 as an alias.
54960         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54961         Define mkostemp64 as an alias.
54962         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54963         Define mkostemps64 as an alias.
54964         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54965         Conditionalize body on this.
54966         * misc/mkostemp64.c: Likewise.
54967         * misc/mkostemps64.c: Likewise.
54968         * misc/mkstemps64.c: Likewise.
54969         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54970         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54971         * sysdeps/wordsize-64/mkostemp.c: File removed.
54972         * sysdeps/wordsize-64/mkstemp.c: File removed.
54973         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54978         [BZ #14138]
54979         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54980         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54981         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54982         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54984         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54985         compat_symbol macros from <shlib-compat.h> rather than the underlying
54986         default_symbol_version and symbol_version macros, so that DEFAULT
54987         lines in shlib-versions are respected.
54988         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54990 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54992         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54993         Declare with warn_unused_result.
54994         (setgid, setregid, setegid, setresgid): Likewise.
54995         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54996         Likewise.
54997         * WUR-REPORT: Remove set*id functions.
54999 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55001         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55003 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55005         [BZ #10191]
55006         * include/sys/socket.h (__libc_accept, __libc_accept4):
55007         Add attribute_hidden.
55008         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55010         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55011         use of PTR_MANGLE.
55012         * inet/getnetgrent_r.c (setup): Likewise.
55014         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55016 2012-07-31  David S. Miller  <davem@davemloft.net>
55018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55020 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55022         [BZ #13629]
55023         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55024         value between 1.0 and 2.0 and smaller part has absolute value less
55025         than 1.0.
55026         * math/s_clog10.c (__clog10): Likewise.
55027         * math/s_clog10f.c (__clog10f): Likewise.
55028         * math/s_clog10l.c (__clog10l): Likewise.
55029         * math/s_clogf.c (__clogf): Likewise.
55030         * math/s_clogl.c (__clogl): Likewise.
55031         * math/libm-test.inc (clog_test): Add more tests.
55032         (clog10_test): Likewise.
55033         * sysdeps/i386/fpu/libm-test-ulps: Update.
55034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55036 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55038         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55039         Exit with zero in case no suitable GID is found, and write a
55040         message to standard error.
55042 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55044         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55045         rather than to 1.
55046         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55047         (MAXPATHLEN): Removed.
55048         (NOGROUP, NODEV): New macros.
55049         (setbit, clrbit, isset, isclr): New macros.
55050         (howmany, roundup, powerof2): New macros.
55051         (DEV_BSIZE): New macro.
55053         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55054         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55056         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55057         definition on [!__NO_LONG_DOUBLE_MATH].
55059         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55060         PTR_MANGLE and PTR_DEMANGLE.
55062         * socket/accept4.c (accept4): Rename to __libc_accept4.
55063         Define accept4 as a weak alias.
55065         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55066         on [_DIRENT_HAVE_D_TYPE].
55067         * io/ftw.c (ftw_dir): Likewise.
55069         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55071         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55073         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55074         Use the BSD numbers rather than the arbitrary ones we had.
55075         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55076         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55077         (SIGXCPU, SIGXFSZ): New macros.
55078         (_NSIG): Now 32.
55080         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55081         initializer on [_LIBC_REENTRANT].
55083         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55084         definitions inside [_POSIX_MAPPED_FILES].
55086         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55088         * dirent/opendir.c: Include <fcntl.h>.
55090         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55091         (__libc_getspecific): Likewise.
55092         (__libc_key_create): Likewise.
55094         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55095         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55096         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55097         (tmpfile64): Define as alias.
55098         * sysdeps/wordsize-64/tmpfile.c: File removed.
55099         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55100         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55101         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55103         * stdio-common/vfscanf.c: Include <stdbool.h>.
55104         * nss/makedb.c: Likewise.
55105         * stdio-common/_i18n_number.h: Likewise.
55106         * argp/argp-help.c: Likewise.
55107         * posix/wordexp.c: Likewise.
55108         * sysdeps/posix/spawni.c: Likewise.
55109         * nss/nss_files/files-initgroups.c: Likewise.
55110         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55111         * nss/nss_files/files-initgroups.c: Likewise.
55112         * nss/nss_db/db-netgrp.c: Likewise.
55113         * nss/nss_db/db-initgroups.c: Likewise.
55114         * io/fchmodat.c: Include <sys/stat.h>.
55116         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55117         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55119         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55120         [HAVE_MMAP].
55122         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55123         Add multiple inclusion protection.
55125 2012-07-27  David S. Miller  <davem@davemloft.net>
55127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55129 2012-07-27  Gary Benson  <gbenson@redhat.com>
55131         [BZ #14298]
55132         * elf/rtld.c: Include <stap-probe.h>.
55133         (dl_main): Added static probes "init_start" and "init_complete".
55134         * elf/dl-load.c: Include <stap-probe.h>.
55135         (lose): Take new parameter "nsid".
55136         Added static probe "map_failed".
55137         (_dl_map_object_from_fd): Pass namespace id to lose.
55138         Added static probe "map_start".
55139         (open_verify): Pass namespace id to lose.
55140         * elf/dl-open.c: Include <stap-probe.h>.
55141         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55142         and "reloc_complete".
55143         * elf/dl-close.c: Include <stap-probe.h>.
55144         (_dl_close_worker): Added static probes "unmap_start" and
55145         "unmap_complete".
55146         * elf/rtld-debugger-interface.txt: New file documenting the above.
55148 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55150         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55151         rather than a string variable.
55152         * sunrpc/rpc_main.c (h_output): Likewise.
55153         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55155 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55157         * inet/check_native.c: New file.
55159 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55161         [BZ #13629]
55162         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55163         if larger part has absolute value 1.0.
55164         * math/s_clog10.c (__clog10): Likewise.
55165         * math/s_clog10f.c (__clog10f): Likewise.
55166         * math/s_clog10l.c (__clog10l): Likewise.
55167         * math/s_clogf.c (__clogf): Likewise.
55168         * math/s_clogl.c (__clogl): Likewise.
55169         * math/libm-test.inc (clog_test): Add more tests.
55170         (clog10_test): Likewise.
55171         * sysdeps/i386/fpu/libm-test-ulps: Update.
55172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55174         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55175         (pltexit): Likewise.
55176         (La_regs): Likewise.
55177         (La_retval): Likewise.
55178         (int_retval): Likewise.
55179         Update #error for removed macros to refer only to definitions in
55180         tst-audit.h.
55181         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55182         macro.
55183         (pltexit): Likewise.
55184         (La_regs): Likewise.
55185         (La_retval): Likewise.
55186         (int_retval): Likewise.
55187         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
55212         macro.
55213         (pltexit): Likewise.
55214         (La_regs): Likewise.
55215         (La_retval): Likewise.
55216         (int_retval): Likewise.
55217         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55218         macro definitions in tst-audit.h.
55219         * sysdeps/i386/tst-audit.h: New file.
55220         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55221         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55222         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55223         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55224         * sysdeps/sh/tst-audit.h: Likewise.
55225         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55226         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55227         * sysdeps/x86_64/tst-audit.h: Likewise.
55229 2012-07-26  Andreas Jaeger  <aj@suse.de>
55231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55232         ptrace.
55234         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55235         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55236         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55237         PTRACE_O_MASK.
55238         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55239         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55240         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55242         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55243         value.
55245         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55246         _sigsys.
55247         (si_call_addr, si_syscall, si_arch): Define new macro.
55248         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55249         _sigsys.
55250         (si_call_addr, si_syscall, si_arch): Define new marcro.
55251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55252         _sigsys.
55253         (si_call_addr, si_syscall, si_arch): Define new macro.
55254         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55255         _sigsys.
55256         (si_call_addr, si_syscall, si_arch): Define new macro.
55258 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55260         [BZ #13717]
55261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55262         Change to 2.4.21 where previously 2.4.1.
55263         * sysdeps/unix/sysv/linux/configure: Regenerated.
55264         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55265         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55266         Linux kernel version.
55267         (__ASSUME_STD_AUXV): Remove.
55268         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55269         kernel version.
55270         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55271         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55272         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55273         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55274         (__ASSUME_NETLINK_SUPPORT): Likewise.
55275         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55276         (__no_netlink_support): Remove conditional definition.
55277         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55278         Remove.
55279         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55280         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55281         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55282         (if_nameindex_ioctl): Remove.
55283         (if_nameindex_netlink): Do not handle __no_netlink_support.
55284         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55285         code.
55286         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55287         Remove conditional code.
55288         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55289         code.
55290         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55291         unconditional.
55292         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55293         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55294         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55295         Remove.
55296         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55297         [!__ASSUME_STD_AUXV]: Remove conditional code.
55298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55299         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55300         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55302         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55303         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55304         code.
55305         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55307         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55308         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55309         conditional code.
55310         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55312         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55313         code.
55314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55315         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55316         conditional code.
55317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55318         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55319         code unconditional.
55320         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55321         conditional code.
55322         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55323         unconditional.
55324         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55325         conditional code.
55326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55327         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55328         unconditional.
55329         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55330         conditional code.
55331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55332         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55333         code unconditional.
55334         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55335         conditional code.
55336         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55337         unconditional.
55338         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55339         conditional code.
55340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55341         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55342         code unconditional.
55343         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55344         conditional code.
55345         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55346         unconditional.
55347         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55348         conditional code.
55350 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55352         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55353         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55354         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55355         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55356         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55357         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55358         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55359         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55360         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55361         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55362         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55363         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55364         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55365         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55366         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55367         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55368         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55369         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55370         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55372         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55373         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55374         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55376 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55378         * Versions.def: Add GLIBC_2.17.
55379         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55380         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55381         Introduce __libc_secure_getenv.
55382         * stdlib/Versions (2.17): Add secure_getenv
55383         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55384         * stdlib/secure-getenv.c: Rename __secure_getenv to
55385         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55386         symbol __secure_getenv for GLIBC_2.0.
55387         * stdlib/tst-secure-getenv.c: New.
55388         * stdlib/Makefile (tests): Add testcase.
55389         * manual/startup.texi (Environment Access): Document
55390         secure_getenv.
55391         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55392         __libc_secure_getenv.
55393         * inet/ruserpass.c (ruserpass): Likewise.
55394         * malloc/mtrace.c (mtrace): Likewise.
55395         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55396         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55397         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55398         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55399         HAVE_SECURE_GETENV.
55400         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55401         __secure_getenv to __libc_secure_getenv.
55402         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55404         Likewise.
55405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55406         Likewise.
55407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55415 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55417         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55418         (struct La_i86_retval): Likewise.
55419         (struct La_x86_64_regs): Likewise.
55420         (struct La_x86_64_retval): Likewise.
55421         (struct La_x32_regs): Likewise.
55422         (struct La_x32_retval): Likewise.
55423         (struct La_ppc32_regs): Likewise.
55424         (struct La_ppc32_retval): Likewise.
55425         (struct La_ppc64_regs): Likewise.
55426         (struct La_ppc64_retval): Likewise.
55427         (struct La_sh_regs): Likewise.
55428         (struct La_sh_retval): Likewise.
55429         (struct La_s390_32_regs): Likewise.
55430         (struct La_s390_32_retval): Likewise.
55431         (struct La_s390_64_regs): Likewise.
55432         (struct La_s390_64_retval): Likewise.
55433         (struct La_sparc32_regs): Likewise.
55434         (struct La_sparc32_retval): Likewise.
55435         (struct La_sparc64_regs): Likewise.
55436         (struct La_sparc64_retval): Likewise.
55437         (struct audit_ifaces): Remove architecture-specific pltenter and
55438         pltexit members.
55439         * sysdeps/i386/ldsodefs.h: New file.
55440         * sysdeps/powerpc/ldsodefs.h: Likewise.
55441         * sysdeps/s390/ldsodefs.h: Likewise.
55442         * sysdeps/sh/ldsodefs.h: Likewise.
55443         * sysdeps/sparc/ldsodefs.h: Likewise.
55444         * sysdeps/x86_64/ldsodefs.h: Likewise.
55446 2012-07-25  Marek Polacek  <polacek@redhat.com>
55448         [BZ #6808]
55449         * math/libm-test.inc (yn_test): Add another test.
55450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55451         to ERANGE when the result is +-Inf.
55452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55453         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55454         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55455         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55457 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55459         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55460         equal to 0.
55461         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55462         clock_t.
55463         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55465 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55467         * configure.in <sysdeps resolving>: Correct printing
55468         Implies_before.
55469         * configure: Regenerate.
55471 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55473         * math/w_ilogb.c: Include <limits.h>.
55474         * math/w_ilogbl.c: Likewise.
55476 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55478         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55479         va_copy.  Document allowing for unavailable va_copy only as
55480         pre-C99 compatibility.
55481         * manual/string.texi (Copying and Concatenation): Use va_copy
55482         instead of __va_copy in concat example.
55484 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55486         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55487         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55488         it if not null.
55490         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55491         with O_NOLINK passed to __file_name_lookup.
55493         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55494         with O_NOLINK passed to __file_name_lookup.
55496         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55497         negative N or less than NGIDS.
55499         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55500         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55501         enough.  Use memcpy instead of strncpy.
55503 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55505         * elf/Makefile (check-data): Remove.
55506         (localplt.data): New vpath directive.
55507         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55508         instead of $(check-data).
55509         * scripts/data/localplt-generic.data: Move to ...
55510         * sysdeps/generic/localplt.data: ... here.
55511         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55512         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55513         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55515         ... here.
55516         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55518         ... here.
55519         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55521         ... here.
55522         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55524         ... here.
55525         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55527         ... here.
55528         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55530         ... here.
55532 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55534         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55535         PPC32 and PPC64 files.
55536         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55537         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55539 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55541         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55542         __makecontext_ret to ...
55543         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55544         ... here and call exit if uc_link is NULL.  New file.
55545         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55546         __makecontext_ret.S.
55547         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55548         __makecontext_ret to ...
55549         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55550         ... here and call exit if uc_link is NULL.  New file.
55551         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55552         __makecontext_ret.S.
55554 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55556         * elf/elf.h (R_390_IRELATIVE): New definition.
55557         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55558         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55559         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55560         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55561         (elf_machine_lazy_rel): Likewise.
55562         * sysdeps/s390/dl-irel.h: New file.
55563         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55564         * sysdeps/s390/s390-64/memset.S: New asm code.
55565         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55566         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55567         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55568         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55569         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55570         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55572         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55573         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55574         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55575         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55576         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55577         * sysdeps/s390/s390-32/memset.S: New asm code.
55578         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55580 2012-07-17  Marek Polacek  <polacek@redhat.com>
55582         [BZ #14349]
55583         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55584         * sysdeps/s390/s390-64/configure.in: Likewise.
55585         * sysdeps/sparc/configure.in: Likewise.
55586         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55587         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55588         * sysdeps/i386/configure.in: Likewise.
55589         * sysdeps/x86_64/configure.in: Likewise.
55590         * sysdeps/sh/configure.in: Likewise.
55591         * sysdeps/s390/s390-32/configure: Regenerated.
55592         * sysdeps/s390/s390-64/configure: Likewise.
55593         * sysdeps/x86_64/configure: Likewise.
55594         * sysdeps/sh/configure: Likewise.
55595         * sysdeps/powerpc/powerpc64/configure: Likewise.
55596         * sysdeps/powerpc/powerpc32/configure: Likewise.
55597         * sysdeps/sparc/configure: Likwise.
55598         * sysdeps/i386/configure: Likewise.
55600         * elf/dl-open.c: Comment fixes.
55602 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55604         * Makefile [CXX] (check-data): Remove.
55605         [CXX] (c++-types.data): New vpath directive.
55606         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55607         vpath.  Do not allow for C++ type data being missing.
55608         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55609         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55610         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55611         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55612         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55613         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55614         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55616         ... here.
55617         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55619         ... here.
55620         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55622         ... here.
55623         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55625         ... here.
55626         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55628         ... here.
55629         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55631         ... here.
55632         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55634         ... here.
55635         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55638         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55639         definitions to architecture-specific files.
55640         (TLS_IE): Likewise.
55641         (TLS_LD): Likewise.
55642         (TLS_GD): Likewise.
55643         * sysdeps/i386/tls-macros.h: New file.
55644         * sysdeps/powerpc/tls-macros.h: Likewise.
55645         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55646         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55647         * sysdeps/sh/tls-macros.h: Likewise.
55648         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55649         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55650         * sysdeps/x86_64/tls-macros.h: Likewise.
55652 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55654         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55655         zero value for regular exit case.
55657         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55658         (__start_context): Preserve zero value for regular exit case.
55660 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55661             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55663         * manual/setjmp.texi (setcontext): Clarify normal process
55664         termination when uc_link is the null pointer.
55665         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55666         exit call.
55668 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55670         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55671         preprocessor.  Test for each exception mask separately.
55673 2012-07-16  Andreas Jaeger  <aj@suse.de>
55675         * po/ru.po: Update from translation team.
55677 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55679         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55680         equal to 0.
55681         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55682         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55683         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55684         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55685         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55687 2012-07-13  Andreas Jaeger  <aj@suse.de>
55689         * po/fr.po: Update from translation team.
55691 2012-07-12  Marek Polacek  <polacek@redhat.com>
55693         [BZ #14173]
55694         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55695         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55696         loop condition.
55698 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55700         [BZ #13717]
55701         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55702         Change to 2.4.1 where previously 2.4.0.
55703         * sysdeps/unix/sysv/linux/configure: Regenerated.
55704         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55705         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55706         version.
55707         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55708         (__ASSUME_AT_CLKTCK): Remove.
55709         (__ASSUME_AT_PAGESIZE): Likewise.
55710         (__ASSUME_AT_XID): Likewise.
55711         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55712         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55713         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55714         unconditionally.
55715         (HAVE_AUX_PAGESIZE): Likewise.
55716         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55717         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55718         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55720 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55722         [BZ #14307]
55723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55724         the temporary buffer used to invoke __gethostbyname2_r,
55725         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55726         host_data / struct gaih_addrtuple.
55727         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55728         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55729         header file nss/nsswitch.h.
55730         * nss/nsswitch.h (global scope): Add definition of implementation
55731         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55732         resolv/nss_dns/dns-host.c).
55734 2012-07-11  Andreas Jaeger  <aj@suse.de>
55736         * po/fr.po: Update from translation team.
55738         * po/sv.po: Update from translation team
55739         * po/fr.po: Another update from translation team.
55741 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55743         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55744         for subnormals or multiply small sinh result by itself.
55745         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55748 2012-07-11  David S. Miller  <davem@davemloft.net>
55750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55752 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55754         [BZ #14347]
55755         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55756         (INTERNAL_MARK): Shift it here.
55758 2012-07-10  Marek Polacek  <polacek@redhat.com>
55760         [BZ #14151]
55761         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55762         libc_cv_asm_global_directive with .globl.
55763         * configure: Regenerated.
55764         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55765         with .globl.
55766         * sysdeps/i386/configure: Regenerated.
55767         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55768         with .globl.
55769         * sysdeps/x86_64/configure: Regenerated.
55770         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55771         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55772         * elf/tst-unique2mod2.c: Likewise.
55773         * elf/tst-unique2mod1.c: Likewise.
55774         * elf/tst-unique1mod2.c: Likewise.
55775         * elf/tst-unique1mod1.c: Likewise.
55776         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55777         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55778         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55779         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55780         * sysdeps/mach/sysdep.h: Likewise.
55781         * sysdeps/i386/sysdep.h: Likewise.
55782         * sysdeps/i386/i386-mcount.S: Likewise.
55783         * sysdeps/x86_64/_mcount.S: Likewise.
55784         * sysdeps/x86_64/sysdep.h: Likewise.
55785         * sysdeps/sh/_mcount.S: Likewise.
55786         * sysdeps/sh/sysdep.h: Likewise.
55787         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55788         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55789         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55790         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55791         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55792         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55793         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55794         * locale/localeinfo.h: Likewise.
55795         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55796         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55798 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55800         [BZ #14336]
55801         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55802         system".
55803         * manual/message.texi (The Uniforum approach): Likewise.
55804         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55805         (glibc iconv Implementation): Likewise.
55807 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55809         [BZ #14337]
55810         * math/s_clog.c (__clog): Avoid scaling a value down where that
55811         could result in underflow.
55812         * math/s_clog10.c (__clog10): Likewise.
55813         * math/s_clog10f.c (__clog10f): Likewise.
55814         * math/s_clog10l.c (__clog10l): Likewise.
55815         * math/s_clogf.c (__clogf): Likewise.
55816         * math/s_clogl.c (__clogl): Likewise.
55817         * math/libm-test.inc (clog_test): Add more tests.
55818         (clog10_test): Likewise.
55819         * sysdeps/i386/fpu/libm-test-ulps: Update.
55820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55822 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55824         [BZ #14283]
55825         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55826         by 7 not 8 to examine high bit of fractional part.
55828         [BZ #14042]
55829         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55830         for call to __mcount_internal.
55831         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55832         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55833         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55835 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55837         [BZ #14154]
55838         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55839         approximation for values within 0x1p-13f of an odd multiple of
55840         pi/4.
55841         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55842         exception.  Add more tests.
55843         * sysdeps/i386/fpu/libm-test-ulps: Update.
55845         [BZ #6778]
55846         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55847         inputs and return -1 for them.  Do not check for +Inf in case not
55848         reachable for +Inf.
55849         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55850         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55851         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55852         and return -1 for them.  Do not check for +Inf in case not
55853         reachable for +Inf.
55854         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55855         define.
55856         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55857         and return -1 for them.  Do not check for +Inf in case not
55858         reachable for +Inf.
55859         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55860         spurious underflow.
55861         * sysdeps/i386/fpu/libm-test-ulps: Update.
55862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55864 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55866         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55868 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55870         [BZ #14157]
55871         [BZ #14331]
55872         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55873         could result in spurious underflow.  Scale down values above
55874         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55875         * math/s_csqrtf.c (__csqrtf): Likewise.
55876         * math/s_csqrtl.c (__csqrtl): Likewise.
55877         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55878         spurious underflow.
55879         * sysdeps/i386/fpu/libm-test-ulps: Update.
55880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55882 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55884         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55885         xopen-msg.sed.
55886         * catgets/xopen-msg.awk: New file.
55887         * catgets/xopen-msg.sed: Removed.
55889         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55890         po2text.sed.
55891         * intl/po2test.awk: New file.
55892         * intl/po2test.sed: Removed.
55894 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55896         [BZ #14328]
55897         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55898         or multiply small sinh result by itself.
55899         * math/s_ctanf.c (__ctanf): Likewise.
55900         * math/s_ctanh.c (__ctanh): Likewise.
55901         * math/s_ctanhf.c (__ctanhf): Likewise.
55902         * math/s_ctanhl.c (__ctanhl): Likewise.
55903         * math/s_ctanl.c (__ctanl): Likewise.
55904         * math/libm-test.inc (ctan_test_tonearest): New function.
55905         (ctan_test_towardzero): Likewise.
55906         (ctan_test_downward): Likewise.
55907         (ctan_test_upward): Likewise.
55908         (ctanh_test_tonearest): Likewise.
55909         (ctanh_test_towardzero): Likewise.
55910         (ctanh_test_downward): Likewise.
55911         (ctanh_test_upward): Likewise.
55912         (main): Call these new functions.
55913         * sysdeps/i386/fpu/libm-test-ulps: Update.
55914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55916 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55918         * .gitignore: Delete /ports entry.
55920 2012-07-03  Andreas Jaeger  <aj@suse.de>
55922         * po/bg.po: Update from translation team.
55923         * po/cs.po: Likewise.
55924         * po/de.po: Likewise.
55925         * po/hr.po: Likewise.
55926         * po/nl.pl: Likewise.
55927         * po/pl.po: Likewise.
55928         * po/vi.po: Likewise.
55930 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55932         * Makeconfig [!+link] (+link-before-libc): New variable.
55933         [!+link] (+link-after-libc): Likewise.
55934         [!+link] (+link-tests): Likewise.
55935         [!+link] (+link): Define in terms of $(+link-before-libc) and
55936         $(+link-after-libc).
55937         [!+link-static] (+link-static-before-libc): New variable.
55938         [!+link-static] (+link-static-after-libc): Likewise.
55939         [!+link-static] (+link-static-tests): Likewise.
55940         [!+link-static] (+link-static): Define in terms of
55941         $(+link-static-before-libc) and $(+link-static-after-libc).
55942         [build-shared] (link-libc-before-gnulib): New variable.
55943         [build-shared] (link-libc-tests): Likewise.
55944         [build-shared] (link-libc): Define in terms of
55945         $(link-libc-before-gnulib).
55946         [!build-shared] (link-libc-tests): New variable.
55947         (link-libc-static-tests): New variable.
55948         [!gnulib] (gnulib-arch): New variable.
55949         [!gnulib] (gnulib-tests): Likewise.
55950         [!gnulib] (static-gnulib-arch): Likewise.
55951         [!gnulib] (static-gnulib-tests): Likewise.
55952         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55953         Define with "=" instead of ":=".
55954         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55955         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55956         * Rules (binaries-all-notests): New variable.
55957         (binaries-all-tests): Likewise.
55958         (binaries-static-notests): Likewise.
55959         (binaries-static-tests): Likewise.
55960         (binaries-all): Define using $(binaries-all-notests) and
55961         $(binaries-all-tests).
55962         (binaries-static): Define using $(binaries-static-notests) and
55963         $(binaries-static-tests).
55964         (binaries-shared-tests): New variable.
55965         (binaries-shared-notests): Likewise.
55966         (binaries-shared): Remove variable.
55967         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55968         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55969         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55970         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55971         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55972         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55973         * elf/Makefile (sln-modules): New variable.
55974         (extra-objs): Add $(sln-modules:=.o).
55975         (ldconfig-modules): Add static-stubs.
55976         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55977         * elf/static-stubs.c: New file.
55979         [BZ #14283]
55980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55981         by 7 not 8 to examine high bit of fractional part.  Use volatile
55982         variables when splitting into final array of floats if
55983         __FLT_EVAL_METHOD__ != 0.
55984         * math/libm-test.inc (cos_test): Add another test.
55985         (sin_test): Likewise.
55986         * sysdeps/i386/fpu/libm-test-ulps: Update.
55988         [BZ #14273]
55989         * math/libm-test.inc (cosh_test): Add more tests.
55991         * version.h (RELEASE): Set to "development".
55992         (VERSION): Set to "2.16.90".
55994 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55996         * NEWS: Update copyright. Remove last-updated date.
55997         Mention math library bug fixes and timezone data changes.
55998         * README: Mention GNU/Hurd, x32, and HPPA support status.
56000 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56002         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56004 2012-06-27  Andreas Jaeger  <aj@suse.de>
56006         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56008 2012-06-25  Andreas Jaeger  <aj@suse.de>
56010         * sysdeps/s390/fpu/libm-test-ulps: Update.
56012 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56013             Thomas Schwinge  <thomas@codesourcery.com>
56015         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56016         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56018         fanotify_mark.
56020 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56022         * sysdeps/mach/start.c: Remove file.
56023         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56024         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56025         * sysdeps/sh/init-first.c: Likewise.
56027         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56028         registers for frame unwinding purposes, add CFI directives.
56029         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56030         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56031         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56032         Likewise.
56034         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56035         __fortify_fail returning.
56036         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56038         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56039         sysdeps/sh/____longjmp_chk.S.
56040         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56041         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56042         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56043         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56045         * sysdeps/sh/abort-instr.h: New file.
56046         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56047         process in case exit returns.
56049         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56050         initialize the GOT register before use.
56052         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56053         calculation of ARGC > 4.
56055         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56056         meaningful names to some local labels.
56058 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56059             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56061         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56062         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56063         (__arch_compare_and_exchange_val_16_acq): Likewise.
56064         (__arch_compare_and_exchange_val_32_acq): Likewise.
56065         (atomic_exchange_and_add): Fix gUSA sequence.
56066         (atomic_add): Likewise.
56067         (atomic_add_negative): Likewise.
56068         (atomic_add_zero): Likewise.
56069         (atomic_bit_test_set): Likewise.
56071 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56073         [BZ #13579]
56074         * include/link.h (struct link_map): Add l_free_initfini.
56075         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56076         l_initfini.
56077         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56078         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56079         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56080         set.
56082 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56084         * configure.in: Use AC_LANG_SOURCE.
56085         * configure: Regenerate.
56087 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56089         * configure.in (libc_cv_localstatedir): New substituted variable.
56090         * configure: Regenerated.
56091         * config.make.in (localstatedir): New variable, substituted from
56092         libc_cv_localstatedir.
56093         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56094         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56095         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56096         * sysdeps/gnu/configure: Regenerated.
56098 2012-06-21  Jeff Law  <law@redhat.com>
56100         [BZ #14277]
56101         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56102         free.  Simplify list management for _LIBC case.
56104 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56106         [BZ #14273]
56107         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56108         Clear sign bit of 64-bit integer value before comparing against
56109         overflow value.
56111         * sysdeps/mach/configure: Regenerated.
56113 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56115         [BZ #14278]
56116         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56118 2012-06-21  Jeff Law  <law@redhat.com>
56120         [BZ #13882]
56121         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56122         uint16_t for elements in the "seen" array to avoid char overflows.
56123         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56124         * elf/dl-open.c (dl_open_worker): Likewise.
56126 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56128         * scripts/list-sources.sh: Scan PORTS for translations.
56129         * po/libc.pot: Regenerated.
56131 2012-06-21  Andreas Jaeger  <aj@suse.de>
56133         [BZ #12194]
56134         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56135         warning.
56136         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56137         * bits/byteswap-16.h (__bswap_16): Likewise.
56138         * bits/byteswap.h (__bswap_constant_16): Likewise.
56140 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56142         [BZ #14117]
56143         * sysdeps/i386/fpu_control.h: Removed.
56144         * sysdeps/x86_64/fpu_control.h: Moved to ...
56145         * sysdeps/x86/fpu_control.h: Here.
56147         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56148         (_FPU_SETCW): Likewise.
56150 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56152         [BZ #14117]
56153         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56154         * sysdeps/x86/fpu/bits/mathinline.h: This.
56155         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56157         [BZ #14050]
56158         [BZ #14117]
56159         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56160         functions if __x86_64__ is defined.
56162 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56164         * string/endian.h: Add !__ASSEMBLER__ condition for including
56165         conversion interfaces.
56167 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56169         [BZ #14241]
56170         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56171         of ABS(x) in calculating zero to negative powers other than odd
56172         integers.
56173         * math/libm-test.inc (pow_test): Add more tests.
56175 2012-06-15  Andreas Jaeger  <aj@suse.de>
56177         * manual/contrib.texi (Contributors): Update entry of Liubov
56178         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56179         Machado Filho.
56181 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56183         * string/string.h: Add __wur to GNU version of strerror_r.
56185 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56187         [BZ #14229]
56188         * string/Makefile (tests): Add tst-strtok_r.
56189         * string/tst-strtok_r.c: New file.
56190         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56191         RAX_LP/RDX_LP on SAVE_PTR.
56193 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56195         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56197 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56199         * libm_test.inc (csqrt_test): Allow more spurious underflow
56200         exceptions.
56201         (j0_test): Likewise.
56202         (j1_test): Likewise.
56203         (y0_test): Likewise.
56204         (y1_test): Likewise.
56206 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56208         * po/Makefile (libc.pot): Use UTF-8 charset.
56210 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56212         [BZ #14210]
56213         Suppress sign-conversion warning from FD_SET.
56214         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56215         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56216         not unsigned long int.
56217         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56219 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56221         [BZ #14050]
56222         [BZ #14117]
56223         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56224         __extern_always_inline instead of __extern_inline.
56225         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56226         (__signbit): Likewise.
56227         (__signbitl): Support C++ namespace.
56228         (lrintf): New inline function.
56229         (lrint): Likewise.
56230         (llrintf): Likewise.
56231         (llrint): Likewise.
56232         (fmaxf): Likewise.
56233         (fmax): Likewise.
56234         (fminf): Likewise.
56235         (fmin): Likewise.
56236         (rint): Likewise.
56237         (rintf): Likewise.
56238         (ceil): Likewise.
56239         (ceilf): Likewise.
56240         (floor): Likewise.
56241         (floorf): Likewise.
56242         (nearbyint): Likewise.
56243         (nearbyintf): Likewise.
56245 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56247         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56248         non-default versions.
56250 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56252         [BZ #14218]
56253         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56255 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56257         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56258         (FE_UPWARD, FE_DOWNWARD): Don't define.
56259         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56260         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56262         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56263         reading it.
56264         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56265         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56267 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56269         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56271         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56274 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56276         [BZ #14117]
56277         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56278         * sysdeps/i386/fpu/Implies: New file.
56279         * sysdeps/x86_64/fpu/Implies: Likewise.
56280         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56281         * sysdeps/x86/fpu/bits/fenv.h: This.
56283         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56284         __SSE_MATH__.
56286 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56288         [BZ #14134]
56289         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56290         character 0xffff that matches the last element of the
56291         conversion table.
56293 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56296         fmodl commit.
56298 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56301         values higher than 25.6283.
56303 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56305         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56306         subnormal exponent extraction and add some __builtin_expect.
56307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56308         Fix for subnormal mantissa calculation.
56310 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56312         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56313         cpu2 is -1 and errno is not ENOSYS.
56315 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56317         [BZ #14117]
56318         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56319         * sysdeps/x86/bits/string.h: This.
56320         * sysdeps/x86_64/bits/string.h: Removed.
56322         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56323         if not compiling for x86-64, but compiling for >= i486.
56325         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56326         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56328         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56329         New macro from Linux kernel 3.4.0.
56330         (FP_XSTATE_MAGIC2): Likewise.
56331         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56332         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56333         (struct _fpx_sw_bytes): New struct.
56334         (struct _xsave_hdr): Likewise.
56335         (struct _ymmh_state): Likewise.
56336         (struct _xstate): Likewise.
56338         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56339         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56340         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56341         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56342         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56343         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56345         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56346         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56347         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56348         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56349         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56350         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56352 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56354         [BZ #13743]
56355         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56356         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56357         (sysdep_headers): Include sys/platform/ppc.h.
56358         * sysdeps/powerpc/test-gettimebase.c: Test for
56359         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56360         * manual/Makefile (appendices): Include platform.texi.
56361         * manual/contrib.texi (Contributors): Update @node pointers.
56362         * manual/maint.texi (Maintenance): Likewise.
56363         (Platform): New node.
56364         * manual/platform.texi: New file.  Document the new features.
56366 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56367             Jakub Jelinek  <jakub@redhat.com>
56369         [BZ #14188]
56370         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56371         where __builtin_expect is unavailable.
56373 2012-06-03  David S. Miller  <davem@davemloft.net>
56375         * stdlib/longlong.h: Updated from GCC.
56377 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56379         [BZ #14042]
56380         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56381         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56382         __mcount_internal.
56383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56384         (GLIBC_2.16): Likewise.
56386 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56388         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56390 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56393         (default-abi): New variable.
56394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56395         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56396         variable.
56397         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56398         Likewise.
56399         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56400         Likewise.
56401         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56402         Likewise.
56404         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56405         definition.  Document in comment.
56407 2012-06-01  David S. Miller  <davem@davemloft.net>
56409         * stdlib/longlong.h: Updated from GCC.
56411 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56413         [BZ #14117]
56414         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56415         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56416         sys/debugreg.h sys/io.h here.
56417         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56418         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56419         sys/io.h.
56420         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56421         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56422         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56423         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56424         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56425         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56427         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56428         Define only if __x86_64__ is defined.
56430 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56432         [BZ #14048]
56433         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56434         Use int64_t for variable i.
56435         * math/libm-test.inc (fmod_test): Add more tests.
56437         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56438         z computation is not scheduled after fetestexcept.
56439         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56440         Use math_force_eval instead of asm to ensure calculation scheduled
56441         before exception test.
56442         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56443         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56445 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56448         computation is not scheduled after fetestexcept.
56450 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56452         [BZ #14117]
56453         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56454         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56456 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56458         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56459         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56461 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56463         [BZ #14117]
56464         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56465         <bits/wordsize.h>.
56466         (__WCHAR_MIN): Support __WORDSIZE == 64.
56467         (__WCHAR_MAX): Likewise.
56469         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56470         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56472         [BZ #14183]
56473         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56474         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56476         [BZ #14117]
56477         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56478         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56480         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56481         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56483         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56484         Defined to 1 if __x86_64__ isn't defined.
56485         (_STAT_VER_LINUX_OLD): New.
56486         (st_atime): Remove duplicate.
56487         (st_mtime): Likewise.
56488         (st_ctime): Likewise.
56490 2012-05-31  David S. Miller  <davem@davemloft.net>
56492         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56493         entries.
56495 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56497         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56498         gen-libm-test.pl.
56500         [BZ #14132]
56501         * elf/dl-reloc.c: Include <_itoa.h>.
56502         (_dl_reloc_bad_type): Remove use of INTUSE.
56503         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56504         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56505         * stdio-common/psiginfo.c (psiginfo): Likewise.
56506         * stdio-common/psignal.c (psignal): Likewise.
56507         * string/strsignal.c (strsignal): Likewise.
56508         * include/signal.h (_sys_siglist): Declare hidden proto.
56509         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56510         INTVARDEF with libc_hidden_data_def.
56511         * stdio-common/itoa-udigits.c: Likewise.
56512         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56513         (_itoa_lower_digits_internal): Remove declaration.
56514         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56515         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56516         (_sys_sigabbrev_internal): Remove aliases.
56517         (_sys_siglist): Define hidden alias.
56519 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56522         bits/sysctl.h.
56524 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56526         [BZ #14117]
56527         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56528         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56530         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56531         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56532         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56533         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56534         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56535         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56537         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56538         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56539         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56541         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56542         with __addr.
56543         (insw): Likewise.
56544         (insl): Likewise.
56545         (outsb): Likewise.
56546         (outsw): Likewise.
56547         (outsl): Likewise.
56549         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56550         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56551         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56553         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56554         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56555         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56556         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56557         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56558         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56560         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56561         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56563         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56564         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56566         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56567         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56568         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56570         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56571         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56572         to ...
56573         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56575         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56576         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56577         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56579         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56580         for x86-64.
56581         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56583 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56585         * math/math.h (M_El): Use two more decimal places.
56586         (M_LOG2El): Likewise.
56587         (M_LOG10El): Likewise.
56588         (M_LN2l): Likewise.
56589         (M_LN10l): Likewise.
56590         (M_PIl): Likewise.
56591         (M_PI_2l): Likewise.
56592         (M_PI_4l): Likewise.
56593         (M_1_PIl): Likewise.
56594         (M_2_PIl): Likewise.
56595         (M_2_SQRTPIl): Likewise.
56596         (M_SQRT2l): Likewise.
56597         (M_SQRT1_2l): Likewise.
56599 2012-05-31  David S. Miller  <davem@davemloft.net>
56601         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56602         values between float registers.
56603         * sysdeps/sparc/sparc64/memset.S: Likewise.
56604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56606 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56608         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56609         -D_FORTIFY_SOURCE=1.
56610         (CPPFLAGS-tst-longjmp_chk.c): Define.
56611         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56612         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56613         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56614         CFLAGS-tst-wchar-h.c.
56616 2012-05-31  Marek Polacek  <polacek@redhat.com>
56618         [BZ #14132]
56619         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56620         __endmntent_internal): Remove declaration.
56621         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56622         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56623         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56625 2012-05-30  David S. Miller  <davem@davemloft.net>
56627         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56628         (___Q_simulate_exceptions): Use real FP ops rather than writing
56629         into the %fsr.
56630         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56631         Likewise.
56633 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56635         [BZ #14117]
56636         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56637         * sysdeps/x86/bits/xtitypes.h: This.
56639         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56640         * sysdeps/x86/bits/wordsize.h: This.
56642         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56643         * sysdeps/x86/bits/huge_vall.h: This.
56645         * sysdeps/i386/bits/select.h: Removed.
56646         * sysdeps/x86_64/bits/select.h: Renamed to ...
56647         * sysdeps/x86/bits/select.h: This.
56649         * sysdeps/i386/bits/setjmp.h: Removed.
56650         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56651         * sysdeps/x86/bits/setjmp.h: This.
56653         * sysdeps/i386/bits/mathdef.h: Removed.
56654         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56655         * sysdeps/x86/bits/mathdef.h: This.
56657 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56659         [BZ #14132]
56660         * include/sys/socket.h (__connect_internal)
56661         (__libc_sa_len_internal): Remove declaration.
56662         (__connect, __libc_sa_len): Declare hidden_proto.
56663         (SA_LEN): Remove use of INTUSE.
56664         * socket/connect.c: Add libc_hidden_def.
56665         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56666         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56667         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56668         alias.
56669         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56670         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56671         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56672         of adding _internal alias.
56674 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56676         [BZ #14117]
56677         * sysdeps/i386/bits/link.h: Removed.
56678         * sysdeps/i386/bits/linkmap.h: Likewise.
56679         * sysdeps/x86_64/bits/link.h: Renamed to ...
56680         * sysdeps/x86/bits/link.h: This.
56681         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56682         * sysdeps/x86/bits/linkmap.h: This.
56684         * sysdeps/i386/bits/endian.h: Removed.
56685         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56686         * sysdeps/x86/bits/endian.h: This.
56688         * sysdeps/i386/bits/byteswap.h: Removed.
56689         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56690         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56691         * sysdeps/x86/bits/byteswap.h: This.
56692         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56693         * sysdeps/x86/bits/byteswap-16.h: This.
56694         * sysdeps/i386/Implies: Add x86.
56695         * sysdeps/x86_64/Implies: Likewise.
56697 2012-05-30  David S. Miller  <davem@davemloft.net>
56699         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56700         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56701         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56702         (FP_TRAPPING_EXCEPTIONS): Define.
56703         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56704         (FP_TRAPPING_EXCEPTIONS): Define.
56705         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56706         subnormals only when inexact has been signalled or underflow
56707         exceptions are enabled.
56708         (_FP_PACK_CANONICAL): Likewise.
56710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56712         [BZ #14183]
56713         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56714         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56716 2012-05-30  Richard Henderson  <rth@twiddle.net>
56718         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56719         with #ifndef NOT_IN_libc.
56721         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56722         marked to avoid plt entry.
56724 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56726         [BZ #14112]
56727         * Makeconfig (default-abi): New macro.
56728         (abi-includes): Likewise.
56729         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56730         $(abi-$(default-abi)-lib-soname) for soname if defined.
56731         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56732         abi-variants.
56733         * Makefile (installed-stubs): Likewise.
56734         * include/stubs-biarch.h: Removed.
56735         * scripts/lib-names.awk: Only handle one library at a time.
56736         * scripts/soversions.awk: Remove WORDSIZE support.
56737         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56738         entries.
56739         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56740         Removed.
56741         (syscall-list-default-condition): Likewise.
56742         (syscall-list-default-condition): Likewise.
56743         (syscall-list-includes): Likewise.
56744         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56745         syscall-list-* with abi-*.  Handle undefined abi-variants.
56746         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56747         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56748         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56749         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56750         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56751         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56752         Removed.
56753         (syscall-list-32-options): Likewise.
56754         (syscall-list-32-condition): Likewise.
56755         (syscall-list-64-options): Likewise.
56756         (syscall-list-64-condition): Likewise.
56757         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56758         macro.
56759         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56760         Renamed to ...
56761         (abi-*): This.
56762         (abi-64-ld-soname): New macro.
56763         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56764         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56765         Renamed to ...
56766         (abi-*): This.
56767         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56768         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56770 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56772         * sysdeps/unix/sysv/linux/kernel-features.h
56773         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56774         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56775         include <kernel-features.h>.
56776         [!__NR_ftruncate64]: Remove conditional code.
56777         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56778         [__NR_ftruncate64]: Make code unconditional.
56779         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56780         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
56799         * configure.in (libc_cv_fpie): Weaken to a compile test using
56800         LIBC_TRY_CC_OPTION.
56801         * configure: Regenerated.
56803 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56809         Refreshed.
56810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56816         Refreshed.
56818 2012-05-27  David S. Miller  <davem@davemloft.net>
56820         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56821         (___Q_zero): New.
56822         (__Q_simulate_exceptions): Return void.  Change to simulate
56823         exceptions by writing into the %fsr.
56824         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56825         (__Qp_handle_exceptions): Likewise.
56826         (numbers): Delete.
56827         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56828         __Qp_handle_exceptions.
56829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56830         __Qp_handle_exceptions.
56831         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56832         as unused and give dummy FP_RND_NEAREST initializer.
56833         (FP_INHIBIT_RESULTS): Define.
56834         (___Q_simulate_exceptions): Update declaration.
56835         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56836         formatting.
56837         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56838         as unused and give dummy FP_RND_NEAREST initializer.
56839         (__Qp_handle_exceptions): Update declaration.
56840         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56841         formatting.
56843 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56845         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56846         the temporary FPU control word.
56847         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56848         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56849         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56850         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56851         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56852         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56853         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56854         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56855         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56856         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56857         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56859 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56861         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56862         fields.
56864 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56866         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56867         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56868         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56869         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56870         Likewise.
56871         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56872         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56873         Likewise.
56875 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56877         * po/h.po: Update from translation team.
56879 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56881         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56883         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56884         handling of denormals.
56885         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56886         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56887         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56888         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56892         Likewise.
56894 2012-05-26  Marek Polacek  <polacek@redhat.com>
56896         [BZ #14152]
56897         * math/libm-test.inc (fma_test): Don't always expect underflow
56898         exception.
56900 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56902         [BZ #12416]
56903         * elf/tst-execstack.c: Include stackinfo.h.
56904         (do_test): Adjust test case to ensure that pthread_getattr_np
56905         behaviour remains the same after marking stack executable.
56907 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56909         * sysdeps/unix/sysv/linux/kernel-features.h
56910         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56911         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56912         kernel-features.h.
56913         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56914         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56915         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56916         kernel-features.h.
56917         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56918         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56920 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56922         * configure.in: Define the default includes to being none.
56923         * configure: Regenerated.
56925 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56927         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56928         * sysdeps/x86_64/setjmp.S: Likewise.
56929         * sysdeps/i386/bsd-setjmp.S: Likewise.
56930         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56931         * sysdeps/i386/setjmp.S: Likewise.
56932         * sysdeps/i386/__longjmp.S: Likewise.
56933         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56934         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56936         * include/stap-probe.h: New file.
56937         * configure.in: Handle --enable-systemtap.
56938         * configure: Regenerated.
56939         * config.h.in (USE_STAP_PROBE): New #undef.
56940         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56941         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56942         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56944 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56946         [BZ #13717]
56947         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56948         to 2.4.0 where earlier.
56949         * sysdeps/unix/sysv/linux/configure: Regenerated.
56950         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56951         <kernel-features.h>.
56952         [__ASSUME_32BITUIDS]: Make code unconditional.
56953         [!__ASSUME_32BITUIDS]: Remove conditional code.
56954         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56955         <kernel-features.h>.
56956         [__ASSUME_32BITUIDS]: Make code unconditional.
56957         [!__ASSUME_32BITUIDS]: Remove conditional code.
56958         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56959         [__ASSUME_32BITUIDS]: Make code unconditional.
56960         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56961         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56962         <kernel-features.h>.
56963         [__ASSUME_32BITUIDS]: Make code unconditional.
56964         [!__ASSUME_32BITUIDS]: Remove conditional code.
56965         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56966         <kernel-features.h>.
56967         [__ASSUME_32BITUIDS]: Make code unconditional.
56968         [!__ASSUME_32BITUIDS]: Remove conditional code.
56969         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56970         <kernel-features.h>.
56971         [__ASSUME_32BITUIDS]: Make code unconditional.
56972         [!__ASSUME_32BITUIDS]: Remove conditional code.
56973         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56974         <kernel-features.h>.
56975         [__ASSUME_32BITUIDS]: Make code unconditional.
56976         [!__ASSUME_32BITUIDS]: Remove conditional code.
56977         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56978         <kernel-features.h>.
56979         [__ASSUME_32BITUIDS]: Make code unconditional.
56980         [!__ASSUME_32BITUIDS]: Remove conditional code.
56981         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56982         <kernel-features.h>.
56983         [__ASSUME_32BITUIDS]: Make code unconditional.
56984         [!__ASSUME_32BITUIDS]: Remove conditional code.
56985         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56986         <kernel-features.h>.
56987         [__ASSUME_32BITUIDS]: Make code unconditional.
56988         [!__ASSUME_32BITUIDS]: Remove conditional code.
56989         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56990         <kernel-features.h>.
56991         [__ASSUME_32BITUIDS]: Make code unconditional.
56992         [!__ASSUME_32BITUIDS]: Remove conditional code.
56993         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56994         <kernel-features.h>.
56995         [__ASSUME_32BITUIDS]: Make code unconditional.
56996         [!__ASSUME_32BITUIDS]: Remove conditional code.
56997         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56998         <kernel-features.h>.
56999         [__ASSUME_32BITUIDS]: Make code unconditional.
57000         [!__ASSUME_32BITUIDS]: Remove conditional code.
57001         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57002         <kernel-features.h>.
57003         [__NR_setresgid] (__setresgid): Do not declare.
57004         [__ASSUME_32BITUIDS]: Make code unconditional.
57005         [!__ASSUME_32BITUIDS]: Remove conditional code.
57006         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57007         <kernel-features.h>.
57008         [__NR_setresuid] (__setresuid): Do not declare.
57009         [__ASSUME_32BITUIDS]: Make code unconditional.
57010         [!__ASSUME_32BITUIDS]: Remove conditional code.
57011         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57012         <kernel-features.h>.
57013         [__ASSUME_32BITUIDS]: Make code unconditional.
57014         [!__ASSUME_32BITUIDS]: Remove conditional code.
57015         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57016         <kernel-features.h>.
57017         [__ASSUME_32BITUIDS]: Make code unconditional.
57018         [!__ASSUME_32BITUIDS]: Remove conditional code.
57019         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57020         <kernel-features.h>.
57021         [__ASSUME_32BITUIDS]: Make code unconditional.
57022         [!__ASSUME_32BITUIDS]: Remove conditional code.
57023         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57024         <kernel-features.h>.
57025         [__ASSUME_32BITUIDS]: Make code unconditional.
57026         [!__ASSUME_32BITUIDS]: Remove conditional code.
57027         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57028         <kernel-features.h>.
57029         [__ASSUME_32BITUIDS]: Make code unconditional.
57030         [!__ASSUME_32BITUIDS]: Remove conditional code.
57031         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57032         <kernel-features.h>.
57033         [__ASSUME_32BITUIDS]: Make code unconditional.
57034         [!__ASSUME_32BITUIDS]: Remove conditional code.
57035         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57036         <kernel-features.h>.
57037         [__ASSUME_32BITUIDS]: Make code unconditional.
57038         [!__ASSUME_32BITUIDS]: Remove conditional code.
57039         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57040         <kernel-features.h>.
57041         [__ASSUME_32BITUIDS]: Make code unconditional.
57042         [!__ASSUME_32BITUIDS]: Remove conditional code.
57043         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57044         <kernel-features.h>.
57045         [__ASSUME_32BITUIDS]: Make code unconditional.
57046         [!__ASSUME_32BITUIDS]: Remove conditional code.
57047         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57048         <kernel-features.h>.
57049         [__ASSUME_32BITUIDS]: Make code unconditional.
57050         [!__ASSUME_32BITUIDS]: Remove conditional code.
57051         * sysdeps/unix/sysv/linux/kernel-features.h
57052         (__ASSUME_SETRESUID_SYSCALL): Remove.
57053         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57054         (__ASSUME_32BITUIDS): Likewise.
57055         (__ASSUME_LDT_WORKS): Likewise.
57056         (__ASSUME_O_DIRECTORY): Likewise.
57057         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57058         architecture but not kernel version.
57059         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57060         (__ASSUME_MMAP2_SYSCALL): Likewise.
57061         (__ASSUME_STAT64_SYSCALL): Likewise.
57062         (__ASSUME_IPC64): Likewise.
57063         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57064         <kernel-features.h>.
57065         [__ASSUME_32BITUIDS]: Make code unconditional.
57066         [!__ASSUME_32BITUIDS]: Remove conditional code.
57067         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57068         <kernel-features.h>.
57069         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57070         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57071         132096]: Remove conditional code.
57072         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57073         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57074         <kernel-features.h>.
57075         [__ASSUME_32BITUIDS]: Make code unconditional.
57076         [!__ASSUME_32BITUIDS]: Remove conditional code.
57077         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57078         <kernel-features.h>.
57079         [__ASSUME_32BITUIDS]: Make code unconditional.
57080         [!__ASSUME_32BITUIDS]: Remove conditional code.
57081         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57082         <kernel-features.h>.
57083         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57084         unconditional.
57085         (__setresgid): Do not declare.
57086         [__ASSUME_32BITUIDS]: Make code unconditional.
57087         [!__ASSUME_32BITUIDS]: Remove conditional code.
57088         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57089         <kernel-features.h>.
57090         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57091         unconditional.
57092         (__setresuid): Do not declare.
57093         [__ASSUME_32BITUIDS]: Make code unconditional.
57094         [!__ASSUME_32BITUIDS]: Remove conditional code.
57095         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57096         <kernel-features.h>.
57097         [__ASSUME_32BITUIDS]: Make code unconditional.
57098         [!__ASSUME_32BITUIDS]: Remove conditional code.
57099         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57100         <kernel-features.h>.
57101         [__ASSUME_32BITUIDS]: Make code unconditional.
57102         [!__ASSUME_32BITUIDS]: Remove conditional code.
57104 2012-05-25  Richard Henderson  <rth@twiddle.net>
57106         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57107         dl_hwcap to ifunc resolver.
57108         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57109         elf_ifunc_invoke.
57110         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57111         dl_hwcap to ifunc resolver.
57112         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57114 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57116         [BZ #14153]
57117         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57118         for |x| <= 2**-26, not 2**-57.
57119         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57120         exception.
57122 2012-05-24  Jeff Law  <law@redhat.com>
57124         * stdio-common/Makefile (tests): Add bug25.
57125         * stdio-common/bug25.c: New test.
57127 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57129         [BZ #13576]
57130         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57131         multiple of MALLOC_ALIGNMENT in size.
57132         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57134 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57136         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57137         Require >= 256.
57138         (FILENAME_MAX): Use macro-int-constant.
57139         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57140         (_IOFBF): Use macro-int-constant.
57141         (_IOLBF): Likewise.
57142         (_IONBF): Likewise.
57143         (SEEK_CUR): Likewise.
57144         (SEEK_END): Likewise.
57145         (SEEK_SET): Likewise.
57146         (TMP_MAX): Likewise.
57147         (EOF): Use macro-int-constant.  Require < 0.
57148         (NULL): Use macro-constant.  Require == 0.
57149         (stdin): Require type to be FILE *.
57150         (stdout): Likewise.
57151         (stderr): Likewise.
57152         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57153         macro-int-constant.
57154         (EXIT_SUCCESS): Likewise.
57155         (NULL): Use macro-constant.  Require == 0.
57156         (RAND_MAX): Use macro-int-constant.
57157         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57158         [C99-based standards] (strtof): Require function.
57159         [C99-based standards] (strtold): Likewise.
57160         [C99-based standards] (strtoll): Likewise.
57161         [C99-based standards] (strtoull): Likewise.
57162         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57163         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57164         [ISO || ISO99 || ISO11] (math.h): Likewise.
57165         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57166         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57169 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57171         [BZ #14132]
57172         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57173         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57174         * intl/dgettext.c (DCGETTEXT): Likewise.
57175         * intl/gettext.c (DCGETTEXT): Likewise.
57176         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57177         * posix/regex_internal.h (gettext): Likewise.
57178         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57179         Remove declaration.
57180         * include/argz.h (__argz_count_internal)
57181         (__argz_stringify_internal): Remove declaration.
57182         (__argz_count, __argz_stringify): Declare hidden proto.
57183         * intl/dcgettext.c: Remove use of INTDEF.
57184         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57185         * string/argz-stringify.c: Likewise.
57186         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57187         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57188         Declare hidden proto.
57189         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57190         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57191         Declare hidden proto.
57192         * include/stdio.h (__asprintf_internal): Don't declare.
57193         (__asprintf): Don't define as macro.  Declare hidden proto.
57194         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57195         (__fsetlocking): Declare hidden proto.
57196         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57197         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57198         hidden proto.
57199         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57200         (_IO_setlinebuf): Remove use of INTUSE.
57201         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57202         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57203         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57204         Remove declaration.
57205         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57206         (_IO_do_flush): Remove use of INTUSE.
57207         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57208         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57209         (_IO_adjust_column, _IO_least_wmarker)
57210         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57211         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57212         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57213         (_IO_default_doallocate, _IO_wdefault_doallocate)
57214         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57215         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57216         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57217         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57218         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57219         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57220         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57221         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57222         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57223         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57224         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57225         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57226         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57227         proto.
57228         (_IO_flush_all_internal, _IO_adjust_column_internal)
57229         (_IO_default_uflow_internal, _IO_default_finish_internal)
57230         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57231         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57232         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57233         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57234         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57235         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57236         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57237         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57238         (_IO_file_close_internal, _IO_file_close_it_internal)
57239         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57240         (_IO_file_init_internal, _IO_file_attach_internal)
57241         (_IO_file_fopen_internal, _IO_file_read_internal)
57242         (_IO_file_sync_internal, _IO_file_seek_internal)
57243         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57244         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57245         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57246         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57247         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57248         (_IO_list_all_internal, _IO_link_in_internal)
57249         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57250         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57251         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57252         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57253         (_IO_do_write_internal, _IO_padn_internal)
57254         (_IO_getline_info_internal, _IO_getline_internal)
57255         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57256         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57257         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57258         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57259         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57260         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57261         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57262         with libc_hidden_ver, remove use of INTUSE.
57263         * libio/genops.c: Likewise.
57264         * libio/freopen.c: Likewise.
57265         * libio/freopen64.c: Likewise.
57266         * libio/iofclose.c: Likewise.
57267         * libio/iofdopen.c: Likewise.
57268         * libio/iofflush.c: Likewise.
57269         * libio/iofflush_u.c: Likewise.
57270         * libio/iofgets.c: Likewise.
57271         * libio/iofgets_u.c: Likewise.
57272         * libio/iofopen.c: Likewise.
57273         * libio/iofopncook.c: Likewise.
57274         * libio/iofread.c: Likewise.
57275         * libio/iofread_u.c: Likewise.
57276         * libio/ioftell.c: Likewise.
57277         * libio/iofwrite.c: Likewise.
57278         * libio/iogetline.c: Likewise.
57279         * libio/iogets.c: Likewise.
57280         * libio/iogetwline.c: Likewise.
57281         * libio/iopadn.c: Likewise.
57282         * libio/iopopen.c: Likewise.
57283         * libio/ioseekoff.c: Likewise.
57284         * libio/ioseekpos.c: Likewise.
57285         * libio/iosetbuffer.c: Likewise.
57286         * libio/iosetvbuf.c: Likewise.
57287         * libio/ioungetc.c: Likewise.
57288         * libio/ioungetwc.c: Likewise.
57289         * libio/iovdprintf.c: Likewise.
57290         * libio/iovsprintf.c: Likewise.
57291         * libio/iovsscanf.c: Likewise.
57292         * libio/memstream.c: Likewise.
57293         * libio/obprintf.c: Likewise.
57294         * libio/oldfileops.c: Likewise.
57295         * libio/oldiofclose.c: Likewise.
57296         * libio/oldiofdopen.c: Likewise.
57297         * libio/oldiofopen.c: Likewise.
57298         * libio/oldiopopen.c: Likewise.
57299         * libio/oldstdfiles.c: Likewise.
57300         * libio/putc.c: Likewise.
57301         * libio/setbuf.c: Likewise.
57302         * libio/setlinebuf.c: Likewise.
57303         * libio/stdfiles.c: Likewise.
57304         * libio/strops.c: Likewise.
57305         * libio/vasprintf.c: Likewise.
57306         * libio/vscanf.c: Likewise.
57307         * libio/vsnprintf.c: Likewise.
57308         * libio/vswprintf.c: Likewise.
57309         * libio/wfiledoalloc.c: Likewise.
57310         * libio/wfileops.c: Likewise.
57311         * libio/wgenops.c: Likewise.
57312         * libio/wmemstream.c: Likewise.
57313         * libio/wstrops.c: Likewise.
57314         * libio/__fpurge.c: Likewise.
57315         * libio/__fsetlocking.c: Likewise.
57316         * assert/assert.c: Likewise.
57317         * debug/fgets_chk.c: Likewise.
57318         * debug/fgets_u_chk.c: Likewise.
57319         * debug/fread_chk.c: Likewise.
57320         * debug/fread_u_chk.c: Likewise.
57321         * debug/gets_chk.c: Likewise.
57322         * debug/obprintf_chk.c: Likewise.
57323         * debug/vasprintf_chk.c: Likewise.
57324         * debug/vdprintf_chk.c: Likewise.
57325         * debug/vsnprintf_chk.c: Likewise.
57326         * debug/vsprintf_chk.c: Likewise.
57327         * malloc/mtrace.c: Likewise.
57328         * misc/error.c: Likewise.
57329         * misc/syslog.c: Likewise.
57330         * stdio-common/asprintf.c: Likewise.
57331         * stdio-common/fxprintf.c: Likewise.
57332         * stdio-common/getw.c: Likewise.
57333         * stdio-common/isoc99_fscanf.c: Likewise.
57334         * stdio-common/isoc99_scanf.c: Likewise.
57335         * stdio-common/isoc99_vfscanf.c: Likewise.
57336         * stdio-common/isoc99_vscanf.c: Likewise.
57337         * stdio-common/isoc99_vsscanf.c: Likewise.
57338         * stdio-common/printf-prs.c: Likewise.
57339         * stdio-common/printf_fp.c: Likewise.
57340         * stdio-common/printf_fphex.c: Likewise.
57341         * stdio-common/printf_size.c: Likewise.
57342         * stdio-common/putw.c: Likewise.
57343         * stdio-common/scanf.c: Likewise.
57344         * stdio-common/sprintf.c: Likewise.
57345         * stdio-common/tmpfile.c: Likewise.
57346         * stdio-common/vfprintf.c: Likewise.
57347         * stdio-common/vfscanf.c: Likewise.
57348         * stdlib/strfmon_l.c: Likewise.
57349         * sunrpc/openchild.c: Likewise.
57350         * sunrpc/xdr_stdio.c: Likewise.
57351         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57352         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57354 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57356         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57358         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57359         in the third column, to generate for the shared library an IFUNC
57360         that uses _dl_vdso_vsym.
57361         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57362         * Makeconfig (object-suffixes-noshared): New variable.
57364         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57365         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57366         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57367         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57369         [BZ #14132]
57370         * include/sys/time.h (__gettimeofday): Remove macro.
57371         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57372         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57373         Remove INTDEF.
57374         (__gettimeofday): Add libc_hidden_def.
57375         (gettimeofday): Add libc_hidden_weak.
57376         * sysdeps/mach/gettimeofday.c: Likewise.
57377         * sysdeps/posix/gettimeofday.c: Likewise.
57378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57379         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57381         (__gettimeofday_internal): Remove strong_alias.
57382         (__gettimeofday): Add libc_hidden_def.
57383         (gettimeofday): Add libc_hidden_weak.
57384         * sysdeps/unix/syscalls.list (gettimeofday):
57385         Remove __gettimeofday_internal alias.
57387 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57388             H.J. Lu  <hongjiu.lu@intel.com>
57390         [BZ #12495]
57391         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57392         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57393         (largebin_index_32_big): New.
57394         (largebin_index): Use it for 16-byte alignment.
57395         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57396         correction with front_misalign.
57398 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57402         Likewise.
57403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57404         Likewise.
57405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57406         Likewise.
57407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57408         Likewise.
57409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57410         Likewise.
57411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57412         Likewise.
57413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57414         Likewise.
57415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57416         Likewise.
57417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57418         Likewise.
57419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57420         Likewise.
57421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57422         Likewise.
57423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57424         Likewise.
57426         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57427         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57429 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57431         [BZ #10846]
57432         [BZ #14036]
57433         * math/libm-test.inc (exp_test): Add test from bug 14036.
57434         (pow_test): Add test from bug 10846.
57436         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57437         and other flags.
57438         (special_function): Do not include flags in test name.
57439         (parse_args): Likewise.
57440         * sysdeps/i386/fpu/libm-test-ulps: Update.
57441         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57442         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57443         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57446         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57447         exceptions.
57448         * math/libm-test.inc ("Philosophy"): Update comment about
57449         exception testing.
57450         (UNDERFLOW_EXCEPTION): New macro.
57451         (UNDERFLOW_EXCEPTION_OK): Likewise.
57452         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57453         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57454         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57455         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57456         (INVALID_EXCEPTION_OK): Update value.
57457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57458         (OVERFLOW_EXCEPTION_OK): Likewise.
57459         (IGNORE_ZERO_INF_SIGN): Likewise.
57460         (test_exceptions): Handle underflow exceptions.
57461         (acos_test): Update for underflow exception expectations.
57462         (cexp_test): Likewise.
57463         (clog_test): Likewise.
57464         (clog10_test): Likewise.
57465         (csqrt_test): Likewise.
57466         (ctan_test): Likewise.
57467         (ctanh_test): Likewise.
57468         (exp_test): Likewise.
57469         (exp10_test): Likewise.
57470         (exp2_test): Likewise.
57471         (expm1_test): Likewise.
57472         (fma_test): Likewise.
57473         (j0_test): Likewise.
57474         (jn_test): Likewise.
57475         (nexttoward_test): Likewise.
57476         (pow_test): Likewise.
57477         (scalbn_test): Likewise.
57478         (scalbln_test): Likewise.
57479         (tan_test): Likewise.
57480         (y1_test): Likewise.
57481         * sysdeps/i386/fpu/libm-test-ulps: Update.
57482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57484 2012-05-23  David S. Miller  <davem@davemloft.net>
57486         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57487         (__libc_sigaction): Remove unused local variables.
57489 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57491         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57493 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57495         mktime: avoid signed integer overflow
57496         * time/mktime.c (__mktime_internal): Do not mishandle the case
57497         where diff == INT_MIN.
57499         mktime: simplify computation of average
57500         * time/mktime.c (ranged_convert): Use new time_t_avg function
57501         instead of rolling our own (probably-slower) code.
57503         mktime: do not assume signed right shift propagates sign bit
57504         * time/mktime.c (isdst_differ): New static function.
57505         (__mktime_internal): No need to normalize tm_isdst now.
57506         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57507         tm_isdst values.
57509         mktime: merge another wrapv change from gnulib
57510         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57511         from some compilers.
57513         mktime: remove incorrect attempt at unusual arithmetics
57514         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57515         The code didn't really work on such machines anyway.
57516         (TYPE_MINIMUM): Assume two's complement.
57517         (twos_complement_arithmetic): Verify that long_int and time_t
57518         are two's complement (or unsigned, in the latter case).
57520         mktime: check signed shifts on long_int and time_t, too
57521         * time/mktime.c (SHR): Check that shifts work as desired
57522         on the types long_int and time_t too, as SHR is used on
57523         such types.
57525         mktime: do not assume 'long' is wide enough
57526         * time/mktime.c (verify): Move decl up.
57527         (long_int): New type.
57528         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57529         to remove assumption in the code that 'long' is wide enough to
57530         store year values.  This assumption is not true on x32 and on
57531         some non-glibc platforms.
57533         mktime: merge wrapv change from gnulib
57534         * time/mktime.c (WRAPV): New macro.
57535         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57536         (guess_time_tm, __mktime_internal): Do not assume that signed
57537         integer overflow wraps around; modern compilers generate code
57538         where this assumption is no longer valid.
57540 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57542         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57543         Replace "jmp L(pseudo_end)" with "ret".
57544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57545         Likewise.
57547 2012-05-23  Andreas Jaeger  <aj@suse.de>
57549         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57550         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57552 2012-05-23  Andreas Jaeger  <aj@suse.de>
57553             Maximilian Attems  <max@stro.at>
57555         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57556         New macros.
57558 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57560         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57561         code so that pseudo_end is just ret and the stack pointer is
57562         correct also for static library in error case.
57564 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57566         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57567         move to syscalls.list.
57568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57573         * manual/install.texi (Running make install): Do not mention Linux
57574         kernel version for which pt_chown is not needed.
57575         (Linux): Do not mention problems with nscd with 2.0 kernels.
57576         * INSTALL: Regenerated.
57578 2012-05-23  Andreas Jaeger  <aj@suse.de>
57580         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57581         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57582         macro.
57583         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57584         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57585         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57586         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57587         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57588         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57589         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57590         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57591         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57592         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57593         * sysdeps/unix/sysv/linux/bits/in.h
57594         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57596 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57598         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57599         (PREPARE_VERSION): Just use assert instead, it will be elided
57600         under [NDEBUG] anyway.
57602 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57604         * sysdeps/unix/sysv/linux/Makefile: Include
57605         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57606         (sysdep_routines): Remove sysctl.
57607         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57608         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57609         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57610         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57611         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57613 2012-05-22  Andreas Jaeger  <aj@suse.de>
57615         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57616         that pseudo_end is just ret and the stack pointer is correct also
57617         for static library in error case.
57619 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57621         [BZ #14122]
57622         * nss/nsswitch.c (defconfig_entries): New variable.
57623         (__nss_database_lookup): Don't leak defconfig entries.
57624         (nss_parse_service_list): Don't leak on error paths.
57625         (free_database_entries): New function.
57626         (free_defconfig): New function.
57627         (free_mem): Move common code to free_database_entries.
57629 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57631         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57632         Add arch_prctl.
57633         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57635         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57636         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57638         New macro.
57639         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57640         (INTERNAL_SYSCALL_TYPES): Likewise.
57641         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57642         (LOAD_REGS_TYPES_[1-6]): Likewise.
57643         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57644         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57646 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57648         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57649         copysignl for GLIBC_2_0.
57650         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57651         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57653         logbl for GLIBC_2_0.
57654         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57655         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57657 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57659         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57660         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57662         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57663         Use "neg %eax".
57665         * time/mktime.c: Update copyright years.
57667 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57669         mktime: merge comment-quoting-style change from gnulib
57670         * time/mktime.c: Quote 'like this' in comments.
57671         The GNU coding standards suggest that we no longer quote `like this',
57672         as "`" and "'" are typically rendered asymmetrically nowadays.
57673         The typical gnulib style is to quote 'like this' when quoting
57674         code, and "like this" when quoting English.
57676         * time/mktime.c (compile-command): Add "-I.".
57678         mktime: merge mktime-internal.h change from gnulib
57679         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57681         mktime: merge time_r change from gnulib
57682         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57684         mktime: merge DEBUG change from gnulib
57685         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57686         case system <time.h> has a #define.
57688         mktime: merge <sys/types.h> change from gnulib
57689         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57690         since <time.t> is now guaranteed to define time_t.
57692         mktime: merge HAVE_CONFIG_H change from gnulib
57693         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57698         Use "neg %eax".
57700         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57701         __rlim_t cast.
57702         (struct rusage): Use anonymous union to pad each field to
57703         __syscall_slong_t.
57705 2012-05-21  David S. Miller  <davem@davemloft.net>
57707         * Makefules (o-iterator): Remove .s cases.
57708         (compile-command.s): Delete.
57709         (COMPILE.s): Delete.
57710         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57712 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57714         * configure.in (libc_cv_predef_stack_protector): Only consider
57715         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57716         * configure: Regenerated.
57718 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57721         New macro.  Use R*LP on int and pointer.
57722         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57723         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57724         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57725         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57727         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57728         [__WORDSIZE_TIME64_COMPAT32] instead of
57729         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57730         (struct utmp): Likewise.
57731         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57732         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57733         Renamed to ...
57734         (__WORDSIZE_TIME64_COMPAT32): This.
57735         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57736         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57737         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57738         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57739         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57740         (__WORDSIZE_TIME64_COMPAT32): New macro.
57742 2012-05-21  Andreas Jaeger  <aj@suse.de>
57744         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57745         only if [SHARED]. Add prototype for __wcschr_ia32.
57747 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57749         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57750         of %rbp unmolested in the jmp_buf while mangling the low bits.
57751         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57752         unmolested high bits of %rbp while demangling the low bits.
57753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57755 2012-05-21  Andreas Jaeger  <aj@suse.de>
57757         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57758         * sunrpc/svc_simple.c: Use it for registerrpc.
57759         * sunrpc/xcrypt.c: Use it for passwd2des.
57761         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57763 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57765         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57766         Don't define if [__SYSCALL_WORDSIZE != 32].
57767         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57768         New macro.
57770 2012-05-21  Bruno Haible  <bruno@clisp.org>
57771             Andreas Jaeger  <aj@suse.de>
57773         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57774         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57775         inptr and inend for must_buffer_ch.
57776         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57777         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57778         * stdio-common/Makefile (tests): Remove bug15.
57779         (bug15-ENV): Remove macro.
57780         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57781         anymore.
57783 2012-05-19  Andreas Jaeger  <aj@suse.de>
57784             Roland McGrath  <roland@hack.frob.com>
57786         * manual/contrib.texi: Completely rewritten. It contains now an
57787         alphabetical list of contributors and their contributions.
57789 2012-05-21  Richard Henderson  <rth@twiddle.net>
57791         * misc/getauxval.c (__getauxval): Use unsigned long int.
57792         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57793         (getauxval): Use unsigned long int.
57795 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57797         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57799 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57801         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57802         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57803         __alignof__ (long double).
57805 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57809 2012-05-20  Richard Henderson  <rth@twiddle.net>
57811         * misc/getauxval.c: New file.
57812         * misc/sys/auxv.h: New file.
57813         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57814         (routines): Add getauxval.
57815         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57816         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57817         * elf/dl-sysdep.c (_dl_auxv): Remove.
57818         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57819         * elf/dl-support.c (_dl_auxv): New variable.
57820         (_dl_aux_init): Initialize it.
57821         * manual/startup.texi (Auxiliary Vector): New node.
57822         * sysdeps/generic/bits/hwcap.h: New file.
57823         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57824         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57825         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57826         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57827         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57828         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57830         Update.
57831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57840 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57844 2012-05-19  David S. Miller  <davem@davemloft.net>
57846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57848 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57850         [BZ #14123]
57851         * math/s_ccosh.c: Include <float.h>
57852         (__ccosh): Avoid internal overflow calculating sinh and cosh
57853         values before multiplying by sin and cos values.
57854         * math/s_ccoshf.c: Likewise.
57855         * math/s_ccoshl.c: Likewise.
57856         * math/s_csin.c: Likewise.
57857         * math/s_csinf.c: Likewise.
57858         * math/s_csinl.c: Likewise.
57859         * math/s_csinh.c: Likewise.
57860         * math/s_csinhf.c: Likewise.
57861         * math/s_csinhl.c: Likewise.
57862         * math/libm-test.inc (ccos_test): Add more tests.
57863         (ccosh_test): Likewise.
57864         (csin_test): Likewise.
57865         (csinh_test): Likewise.
57866         * sysdeps/i386/fpu/libm-test-ulps: Update.
57867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57869 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57871         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57872         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57874         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57876 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57878         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57879         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57880         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57881         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57882         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57883         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57884         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57885         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57886         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57887         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57888         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57889         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57890         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57891         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57892         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57893         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57894         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57895         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57896         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57897         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57898         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57899         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57900         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57901         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57902         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57903         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57904         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57905         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57906         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57907         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57908         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57910 2012-05-18  Andreas Jaeger  <aj@suse.de>
57912         * csu/.gitignore: Delete.
57914 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57916         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57917         (timex): Use __syscall_slong_t.
57919 2012-05-18  Andreas Jaeger  <aj@suse.de>
57920             Carlos O'Donell  <carlos_odonell@mentor.com>
57922         * manual/install.texi (Configuring and compiling): Update
57923         description about files modified in the source directory.
57924         * INSTALL: Regenerated.
57926 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57928         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57929         value.  Use "or" to set return value to -1.
57930         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57931         negate return value.
57933 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57935         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57936         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57937         failure if the compiler has Graphite support disabled.
57938         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57939         Likewise.
57940         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57941         (CFLAGS-memmove.c): Likewise.
57942         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57943         Likewise.
57945 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57947         * sysdeps/x86_64/x32/_itoa.h: New file.
57949         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57950         getdents system call only if kernel and user dirents have the
57951         same d_ino and d_off.
57953         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57954         LLONG_MAX != LONG_MAX.
57955         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57956         (_fitoa_word): Likewise.
57958         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57959         years.
57960         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57961         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57962         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57964         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57965         include <bits/wordsize.h>.  Check __x86_64__ instead of
57966         __WORDSIZE.
57967         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57968         if __x86_64__ is defined.  Use anonymous union on fpstate.
57970         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57971         anonymous union.
57973 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57975         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57976         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57977         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57978         Refer to _rtld_local_ro instead of _rtld_global_ro.
57979         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57980         Likewise.
57981         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57982         Likewise.
57983         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57984         Likewise.
57985         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57986         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57987         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57989         [BZ #10882]
57990         * sysdeps/powerpc/powerpc32/dl-machine.c
57991         (__elf_machine_runtime_setup) [PROF]: Don't reference
57992         _dl_prof_resolve.
57994 2012-05-18  Andreas Jaeger  <aj@suse.de>
57996         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57997         function only available for GCCs before 3.4 since GCC 3.4
57998         introduced a builtin.
57999         (lrint): Likewise.
58000         (llrintf): Likewise.
58001         (llrint): Likewise.
58002         (fmaxf): Likewise.
58003         (fmax): Likewise.
58004         (fminf): Likewise.
58005         (fmin): Likewise.
58006         (rint): Likewise.
58007         (rintf): Likewise.
58008         (nearbyint): Likewise.
58009         (nearbyintf): Likewise.
58010         (ceil): Likewise.
58011         (ceilf): Likewise.
58012         (floor): Likewise.
58013         (floorf): Likewise.
58015 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58017         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58018         on both fields and cast pointer to __syscall_ulong_t.
58020         * bits/types.h (__fsword_t): New type.
58021         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58022         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58024         (__FSWORD_T_TYPE): Likewise.
58025         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58026         (__FSWORD_T_TYPE): Likewise.
58027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58028         (__FSWORD_T_TYPE): Likewise.
58029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58030         (__FSWORD_T_TYPE): Likewise.
58031         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58032         __SWORD_TYPE with __fsword_t.
58033         (statfs64): Likewise.
58035 2012-05-17  David S. Miller  <davem@davemloft.net>
58037         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58039 2012-05-17  Andreas Jaeger  <aj@suse.de>
58041         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58042         warning.
58044 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58046         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58048 2012-05-17  Andreas Jaeger  <aj@suse.de>
58050         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58051         when it is used.
58053 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58055         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58057 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58059         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58060         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58062 2012-05-17  Andreas Jaeger  <aj@suse.de>
58063             Carlos O'Donell  <carlos_odonell@mentor.com>
58065         [BZ #14059]
58066         * sysdeps/x86_64/multiarch/init-arch.h
58067         (bit_YMM_Usable): Rename to...
58068         (bit_AVX_Usable): ... this.
58069         (bit_FMA4_Usable): New macro.
58070         (bit_XMM_state): New macro.
58071         (bit_YMM_state): New macro.
58072         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58073         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58074         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58075         (CPUID_OSXSAVE): New macro.
58076         (CPUID_AVX): New macro.
58077         (CPUID_FMA4): New macro.
58078         (index_YMM_Usable): Rename to...
58079         (index_AVX_Usable): ... this.
58080         (HAS_AVX): Use HAS_ARCH_FEATURE.
58081         (HAS_FMA4): Likewise.
58082         (HAS_YMM_USABLE): Remove.
58083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58084         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58085         are present.
58086         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58087         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58088         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58089         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58090         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58092 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58094         * math/libm-test.c: Support platforms without multiple rounding modes.
58095         * math/bug-nextafter.c: Support platforms without FP exceptions.
58096         * math/bug-nexttoward.c: Likewise.
58097         * math/test-fenv.c: Likewise.
58098         * math/test-misc.c: Likewise.
58099         * stdlib/bug-getcontext.c: Likewise.
58101 2012-05-17  Andreas Jaeger  <aj@suse.de>
58103         * manual/examples/search.c (critter_cmp): Change signature to
58104         avoid warnings.
58105         * manual/string.texi (Collation Functions): Likewise.
58107 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58109         * bits/types.h: Fold copyright years.
58110         * bits/typesizes.h: Likewise.
58111         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58115         * time/time.h: Likewise.
58117 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58119         [BZ #208]
58120         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58121         in instead of returning them.  Return void.
58122         (__libc_mallinfo): Accumulate over all arenas.
58123         (__malloc_stats): Adjust for change in int_mallinfo interface.
58125 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58127         [BZ #10375]
58128         * configure.in (NM): Add AC_CHECK_TOOL for it.
58129         (libc_extra_cflags): New substituted variable.
58130         Check for -fstack-protector being used implicitly.
58131         * configure: Regenerated.
58132         * config.make.in (config-extra-cflags): New variable,
58133         gets @libc_extra_cflags@.
58134         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58136         [BZ #10375]
58137         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58138         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58139         * configure: Regenerated.
58140         * config.make.in (CPPUNDEFS): New substituted variable.
58141         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58142         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58143         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58145 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58147         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58148         (mq_attr): Use __syscall_slong_t.
58150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58152         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58153         Check __x86_64__ instead of __WORDSIZE.
58154         (_STAT_VER_LINUX): Likewise.
58155         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58156         __syscall_ulong_t and __syscall_slong_t.
58157         (stat64): Likewise.
58159 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58165         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58167 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58169         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58170         __syscall_ulong_t.
58172         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58173         include <bits/wordsize.h>.  Check __x86_64__ instead of
58174         __WORDSIZE.
58175         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58176         defined.
58177         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58180         include <bits/wordsize.h>.  Check __x86_64__ instead of
58181         __WORDSIZE.
58182         (user_regs_struct): Use "__extension__ unsigned long long"
58183         instead of "unsigned long" if __x86_64__ is defined.
58184         (user): Likewise.  Pad after pointer field if __ILP32__ is
58185         defined.
58187 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58189         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58190         versions 5 to 9.
58191         * configure: Regenerated.
58192         * manual/install.texi (texinfo): Increase version requirement to
58193         4.5 or later.
58194         * INSTALL: Regenerated.
58196         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58200         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58202         * sysdeps/x86_64/x32/ffs.c: New file.
58204         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58205         __syscall_ulong_t.
58206         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58207         defined.  Use __syscall_ulong_t.
58208         (shminfo): Use __syscall_ulong_t.
58209         (shm_info): Likewise.
58211         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58212         __syscall_ulong_t.
58214         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58215         <bits/wordsize.h>.
58216         (msgqnum_t): Use __syscall_ulong_t.
58217         (msglen_t): Likewise.
58218         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58219         __syscall_ulong_t.
58221         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58222         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58224         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58226         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58227         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58229         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58230         __syscall_slong_t.
58232         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58233         include <bits/wordsize.h>.  Check __x86_64__ instead of
58234         __WORDSIZE.
58236         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58237         "unsigned long long int" if __x86_64__ is defined.
58238         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58240         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58241         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58242         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58244         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58245         <stdint.h>.
58246         (GET_PC): Cast to uintptr_t first.
58247         (GET_FRAME): Likewise.
58248         (GET_STACK): Likewise.
58250         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58251         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58252         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58253         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58254         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58255         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58256         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58257         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58258         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58259         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58261         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58262         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58263         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58264         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58265         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58266         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58269         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58270         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58271         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58272         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58273         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58274         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58275         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58277         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58278         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58280 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58282         * Makerules (+depfiles): Also collect depfiles from .oS in
58283         $(extra-objs).
58284         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58285         .oS, $(libnldbl-routines)).
58287         * Makerules (native-compile-mkdep-flags): Define.
58288         * sunrpc/Makefile (extra-objs): Add $(addprefix
58289         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58290         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58291         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58292         calling $(make-target-directory).
58294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58296         * bits/types.h (__snseconds_t): Removed.
58297         * time/time.h (struct timespec): Replace __snseconds_t with
58298         __syscall_slong_t.
58299         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58300         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58301         Likewise.
58302         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58303         (__SNSECONDS_T_TYPE): Likewise.
58304         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58305         (__SNSECONDS_T_TYPE): Likewise.
58306         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58307         (__SNSECONDS_T_TYPE): Likewise.
58309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58311         * sysdeps/mach/hurd/bits/typesizes.h
58312         (__SYSCALL_SLONG_TYPE): New macro.
58313         (__SYSCALL_ULONG_TYPE): Likewise.
58315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58317         * bits/types.h (__syscall_slong_t): New type.
58318         (__syscall_ulong_t): Likewise.
58320         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58321         (__SYSCALL_ULONG_TYPE): Likewise.
58322         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58323         (__SYSCALL_SLONG_TYPE): Likewise.
58324         (__SYSCALL_ULONG_TYPE): Likewise.
58325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58326         (__SYSCALL_SLONG_TYPE): Likewise.
58327         (__SYSCALL_ULONG_TYPE): Likewise.
58328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58329         (__SYSCALL_SLONG_TYPE): Likewise.
58330         (__SYSCALL_ULONG_TYPE): Likewise.
58332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58334         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58335         Add sigaltstack-offsets.sym.
58336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58337         <sigaltstack-offsets.h>.
58338         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58339         longjmp_msg pointer.
58340         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58341         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58342         signal stack.
58343         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58345 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58347         * elf/stackguard-macros.h: Remove file.
58348         * sysdeps/generic/stackguard-macros.h: New file.
58349         * sysdeps/i386/stackguard-macros.h: Likewise.
58350         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58351         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58352         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58353         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58354         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58355         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58356         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58357         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58358         <elf/stackguard-macros.h>.
58360         [BZ #14109]
58361         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58362         __aligned__ in attribute.
58363         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58364         (gregset_t): Likewise.
58366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58368         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58369         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58370         * sysdeps/x86_64/x32/Implies-after: New file.
58372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58374         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58375         and access return value for _dl_profile_fixup.  Use R10_LP to
58376         load frame size.
58378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58380         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58384         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58385         * sysdeps/x86_64/x32/sysdep.h: New file.
58387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58389         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58390         * sysdeps/x86_64/setjmp.S: Likewise.
58392 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58395         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58396         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58397         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58398         remove unused global constant.
58400 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58402         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58403         include of <not-cancel.h>.
58405 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58407         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58409 2012-05-15  Jeff Law  <law@redhat.com>
58410             Andreas Jaeger  <aj@suse.de>
58412         [BZ #13594]
58413         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58414         out from...
58415         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58416         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58417         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58418         code changing __hst_map_handle.map.
58420 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58422         * configure.in (sysnames): Look for Implies-before and Implies-after
58423         files.
58424         * configure: Regenerated.
58426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58428         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58429         8-byte data alignment with LP_SIZE alignment.
58431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58433         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58434         into R10_LP.
58436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58438         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58443         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58444         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58445         Likewise.
58446         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58450         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58451         (stackinfo_sub_sp): Likewise.
58453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58455         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58456         RAX_LP.
58458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58460         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58461         into R*_LP.
58463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58466         sizes into R*_LP.
58468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58470         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58474         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58475         into R11_LP and load __x86_64_shared_cache_size_half into
58476         R8_LP.
58478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58481         R8_LP.
58483 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58486         logb for POWER7.
58487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58488         logbf for POWER7.
58489         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58490         logbl for POWER7.
58491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58492         powerpc32/power7/fpu/s_logb.c via #include.
58493         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58494         powerpc32/power7/fpu/s_logbf.c via #include.
58495         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58496         powerpc32/power7/fpu/s_logbl.c via #include.
58498 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58500         * README.libm: Remove file.
58502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58504         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58505         count for x32.  Use R*_LP and omit operand-size suffix.
58507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58509         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58510         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58511         * sysdeps/x86_64/x32/shlib-versions: New file.
58513 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58515         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58516         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58517         Use _dl_fatal_printf instead.
58519 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58521         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58522         set if not set by the user.  Do not allow for being unset.
58523         * sysdeps/unix/sysv/linux/configure: Regenerated.
58525 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58527         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58528         the `q' suffix from lea and replace .quad with ASM_ADDR.
58530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58533         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58534         instead of $17.
58535         (PTR_DEMANGLE): Likewise.
58537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58539         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58540         (LP_OP): Likewise.
58541         (ASM_ADDR): Likewise.
58542         (RAX_LP): Likewise.
58543         (RBP_LP): Likewise.
58544         (RBX_LP): Likewise.
58545         (RCX_LP): Likewise.
58546         (RDI_LP): Likewise.
58547         (RSI_LP): Likewise.
58548         (RSP_LP): Likewise.
58549         (R8_LP): Likewise.
58550         (R9_LP): Likewise.
58551         (R10_LP): Likewise.
58552         (R10_LP): Likewise.
58553         (R11_LP): Likewise.
58554         (R12_LP): Likewise.
58555         (R13_LP): Likewise.
58556         (R14_LP): Likewise.
58557         (R15_LP): Likewise.
58559 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58561         * sysdeps/x86_64/x32/dl-machine.h: New file.
58563 2012-05-14  Andreas Jaeger  <aj@suse.de>
58565         * manual/Makefile (subdir): Remove export of subdir.
58566         (all): Remove target.
58567         (.PHONY): Remove all from list.
58568         (mkinstalldirs): Remove.
58569         (.PHONY): Remove installdirs from list.
58570         ($(inst_infodir)/libc.info): Use make-target-directory.
58571         (installdirs): Remove.
58572         (subdir_%): Remove.
58573         (glibc-targets): Remove.
58574         (lib): Remove.
58575         (stubs): Remove.
58576         ($(objpfx)stubs ../po/manual.pot): Remove.
58577         ($(objpfx)stamp%): Remove.
58578         (make-target-directory): Remove.
58579         (subdir_install): Remove.
58580         (routines): Remove.
58581         (aux): Remove.
58582         (sources): Remove.
58583         (objects): Remove.
58584         (headers): Remove.
58586         [BZ #13750]
58587         * manual/.gitignore: Remove, it's not needed anymore.
58588         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58589         all files in it.
58590         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58591         directory.
58592         (texis): Renamed to $(objpfx)texis.
58593         (texis-path): New, contains path to generated files.
58594         (chapters.%): Use texis-path for complete path, add extra argument
58595         libc-texinfo.sh.
58596         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58597         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58598         (summary,texi, stamp-summary): Use complete path of
58599         files. Generate files in build dir.
58600         (dir-add.texi): Build in build dir.
58601         (libm-err.texi,stamp-libm-err): Likewise.
58602         (version.texi, stamp-version): Likewise.
58603         (.%c.texi): Likewise.
58604         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58605         (mostlyclean): Remove target.
58606         (realclean): Remove target.
58607         (generated): Add new variable with contents from mostlyclean and
58608         realclean, remove entries duplicated in common-mostlyclean, add
58609         stamp-libm-err and stamp-version.
58610         (generated-dirs): Add libc directory.
58611         ($(inst_infodir)/libc.info): Install files from build dir.
58613         * manual/install.texi (Configuring and compiling): Adjust since
58614         the info files are not part of the tar ball anymore.
58616 2012-05-14  Andreas Jaeger  <aj@suse.de>
58618         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58619         variable.
58621 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58623         [BZ #13717]
58624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58625         to 2.2.0 where earlier.
58626         * sysdeps/unix/sysv/linux/configure: Regenerated.
58627         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58628         Remove conditional code.
58629         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58630         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58631         Remove conditional code.
58632         [!__NR_lchown]: Likewise.
58633         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58634         [__NR_lchown]: Likewise.
58635         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58636         comment referencing __ASSUME_LCHOWN_SYSCALL.
58637         * sysdeps/unix/sysv/linux/i386/sigaction.c
58638         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58639         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58640         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58641         Remove conditional code.
58642         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58643         (__protocol_available): Remove #if 0 code.
58644         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58645         conditional code.
58646         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58647         * sysdeps/unix/sysv/linux/kernel-features.h
58648         (__ASSUME_GETCWD_SYSCALL): Don't define.
58649         (__ASSUME_REALTIME_SIGNALS): Likewise.
58650         (__ASSUME_PREAD_SYSCALL): Likewise.
58651         (__ASSUME_PWRITE_SYSCALL): Likewise.
58652         (__ASSUME_POLL_SYSCALL): Likewise.
58653         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58654         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58655         non-SPARC.
58656         (__ASSUME_SIOCGIFNAME): Don't define.
58657         (__ASSUME_MSG_NOSIGNAL): Likewise.
58658         (__ASSUME_SENDFILE): Define unconditionally.
58659         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58660         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58661         conditional code.
58662         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58663         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58664         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58665         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58666         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58667         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58668         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58673         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58679         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58682         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58685         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58686         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58688         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58691         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58692         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58693         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58694         Remove conditional code.
58695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58696         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58697         Remove conditional code.
58698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58699         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58700         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58701         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58702         Remove conditional code.
58703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58704         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58705         Remove conditional code.
58706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58707         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58708         Remove conditional code.
58709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58710         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58711         Remove conditional code.
58712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58713         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58714         Remove conditional code.
58715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58716         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58717         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58718         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58719         * sysdeps/unix/sysv/linux/sigaction.c
58720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58722         * sysdeps/unix/sysv/linux/sigpending.c
58723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58725         * sysdeps/unix/sysv/linux/sigprocmask.c
58726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58728         * sysdeps/unix/sysv/linux/sigsuspend.c
58729         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58730         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58731         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58732         (__libc_missing_rt_sigs): Remove.
58733         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58734         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58735         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58736         Remove conditional code.
58737         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58738         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58739         return 1.
58740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58741         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58742         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58743         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58745 2012-05-14  Andreas Jaeger  <aj@suse.de>
58747         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58748         it's not used in glibc.
58749         (__coshm1): Likewise.
58750         (__acosh1p): Likewise.
58751         (__sgn): Likewise.
58753         * manual/string.texi (Copying and Concatenation): Add missing
58754         variable in concat example.
58755         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58759         [BZ #14103]
58760         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58761         __builtin_clzl with __builtin_clzll.
58763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58765         [BZ #14104]
58766         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58767         libc_freeres_ptr.
58769 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58771         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58772         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58773         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58776 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58778         * NEWS: Update ia64 info.
58780 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58782         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58783         used as bcopy.
58785 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58787         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58788         * sysdeps/unix/syscalls.list (dup3): Likewise.
58789         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58790         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58792 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58794         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58795         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58797 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58799         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58800         thread pointer.
58801         (TLS_IE): Use mov/add instead of movq/addq to load thread
58802         pointer.
58803         (TLS_GD_PREFIX): New.
58804         (TLS_GD): Use it.
58806 2012-05-11  David S. Miller  <davem@davemloft.net>
58808         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58809         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58810         (_FPU_SETCW): Likewise.
58812 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58814         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58815         is 32-byte aligned.
58817 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58819         [BZ #11837]
58820         * iconvdata/gb18030.c: Update tables.
58821         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58822         characters specially.
58823         (BODY for TO_LOOP): Add encoding of missing ranges.
58825 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58827         [BZ #13673]
58828         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58829         * sysdeps/mach/hurd/dup3.c: Likewise.
58830         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58831         * sysdeps/powerpc/memmove.c:: Likewise.
58833 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58835         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58836         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58838 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58840         * elf/elf.h (R_X86_64_RELATIVE64): New.
58841         (R_X86_64_NUM): Updated.
58842         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58843         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58844         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58845         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58846         tst-quad1pie tst-quad2pie
58847         (modules-names): Add tst-quadmod1 tst-quadmod2.
58848         ($(objpfx)tst-quad1): New dependency.
58849         ($(objpfx)tst-quad2): Likewise.
58850         ($(objpfx)tst-quad1pie): Likewise.
58851         ($(objpfx)tst-quad2pie): Likewise.
58852         * sysdeps/x86_64/tst-quad1.c: New file.
58853         * sysdeps/x86_64/tst-quad1pie.c: New file.
58854         * sysdeps/x86_64/tst-quad2.c: Likewise.
58855         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58856         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58857         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58858         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58859         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58863         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58864         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58865         * streams/stropts.h (t_scalar_t): Define type.
58867         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58868         (_PATH_PRESERVE): Set to "/var/lib".
58869         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58871         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58872         instead of int.
58874         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58875         if __dir_mkfile succeeded.
58877         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58878         checking for _hurd_dtablesize.  Unlock it right after having
58879         finished _hurd_dtable allocation.
58881 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58883         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58884         * sysdeps/mach/hurd/configure: Regenerated.
58885         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58886         special-casing to...
58887         * sysdeps/gnu/configure.in: ... this new file.
58888         * sysdeps/unix/sysv/linux/configure: Regenerated.
58889         * sysdeps/gnu/configure: New generated file.
58891         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58892         for Linux: use nsec instead of usec, as well as:
58893         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58894         members of type struct timespec.
58895         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58896         New macros.
58897         (struct stat64): Likewise.
58898         (_STATBUF_ST_NSEC): New macro.
58899         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58901         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58902         __strtoul_internal rather than strtoul.
58904 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58906         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58907         and reject them.
58909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58911         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58912         which preserves existing values.
58913         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58917         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58918         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58919         greater than FD_SETSIZE.
58921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58923         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58924         allocated, call __vm_protect to finish enabling the existing space, and
58925         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58926         allocate the remainder.
58928 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58930         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58931         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58935         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58936         sysdeps/mach/hurd/readlink.c.
58938         * posix/tst-sysconf.c (posix_options): Only use
58939         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58940         _POSIX_SYNCHRONIZED_IO when they are defined
58941         * sysdeps/mach/hurd/bits/posix_opt.h:
58942         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58943         (_XOPEN_REALTIME): Undefine macro.
58944         (_XOPEN_REALTIME_THREADS): Undefine macro.
58945         (_XOPEN_SHM): Undefine macro.
58946         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58947         macro to -1.
58948         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58949         macro to -1.
58950         (_POSIX_ASYNC_IO): Undefine macro.
58951         (_POSIX_PRIORITIZED_IO): Undefine macro.
58952         (_POSIX_SPIN_LOCKS): Define macro to -1.
58954         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58955         SA_NODEFER, SA_RESETHAND.
58956         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58957         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58958         F_DUPFD_CLOEXEC.
58960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58962         * elf/Makefile (pldd-modules): Define unconditionally.
58964 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58966         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58970         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58971         Return ENOENT when name is empty.
58972         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58976         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58978         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58982         Fix mlock in all cases except non-readable pages.
58983         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58984         instead of VM_PROT_ALL as parameter to __vm_wire function.
58986         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58987         (__mkdir): When path is `/', just fail with EEXIST.
58988         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58992         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58993         <sys/uio.h> (for writev).
58994         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58995         and <sys/param.h> (for MIN).
58997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58999         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59000         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59001         if interrupted.
59003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59005         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59006         Depend on against $(link-rpcuserlibs).
59008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59010         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59011         (__libc_stack_end): Do not use attribute_relro.
59012         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59013         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59014         to libthread-provided value.
59015         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59016         attribute_relro.
59018 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59020         [BZ #3748]
59021         * bits/libc-lock.h (__libc_once_get): New macro.
59022         * sysdeps/mach/bits/libc-lock.h: Likewise.
59023         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59024         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59025         instead of using implementation details.
59027         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59028         * libio/freopen.c: Likewise.
59029         * libio/freopen64.c: Likewise.
59030         * misc/syslog.c: Likewise.
59031         * nscd/connections.c: Likewise.
59032         * nscd/netgroupcache.c: Likewise.
59033         * sysdeps/posix/getcwd.c: Likewise.
59035 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59037         * math/w_ilogbf.c: Add #include <limits.h>.
59039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59041         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59042         path instead of returning without unlocking.
59044         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59045         immediate-write ioctls.
59046         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59050         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59051         __builtin_frame_address instead of making assumptions about the
59052         location of the return address relative to DATA.  Force early load of
59053         the return address.
59054         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59055         __builtin_frame_address.
59057         dup3 for GNU Hurd.
59058         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59059         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59060         implement dup3 and do some further code clean-ups.
59061         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59062         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59066         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59068         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59069         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59070         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59071         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59072         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59073         d->port.lock.
59075         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59076         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59077         when handler == SIG_ERR, not when handler != SIG_ERR.
59079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59081         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59082         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59083         definitions.
59085         accept4 for GNU Hurd.
59086         * include/sys/socket.h (__libc_accept4): New prototype.
59087         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59088         to implement __libc_accept4.
59089         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59090         __libc_accept4.
59091         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59093         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59094         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59095         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59096         signal-defines.sym.
59098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59100         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59102 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59104         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59105         assertion on O_CLOEXEC flag.
59106         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59107         * hurd/intern-fd.c: Likewise.
59108         * hurd/port2fd.c: Likewise.
59110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59112         [BZ #3906]
59113         * bits/in.h (IPV6_PKTINFO): Define new macro.
59114         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59116 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59118         [BZ #13954]
59119         [BZ #13955]
59120         [BZ #13956]
59121         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59123         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59124         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59126         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59127         * math/libm-test.inc (logb_test) : Additional logb tests.
59129 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59130             Andreas Jaeger  <aj@suse.de>
59132         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59133         * configure: Regenerated.
59134         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59135         * config.make.in (link-obsolete-rpc): New substituted variable.
59136         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59137         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59138         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59139         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59140         so that libc.a contains the symbols.
59141         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59142         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59143         * sunrpc/auth_none.c: Likewise.
59144         * sunrpc/auth_unix.c: Likewise.
59145         * sunrpc/authdes_prot.c: Likewise.
59146         * sunrpc/authuxprot.c: Likewise.
59147         * sunrpc/clnt_gen.c: Likewise.
59148         * sunrpc/clnt_perr.c: Likewise.
59149         * sunrpc/clnt_raw.c: Likewise.
59150         * sunrpc/clnt_simp.c: Likewise.
59151         * sunrpc/clnt_tcp.c: Likewise.
59152         * sunrpc/clnt_udp.c: Likewise.
59153         * sunrpc/clnt_unix.c: Likewise.
59154         * sunrpc/des_crypt.c: Likewise.
59155         * sunrpc/des_soft.c: Likewise.
59156         * sunrpc/get_myaddr.c: Likewise.
59157         * sunrpc/key_call.c: Likewise.
59158         * sunrpc/key_prot.c: Likewise.
59159         * sunrpc/netname.c: Likewise.
59160         * sunrpc/pm_getmaps.c: Likewise.
59161         * sunrpc/pm_getport.c: Likewise.
59162         * sunrpc/pmap_clnt.c: Likewise.
59163         * sunrpc/pmap_prot.c: Likewise.
59164         * sunrpc/pmap_prot2.c: Likewise.
59165         * sunrpc/pmap_rmt.c: Likewise.
59166         * sunrpc/publickey.c: Likewise.
59167         * sunrpc/rpc_cmsg.c: Likewise.
59168         * sunrpc/rpc_common.c: Likewise.
59169         * sunrpc/rpc_dtable.c: Likewise.
59170         * sunrpc/rpc_prot.c: Likewise.
59171         * sunrpc/rpc_thread.c: Likewise.
59172         * sunrpc/rtime.c: Likewise.
59173         * sunrpc/svc.c: Likewise.
59174         * sunrpc/svc_auth.c: Likewise.
59175         * sunrpc/svc_raw.c: Likewise.
59176         * sunrpc/svc_run.c: Likewise.
59177         * sunrpc/svc_tcp.c: Likewise.
59178         * sunrpc/svc_udp.c: Likewise.
59179         * sunrpc/svc_unix.c: Likewise.
59180         * sunrpc/svcauth_des.c: Likewise.
59181         * sunrpc/xcrypt.c: Likewise.
59182         * sunrpc/xdr.c: Likewise.
59183         * sunrpc/xdr_array.c: Likewise.
59184         * sunrpc/xdr_float.c: Likewise.
59185         * sunrpc/xdr_intXX_t.c: Likewise.
59186         * sunrpc/xdr_mem.c: Likewise.
59187         * sunrpc/xdr_rec.c: Likewise.
59188         * sunrpc/xdr_ref.c: Likewise.
59189         * sunrpc/xdr_sizeof.c: Likewise.
59190         * sunrpc/xdr_stdio.c: Likewise.
59192 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59195         change.  Update copyright years.
59197 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59199         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59201 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59202             Joseph Myers  <joseph@codesourcery.com>
59203             Paul Pluzhnikov  <ppluzhnikov@google.com>
59205         [BZ #14012]
59206         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59207         requiring rpcgen.
59208         [cross-compiling] (extra-libs): Likewise.
59209         [cross-compiling] (extra-libs-others): Likewise.
59210         [cross-compiling] (librpcsvc-routines): Likewise.
59211         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59212         [cross-compiling] (omit-deps): Likewise.
59213         (sunrpc-CPPFLAGS): New variable.
59214         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59215         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59216         (cross-rpcgen-objs): New variable.
59217         (extra-objs): Append $(cross-rpcgen-objs).
59218         ($(cross-rpcgen-objs)): New rule.
59219         ($(objpfx)cross-rpcgen): Likewise.
59220         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59221         comment.
59222         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59223         ($(objpfx)x%.stmp): Likewise.
59224         * sunrpc/proto.h [IS_IN_build] (_): Define.
59225         [IS_IN_build] (_libc_intl_domainname): Likewise.
59227 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59230         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59231         and R_X86_64_TPOFF64.
59233 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59235         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59236         sysdeps/unix/sysv/syscalls.list.
59237         (stime): Likewise.
59238         (utime): Likewise.
59239         * sysdeps/unix/sysv/syscalls.list: Remove file.
59241 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59243         [BZ #3440]
59244         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59245         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59246         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59247         (__LC_IDENTIFICATION): Make these macros useful in #if
59248         expressions, as required by C99.
59250 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59252         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59253         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59254         after this.
59256 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59258         * stdlib/longlong.h: Updated from GCC.
59260 2012-05-09  Andreas Jaeger  <aj@suse.de>
59262         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59263         default is first entry.
59264         (run_mode): Set type.
59265         (main): Remove informal message about syslog.
59266         (options): Fix typo.
59268         [BZ #14053]
59269         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59270         to asm.
59271         (lrint): Likewise.
59272         (llrintf): Likewise.
59273         (llrint): Likewise.
59274         (rint): Likewise.
59275         (rintf): Likewise.
59276         (nearbyint): Likewise.
59277         (nearbyintf): Likewise.
59279 2012-05-09  Andreas Jaeger  <aj@suse.de>
59280             Pedro Alves  <palves@redhat.com>
59282         * nscd/nscd.c (run_mode): Use enum.
59283         (main): Cleanup coding style issue.
59285 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59286             Andreas Jaeger  <aj@suse.de>
59288         * nscd/nscd.c (go_background): Replaced with...
59289         (run_mode): ... this.
59290         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59291         (options): Add -F --foreground.
59292         (main): Implement it.
59293         (parse_opt): Parse it.
59295 2012-05-09  Andreas Jaeger  <aj@suse.de>
59297         [BZ #14083]
59298         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59299         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59300         -Wconversion warning.
59301         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59302         Likewise.
59304 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59306         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59307         == 0.
59308         (LC_ALL): Use macro-int-constant.
59309         (LC_COLLATE): Likewise.
59310         (LC_CTYPE): Likewise.
59311         (LC_MESSAGES): Likewise.
59312         (LC_MONETARY): Likewise.
59313         (LC_NUMERIC): Likewise.
59314         (LC_TIME): Likewise.
59315         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59316         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59318         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59319         Specify type.
59320         [C99-based standards] (float_t): Expect type.
59321         [C99-based standards] (double_t): Expect type.
59322         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59323         type.
59324         [C99-based standards] (HUGE_VALL): Likewise.
59325         [C99-based standards] (INFINITY): Likewise.
59326         [C99-based standards] (NAN): Likewise.
59327         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59328         [C99-based standards] (FP_NAN): Likewise.
59329         [C99-based standards] (FP_NORMAL): Likewise.
59330         [C99-based standards] (FP_SUBNORMAL): Likewise.
59331         [C99-based standards] (FP_ZERO): Likewise.
59332         [C99-based standards] (FP_FAST_FMA): Use
59333         optional-macro-int-constant.  Specify type.  Require == 1.
59334         [C99-based standards] (FP_FAST_FMAF): Likewise.
59335         [C99-based standards] (FP_FAST_FMAL): Likewise.
59336         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59337         [C99-based standards] (FP_ILOGBNAN): Likewise.
59338         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59339         Specify type.
59340         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59341         [C99-based standards] (math_errhandling): Specify type.
59342         [ISO99 || ISO11] (signgam): Do not allow.
59343         [non-C99-based standards] (copysignf): Do not allow.
59344         [non-C99-based standards] (exp2f): Likewise.
59345         [non-C99-based standards] (log2f): Likewise.
59346         [non-C99-based standards] (modff): Allow.
59347         [non-C99-based standards] (erff): Do not allow.
59348         [non-C99-based standards] (erfcf): Likewise.
59349         [non-C99-based standards] (gammaf): Likewise.
59350         [non-C99-based standards] (hypotf): Likewise.
59351         [non-C99-based standards] (j0f): Likewise.
59352         [non-C99-based standards] (j1f): Likewise.
59353         [non-C99-based standards] (jnf): Likewise.
59354         [non-C99-based standards] (lgammaf): Likewise.
59355         [non-C99-based standards] (tgammaf): Likewise.
59356         [non-C99-based standards] (y0f): Likewise.
59357         [non-C99-based standards] (y1f): Likewise.
59358         [non-C99-based standards] (ynf): Likewise.
59359         [non-C99-based standards] (isnanf): Likewise.
59360         [non-C99-based standards] (acoshf): Likewise.
59361         [non-C99-based standards] (asinhf): Likewise.
59362         [non-C99-based standards] (atanhf): Likewise.
59363         [non-C99-based standards] (cbrtf): Likewise.
59364         [non-C99-based standards] (expm1f): Likewise.
59365         [non-C99-based standards] (ilogbf): Likewise.
59366         [non-C99-based standards] (log1pf): Likewise.
59367         [non-C99-based standards] (logbf): Likewise.
59368         [non-C99-based standards] (nextafterf): Likewise.
59369         [non-C99-based standards] (remainderf): Likewise.
59370         [non-C99-based standards] (rintf): Likewise.
59371         [non-C99-based standards] (scalbf): Likewise.
59372         [non-C99-based standards] (copysignl): Likewise.
59373         [non-C99-based standards] (exp2l): Likewise.
59374         [non-C99-based standards] (log2l): Likewise.
59375         [non-C99-based standards] (modfl): Allow.
59376         [non-C99-based standards] (erfl): Do not allow.
59377         [non-C99-based standards] (erfcl): Likewise.
59378         [non-C99-based standards] (gammal): Likewise.
59379         [non-C99-based standards] (hypotl): Likewise.
59380         [non-C99-based standards] (j0l): Likewise.
59381         [non-C99-based standards] (j1l): Likewise.
59382         [non-C99-based standards] (jnl): Likewise.
59383         [non-C99-based standards] (lgammal): Likewise.
59384         [non-C99-based standards] (tgammal): Likewise.
59385         [non-C99-based standards] (y0l): Likewise.
59386         [non-C99-based standards] (y1l): Likewise.
59387         [non-C99-based standards] (ynl): Likewise.
59388         [non-C99-based standards] (isnanl): Likewise.
59389         [non-C99-based standards] (acoshl): Likewise.
59390         [non-C99-based standards] (asinhl): Likewise.
59391         [non-C99-based standards] (atanhl): Likewise.
59392         [non-C99-based standards] (cbrtl): Likewise.
59393         [non-C99-based standards] (expm1l): Likewise.
59394         [non-C99-based standards] (ilogbl): Likewise.
59395         [non-C99-based standards] (log1pl): Likewise.
59396         [non-C99-based standards] (logbl): Likewise.
59397         [non-C99-based standards] (nextafterl): Likewise.
59398         [non-C99-based standards] (remainderl): Likewise.
59399         [non-C99-based standards] (rintl): Likewise.
59400         [non-C99-based standards] (scalbl): Likewise.
59401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59402         [non-C99-based standards] (FP_*): Do not allow.
59403         [C99-based standards] (FP_*): Change to
59404         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59405         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59406         allow.
59407         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59408         (SIG_ERR): Likewise.
59409         [X/Open-based standards] (SIG_HOLD): Likewise.
59410         (SIG_IGN): Likewise.
59411         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59412         positive value.
59413         (SIGFPE): Likewise.
59414         (SIGILL): Likewise.
59415         (SIGINT): Likewise.
59416         (SIGSEGV): Likewise.
59417         (SIGTER): Likewise.
59418         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59419         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59420         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59421         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59422         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59423         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59424         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59425         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59426         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59427         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59428         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59429         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59430         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59431         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59432         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59433         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59434         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59435         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59436         [X/Open-based standards] (SIGTRAP): Likewise.
59437         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59438         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59439         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59440         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59441         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59442         allow.
59444 2012-05-08  Ian Wienand  <ianw@vmware.com>
59446         [BZ #14080]
59447         * time/tzset.c (__tzset_parse_tz): Update default rules for
59448         daylight time changes in the Energy Policy Act of 2005.
59450 2012-05-09  Andreas Jaeger  <aj@suse.de>
59452         [BZ #13983]
59453         * elf/ldconfig.c (parse_conf): Change string to make clear that
59454         ldconfig only issued a warning if ld.so.conf does not exist.
59456 2012-05-08  David S. Miller  <davem@davemloft.net>
59458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59459         movxtod instead of popping the value on the stack.
59461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59463 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59465         * config.h.in: Add HAVE_ARM_PCS_VFP.
59467 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59469         [BZ #13979]
59470         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59471         checking but the checks are disabled for any reason.
59473 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59475         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59476         and ELF64_R_TYPE with ELFW(R_TYPE).
59478 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59480         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59481         (ulimit): Likewise.
59483         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59484         (settimeofday): Likewise.
59486 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59488         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59489         a struct th_u2 inside the union, and move tu_block/tu_code into
59490         a new th_u3 union of tu_block/tu_code inside of that.  Move
59491         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59492         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59493         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59494         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59495         (th_stuff): Change to th_u1.tu_stuff.
59496         (th_data): Define.
59497         (th_msg): Change to th_u1.th_u2.tu_data.
59499 2012-05-07  David S. Miller  <davem@davemloft.net>
59501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59503         [BZ #14074]
59504         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59505         (SETUP_PIC_REG): Use it.
59506         (SETUP_PIC_REG_LEAF): Use it.
59508 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59510         [BZ #13885]
59511         [BZ #13923]
59512         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59513         USE_AS_EXPM1L.
59514         (EXPL_FINITE): Likewise.
59515         (FLDLOG): Likewise.
59516         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59517         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59518         e_expl.S.
59519         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59520         USE_AS_EXPM1L.
59521         (EXPL_FINITE): Likewise.
59522         (FLDLOG): Likewise.
59523         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59524         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59525         e_expl.S.
59526         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59527         test of -max_value argument for long double.
59528         * sysdeps/i386/fpu/libm-test-ulps: Update.
59529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59531 2012-05-06  David S. Miller  <davem@davemloft.net>
59533         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59534         quad soft-float symbols whose references which are compiler
59535         generated.
59536         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59538 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59540         [BZ #13884]
59541         [BZ #13914]
59542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59543         USE_AS_EXP10L.
59544         (EXPL_FINITE): Likewise.
59545         (FLDLOG): Likewise.
59546         (c0): Likewise.
59547         (c1): Likewise.
59548         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59549         Adjust comments for base varying.
59550         (__expl_finite): Change alias to EXPL_FINITE.
59551         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59552         e_expl.S.
59553         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59554         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59555         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59556         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59558         USE_AS_EXP10L.
59559         (EXPL_FINITE): Likewise.
59560         (FLDLOG): Likewise.
59561         (c0): Likewise.
59562         (c1): Likewise.
59563         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59564         Adjust comments for base varying.
59565         (__expl_finite): Change alias to EXPL_FINITE.
59566         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59567         tests for bugs.
59568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59570         [BZ #14064]
59571         * math/libm-test.inc (check_float_internal): Correct ulp
59572         calculation for subnormal expected results.
59574 2012-05-06  Andreas Jaeger  <aj@suse.de>
59576         * Makeconfig (+math-flags): New, set to -frounding-math.
59577         (+cflags): Add +math-flags so that all of glibc gets compiled with
59578         it.
59580         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59582 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59584         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59585         Disable one test.
59587         [BZ #13787]
59588         [BZ #13922]
59589         [BZ #14036]
59590         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59591         (__ieee754_expl): Allow for and saturate large arguments.
59592         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59593         (u_threshold): Likewise.
59594         (__exp): Call __ieee754_exp before checking for overflow and
59595         underflow.
59596         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59597         (u_threshold): Likewise.
59598         (__expf): Call __ieee754_expf before checking for overflow and
59599         underflow.
59600         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59601         (u_threshold): Likewise.
59602         (__expl): Call __ieee754_expl before checking for overflow and
59603         underflow.
59604         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59605         (__ieee754_expl): Allow for and saturate large arguments.
59606         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59607         missing overflow exception on overflow.
59608         (expm1_test): Do not allow missing overflow exception on overflow.
59610         * sysdeps/i386/fpu/e_expl.c: Move to ...
59611         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59612         rather than using inline asm.
59613         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59614         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59615         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59617         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59618         (nice): Likewise.
59619         (poll): Likewise.
59620         (signal): Likewise.
59621         (time): Likewise.
59622         (times): Likewise.
59624 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59626         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59627         sysdeps/unix/common/syscalls.list.
59628         (fchmod): Likewise.
59629         (fchown): Likewise.
59630         (ftruncate): Likewise.
59631         (getrusage): Likewise.
59632         (gettimeofday): Likewise.
59633         (setpgid): Likewise.
59634         (setregid): Likewise.
59635         (setreuid): Likewise.
59636         (sigaction): Likewise.
59637         (truncate): Likewise.
59638         (vhangup): Likewise.
59639         * sysdeps/unix/common/syscalls.list: Remove file.
59640         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59641         * sysdeps/unix/sysv/linux/Implies: Likewise.
59643 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59645         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59647         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59648         Moved to ...
59649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59650         Here.
59651         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59652         to ...
59653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59654         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59655         to ...
59656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59657         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59658         to ...
59659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59660         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59661         to ...
59662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59663         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59664         to ...
59665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59666         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59667         to ...
59668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59669         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59670         to ...
59671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59672         Here.
59673         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59674         to ...
59675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59676         Here.
59677         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59678         to ...
59679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59680         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59681         Moved to ...
59682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59683         Here.
59684         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59685         to ...
59686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59688 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59690         * sysdeps/unix/common/bits/dirent.h: Remove file.
59691         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59693         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59694         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59695         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59696         * sysdeps/unix/bsd/isatty.c: Likewise.
59697         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59698         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59699         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59701 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59703         [BZ #13563]
59704         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59705         long double comparison inaccuracies.
59706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59709 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59711         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59712         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59714 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59716         [BZ #14049]
59717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59718         nonzero digits before rounding a hex value.
59719         * stdlib/tst-strtod.c (tests): Add another test.
59721 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59723         * sysdeps/s390/fpu/libm-test-ulps: Update.
59725 2012-05-03  Andreas Jaeger  <aj@suse.de>
59727         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59728         does not get optimized out.
59729         (malloc_opt_barrier): New.
59731 2012-05-03  Andreas Jaeger  <aj@suse.de>
59732             Roland McGrath  <roland@hack.frob.com>
59734         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59735         intermediate file deletion.
59736         (generated): Add .symlist files.
59738 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59740         [BZ #13775]
59741         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59742         Redirect under this condition.
59743         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59744         [__USE_GNU] (__dprintf_chk): Not under this condition.
59745         [__USE_GNU] (__vdprintf_chk): Likewise.
59746         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59747         under this condition.
59748         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59749         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59750         [__USE_XOPEN2K8] (vdprintf): Likewise.
59751         [__USE_GNU] (__dprintf_chk): Not under this condition.
59752         [__USE_GNU] (__vdprintf_chk): Likewise.
59753         [__USE_GNU] (dprintf): Likewise.
59754         [__USE_GNU] (vdprintf): Likewise.
59756 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59758         * elf/Makefile (common-generated): Set this instead of generated for
59759         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59760         $(all-built-dso)-derived lists.
59762 2012-05-03  Andreas Jaeger  <aj@suse.de>
59764         * sysdeps/i386/fpu/libm-test-ulps: Update.
59766         * FAQ: Removed.
59767         * FAQ.in: Likewise.
59768         * scripts/gen-FAQ.pl: Likewise.
59769         * manual/install.texi (Installation): Point to online location of
59770         FAQ.
59771         * Makefile (files-for-dist): Remove FAQ.
59772         (FAQ): Remove.
59774 2012-05-02  Allan McRae  <allan@archlinux.org>
59776         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59777         (LDFLAGS-reldepmod5.so): Likewise.
59778         (LDFLAGS-reldep6mod1.so): Likewise.
59779         (LDFLAGS-reldep6mod4.so): Likewise.
59780         (LDFLAGS-reldep8mod3.so): Likewise.
59781         (LDFLAGS-unload4mod1.so): Likewise.
59782         (LDFLAGS-unload4mod2.so): Likewise.
59783         (LDFLAGS-tst-initorder): Likewise.
59784         (LDFLAGS-tst-initordera2.so): Likewise.
59785         (LDFLAGS-tst-initordera3.so): Likewise.
59786         (LDFLAGS-tst-initordera4.so): Likewise.
59787         (LDFLAGS-tst-initorderb2.so): Likewise.
59788         (LDFLAGS-noload): Likewise.
59789         (LDFLAGS-next): Likewise.
59790         (LDFLAGS-order2mod1.so): Likewise.
59791         (LDFLAGS-order2mod2.so): Likewise.
59792         (LDFLAGS-tst-initorder2): Likewise.
59793         (LDFLAGS-tst-initorder2a.so): Likewise.
59794         (LDFLAGS-tst-initorder2b.so): Likewise.
59795         (LDFLAGS-tst-initorder2c.so): Likewise.
59796         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59798 2012-05-02  David S. Miller  <davem@davemloft.net>
59800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59802 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59804         [BZ #14055]
59805         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59807 2012-05-02  Andreas Jaeger  <aj@suse.de>
59809         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59810         since we manipulate rounding mode.
59811         (CPPFLAGS-test-idouble.c): Likewise.
59812         (CPPFLAGS-test-ifloat.c): Likewise.
59813         (CFLAGS-test-ldouble.c): Likewise.
59814         (CFLAGS-test-double.c): Likewise.
59815         (CFLAGS-test-float.c): Likewise.
59816         (CFLAGS-test-misc.c): Likewise.
59817         (CFLAGS-test-test-fenv.c): Likewise.
59819 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59821         [BZ #2550]
59822         [BZ #2570]
59823         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59824         comparisons to determine direction to adjust input.
59826 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59828         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59829         output to the target.
59831         * scripts/localplt.awk: New file.
59832         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59833         (check-localplt-CFLAGS): Variable removed.
59834         ($(all-built-dso:=.jmprel)): New static pattern rule.
59835         (generated): Add those targets.
59836         (localplt-built-dso): New variable.
59837         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59839         * elf/check-localplt.c: File removed.
59841         * scripts/check-execstack.awk: New file.
59842         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59843         (check-execstack-CFLAGS): Variable removed.
59844         ($(objpfx)check-execstack.h): Target removed.
59845         ($(objpfx)execstack-default): New target.
59846         (generated): Add that instead of check-execstack.h.
59847         ($(all-built-dso:=.phdr)): New static pattern rule.
59848         (generated): Add those targets.
59849         * elf/check-execstack.c: File removed.
59851         * scripts/check-textrel.awk: New file.
59852         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59853         (check-textrel-CFLAGS): Variable removed.
59854         (all-built-dso): Use := to define.o
59855         ($(all-built-dso:=.dyn)): New static pattern rule.
59856         (generated): Add those targets.
59857         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59858         * config.make.in (READELF): New substituted variable.
59859         * elf/check-textrel.c: File removed.
59861 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59863         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59864         allow.
59865         * conform/data/ctype.h-data [C99-based standards] (isblank):
59866         Expect function.
59867         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59868         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59870         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59871         Specify type.  Require positive value.
59872         (EILSEQ): Likewise.
59873         (ERANGE): Likewise.
59874         [ISO || POSIX] (EILSEQ): Do not expect.
59875         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59876         Specify type.  Require positive value.
59877         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59878         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59879         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59880         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59881         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59882         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59883         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59884         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59885         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59886         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59887         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59888         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59889         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59890         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59891         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59892         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59893         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59894         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59895         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59896         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59897         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59898         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59899         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59900         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59901         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59902         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59903         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59904         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59905         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59906         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59907         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59908         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59909         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59910         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59911         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59912         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59913         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59914         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59915         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59916         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59917         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59918         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59919         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59920         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59921         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59922         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59923         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59924         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59925         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59926         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59927         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59928         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59929         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59930         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59931         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59932         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59933         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59934         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59935         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59936         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59937         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59938         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59939         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59940         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59941         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59942         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59943         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59944         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59945         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59946         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59947         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59948         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59949         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59950         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59951         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59952         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59953         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59954         Require >= 2.
59955         (FLT_ROUNDS): Expect as macro, not constant.
59956         (FLT_MANT_DIG): Use macro-int-constant.
59957         (DBL_MANT_DIG): Likewise.
59958         (LDBL_MANT_DIG): Likewise.
59959         (FLT_DIG): Likewise.
59960         (DBL_DIG): Likewise.
59961         (LDBL_DIG): Likewise.
59962         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59963         (DBL_MIN_EXP): Likewise.
59964         (LDBL_MIN_EXP): Likewise.
59965         (FLT_MAX_EXP): Use macro-int-constant.
59966         (DBL_MAX_EXP): Likewise.
59967         (LDBL_MAX_EXP): Likewise.
59968         (FLT_MAX_10_EXP): Likewise.
59969         (DBL_MAX_10_EXP): Likewise.
59970         (LDBL_MAX_10_EXP): Likewise.
59971         (FLT_MAX): Use macro-constant.
59972         (DBL_MAX): Likewise.
59973         (LDBL_MAX): Likewise.
59974         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59975         (DBL_EPSILON): Likewise.
59976         (LDBL_EPSILON): Likewise.
59977         (FLT_MIN): Likewise.
59978         (DBL_MIN): Likewise.
59979         (LDBL_MIN): Likewise.
59980         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59981         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59982         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59983         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59984         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59985         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59986         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59987         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59988         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59989         [ISO11] (FLT_TRUE_MIN): Likewise.
59990         [ISO11] (LDBL_TRUE_MIN): Likewise.
59991         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59992         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59993         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59994         (SCHAR_MAX): Likewise.
59995         (UCHAR_MAX): Likewise.
59996         (CHAR_MIN): Likewise.
59997         (CHAR_MAX): Likewise.
59998         (MB_LEN_MAX): Use macro-int-constant.
59999         (SHRT_MIN): Use macro-int-constant.  Specify type.
60000         (SHRT_MAX): Likewise.
60001         (USHRT_MAX): Likewise.
60002         (INT_MAX): Likewise.
60003         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60004         bound negative.
60005         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60006         bound with "U".
60007         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60008         bound with "L".
60009         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60010         bound negative.  Suffix upper bound with "L".
60011         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60012         bound with "UL".
60013         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60014         Specify type.
60015         [C99-based standards] (LLONG_MAX): Likewise.
60016         [C99-based standards] (ULLONG_MAX): Likewise.
60017         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60018         == 0.
60019         [ISO11] (max_align_t): Require type.
60020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60022         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60023         from $CFLAGS, without defining away __attribute__ calls.
60024         (checknamespace): Use $CFLAGS_namespace.
60026         * conform/conformtest.pl (@keywords): Only include C99 keywords
60027         for standards based on C99 or C11.
60029         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60030         Disable tests.
60031         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60032         UNIX98]: Likewise.
60034         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60035         usability of symbols in #if.
60037         * conform/conformtest.pl: If macro or constant types start
60038         "promoted:", expect the symbol to be of the following type
60039         promoted by the integer promotions.
60041         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60042         in one place.  Also handle "macro-constant".
60044         * conform/conformtest.pl: Only accept expected macro values with
60045         "==".  Parse all "macro" lines in one place.
60046         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60048         * conform/conformtest.pl: Handle braced types on "constant" lines
60049         instead of handling "typed-constant".
60050         * conform/data/signal.h-data: Use "constant" instead of
60051         "typed-constant".
60053         * conform/conformtest.pl: Handle "optional-" at start of lines in
60054         one place rather than duplicating several cases.  Handle each
60055         format of "macro" line with initial "optional-".
60057         * conform/conformtest.pl: Only accept expected constant or
60058         optional-constant values with "==".  Parse all "constant" lines in
60059         one place.  Parse all "optional-constant" lines in one place.
60060         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60061         * conform/data/fmtmsg.h-data: Likewise.
60062         * conform/data/netinet/in.h-data: Likewise.
60063         * conform/data/tar.h-data: Likewise.
60064         * conform/data/limits.h-data: Use "==" form on "constant" and
60065         "optional-constant" lines.
60067         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60068         Use -std=c99 for XOPEN2K.
60069         (@knownproblems): Remove.
60070         (newtoken): Don't check %isknown.
60072         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60073         Do not expect macro.
60074         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60075         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60076         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60077         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60078         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60079         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60080         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60081         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60082         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60083         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60084         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60085         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60086         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60087         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60088         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60089         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60090         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60091         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60092         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60093         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60094         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60095         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60096         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60097         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60098         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60099         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60100         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60101         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60102         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60103         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60104         [XPG3] (acosh): Likewise.
60105         [XPG3] (asinh): Likewise.
60106         [XPG3] (atanh): Likewise.
60107         [XPG3] (cbrt): Likewise.
60108         [XPG3] (expm1): Likewise.
60109         [XPG3] (ilogb): Likewise.
60110         [XPG3] (log1p): Likewise.
60111         [XPG3] (logb): Likewise.
60112         [XPG3] (nextafter): Likewise.
60113         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60114         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60115         [XPG3] (remainder): Likewise.
60116         [XPG3] (rint): Likewise.
60117         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60118         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60119         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60120         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60121         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60122         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60123         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60124         [UNIX98 || XOPEN2K] (scalb): Expect.
60125         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60126         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60127         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60128         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60129         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60130         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60131         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60132         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60133         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60134         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60135         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60136         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60137         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60138         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60139         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60140         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60141         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60142         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60143         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60144         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60145         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60146         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60147         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60148         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60149         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60150         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60151         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60152         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60153         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60154         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60155         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60156         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60157         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60158         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60159         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60160         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60161         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60162         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60163         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60164         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60165         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60166         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60167         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60168         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60169         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60170         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60171         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60172         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60173         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60174         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60175         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60176         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60177         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60178         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60179         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60180         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60181         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60182         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60183         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60184         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60185         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60186         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60187         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60188         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60189         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60190         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60191         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60192         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60193         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60194         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60195         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60196         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60197         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60198         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60199         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60200         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60201         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60202         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60203         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60204         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60205         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60206         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60207         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60208         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60209         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60210         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60211         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60212         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60213         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60214         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60215         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60216         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60217         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60218         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60219         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60220         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60221         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60222         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60223         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60224         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60225         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60226         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60227         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60228         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60229         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60230         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60231         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60232         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60233         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60234         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60235         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60236         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60237         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60238         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60239         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60240         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60241         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60242         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60243         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60244         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60245         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60246         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60247         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60248         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60249         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60250         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60251         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60252         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60253         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60254         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60255         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60256         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60257         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60258         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60259         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60260         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60261         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60263         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60264         _XOPEN_SOURCE_EXTENDED for XPG4.
60266         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60268         * Makeconfig (localtime): Remove variable.
60269         (inst_localtime-file): Likewise.
60271 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60274         Update.
60275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60276         Update.
60277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60278         Update.
60279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60280         Update.
60281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60282         Update.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60284         Update.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60286         Update.
60287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60288         Update.
60289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60290         Update.
60292 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60294         [BZ #2550]
60295         [BZ #2570]
60296         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60297         comparisons to determine direction to adjust input.
60298         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60299         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60301         Likewise.
60302         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60303         Likewise.
60304         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60305         Likewise.
60306         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60307         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60308         Likewise.
60309         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60310         Likewise.
60311         * math/libm-test.inc (nexttoward_test): Add more tests.
60313 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60315         [BZ #14040]
60316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60317         in version GLIBC_2.1, not GLIBC_2.0.
60318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60319         Likewise.
60321 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60323         [BZ #13942]
60324         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60325         (1 - x) * (1 + x).
60326         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60327         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60328         * math/libm-test.inc (acos_test): Add more tests.
60329         (asin_test): Likewise.
60330         * sysdeps/i386/fpu/libm-test-ulps: Update.
60331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60333         [BZ #14034]
60334         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60335         of square root.
60336         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60337         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60338         * math/libm-test.inc (acos_test_tonearest): New function.
60339         (acos_test_towardzero): Likewise.
60340         (acos_test_downward): Likewise.
60341         (acos_test_upward): Likewise.
60342         (asin_test_tonearest): Likewise.
60343         (asin_test_towardzero): Likewise.
60344         (asin_test_downward): Likewise.
60345         (asin_test_upward): Likewise.
60346         (main): Call the new functions.
60347         * sysdeps/i386/fpu/libm-test-ulps: Update.
60348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60350         [BZ #13884]
60351         [BZ #13924]
60352         * math/e_exp10.c: Include <float.h>.
60353         (__ieee754_exp10): Handle underflow here rather than multiplying
60354         large negative argument by M_LN10.
60355         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60356         of __ieee754_expf.
60357         * math/e_exp10l.c: Include <float.h>.
60358         (__ieee754_exp10l): Handle underflow here rather than multiplying
60359         large negative argument by M_LN10l.
60360         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60361         spurious overflow exception on underflow.
60363 2012-04-29  Marek Polacek  <polacek@redhat.com>
60365         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60366         (__fortify_function): New macro.
60367         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60368         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60369         __extern_always_inline.
60370         * libio/bits/stdio2.h: Likewise.
60371         * libio/bits/stdio.h: Likewise.
60372         * string/string.h: Likewise.
60373         * string/bits/string3.h: Likewise.
60374         * include/stdio.h: Likewise.
60375         * stdlib/bits/stdlib.h: Likewise.
60376         * stdlib/stdlib.h: Likewise.
60377         * rt/bits/mqueue2.h: Likewise.
60378         * rt/mqueue.h: Likewise.
60379         * posix/bits/unistd.h: Likewise.
60380         * posix/unistd.h: Likewise.
60381         * io/bits/poll2.h: Likewise.
60382         * io/bits/fcntl2.h: Likewise.
60383         * io/fcntl.h: Likewise.
60384         * io/sys/poll.h: Likewise.
60385         * misc/bits/syslog.h: Likewise.
60386         * misc/bits/syslog-ldbl.h: Likewise.
60387         * misc/sys/syslog.h: Likewise.
60388         * socket/bits/socket2.h: Likewise.
60389         * socket/sys/socket.h: Likewise.
60390         * debug/tst-chk1.c: Likewise.
60391         * wcsmbs/bits/wchar2.h: Likewise.
60392         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60393         * wcsmbs/wchar.h: Likewise.
60395 2012-04-29  Andreas Jaeger  <aj@suse.de>
60397         * Makerules (tests): Remove enable-check-abi protection.
60398         (check-abi-warn): Remove.
60399         (check-abi-%): Remove check-abi-warn usage.
60401         * configure.in: Remove check-abi configure option.
60402         * configure: Regenerated.
60403         * config.make.in (enable-check-abi): Remove.
60405 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60407         [BZ #14033]
60408         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60409         double functions to double *_finite functions.
60411         [BZ #13941]
60412         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60413         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60414         LDBL_MIN_EXP.
60415         * stdio-common/Makefile (tests): Add tst-sprintf3.
60416         * stdio-common/tst-sprintf3.c: New file.
60418         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60419         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60421 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60423         * conform/conformtest.pl: Remove duplicate typed-constant
60424         handling.
60426 2012-04-28  David S. Miller  <davem@davemloft.net>
60428         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60429         (check-abi-%): Remove AWK script prerequisite and explicit
60430         abilist directory.
60431         (check-abi): Rewrite to just diff the symlist with the abilist.
60432         (config-tls, config-abi-config): Delete, no longer used.
60433         (update-abi-%): Remove AWK script and explicit abilist directory.
60434         (update-abi): Rewrite to simply compare and conditionally copy the
60435         symlist and the sysdep abilist file.  Remove update-abi-config
60436         checks.
60437         * abilist/ld.abilist: Remove.
60438         * abilist/libBrokenLocale.abilist: Remove.
60439         * abilist/libanl.abilist: Remove.
60440         * abilist/libcrypt.abilist: Remove.
60441         * abilist/libdl.abilist: Remove.
60442         * abilist/librt.abilist: Remove.
60443         * abilist/libthread_db.abilist: Remove.
60444         * abilist/libutil.abilist: Remove.
60445         * scripts/extract-abilist.awk: Remove.
60446         * scripts/merge-abilist.awk: Remove.
60447         * sysdeps/generic/libcidn.abilist: New file.
60448         * sysdeps/generic/libnss_compat.abilist: New file.
60449         * sysdeps/generic/libnss_db.abilist: New file.
60450         * sysdeps/generic/libnss_dns.abilist: New file.
60451         * sysdeps/generic/libnss_files.abilist: New file.
60452         * sysdeps/generic/libnss_hesiod.abilist: New file.
60453         * sysdeps/generic/libnss_nis.abilist: New file.
60454         * sysdeps/generic/libnss_nisplus.abilist: New file.
60455         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60456         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60457         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60458         file.
60459         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60460         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60461         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60462         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60463         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60464         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60465         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60466         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60467         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60468         file.
60469         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60470         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60471         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60472         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60473         file.
60474         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60475         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60476         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60477         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60478         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60479         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60480         file.
60481         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60482         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60483         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60484         file.
60485         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60487         New file.
60488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60489         New file.
60490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60491         New file.
60492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60493         New file.
60494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60495         New file.
60496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60497         New file.
60498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60499         New file.
60500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60501         New file.
60502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60503         New file.
60504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60505         New file.
60506         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60507         New file.
60508         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60509         New file.
60510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60511         New file.
60512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60513         file.
60514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60515         New file.
60516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60517         New file.
60518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60519         file.
60520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60521         New file.
60522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60523         New file.
60524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60525         file.
60526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60527         New file.
60528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60529         New file.
60530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60531         New file.
60532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60533         New file.
60534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60535         New file.
60536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60537         New file.
60538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60540         file.
60541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60542         New file.
60543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60544         file.
60545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60546         file.
60547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60548         file.
60549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60550         file.
60551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60552         file.
60553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60554         New file.
60555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60556         file.
60557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60558         file.
60559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60560         New file.
60561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60562         file.
60563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60565         file.
60566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60567         New file.
60568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60569         file.
60570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60571         file.
60572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60573         file.
60574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60575         file.
60576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60577         file.
60578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60579         New file.
60580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60581         file.
60582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60583         file.
60584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60585         New file.
60586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60587         file.
60588         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60589         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60590         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60591         file.
60592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60593         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60594         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60595         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60596         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60597         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60598         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60599         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60600         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60601         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60604         file.
60605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60606         New file.
60607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60608         file.
60609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60610         file.
60611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60612         file.
60613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60614         file.
60615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60616         file.
60617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60618         New file.
60619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60620         New file.
60621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60622         file.
60623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60624         New file.
60625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60626         file.
60627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60629         file.
60630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60631         New file.
60632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60633         file.
60634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60635         file.
60636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60637         file.
60638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60639         file.
60640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60641         file.
60642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60643         New file.
60644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60645         New file.
60646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60647         file.
60648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60649         New file.
60650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60651         file.
60653 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60655         * conform/conformtest.pl: Fix typo in handling typed-constant from
60656         allow-header.
60658 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60660         * README: Cut down references to pre-2.6 Linux kernels and
60661         Linuxthreads.  Update lists of configurations in libc and ports
60662         and sort alphabetically.  Say "or newer" with Linux kernel version
60663         requirements.
60665         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60667 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60669         [BZ #887]
60670         * math/libm-test.inc (logb_test_downward): New test to expose
60671         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60672         rounding mode.
60674 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60676         [BZ #14027]
60677         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60678         to be done.
60679         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60680         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60682 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60684         * sysdeps/unix/i386/brk.S: Remove file.
60685         * sysdeps/unix/i386/dl-brk.S: Likewise.
60686         * sysdeps/unix/i386/pipe.S: Likewise.
60687         * sysdeps/unix/i386/sigreturn.S: Likewise.
60688         * sysdeps/unix/i386/syscall.S: Likewise.
60689         * sysdeps/unix/i386/vfork.S: Likewise.
60690         * sysdeps/unix/i386/wait.S: Likewise.
60692         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60693         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60695         * configure.in (arm*-none*): Do not allow without
60696         --enable-hacker-mode.
60697         (netbsd*): Remove case setting base_os.
60698         (386bsd*): Likewise.
60699         (freebsd*): Likewise.
60700         (bsdi*): Likewise.
60701         (osf*): Likewise.
60702         (sunos*): Likewise.
60703         (ultrix*): Likewise.
60704         (newsos*): Likewise.
60705         (dynix*): Likewise.
60706         (*bsd*): Likewise.
60707         (sysv*): Likewise.
60708         (isc*): Likewise.
60709         (esix*): Likewise.
60710         (sco*): Likewise.
60711         (minix*): Likewise.
60712         (irix4*): Likewise.
60713         (irix6*): Likewise.
60714         (solaris[2-9]*): Likewise.
60715         (none): Likewise.
60716         * configure: Regenerated.
60718 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60720         [BZ #11521]
60721         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60722         overflow or cancellation in calculating denominator.
60723         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60725         down expression to avoid unexpected rounding in newer GCCs.
60726         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60728 2012-04-26  David S. Miller  <davem@davemloft.net>
60730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60731         long-double compat symbols.
60732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60746 2012-04-25  David S. Miller  <davem@davemloft.net>
60748         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60749         HWCAP_* values only after the memory barriers have been defined.
60750         (atomic_full_barrier): Define.
60751         (atomic_read_barrier): Define.
60752         (atomic_write_barrier): Define.
60754 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60756         * shlib-versions: Add libgcc_s version information.
60757         * sysdeps/generic/libgcc_s.h: Remove.
60758         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60759         libgcc_s.h.
60760         * sysdeps/gnu/unwind-resume.c: Likewise.
60761         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60763 2012-04-25  David S. Miller  <davem@davemloft.net>
60765         * sysdeps/unix/sparc/brk.S: Delete.
60766         * sysdeps/unix/sparc/dl-brk.S: Delete.
60767         * sysdeps/unix/sparc/pipe.S: Delete.
60768         * sysdeps/unix/sparc/sysdep.S: Delete.
60769         * sysdeps/unix/sparc/sysdep.h: Delete.
60770         * sysdeps/unix/sparc/vfork.S: Delete.
60771         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60772         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60773         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60774         (ret_ERRVAL, r0, r1, MOVE): Define.
60775         (JUMPTARGET): Remove.
60776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60777         sysdeps/unix/sparc/sysdep.h
60778         (ENTRY, END): Remove.
60779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60781 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60783         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60784         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60785         -DIS_IN_build.
60787         * timezone/README: Update upstream location and email address for
60788         tzcode and tzdata.
60789         * timezone/zdump.c: Update from tzcode 2012b.
60790         * timezone/zic.c: Likewise.
60792         * configure.in (libc_cv_as_needed): Remove test.
60793         * configure: Regenerated.
60794         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60795         conditional definition.
60796         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60797         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60798         * config.make.in (have-as-needed): Remove variable.
60800 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60801             Paul Pluzhnikov  <ppluzhnikov@google.com>
60803         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60804         strings correctly.
60806 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60808         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60809         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60810         * sysdeps/sh/strlen.S: Likewise.
60812 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60814         * sysdeps/unix/fork.S: Remove file.
60815         * sysdeps/unix/i386/fork.S: Likewise.
60816         * sysdeps/unix/sparc/fork.S: Likewise.
60818         * sysdeps/unix/system.c: Remove file.
60819         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60821         * sysdeps/unix/getegid.S: Remove file.
60822         * sysdeps/unix/geteuid.S: Likewise.
60824 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60826         * scripts/check-localplt.awk: New file.
60827         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60828         of diff.
60829         * scripts/data/localplt-generic.data: Add a comment.
60831         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60832         NODE when __dir_mkfile failed.
60833         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60834         Reported by Ludovic Courtès <ludo@gnu.org>.
60836 2012-04-24  Andreas Jaeger  <aj@suse.de>
60838         * Makerules (common-clean): Also remove gen-as-const-headers
60839         files.
60841 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60843         * Makerules (native-compile): Do not change working directory for
60844         build.  Use $(OUTPUT_OPTION) in command.
60845         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60847 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60849         [BZ #13886]
60850         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60851         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60852         * math/libm-test.inc (floor_test): Add more tests.
60853         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60855 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60857         * sysdeps/unix/getdents.c: Remove file.
60858         * sysdeps/unix/sysv/getdents.c: Likewise.
60859         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60861         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60862         sysdeps/unix/mman/syscalls.list.
60863         (mmap): Likewise.
60864         (mprotect): Likewise.
60865         (msync): Likewise.
60866         (munmap): Likewise.
60867         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60868         * sysdeps/unix/mman/syscalls.list: Remove.
60869         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60871         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60872         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60873         * configure: Regenerated.
60874         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60875         $(libgcc_s_suffix).
60876         * config.make.in (libgcc_s_suffix): Remove variable.
60878 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60880         * sysdeps/unix/sysv/gethostname.c: Move to ...
60881         * sysdeps/posix/gethostname.c: ... here.
60883         * sysdeps/unix/execve.S: Remove file.
60885         * sysdeps/unix/_exit.S: Remove file.
60887 2012-04-23  Andreas Jaeger  <aj@suse.de>
60889         [BZ #13739]
60890         * manual/Makefile: Remove make dist support, there's no
60891         need for a stand-alone documentation tar ball.
60892         (TEXI2DVI): Define always, it's not in Makeconfig.
60893         (dist): Removed.
60894         (tar-it): Removed.
60895         (edition): Removed.
60896         (glibc-doc-$(edition).tar): Removed
60897         (%.Z): Removed.
60898         (%.gz): Removed.
60899         (%.uu): Removed.
60900         (ETAGS): Remove, it's in Makeconfig.
60901         (move-if-change): Remove, it's in Makeconfig.
60903 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60905         [BZ #13970]
60906         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60907         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60908         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60909         (strtod_l, strtof_l, strtold_l): Remove __wur.
60910         It is not necessarily an error to ignore strtol's return value.
60911         One can reliably look at the stored endptr to decide whether
60912         the number had valid syntax.
60914 2012-04-21  Andreas Jaeger  <aj@suse.de>
60916         [BZ #13739]
60917         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60919 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60921         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60922         * sysdeps/unix/sysv/Versions: Remove file.
60924 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60926         [BZ #13927]
60927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60929 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60931         [BZ #7064]
60932         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60933         version from __vm86.
60935 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60937         * sysdeps/unix/common/lxstat.c: Remove file.
60938         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60940         * sysdeps/unix/sysv/Makefile: Remove file.
60942         * sysdeps/unix/sysv/direct.h: Remove file.
60944         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60945         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60946         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60947         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60948         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60949         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60950         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60952         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60954         * sysdeps/unix/xmknod.c: Remove file.
60955         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60957         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60959         * sysdeps/unix/sysv/i386/time.S: Remove file.
60961         * sysdeps/unix/fxstat.c: Remove file.
60962         * sysdeps/unix/xstat.c: Likewise.
60963         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60965         * sysdeps/unix/sysv/sigaction.c: Remove file.
60967         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60968         (sysdep_headers): Remove variable.
60969         [termio.h not in sysdep_headers] (generated): Likewise.
60970         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60971         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60972         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60973         * sysdeps/unix/sysv/tcflow.c: Likewise.
60974         * sysdeps/unix/sysv/tcflush.c: Likewise.
60975         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60976         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60977         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60978         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60979         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60981         * sysdeps/unix/siglist.c: Remove file.
60983         * sysdeps/unix/getppid.S: Remove file.
60985         * sysdeps/unix/mkdir.c: Remove file.
60986         * sysdeps/unix/rmdir.c: Likewise.
60988 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60990         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60991         ERR_MAX value.
60992         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60993         errlist-compat value.
60995 2012-04-18  David S. Miller  <davem@davemloft.net>
60997         * sysdeps/generic/memcopy.h (reg_char): Delete.
60998         * debug/strcat_chk.c: Use char, not reg_char.
60999         * debug/strcpy_chk.c: Likewise.
61000         * debug/strncat_chk.c: Likewise.
61001         * debug/strncpy_chk.c: Likewise.
61002         * string/memchr.c: Likewise.
61003         * string/memrchr.c: Likewise.
61004         * string/rawmemchr.c: Likewise.
61005         * string/strcat.c: Likewise.
61006         * string/strchr.c: Likewise.
61007         * string/strchrnul.c: Likewise.
61008         * string/strcmp.c: Likewise.
61009         * string/strcpy.c: Likewise.
61010         * string/strncat.c: Likewise.
61011         * string/strncmp.c: Likewise.
61012         * string/strncpy.c: Likewise.
61014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61016         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61017         __builtin_memcopy is called when src and dest ranges are known to not
61018         overlap.
61020 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61023         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61024         fwd_align_merge macro call.
61025         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61026         bwd_align_merge macro call.
61027         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61029 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61032         bwd_align_merge macros.
61033         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61034         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61035         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61037 2012-04-18  David S. Miller  <davem@davemloft.net>
61039         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61041 2012-04-18  Andreas Jaeger  <aj@suse.de>
61043         [BZ# 6794]
61044         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61045         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61046         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61048         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61049         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61050         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61052         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61053         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61054         Adjust for changed ldbl-128 files.
61056         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61057         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61058         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61060 2012-04-17  David S. Miller  <davem@davemloft.net>
61062         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61064 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61066         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61067         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61068         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61069         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61070         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61071         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61073 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61075         [BZ #6794]
61076         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61077         * math/libm-test.inc: Add ilogb errno and exception tests.
61078         * math/w_ilogb.c: New file: ilogb wrapper.
61079         * math/w_ilogbf.c: New file: ilogbf wrapper.
61080         * math/w_ilogbl.c: New file: ilogbl wrapper.
61081         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61082         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61083         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61084         exception being thrown with 0.0 as argument.
61085         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61086         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61087         exception being thrown with 0.0 as argument.
61088         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61089         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61090         exception being thrown with 0.0 as argument.
61091         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61092         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61093         exception being thrown with 0.0 as argument.
61094         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61095         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61096         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61097         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61098         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61099         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61100         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61101         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61102         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61104 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61106         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61107         with altivec.
61109 2012-04-16  Marek Polacek  <polacek@redhat.com>
61111         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61113 2012-04-16  Marek Polacek  <polacek@redhat.com>
61115         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61116         operands of fdivp instruction.
61118 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61120         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61121         * elf/tst-auditmod3b.c: Likewise.
61122         * elf/tst-auditmod4b.c: Likewise.
61123         * elf/tst-auditmod5b.c: Likewise.
61124         * elf/tst-auditmod6b.c: Likewise.
61125         * elf/tst-auditmod6c.c: Likewise.
61126         * elf/tst-auditmod7b.c: Likewise.
61127         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61128         * sysdeps/x86_64/preconfigure.in: Likewise.
61129         * sysdeps/x86_64/preconfigure: Regenerated.
61131 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61133         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61134         __ILP32__.
61136 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61138         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61139         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61141 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61143         [BZ #13973]
61144         * locale/iso-639.def: Fix gl language name. Spotted by
61145         Yaron Shahrabani.
61147 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61149         [BZ #2074]
61150         * libio/libio.h (__io_write_fn): Update comment.
61152 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61154         [BZ #2074]
61155         * stdio.texi (Hook Functions): The user provided writer function
61156         is not allowed to return -1.
61158 2012-04-11  David S. Miller  <davem@davemloft.net>
61160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61162 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61164         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61165         Add a leading slash to rtkaio.
61167 2012-04-11  Jim Meyering  <meyering@redhat.com>
61169         [BZ #11959]
61170         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61171         It is not necessarily an error to ignore fwrite's return
61172         value.  One can reliably use ferror to test for errors after
61173         the fact.
61175 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61177         * bits/types.h (__snseconds_t): New type.
61178         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61180         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61182         (__SNSECONDS_T_TYPE): Likewise.
61183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61184         (__SNSECONDS_T_TYPE): Likewise.
61185         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61186         (__SNSECONDS_T_TYPE): Likewise.
61188 2012-04-10  Andreas Jaeger  <aj@suse.de>
61190         [BZ #2636]
61191         * manual/time.texi (Processor Time): Return type of times is
61192         elapsed real time since an arbitrary point in the past.
61193         (CPU Time): Move CLK_TCK from here...
61194         (Processor Time): ...to here.  Correct description.
61195         * manual/conf.texi (Constants for Sysconf): Correct description of
61196         _SC_CLK_TCK.
61198 2012-04-10  David S. Miller  <davem@davemloft.net>
61200         [BZ #13967]
61201         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61202         where the is a gap between DT_REL(A) and DT_JMPREL.
61204 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61206         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61207         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61208         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61210 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61212         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61213         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61214         (dl_main): Handle --inhibit-cache.
61215         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61216         _dl_inhibit_cache.
61217         * elf/dl-load.c (_dl_map_object): Use it.
61218         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61220 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61222         [BZ #13872]
61223         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61224         (__ieee754_powl): Saturate large exponents rather than testing for
61225         overflow of y*log2(x).
61226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61227         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61228         exceptions.
61230         [BZ #11521]
61231         * math/s_ctan.c: Include <float.h>.
61232         (__ctan): Avoid internal overflow or cancellation in calculating
61233         denominator.
61234         * math/s_ctanf.c: Likewise.
61235         * math/s_ctanl.c: Likewise.
61236         * math/s_ctanh.c: Likewise.
61237         * math/s_ctanhf.c: Likewise.
61238         * math/s_ctanhl.c: Likewise.
61239         * math/libm-test.inc (ctan_test): Add more tests.
61240         (ctanh_test): Likewise.
61241         * sysdeps/i386/fpu/libm-test-ulps: Update.
61242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61244 2012-04-09  Andreas Jaeger  <aj@suse.de>
61246         [BZ #6894]
61247         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61248         is an optional BSD extension.
61250         [BZ #10254]
61251         * manual/stdio.texi (Opening Streams): Document additional fopen
61252         parameters.
61254 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61256         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61257         %eax without telling the compiler.
61259 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61261         [BZ # 13963]
61262         * manual/install.texi: Use sourceware.org.
61264 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61266         [BZ #13873]
61267         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61268         (__ieee754_pow): Generate overflow and underflow using huge*huge
61269         and tiny*tiny rather than just returning constant infinity or zero
61270         for large exponents.
61271         * math/libm-test.inc (pow_test): Require overflow exceptions for
61272         applicable cases of large exponents.
61274         [BZ #706]
61275         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61276         (__ieee754_pow): Use iterative multiplication algorithm only for
61277         integer exponents with absolute value below 1024.  Check for odd
61278         integer exponents when using algorithm for real exponents.
61279         * math/libm-test.inc (pow_test): Add more tests.
61280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61282 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61284         [BZ #13705]
61285         * math/libm-test.inc (exp_test): Do not allow overflow exception
61286         on underflow test.
61288 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61290         [BZ #13705]
61291         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61292         instead of __kernel_standard_f.
61294 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61296         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61297         * sysdeps/x86_64/memset_chk.S: Likewise.
61299 2012-04-08  Andreas Jaeger  <aj@suse.de>
61301         [BZ #10153]
61302         * manual/startup.texi (Environment Access): Describe return value
61303         for putenv and setenv.
61305         [BZ #6895]
61306         * manual/filesys.texi (Directory Entries): Add description for
61307         DT_LNK.
61309         [BZ #6890]
61310         * manual/filesys.texi (Directory Entries): Clarify that it's file
61311         system not operating system in the description of DT_UNKNOWN.
61313         [BZ #6578]
61314         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61316 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61318         [BZ #6649]
61319         * manual/llio.texi (Opening and Closing Files): Add cross
61320         reference to explain mode argument.
61322 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61324         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61325         * sysdeps/x86_64/memset_chk.S: Likewise.
61327 2012-04-07  David S. Miller  <davem@davemloft.net>
61329         * elf/elf.h (R_SPARC_WDISP10): Define.
61330         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61331         R_SPARC_SIZE32.
61332         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61333         R_SPARC_SIZE64 and R_SPARC_H34.
61335 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61338         conditions and remove no longer applicable assertion.
61340 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61342         * bits/byteswap.h: Include <features.h>.
61343         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61344         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61346 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61348         * bits/byteswap.h (__bswap_16): Removed.
61349         Include <bits/byteswap-16.h> to get __bswap_16.
61350         * sysdeps/i386/bits/byteswap.h: Likewise.
61351         * sysdeps/s390/bits/byteswap.h: Likewise.
61352         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61353         * bits/byteswap-16.h: New file.
61354         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61355         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61356         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61357         * string/Makefile (headers): Add bits/byteswap-16.h.
61359 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61361         [BZ #13895]
61362         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61363         extra indirection.
61364         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61365         * nss/tst-nss-static.c: New.
61367 2012-04-06  Robert Millan  <rmh@gnu.org>
61369         [BZ #6486]
61370         * manual/llio.texi (File Position Primitive): lseek
61371         refers to WHENCE when it really means OFFSET.
61373 2012-04-06  Andreas Jaeger  <aj@suse.de>
61375         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61376         strncmp declarations.
61378         * abilist/libc.abilist: Add __poll and __ppoll.
61380 2012-04-05  David S. Miller  <davem@davemloft.net>
61382         * scripts/check-local-headers.sh: Accept a host triplet in the
61383         path matched by the exclude regexp.
61385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61386         definition.
61387         * sysdeps/powerpc/powerpc32/dl-machine.h
61388         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61389         * sysdeps/s390/s390-32/dl-machine.h
61390         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61391         * sysdeps/sparc/sparc32/dl-machine.h
61392         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61393         * sysdeps/sparc/sparc64/dl-machine.h
61394         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61396         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61397         lazy binding.
61398         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61399         undefined symbol errors.
61401         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61402         DT_NEEDED entries.
61404 2012-04-05  Michael Matz  <matz@suse.de>
61406         [BZ #13592]
61407         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61409 2012-04-05  Andreas Jaeger  <aj@suse.de>
61411         [BZ #13908]
61412         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61413         comment.
61415 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61417         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61418         which ROUND is no valid rounding mode.
61420 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61422         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61423         read again.
61424         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61426 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61428         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61429         an exception using FPU order intentionally.
61431 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61433         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61434         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61435         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61436         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61438 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61440         [BZ #12340]
61441         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61442         EINVAL when BUFLEN is too smal.
61444 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61446         [BZ #13553]
61447         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61448         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61450 2012-04-03  Andreas Jaeger  <aj@suse.de>
61452         [BZ #13938]
61453         * manual/setjmp.texi (System V contexts): Fix sentence.
61455         [BZ #13926]
61456         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61457         New macro for this case.
61458         [!__GNUC__] (__bswap_64): New inline function for this case.
61459         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61460         * bits/byteswap.h: Likewise.
61461         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61462         ull, guard with __GLIBC_HAVE_LONG_LONG.
61464         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61465         __GLIBC_HAVE_LONG_LONG.
61467         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61468         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61470 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61472         [BZ #13691]
61473         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61474         inptr and inend, rather than using last_ch.
61476 2012-04-02  David S. Miller  <davem@davemloft.net>
61478         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61479         * stdio-common/printf-parse.h (read_int): Change return type to
61480         'int', return -1 on INT_MAX overflow.
61481         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61482         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61483         overflows INT_MAX.  Check for overflow of in-format-string precision
61484         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61485         SIZE_MAX not INT_MAX for integer overflow test.
61486         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61487         skip the construct in the format string but do not record anything.
61488         * stdio-common/bug22.c: Adjust to test both width/prevision
61489         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61490         explicitly for proper errno values.
61492 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61494         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61495         CHAR_MAX.
61496         * string/test-strcmp.c [! WIDE]: Likewise.
61497         * time/tst-mktime2.c: Likewise for INT_MAX.
61498         * string/test-string.h: #include <sys/param.h> for MIN.
61500         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61501         * sysdeps/i386/init-first.c (init): Likewise.
61502         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61503         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61504         * sysdeps/sh/init-first.c (init): Likewise.
61506 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61508         * po/ru.po: Update from translation team.
61509         * po/vi.po: Likewise.
61511 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61513         * resolv/nss_dns/dns-host.c: Merge copyright years.
61515 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61518         Optimize memcpy with prefetch if
61519         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61520         src, dst pointers have unequal 16 byte alignments.
61522 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61524         [BZ #13928]
61525         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61526         from a CNAME entry and return the minimum ttl for the query.
61527         (gaih_getanswer_slice): Likewise.
61529 2012-03-30  Jeff Law  <law@redhat.com>
61531         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61532         due to long keys.
61533         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61534         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61536         * resolv/nss_dns/dns-host.c: Update copyright year.
61538 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61540         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61541         requests to save a system call.  Fix check that all bytes are sent.
61543         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61544         comments for sendmmsg.
61546 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61548         [BZ #13691]
61549         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61550         with only 1 character between 0x0041 and 0x01b0.
61551         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61552         * wcsmbs/tst-mbsnrtowcs.c: New file.
61554 2012-03-29  David S. Miller  <davem@davemloft.net>
61556         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61557         small copies by hand.
61559 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61561         [BZ #13761]
61562         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61563         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61564         group memberships.
61566 2012-03-28  David S. Miller  <davem@davemloft.net>
61568         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61569         that branches into memcpy.
61570         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61571         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61572         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61573         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61575         bits.
61576         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61577         implementation too.
61578         * sysdeps/sparc/mempcpy.S: New file.
61580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61581         the IFUNC routine in the libc case.
61582         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61584         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61585         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61586         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61587         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61588         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61589         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61590         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61591         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61593         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61594         loop to 256 bytes instead of 64 bytes and fix test signedness.
61596         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61597         * sysdeps/sparc/sparc32/Makefile: rather than here...
61598         * sysdeps/sparc/sparc64/Makefile: and here.
61600 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61602         * malloc/mallocbug.c: Avoid warnings about unused variables.
61604 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61606         [BZ #13760]
61607         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61608         in the right place. Discard and retry query if response is
61609         larger than input buffer size.
61611 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61613         [BZ #369]
61614         [BZ #2678]
61615         [BZ #3866]
61616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61617         x for large integer exponent.
61618         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61619         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61620         sign of result as needed afterwards.
61621         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61622         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61623         result for underflowing pow the same as for overflow.
61624         (__kernel_standard_l): Handle powl overflow and underflow here
61625         rather than calling __kernel_standard.
61626         * math/libm-test.inc (pow_test): Add more tests.
61628         [BZ #3868]
61629         [BZ #13879]
61630         [BZ #13910]
61631         [BZ #13911]
61632         [BZ #13912]
61633         [BZ #13913]
61634         [BZ #13915]
61635         [BZ #13916]
61636         [BZ #13917]
61637         [BZ #13918]
61638         [BZ #13919]
61639         [BZ #13920]
61640         [BZ #13921]
61641         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61642         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61643         (__kernel_standard_l): New function.
61644         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61645         __kernel_standard.
61646         * math/w_acosl.c (__acosl): Likewise.
61647         * math/w_asinl.c (__asinl): Likewise.
61648         * math/w_atan2l.c (__atan2l): Likewise.
61649         * math/w_atanhl.c (__atanhl): Likewise.
61650         * math/w_coshl.c (__coshl): Likewise.
61651         * math/w_exp10l.c (__exp10l): Likewise.
61652         * math/w_exp2l.c (__exp2l): Likewise.
61653         * math/w_fmodl.c (__fmodl): Likewise.
61654         * math/w_hypotl.c (__hypotl): Likewise.
61655         * math/w_j0l.c (__j0l, __y0l): Likewise.
61656         * math/w_j1l.c (__j1l, __y1l): Likewise.
61657         * math/w_jnl.c (__jnl, __ynl): Likewise.
61658         * math/w_lgammal.c (__lgammal): Likewise.
61659         * math/w_log10l.c (__log10l): Likewise.
61660         * math/w_log2l.c (__log2l): Likewise.
61661         * math/w_logl.c (__logl): Likewise.
61662         * math/w_powl.c (__powl): Likewise.
61663         * math/w_remainderl.c (__remainderl): Likewise.
61664         * math/w_scalbl.c (sysv_scalbl): Likewise.
61665         * math/w_sinhl.c (__sinhl): Likewise.
61666         * math/w_sqrtl.c (__sqrtl): Likewise.
61667         * math/w_tgammal.c (__tgammal): Likewise.
61668         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61669         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61670         * math/libm-test.inc (acos_test): Add more tests.
61671         (acosh_test): Likewise.
61672         (asin_test): Likewise.
61673         (atanh_test): Likewise.
61674         (exp_test): Likewise.
61675         (exp10_test): Likewise.
61676         (exp2_test): Likewise.
61677         (expm1_test): Likewise.
61678         (lgamma_test): Likewise.
61679         (log_test): Likewise.
61680         (log10_test): Likewise.
61681         (log1p_test): Likewise.
61682         (log2_test): Likewise.
61683         (pow_test): Do not allow some spurious overflow exceptions.
61684         (sqrt_test): Add more tests.
61685         (tgamma_test): Likewise.
61686         (y0_test): Likewise.
61687         (y1_test): Likewise.
61688         (yn_test): Likewise.
61690 2012-03-27  Anton Blanchard  <anton@samba.org>
61692         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61693         MAP_HUGETLB.
61694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61698 2012-03-27  David S. Miller  <davem@davemloft.net>
61700         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61702         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61703         have-as-vis3 check.
61705 2012-03-27  Andreas Jaeger  <aj@suse.de>
61707         * sysdeps/x86_64/elf/configure.in: Moved to ...
61708         * sysdeps/x86_64/configure.in: ... here.
61709         * sysdeps/x86_64/elf/start.S: Moved to ...
61710         * sysdeps/x86_64/start.S: ... here.
61711         * sysdeps/x86_64/elf/configure: Delete.
61713         * sysdeps/x86_64/configure.in: Merge contents from
61714         sysdeps/i386/configure.in (without i686 check).
61716         * sysdeps/i386/elf/Versions: Merge into ...
61717         * sysdeps/i386/Versions: ... this.
61718         * sysdeps/i386/elf/Versions: Delete file.
61719         * sysdeps/i386/elf/start.S: Moved to ...
61720         * sysdeps/i386/start.S: ...here.
61721         * sysdeps/i386/elf/configure.in: Merge into...
61722         * sysdeps/i386/configure.in: ...here.
61723         * sysdeps/i386/elf/configure.in: Delete file.
61724         * sysdeps/i386/elf/configure: Delete file.
61726         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61727         * debug/backtracesyms.c: ... here.
61728         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61729         * debug/backtracesymsfd.c: ... here.
61730         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61731         * sysdeps/generic/ifunc-sel.h: ... here.
61733         * sysdeps/unix/i386/start.c: Delete file.
61734         * sysdeps/unix/sparc/start.c: Delete file.
61735         * sysdeps/unix/start.c: Delete file.
61737         * sysdeps/sh/elf/configure.in: Moved to ...
61738         * sysdeps/sh/configure.in: ... here.
61739         * sysdeps/sh/elf/start.S: Moved to ...
61740         * sysdeps/sh/start.S: ... here.
61741         * sysdeps/sh/elf/configure: Delete file.
61743         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61744         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61745         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61746         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61747         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61748         * sysdeps/powerpc/powerpc64/start.S: here.
61749         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61750         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61751         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61752         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61753         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61755         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61756         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61757         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61758         * sysdeps/powerpc/powerpc32/start.S: ... here.
61759         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61760         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61761         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61763         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61764         * sysdeps/powerpc/ifunc-sel.h: ... here.
61765         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61766         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61768         * sysdeps/sparc/elf/configure.in: Moved to ...
61769         * sysdeps/sparc/configure.in: ... here.
61770         * sysdeps/sparc/elf/configure: Delete file.
61771         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61772         * sysdeps/sparc/sparc32/start.S: ... here.
61773         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61774         * sysdeps/sparc/sparc64/start.S: ... here.
61775         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61776         * sysdeps/sparc/sparc32/Makefile: ... this.
61777         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61778         * sysdeps/sparc/sparc64/Makefile: ... this.
61780         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61781         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61782         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61783         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61784         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61785         * sysdeps/s390/s390-32/setjmp.S: ... here.
61786         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61787         * sysdeps/s390/s390-32/configure.in: ... here.
61788         * sysdeps/s390/s390-32/elf/configure: Delete file.
61789         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61790         * sysdeps/s390/s390-32/start.S: ... here.
61792         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61793         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61794         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61795         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61796         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61797         * sysdeps/s390/s390-64/setjmp.S: ... here.
61798         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61799         * sysdeps/s390/s390-64/configure.in: ... here
61800         * sysdeps/s390/s390-64/elf/configure: Delete file.
61801         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61802         * sysdeps/s390/s390-64/start.S: ... here.
61803         * sysdeps/s390/s390-64/elf/configure: Delete.
61805         * configure.in: Remove support for elf directories in sysdeps.
61807         * configure: Regenerated.
61808         * sysdeps/i386/configure: Regenerated.
61809         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61810         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61811         * sysdeps/s390/s390-32/configure: Regenerated.
61812         * sysdeps/s390/s390-64/configure: Regenerated.
61813         * sysdeps/sh/configure: Regenerated.
61814         * sysdeps/sparc/configure: Regenerated.
61815         * sysdeps/x86_64/configure: Regenerated.
61817 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61822         denormal result into account.
61824 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61826         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61827         Reported by Allan McRae <allan@archlinux.org>.
61829 2012-03-23  Jeff Law  <law@redhat.com>
61831         * nss/getnssent.c (__nss_getent): Fix typo.
61833 2012-03-23  David S. Miller  <davem@davemloft.net>
61835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61837 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61839         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61840         to pad to uint64_t for each field.
61841         (dl_tls_index): Replace unsigned long with uint64_t.
61843 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61844         Paul Pluzhnikov  <ppluzhnikov@google.com>
61846         [BZ #6528]
61847         * grp/Makefile (otherlibs): Don't set it.
61848         * inet/Makefile (otherlibs): Likewise.
61849         * login/Makefile (otherlibs): Likewise.
61850         * nscd/Makefile (otherlibs): Likewise.
61851         * posix/Makefile (otherlibs): Likewise.
61852         * pwd/Makefile (otherlibs): Likewise.
61853         * rt/Makefile (otherlibs): Likewise.
61854         * sunrpc/Makefile (otherlibs): Likewise.
61855         * nss/Makefile (otherlibs): Likewise.
61856         Add libnss_files to routines and static-only-routines.
61857         ($(objpfx)getent): Remove rule.
61858         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61859         static-only-routines.
61861 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61863         [BZ #13892]
61864         * math/s_cexp.c: Include <float.h>.
61865         (__cexp): Handle exp result overflowing not necessarily
61866         overflowing both real and imaginary parts of result.
61867         * math/s_cexpf.c: Likewise.
61868         * math/s_cexpl.c: Likewise.
61869         * math/libm-test.inc (cexp_test): Add more tests.
61870         * sysdeps/i386/fpu/libm-test-ulps: Update.
61871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61873 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61875         * include/link.h (ELFW): New macro.
61876         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61877         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61879 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61881         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61882         with uint64_t.
61884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61886         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61887         declaration.
61888         (struct La_x32_retval): Likewise.
61890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61892         * sysdeps/x86_64/preconfigure.in: New file.
61893         * sysdeps/x86_64/preconfigure: New generated file.
61895 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61897         [BZ #13824]
61898         * math/e_exp2l.c: Include <float.h>.
61899         (__ieee754_exp2l): Handle overflow and underflow cases
61900         separately.  Only pass fractional part of argument to
61901         __ieee754_expl.
61902         * math/libm-test.inc (exp2_test): Add more tests.
61904         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61905         negating x to take absolute value.
61906         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61907         Likewise.
61908         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61909         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61910         Likewise.
61911         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61912         computing low part if x was negated.
61913         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61915 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61917         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61918         la_x32_gnu_pltexit.
61919         (pltexit): Cast int_retval to ptrdiff_t.
61920         * elf/tst-auditmod3b.c: Likewise.
61921         * elf/tst-auditmod4b.c: Likewise.
61922         * elf/tst-auditmod5b.c: Likewise.
61923         * elf/tst-auditmod6b.c: Likewise.
61924         * elf/tst-auditmod6c.c: Likewise.
61925         * elf/tst-auditmod7b.c: Likewise.
61927         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61928         and x32_gnu_pltexit.
61930         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61931         __ELF_NATIVE_CLASS.
61932         (La_x32_regs): New macro.
61933         (La_x32_retval): Likewise.
61934         (la_x32_gnu_pltenter): New function prototype.
61935         (la_x32_gnu_pltexit): Likewise.
61937 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61940         exponent.
61942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61944         * configure.in (libc_cv_cc_nofma): Check for option to disable
61945         generation of FMA instructions.
61946         * configure: Regenerate.
61947         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61948         * sysdeps/ieee754/dbl-64/Makefile: New file.
61949         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61950         Remove brandred-fma4.
61951         (CFLAGS-brandred-fma4.c): Remove.
61952         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61953         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61954         define.
61955         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61956         define.
61958 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61960         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61961         LLONG_MAX != LONG_MAX.
61962         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61963         (_fitoa_word): Likewise.
61964         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61965         LLONG_MAX != LONG_MAX.
61966         * stdio-common/_itowa.h: Include <_itoa.h>.
61967         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61968         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61969         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61970         only if not defined.
61971         (_ITOA_WORD_TYPE): Likewise.
61972         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61973         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61975 2012-03-21  David S. Miller  <davem@davemloft.net>
61977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61979 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61981         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61982         of x86_64 when setting libc_cv_slibdir, libdir and
61983         libc_cv_localedir.
61984         * sysdeps/unix/sysv/linux/configure: Regenerated.
61986 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61988         * manual/lang.texi (Old Varargs): Remove section.
61989         (How Variadic): Update menu.
61990         (va_start): Do not mention varargs.h.
61992 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61993             Joseph Myers  <joseph@codesourcery.com>
61995         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61996         link test.
61997         * configure: Regenerated.
61999 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62001         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62002         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62003         conformtest.pl
62005 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62007         * NOTES: Remove.
62008         * Makefile (files-for-dist): Remove NOTES.
62009         (NOTES): Remove rule.
62010         * README: Don't refer to NOTES.
62011         * manual/creature.texi: Don't include macros.texi.
62012         * manual/intro.texi (creature.texi): Remove comment referring to
62013         NOTES.
62015         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62016         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62017         * configure: Regenerated.
62018         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62019         LIBC_TRY_CC_OPTION.
62020         (libc_cv_as_i686): Likewise.
62021         (libc_cv_cc_avx): Likewise.
62022         (libc_cv_cc_sse2avx): Likewise.
62023         (libc_cv_cc_fma4): Likewise.
62024         (libc_cv_cc_novzeroupper): Likewise.
62025         * sysdeps/i386/configure: Regenerated.
62027         [BZ #13883]
62028         * sysdeps/i386/fpu/s_cexp.S: Remove.
62029         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62030         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62031         * math/libm-test.inc (cexp_test): Add more tests.
62032         * sysdeps/i386/fpu/libm-test-ulps: Update.
62033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62035 2012-03-21  Allan McRae  <allan@archlinux.org>
62037         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62039 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62041         [BZ #13871]
62042         * math/w_exp2.c: Do not include <float.h>.
62043         (o_threshold, u_threshold): Remove.
62044         (__exp2): Calculate result before checking finiteness and calling
62045         __kernel_standard.
62046         * math/w_exp2f.c: Likewise.
62047         * math/w_exp2l.c: Likewise.
62048         * math/libm-test.inc (exp2_test): Require overflow exception for
62049         1e6 input.
62051         [BZ #3866]
62052         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62053         range of signed 64-bit integers before using fistpll.  Remove
62054         checks for whether integers fit in mantissa bits.
62055         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62056         the range of signed 32-bit integers before using fistpl.  Remove
62057         checks for whether integers fit in mantissa bits.
62058         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62059         (__ieee754_powl): Test for y outside the range of signed 64-bit
62060         integers before using fistpll.  Reduce 64-bit values to 63-bit
62061         ones as needed.
62062         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62063         divide-by-zero is raised for zero to large negative powers.
62064         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
62070 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62072         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62073         <stdio-common/_itoa.h>.
62074         * debug/segfault.c: Likewise.
62075         * elf/dl-cache.c: Likewise.
62076         * elf/dl-minimal.c: Likewise.
62077         * elf/dl-misc.c: Likewise.
62078         * elf/dl-sysdep.c: Likewise.
62079         * elf/dl-version.c: Likewise.
62080         * elf/rtld.c: Likewise.
62081         * hurd/hurdsock.c: Likewise.
62082         * hurd/lookup-retry.c: Likewise.
62083         * malloc/malloc.c: Likewise.
62084         * malloc/mtrace.c: Likewise.
62085         * nscd/nscd_getgr_r.c: Likewise.
62086         * nscd/nscd_getpw_r.c: Likewise.
62087         * nscd/nscd_getserv_r.c: Likewise.
62088         * posix/getopt_init.c: Likewise.
62089         * posix/wordexp.c: Likewise.
62090         * stdio-common/_itoa.c: Likewise.
62091         * stdio-common/printf_fphex.c: Likewise.
62092         * stdio-common/vfprintf.c: Likewise.
62093         * string/_strerror.c: Likewise.
62094         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62095         * sysdeps/i386/i686/hp-timing.h: Likewise.
62096         * sysdeps/mach/_strerror.c: Likewise.
62097         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62098         * sysdeps/mach/hurd/sethostid.c: Likewise.
62099         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62100         * sysdeps/mach/xpg-strerror.c: Likewise.
62101         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62103         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62104         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62105         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62106         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62107         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62108         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62109         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62110         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62111         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62112         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62113         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62114         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62115         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62116         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62117         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62118         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62119         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62120         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62121         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62123         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62125         * stdio-common/_itoa.h: Moved to ...
62126         * sysdeps/generic/_itoa.h: Here.
62128         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62130         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62131         instead of "_itoa.h" and "_itowa.h".
62132         * stdio-common/vfprintf.: Likewise.
62134 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62136         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62137         <bits/wordsize.h>.
62138         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62139         (__signbit): Likwise.
62140         (llrintf): Likwise.
62141         (llrint): Likwise.
62143 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62145         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62146         __WORDSIZE != 64.
62148 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62150         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62151         OVERFLOW_EXCEPTION_OK.
62152         * math/libm-test.inc ("Philosophy"): Update comment about
62153         exception testing.
62154         (OVERFLOW_EXCEPTION): Define.
62155         (OVERFLOW_EXCEPTION_OK): Likewise.
62156         (INVALID_EXCEPTION_OK): Renumber.
62157         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62158         (IGNORE_ZERO_INF_SIGN): Likewise.
62159         (test_exceptions): Handle FE_OVERFLOW.
62160         (exp10_test): Expect overflow exceptions.
62161         (exp2_test): Likewise.
62162         (expm1_test): Likewise.
62163         (nextafter_test): Likewise.
62164         (pow_test): Likewise.
62165         (scalbn_test): Likewise.
62166         (scalbln_test): Likewise.
62168 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62170         * sysdeps/x86_64/bits/atomic.h
62171         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62172         64bit integer.
62173         (atomic_exchange_acq): Likewise.
62174         (__arch_exchange_and_add_body): Likewise.
62175         (__arch_add_body): Likewise.
62176         (atomic_add_negative): Likewise.
62177         (atomic_add_zero): Likewise.
62179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62181         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62182         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62184 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62186         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62187         Check __x86_64__ instead of __WORDSIZE.
62189 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62191         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62193 2012-03-19  David S. Miller  <davem@davemloft.net>
62195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62197         * sysdeps/sparc/fpu/fenv_private.h: New file.
62198         * sysdeps/sparc/fpu/math_private.h: Use it.
62199         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62200         Remove.
62201         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62202         (libc_feholdexcept_setroundl): Remove.
62203         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62204         Remove.
62205         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62206         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62210         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62211         int64_t instead of long int.
62212         (INSERT_WORDS64): Likwise.
62214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62216         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62217         _Unwind_GetCFA return to _Unwind_Ptr first.
62219 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62221         [BZ #13629]
62222         * math/s_clog.c: Include <float.h>.
62223         (__clog): Scale large or subnormal inputs.
62224         * math/s_clogf.c: Likewise.
62225         * math/s_clogl.c: Likewise.
62226         * math/s_clog10.c: Include <float.h>.
62227         (M_LOG10_2): Define.
62228         (__clog10): Scale large or subnormal inputs.
62229         * math/s_clog10f.c: Likewise.
62230         * math/s_clog10l.c: Likewise.
62231         * math/libm-test.inc (clog_test): Add more tests.
62232         (clog10_test): Likewise.
62233         * sysdeps/i386/fpu/libm-test-ulps: Update.
62234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62236         [BZ #11451]
62237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62238         x and y.
62239         * math/libm-test.inc (atan2_test): Add another test.
62241         * Makerules (common-objdir-compile): Remove.
62242         * sysdeps/unix/Makefile (config-generated): Do not add
62243         $(unix-generated) to variable.
62244         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62245         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62246         Remove rule.
62247         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62248         Likewise.
62249         [generic bits/local_lim.h] (before-compile): Do not append to
62250         variable.
62251         [generic bits/local_lim.h] (common-generated): Likewise.
62252         [generic sys/param.h] (before-compile): Do not append to variable.
62253         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62254         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62255         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62256         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62257         include.
62258         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62259         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62260         [generic sys/param.h] ($(addprefix
62261         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62262         [generic sys/param.h] (common-generated): Do not append to
62263         variable.
62264         [generic sys/param.h] (sysdep_headers): Likewise.
62265         [generic bits/errno.h] (before-compile): Do not append to
62266         variable.
62267         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62268         rule.
62269         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62270         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62271         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62272         [generic bits/errno.h] (common-generated): Do not append to
62273         variable.
62274         [generic bits/ioctls.h] (before-compile): Do not append to
62275         variable.
62276         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62277         rule.
62278         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62279         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62280         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62281         rule.
62282         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62283         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62284         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62285         [generic bits/ioctls.h] (common-generated): Do not append to
62286         variable.
62287         [generic sys/syscall.h] (syscall.h): Remove variable.
62288         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62289         rule.
62290         [generic sys/syscall.h] (before-compile): Do not append to
62291         variable.
62292         [generic sys/syscall.h] (common-generated): Likewise.
62293         * sysdeps/unix/errnos-tmpl.c: Remove file.
62294         * sysdeps/unix/errnos.awk: Likewise.
62295         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62296         * sysdeps/unix/ioctls.awk: Likewise.
62297         * sysdeps/unix/mk-local_lim.c: Likewise.
62298         * sysdeps/unix/snarf-ioctls: Likewise.
62300 2012-03-19  Richard Henderson  <rth@twiddle.net>
62302         * sysdeps/i386/fpu/fenv_private.h: New file.
62303         * sysdeps/i386/fpu/math_private.h: Use it.
62304         (math_opt_barrier, math_force_eval): Remove.
62305         (libc_feholdexcept_setround_53bit): Remove.
62306         (libc_feupdateenv_53bit): Remove.
62307         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62308         (math_opt_barrier, math_force_eval): Remove.
62309         (libc_feholdexcept): Remove.
62310         (libc_feholdexcept_setround): Remove.
62311         (libc_fetestexcept, libc_fesetenv): Remove.
62312         (libc_feupdateenv_test): Remove.
62313         (libc_feupdateenv, libc_feholdsetround): Remove.
62314         (libc_feresetround): Remove.
62316         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62317         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62319         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62320         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62321         (libc_feupdateenv_testl): New.
62322         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62323         (libc_feupdateenv_testf): New.
62324         (libc_feupdateenv): Use libc_feupdateenv_test.
62325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62326         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62328         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62329         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62330         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62331         (libc_feresetround_noex): New.
62332         (libc_feresetround_noexf): New.
62333         (libc_feresetround_noexl): New.
62334         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62335         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62336         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62337         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62338         SET_RESTORE_ROUND.
62339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62341         (__cos): Likewise.
62342         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62343         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62344         SET_RESTORE_ROUND_NOEX.
62345         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62346         SET_RESTORE_ROUND_NOEXF.
62347         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62348         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62349         (libc_feholdsetroundf): New.
62350         (libc_feresetround, libc_feresetroundf): New.
62352         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62353         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62354         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62356         * sysdeps/generic/math_private.h: Include <fenv.h>.
62357         (default_libc_feholdexcept): New.
62358         (default_libc_feholdexcept_setround): New.
62359         (default_libc_fesetenv, default_libc_feupdateenv): New.
62360         (libc_feholdexcept): Only define if undefined.
62361         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62362         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62363         (libc_feholdexcept_setroundl): Likewise.
62364         (libc_feholdexcept_setround_53bit): Likewise.
62365         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62366         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62367         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62368         (libc_feupdateenv_53bit): Likewise.
62369         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62370         (libc_feholdexcept): Convert from macro to inline function.
62371         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62372         (libc_fesetenv, libc_feupdateenv): Likewise.
62374         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62375         not previously defined.
62376         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62377         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62378         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62379         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62380         * sysdeps/ieee754/flt-32/math_private.h: New file.
62381         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62382         math_private.h below SET_FLOAT_WORD.
62383         (__isnan, __isinf_ns, __finite): Remove.
62384         (__isnanf, __isinf_nsf, __finitef): Remove.
62386 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62390 2012-03-17  David S. Miller  <davem@davemloft.net>
62392         [BZ #6471]
62393         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62394         for 2.16.
62396 2012-03-16  David S. Miller  <davem@davemloft.net>
62398         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62399         warnings.
62401         [BZ #6471]
62402         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62403         properly.
62404         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62405         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62406         sysdep_routines when subdir is sysvipc.
62407         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62408         __getshmlba helper.
62410         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62412 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62414         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62415         [__LP64__].
62417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62419         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62420         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62421         (__lround): Renamed to ...
62422         (__llround): This.  Replace long int with long long int.
62423         Define lround functions as aliases of llround functions.
62424         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62426 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62428         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62429         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62430         adresses to uintptr_t.  Replace "long int" and "unsigned long
62431         int" with "greg_t" on va_arg.
62433 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62435         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62436         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62438         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62439         Move e_machine check before EI_CLASS check.  Handle x32
62440         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62441         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62442         SKIP_EM_IA_64 and include
62443         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62445         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62446         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62447         (add_system_dir): New macro.
62449         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62450         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62452 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62454         [BZ #2551]
62455         [BZ #2552]
62456         [BZ #2553]
62457         [BZ #2554]
62458         [BZ #2562]
62459         [BZ #2563]
62460         [BZ #2565]
62461         [BZ #2566]
62462         [BZ #2576]
62463         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62464         (y0): Likewise.
62465         * math/w_j0f.c (j0f): Likewise.
62466         (y0f): Likewise.
62467         * math/w_j0l.c (__j0l): Likewise.
62468         (__y0l): Likewise.
62469         * math/w_j1.c (j1): Likewise.
62470         (y1): Likewise.
62471         * math/w_j1f.c (j1f): Likewise.
62472         (y1f): Likewise.
62473         * math/w_j1l.c (__j1l): Likewise.
62474         (__y1l): Likewise.
62475         * math/w_jn.c (jn): Likewise.
62476         (yn): Likewise.
62477         * math/w_jnf.c (jnf): Likewise.
62478         (ynf): Likewise.
62479         * math/w_jnl.c (__jnl): Likewise.
62480         (__ynl): Likewise.
62481         * math/libm-test.inc (j0_test): Add more tests.
62482         (j1_test): Likewise.
62483         (jn_test): Likewise.  Add trailing semicolon to existing test.
62484         (y0_test): Likewise.
62485         (y1_test): Likewise.
62486         * sysdeps/i386/fpu/libm-test-ulps: Update.
62487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62489         [BZ #13851]
62490         [BZ #13854]
62491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62492         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62493         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62494         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62495         (__tanl): Set errno for infinite argument.
62496         * sysdeps/i386/fpu/mptan.c: Remove.
62497         * sysdeps/i386/fpu/s_tan.S: Likewise.
62498         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62499         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62500         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62501         * math/libm-test.inc (tan_test): Add more tests and enable more
62502         tests for double and long double.
62503         * sysdeps/i386/fpu/libm-test-ulps: Update.
62504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62506 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62508         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62509         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62511 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62513         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62514         * configure.in: Use it for both main tree and add-ons.
62515         * configure: Regenerated.
62517 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62519         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62521 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62523         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62524         in comment.
62526         [BZ #13851]
62527         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62528         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62529         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62530         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62531         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62532         infinite argument.
62533         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62535         != 0 for prec == 2.
62536         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62537         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62538         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62539         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62540         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62541         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62542         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62543         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62544         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62545         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62546         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62547         * math/libm-test.inc (cos_test): Add more tests and enable more
62548         tests for long double.
62549         (sin_test): Likewise.
62550         (sincos_test): Likewise.
62551         * sysdeps/i386/fpu/libm-test-ulps: Update.
62552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62554 2012-03-16  David S. Miller  <davem@davemloft.net>
62556         * sysdeps/sparc/fpu/math_private.h: New file.
62558 2012-03-15  David S. Miller  <davem@davemloft.net>
62560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62561         file.
62562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62564         file.
62565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62571         sysdep routines.
62572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62574         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62575         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62577         * sysdeps/sparc/sparc-ifunc.h: New file.
62578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62579         sparc-ifunc.h
62580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62582         Likewise.
62583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62584         Likewise.
62585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62589         Likewise.
62590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62595         Likewise.
62596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62597         Likewise.
62598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62623 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62625         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62626         scaling.
62627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62629 2012-03-15  Andreas Jaeger  <aj@suse.de>
62631         [BZ #13852]
62632         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62633         ieee754/flt-32 implementation for sin, cos and sincos.
62634         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62635         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62636         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62637         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62638         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62639         ieee754/flt-32 implementation for tan.
62641         * math/libm-test.inc (cos_test): Enable some large input tests for
62642         float as well
62643         (sin_test): Likewise.
62644         (sincos_test): Likewise.
62645         (tan_test): Add tests for large input.
62647         * sysdeps/i386/fpu/libm-test-ulps: Update.
62649 2012-03-15  Andreas Jaeger  <aj@suse.de>
62651         [BZ #13658]
62652         * math/libm-test.inc (cos_test): Add more test cases.
62653         (sin_test): Likewise.
62654         (sincos_test): Likewise.
62656 2012-03-15  Andreas Jaeger  <aj@suse.de>
62658         [BZ #13837]
62659         * math/libm-test.inc (cos_test): Add a test case for large input
62660         value.
62661         (sin_test): Likewise.
62662         (sincos_test): Likewise.
62664 2012-03-15  Andreas Jaeger  <aj@suse.de>
62665             Joseph Myers  <joseph@codesourcery.com>
62667         [BZ #13658]
62668         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62669         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62670         * sysdeps/i386/fpu/branred.c: Likewise.
62671         * sysdeps/i386/fpu/dosincos.c: Likewise.
62672         * sysdeps/i386/fpu/mpa.c: Likewise.
62673         * sysdeps/i386/fpu/s_cos.S: Likewise.
62674         * sysdeps/i386/fpu/s_sin.S: Likewise.
62675         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62676         * sysdeps/i386/fpu/sincos32.c: Likewise.
62678         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62679         Define.
62680         (libc_feupdateenv_53bit): Define.
62681         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62682         Define.
62683         (libc_feupdateenv_53bit): Define.
62685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62686         53 bit (without extend i386 double precision).
62688         * math/libm-test.inc (sincos_test): Add tests for large input.
62689         (sin): Likewise.
62690         (cos): Likewise.
62692         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62694 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62698 2012-03-15  David S. Miller  <davem@davemloft.net>
62700         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62701         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62702         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62703         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62716         file.
62717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62719         file.
62720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62722         file.
62723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62725         file.
62726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62727         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62728         fmin/fmax sysdep routines.
62729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62731 2012-03-14  David S. Miller  <davem@davemloft.net>
62733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62738         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62739         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62754         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62758         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62759         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62760         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62761         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62762         routines.
62763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62764         file.
62765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62767         file.
62768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62770         file.
62771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62773         file.
62774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62776         file.
62777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62779         file.
62780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62781         file.
62782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62783         file.
62784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62785         file.
62786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62787         New file.
62788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62789         file.
62790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62791         file.
62792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62794         file.
62795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62797         file.
62798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62800         file.
62801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62803         VIS3 routines.
62805         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62806         New file.
62808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62810         * sysdeps/sparc/configure.in: New file.
62811         * sysdeps/sparc/configure: Generate.
62812         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62813         * configure: Regenerate.
62814         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62815         * config.make.in (have-as-vis3): New.
62816         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62817         available use -Av9d instead of -Av9a.
62818         * sysdeps/sparc/sparc64/Makefile: Likewise.
62819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62821         New file.
62822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62823         file.
62824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62825         New file.
62826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62827         file.
62828         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62829         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62830         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62831         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62834         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62835         fzeros/fnegs to load 0x80000000 into a float register instead of
62836         using the stack.
62837         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62839 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62842         bits/syscall.h.
62843         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62844         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62845         ($(inst_includedir)/bits/syscall.h): Remove rule.
62846         ($(objpfx)bits/syscall.d): Include instead of
62847         $(objpfx)syscall-list.d.
62848         (generated): Change syscall-list.h and syscall-list.d to
62849         bits/syscall.h and bits/syscall.d.
62851 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62853         [BZ #13846]
62854         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62856 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62858         [BZ #13841]
62859         * math/s_csqrt.c: Include <float.h>.
62860         (__csqrt): Scale large or subnormal inputs.
62861         * math/s_csqrtf.c: Likewise.
62862         * math/s_csqrtl.c: Likewise.
62863         * math/libm-test.inc (csqrt_test): Add more tests.
62864         * sysdeps/i386/fpu/libm-test-ulps: Update.
62865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62867         [BZ #13840]
62868         * math/libm-test.inc (hypot_test): Add more tests.
62870 2012-03-13  David S. Miller  <davem@davemloft.net>
62872         [BZ #13840]
62873         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62874         double-precision for the calculation instead of scaling.
62876 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62878         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62879         manipulate bits before adding and subtracting TWO52[sx].
62880         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62881         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62882         Likewise.
62883         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62885 2012-03-13  David S. Miller  <davem@davemloft.net>
62887         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62888         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62889         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62890         rtld-global-offsets.h
62891         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62893         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62894         large parameters.
62896         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62898         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62899         'err' in the ifdef scope in which it is actually used.
62901         * nss/nss_db/db-init.c: Include string.h
62903 2012-03-12  David S. Miller  <davem@davemloft.net>
62905         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62906         masking out of the most significant byte of random value used.
62907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62908         Fix coding style in previous change.
62910         * sysdeps/unix/sysv/linux/kernel-features.h
62911         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62912         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62913         expression.
62914         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62915         later.
62917 2012-03-11  David S. Miller  <davem@davemloft.net>
62919         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62920         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62921         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62922         for 'resultvar' otherwise things get truncated on 64-bit.
62924         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62925         Fix masking out of the most significant byte of random value used.
62927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62929 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62933 2012-03-09  David S. Miller  <davem@davemloft.net>
62935         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62936         variables with appropriate CPP guards.
62937         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62938         from the frame pointer, not the stack pointer.  Correct layout
62939         comments.  Fix test on resulting framesize and the management of
62940         the outregs buffer for pltexit.  Preserve floating point return
62941         values across _dl_call_pltexit call.
62942         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62943         framesize and the management of the outregs buffer for pltexit.
62944         Preserve floating point return values across _dl_call_pltexit
62945         call.
62946         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62947         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62948         (la_sparc64_gnu_pltexit): New functions.
62949         (print_exit): Fix format string for return register value.
62951 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62953         * sunrpc/Makefile (others): Add rpcgen.
62954         ($(objpfx)rpcgen): Remove special build rule and dependency on
62955         libc.
62956         * sunrpc/rpcgen.c: New file.
62958 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62960         [BZ #13673]
62961         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62962         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62963         * sysdeps/i386/crti.S: Likewise.
62964         * sysdeps/i386/crtn.S: Likewise.
62965         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62966         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62967         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62968         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62969         * sysdeps/sh/crti.S: Likewise.
62970         * sysdeps/sh/crtn.S: Likewise.
62971         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62973         [BZ #13673]
62974         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62975         with URL.
62976         * locale/programs/locfile-kw.gperf: Likewise.
62977         * locale/programs/charmap-kw.h: Regenerated.
62978         * locale/programs/locfile-kw.h: Likewise.
62980         [BZ #13673]
62981         * intl/plural.y: Replace FSF snail mail address with URL.
62982         * intl/plural.c: Regenerated.
62984 2012-03-09  Richard Henderson  <rth@twiddle.net>
62986         * include/math_private.h: Remove file.
62987         * math/math_private.h: Move file ...
62988         * sysdeps/generic/math_private.h: ... here.
62990         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62991         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62992         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62994         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62995         and <math_private.h>.
62996         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62997         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62998         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62999         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63000         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63001         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63002         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63003         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63004         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63005         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63007         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63008         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63009         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63010         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63011         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63012         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63013         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63014         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63015         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63016         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63017         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63018         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63019         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63020         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63021         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63022         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63026         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63027         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63028         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63029         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63030         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63031         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63032         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63033         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63034         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63035         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63036         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63037         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63038         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63039         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63041         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63042         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63043         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63044         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63045         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63046         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63047         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63048         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63049         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63050         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63051         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63052         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63053         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63054         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63055         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63056         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63057         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63058         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63059         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63060         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63061         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63062         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63063         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63064         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63065         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63066         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63067         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63068         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63070         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63073         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63075         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63076         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63077         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63078         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63079         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63080         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63081         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63082         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63083         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63084         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63085         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63086         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63087         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63089         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63090         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63091         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63092         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63093         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63094         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63095         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63096         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63097         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63098         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63099         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63100         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63101         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63102         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63103         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63104         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63106         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63107         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63108         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63109         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63110         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63111         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63112         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63113         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63114         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63115         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63116         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63117         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63118         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63119         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63120         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63121         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63122         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63123         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63124         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63125         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63126         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63127         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63128         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63129         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63130         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63131         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63132         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63133         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63134         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63135         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63136         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63137         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63138         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63139         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63140         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63141         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63142         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63143         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63144         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63145         * sysdeps/ieee754/k_standard.c: Likewise.
63146         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63147         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63148         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63149         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63150         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63151         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63152         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63153         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63154         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63155         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63156         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63158         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63159         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63160         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63161         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63162         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63163         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63164         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63165         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63166         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63167         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63168         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63169         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63170         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63171         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63172         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63173         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63174         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63175         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63176         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63177         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63178         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63179         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63180         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63181         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63182         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63183         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63184         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63185         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63186         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63187         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63188         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63189         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63190         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63191         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63192         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63193         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63194         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63195         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63196         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63197         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63198         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63199         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63200         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63201         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63202         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63203         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63204         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63205         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63206         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63207         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63208         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63211         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63212         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63216         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63217         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63218         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63222         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63223         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63224         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63225         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63226         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63227         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63228         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63229         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63230         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63231         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63232         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63234         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63236         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63241         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63242         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63243         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63244         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63245         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63246         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63247         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63249         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63250         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63253         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63254         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63255         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63256         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63257         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63258         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63259         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63260         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63261         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63262         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63263         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63264         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63265         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63267         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63268         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63269         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63270         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63271         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63272         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63273         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63274         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63275         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63276         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63277         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63278         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63279         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63280         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63281         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63282         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63283         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63284         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63285         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63286         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63287         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63288         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63289         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63290         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63291         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63292         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63293         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63294         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63295         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63296         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63297         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63298         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63299         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63300         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63301         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63302         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63303         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63304         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63305         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63306         * sysdeps/ieee754/s_lib_version.c: Likewise.
63307         * sysdeps/ieee754/s_matherr.c: Likewise.
63308         * sysdeps/ieee754/s_signgam.c: Likewise.
63309         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63310         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63311         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63312         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63313         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63314         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63315         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63316         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63317         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63318         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63319         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63320         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63321         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63322         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63323         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63324         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63325         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63326         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63327         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63328         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63331 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63333         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63334         * sunrpc/rpc_main.c: Likewise.
63335         * sunrpc/rpc_svcout.c: Likewise.
63337 2012-03-09  David S. Miller  <davem@davemloft.net>
63339         * include/math_private.h: New file.
63341 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63343         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63344         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63345         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63346         from <bits/socket_type.h>.
63347         (enum __socket_type): Don't define here.
63348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63350         bits/socket_type.h.
63352         [BZ #13566]
63353         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63354         checking __USE_GNU.
63356         * Makerules ($(inst_includedir)/%.h): New rule.
63357         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63358         (install-others): Remove variable setting.
63359         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63361 2012-03-08  Richard Henderson  <rth@twiddle.net>
63363         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63364         from macro to inline function; merge with the
63365         !__LIBC_INTERNAL_MATH_INLINES version.
63366         (__ieee754_sqrtf): Likewise.
63368         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63369         to inline function.
63370         (__rintf, __floor, __floorf): Likewise.
63372         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63373         macro to inline function.
63374         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63377         not <math/math_private.h>.
63379 2012-03-08  David S. Miller  <davem@davemloft.net>
63381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63382         copyright year.
63383         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63385 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63387         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63388         normalization.
63389         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63390         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63392 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63394         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63395         be defined individually, they must be defined as a block.  Define
63396         S for printing a string instead of hidint the different by using a
63397         macro for adding the 'l'.
63398         * stdio-common/tst-fphex-wide.c: Adjust.
63400 2012-03-07  Marek Polacek  <polacek@redhat.com>
63402         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63404 2012-03-08  Marek Polacek  <polacek@redhat.com>
63406         [BZ #13806]
63407         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63408         * stdio-common/tst-fphex.c: Define a few macros to make the
63409         test reusable.  Use them.
63410         * stdio-common/tst-fphex-wide.c: New file.
63412 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63414         [BZ #6911]
63415         * manual/macros.texi (gnusystems): New macro.
63416         (nongnusystems): Likewise.
63417         (gnulinuxhurdsystems): Likewise.
63418         (gnuhurdsystems): Likewise..
63419         (gnulinuxsystems): Likewise.
63420         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63421         variants of the GNU system, not "GNU system".
63422         * manual/conf.texi: Likewise.
63423         * manual/errno.texi: Likewise.  Update example of errno macro
63424         expansion.
63425         * manual/filesys.texi: Likewise.
63426         (getumask): Document as specific to GNU/Hurd.
63427         * manual/install.texi: Likewise.  Reword some references to
63428         GNU/Linux.
63429         * manual/intro.texi: Likewise.
63430         * manual/io.texi: Likewise.
63431         (File Name Portability): Detail which constraints are inapplicable
63432         to all GNU systems and which are only inapplicable to GNU/Hurd.
63433         * manual/job.texi: Likewise.
63434         * manual/llio.texi: Likewise.
63435         (O_NOCTTY): Document as present on GNU/Linux.
63436         * manual/maint.texi: Likewise.
63437         * manual/memory.texi: Likewise.
63438         * manual/pattern.texi: Likewise.
63439         * manual/pipe.texi: Likewise.
63440         * manual/process.texi: Likewise.
63441         * manual/resource.texi: Likewise.
63442         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63443         child on GNU/Hurd.
63444         * manual/setjmp.texi: Likewise.
63445         * manual/signal.texi: Likewise.
63446         * manual/startup.texi: Likewise.
63447         * manual/stdio.texi: Likewise.
63448         * manual/terminal.texi: Likewise.
63449         (ONLCR): Document as POSIX.
63450         (OXTABS): Document availability on GNU/Linux as XTABS.
63451         (ONOEOT): Document availability separately from other bits.
63452         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63453         * manual/time.texi: Likewise.
63454         * manual/users.texi: Likewise.
63455         * INSTALL: Regenerated.
63456         * sysdeps/gnu/errlist.c: Regenerated.
63458         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63459         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63460         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63461         puts.
63462         * configure: Regenerated.
63464 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63466         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63467         default includes instead of AC_HEADER_CHECK.
63468         * sysdeps/i386/configure: Regenerated.
63470         [BZ #10716]
63471         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63472         * math/s_cacoshf.c (__cacoshf): Likewise.
63473         * math/s_cacoshl.c (__cacoshl): Likewise.
63474         * math/s_casinh.c (__casinh): Set signs of result from argument.
63475         * math/s_casinhf.c (__casinhf): Likewise.
63476         * math/s_casinhl.c (__casinhl): Likewise.
63477         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63478         (casinh_test): Add more tests.
63479         * sysdeps/i386/fpu/libm-test-ulps: Update.
63480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63482 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63484         * po/zh_TW.po: Update from translation team.
63486         * login/Makefile (distribute): Remove variable.
63487         * catgets/Makefile: Likewise.
63488         * mach/Makefile: Likewise.
63489         * malloc/Makefile: Likewise.
63490         * misc/Makefile: Likewise.
63491         * iconv/Makefile: Likewise.
63492         * nscd/Makefile: Likewise.
63493         * hurd/Makefile: Likewise.
63494         * manual/Makefile: Likewise.
63495         * locale/Makefile: Likewise.
63496         * intl/Makefile: Likewise.
63497         * conform/Makefile: Likewise.
63498         * nss/Makefile: Likewise.
63499         * time/Makefile: Likewise.
63500         * soft-fp/Makefile: Likewise.
63501         * dirent/Makefile: Likewise.
63502         * gmon/Makefile: Likewise.
63503         * po/Makefile: Likewise.
63504         * rt/Makefile: Likewise.
63505         * socket/Makefile: Likewise.
63506         * math/Makefile: Likewise.
63507         * signal/Makefile: Likewise.
63508         * debug/Makefile: Likewise.
63509         * elf/Makefile: Likewise.
63510         * timezone/Makefile: Likewise.
63511         * stdlib/Makefile: Likewise.
63512         * iconvdata/Makefile: Likewise.
63513         * sunrpc/Makefile: Likewise.
63514         * io/Makefile: Likewise.
63515         * argp/Makefile: Likewise.
63516         * inet/Makefile: Likewise.
63517         * hesiod/Makefile: Likewise.
63518         * grp/Makefile: Likewise.
63519         * csu/Makefile: Likewise.
63520         * wctype/Makefile: Likewise.
63521         * crypt/Makefile: Likewise.
63522         * libio/Makefile: Likewise.
63523         * string/Makefile: Likewise.
63524         * nis/Makefile: Likewise.
63525         * resolv/Makefile: Likewise.
63526         * stdio-common/Makefile: Likewise.
63527         * wcsmbs/Makefile: Likewise.
63528         * dlfcn/Makefile: Likewise.
63529         * posix/Makefile: Likewise.
63531         [BZ #6959]
63532         * timezone/Makefile: Don't install timezone files, just the programs
63533         and scripts.
63535 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63537         * nss/databases.def: Add missing gshadow entry.
63539         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63541 2012-03-06  Marek Polacek  <polacek@redhat.com>
63543         [BZ #13726]
63544         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63545         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63546         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63547         * stdio-common/tst-long-dbl-fphex.c: New file.
63549 2012-03-06  David S. Miller  <davem@davemloft.net>
63551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63552         (set_obp_int): New function.
63553         (get_obp_int): New function.
63554         (__get_clockfreq_via_dev_openprom): Likewise.
63555         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63556         Avoid unused variable warnings on 'val' and use builtin_expect.
63557         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63558         __builtin_expect.
63559         (INLINE_CLONE_SYSCALL): Likewise.
63561 2012-03-05  David S. Miller  <davem@davemloft.net>
63563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63565 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63569         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63570         only for |x| >= 40.
63571         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63573 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63575         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63576         Replace gettimeofday with __vdso_gettimeofday.
63578         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63579         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63580         __vdso_clock_gettime and __vdso_getcpu.
63582         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63583         time with __vdso_time.
63585 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63587         * manual/lang.texi (size_t): Note types to which size_t may be
63588         equivalent with the GNU C Library, but do not describe when
63589         differences between them are significant.
63591 2012-03-05  Andreas Jaeger  <aj@suse.de>
63593         * sysdeps/i386/fpu/libm-test-ulps: Update.
63595 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63597         [BZ #3976]
63598         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63599         (__ieee754_pow): Save and restore rounding mode and use
63600         round-to-nearest for main computations.
63601         * math/libm-test.inc (pow_test_tonearest): New function.
63602         (pow_test_towardzero): Likewise.
63603         (pow_test_downward): Likewise.
63604         (pow_test_upward): Likewise.
63605         (main): Call the new functions.
63606         * sysdeps/i386/fpu/libm-test-ulps: Update.
63607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63609         [BZ #3976]
63610         * math/libm-test.inc (cosh_test_tonearest): New function.
63611         (cosh_test_towardzero): Likewise.
63612         (cosh_test_downward): Likewise.
63613         (cosh_test_upward): Likewise.
63614         (sinh_test_tonearest): Likewise.
63615         (sinh_test_towardzero): Likewise.
63616         (sinh_test_downward): Likewise.
63617         (sinh_test_upward): Likewise.
63618         (main): Call the new functions.
63619         * sysdeps/i386/fpu/libm-test-ulps: Update.
63620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63622 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63624         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63625         default stack guard is set in last bytes.
63626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63628 2012-03-05  Kees Cook  <keescook@chromium.org>
63630         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63632         [BZ #13656]
63633         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63634         possibly allocate from heap instead of stack.
63635         * stdio-common/bug-vfprintf-nargs.c: New file.
63636         * stdio-common/Makefile (tests): Add nargs overflow test.
63638 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63642 2012-03-03  Marek Polacek  <polacek@redhat.com>
63644         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63645         * math/math_private.h: Likewise.
63646         * stdlib/tst-strtod.c: Likewise.
63647         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63648         * sysdeps/x86_64/bits/atomic.h: Likewise.
63650 2012-03-02  David S. Miller  <davem@davemloft.net>
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63656         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63657         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63658         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63659         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63661 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63663         [BZ #13792]
63664         * manual/examples/README: New file, says the example source files
63665         can be used under GPL>=2.
63666         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63667         line containing just "*/".
63668         * manual/examples/add.c: Add copyright header (GPL>=2).
63669         * manual/examples/argp-ex1.c: Likewise.
63670         * manual/examples/argp-ex2.c: Likewise.
63671         * manual/examples/argp-ex3.c: Likewise.
63672         * manual/examples/argp-ex4.c: Likewise.
63673         * manual/examples/atexit.c: Likewise.
63674         * manual/examples/db.c: Likewise.
63675         * manual/examples/dir.c: Likewise.
63676         * manual/examples/dir2.c: Likewise.
63677         * manual/examples/execinfo.c: Likewise.
63678         * manual/examples/filecli.c: Likewise.
63679         * manual/examples/filesrv.c: Likewise.
63680         * manual/examples/fmtmsgexpl.c: Likewise.
63681         * manual/examples/genpass.c: Likewise.
63682         * manual/examples/inetcli.c: Likewise.
63683         * manual/examples/inetsrv.c: Likewise.
63684         * manual/examples/isockad.c: Likewise.
63685         * manual/examples/longopt.c: Likewise.
63686         * manual/examples/memopen.c: Likewise.
63687         * manual/examples/memstrm.c: Likewise.
63688         * manual/examples/mkfsock.c: Likewise.
63689         * manual/examples/mkisock.c: Likewise.
63690         * manual/examples/mygetpass.c: Likewise.
63691         * manual/examples/pipe.c: Likewise.
63692         * manual/examples/popen.c: Likewise.
63693         * manual/examples/rprintf.c: Likewise.
63694         * manual/examples/search.c: Likewise.
63695         * manual/examples/select.c: Likewise.
63696         * manual/examples/setjmp.c: Likewise.
63697         * manual/examples/sigh1.c: Likewise.
63698         * manual/examples/sigusr.c: Likewise.
63699         * manual/examples/stpcpy.c: Likewise.
63700         * manual/examples/strdupa.c: Likewise.
63701         * manual/examples/strftim.c: Likewise.
63702         * manual/examples/strncat.c: Likewise.
63703         * manual/examples/subopt.c: Likewise.
63704         * manual/examples/swapcontext.c: Likewise.
63705         * manual/examples/termios.c: Likewise.
63706         * manual/examples/testopt.c: Likewise.
63707         * manual/examples/testpass.c: Likewise.
63708         * manual/examples/timeval_subtract.c: Likewise.
63710         [BZ #13792]
63711         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63712         function to ...
63713         * manual/timeval_subtract.c.texi: ... here, new file.
63715 2012-03-02  David S. Miller  <davem@davemloft.net>
63717         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63719 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63721         [BZ #3976]
63722         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63723         (__sin): Save and restore rounding mode and use round-to-nearest
63724         for all computations.
63725         (__cos): Save and restore rounding mode and use round-to-nearest
63726         for all computations.
63727         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63728         <fenv.h>.
63729         (tan): Save and restore rounding mode and use round-to-nearest for
63730         all computations.
63731         * math/libm-test.inc (cos_test_tonearest): New function.
63732         (cos_test_towardzero): Likewise.
63733         (cos_test_downward): Likewise.
63734         (cos_test_upward): Likewise.
63735         (sin_test_tonearest): Likewise.
63736         (sin_test_towardzero): Likewise.
63737         (sin_test_downward): Likewise.
63738         (sin_test_upward): Likewise.
63739         (tan_test_tonearest): Likewise.
63740         (tan_test_towardzero): Likewise.
63741         (tan_test_downward): Likewise.
63742         (tan_test_upward): Likewise.
63743         (main): Call the new functions.
63744         * sysdeps/i386/fpu/libm-test-ulps: Update.
63745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63747         [BZ #10135]
63748         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63749         small n, then large n, before computing and testing k+n.
63750         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63751         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63752         Likewise.
63753         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63754         Likewise.
63755         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63756         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63758         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63759         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63760         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63762         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63763         * math/libm-test.inc (scalbn_test): Add more tests.
63764         (scalbln_test): Likewise.
63766         * manual/filesys.texi (mode_t): Describe constraints on size and
63767         signedness, not exact equivalence to a particular type.
63768         (ino_t): Likewise.
63769         (ino64_t): Likewise.
63770         (dev_t): Likewise.
63771         (nlink_t): Likewise.
63772         (blkcnt_t): Likewise.
63773         (blkcnt64_t): Likewise.
63774         * manual/llio.texi (off_t): Likewise.
63776         [BZ #3976]
63777         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63778         (__ieee754_exp): Save and restore rounding mode and use
63779         round-to-nearest for all computations.
63780         * math/libm-test.inc (exp_test_tonearest): New function.
63781         (exp_test_towardzero): Likewise.
63782         (exp_test_downward): Likewise.
63783         (exp_test_upward): Likewise.
63784         (main): Call the new functions.
63785         * sysdeps/i386/fpu/libm-test-ulps: Update.
63786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63788 2012-03-01  Chris Demetriou  <cgd@google.com>
63790         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63791         have predictable order.
63793 2012-03-01  David S. Miller  <davem@davemloft.net>
63795         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63797         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63798         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63799         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63800         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63802         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63803         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63804         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63806         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63807         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63808         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63809         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63810         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63814         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63815         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63818         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63819         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63820         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63821         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63822         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63823         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63824         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63825         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63826         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63827         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63828         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63829         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63831         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63832         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63834         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63835         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63836         * sysdeps/sparc/elf/configure: Regenerated.
63838 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63840         * configure.in (AS, LD): Require binutils 2.20 or later.
63841         * configure: Regenerated.
63842         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63843         as required minimum version.
63844         * INSTALL: Regenerated.
63846         [BZ #2541]
63847         [BZ #4108]
63848         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63849         before squaring exponent.
63850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63851         bottom long double and 27 bits of top long double before squaring
63852         exponent.
63853         * math/libm-test.inc (erfc_test): Add more tests.
63854         * sysdeps/i386/fpu/libm-test-ulps: Update.
63855         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63858 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63860         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63861         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63862         containing bit-fields.
63863         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63864         * soft-fp/single.h (_FP_UNION_S): Likewise.
63865         * soft-fp/double.h (_FP_UNION_D): Likewise.
63867 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63869         [BZ #13786]
63870         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63871         not include ../strcmp.S.
63872         [USE_AS_STRNCASECMP_L]: Likewise.
63873         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63874         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63875         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63876         (__strncasecmp_l_ia32): Define as alias to
63877         __strncasecmp_l_nonascii.
63879         [BZ #5794]
63880         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63881         * sysdeps/i386/fpu/libm-test-ulps: Update.
63882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63884         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63887 2012-02-29  Jeff Law  <law@redhat.com>
63889         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63890         out of bounds read.
63892 2012-02-29  Marek Polacek  <polacek@redhat.com>
63894         [BZ #13706]
63895         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63896         * elf/Makefile: Add rules to run tst-unused-dep.out.
63898 2012-02-28  David S. Miller  <davem@davemloft.net>
63900         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63901         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63902         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63903         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63904         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63905         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63907 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63909         * math/libm-test.inc (llround_test): Move one test from
63910         lround_test.  Use TEST_f_L in moved test.
63911         (lround_test): Move misplaced test to llround_test.  Add testcase
63912         from bug 2561.
63914 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63916         * sysdeps/x86_64/fpu/e_expf.S: New file.
63917         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63919 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63921         [BZ #13637]
63922         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63923         of remain_len that may cause incomplete multi-byte character and
63924         false match.
63925         * posix/bug-regex33.c: New file.
63926         * posix/Makefile (tests): Add bug-regex33.
63928 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63930         * manual/macros.texi: New file.
63931         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63932         * manual/libc.texinfo: Include macros.texi.
63933         * manual/creatute.texi: Likewise.
63934         * manual/install.texi: Likewise.
63935         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63936         @glibcadj{} in references to the GNU C Library.
63937         * manual/charset.texi: Likewise.
63938         * manual/conf.texi: Likewise.
63939         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63940         when not using those macros.
63941         * manual/creature.texi: Likewise.
63942         * manual/crypt.texi: Likewise.
63943         * manual/errno.texi: Likewise.
63944         * manual/filesys.texi: Likewise.
63945         * manual/header.texi: Likewise.
63946         * manual/install.texi: Likewise.
63947         * manual/intro.texi: Likewise.
63948         * manual/io.texi: Likewise.
63949         * manual/job.texi: Likewise.
63950         * manual/lang.texi: Likewise.
63951         * manual/libc.texiinfo: Likewise.
63952         * manual/llio.texi: Likewise.
63953         * manual/locale.texi: Likewise.
63954         * manual/maint.texi: Likewise.
63955         * manual/math.texi: Likewise.
63956         * manual/memory.texi: Likewise.
63957         * manual/message.texi: Likewise.
63958         * manual/nss.texi: Likewise.
63959         * manual/pattern.texi: Likewise.
63960         * manual/process.texi: Likewise.
63961         * manual/resource.texi: Likewise.
63962         * manual/search.texi: Likewise.
63963         * manual/setjmp.texi: Likewise.
63964         * manual/signal.texi: Likewise.
63965         * manual/socket.texi: Likewise.
63966         * manual/startup.texi: Likewise.
63967         * manual/stdio.texi: Likewise.
63968         * manual/string.texi: Likewise.
63969         * manual/sysinfo.texi: Likewise.
63970         * manual/syslog.texi: Likewise.
63971         * manual/terminal.texi: Likewise.
63972         * manual/time.texi: Likewise.
63973         * manual/users.texi: Likewise.
63974         * INSTALL: Regenerated.
63975         * NOTES: Regenerated.
63976         * sysdeps/gnu/errlist.c: Regenerated.
63978 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63980         * include/dirent.h: Include <dirstream.h> before
63981         <dirent/dirent.h>.
63983 2012-02-28  David S. Miller  <davem@davemloft.net>
63985         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63986         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63987         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63988         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63990 2012-02-27  David S. Miller  <davem@davemloft.net>
63992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63994         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63995         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63998         frame pointer instead of stack pointer relative arg slot.
63999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64000         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64001         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64003 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64005         [BZ #3992]
64006         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64008 2012-02-27  David S. Miller  <davem@davemloft.net>
64010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64014         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64015         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64016         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64017         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64019 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64021         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64022         later.  Allow versions 5-9.
64023         * configure: Regenerated.
64024         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64025         required minimum version and 4.6 as recommended version.  Do not
64026         mention bugs in GCC 2.7 and 2.8.
64027         * INSTALL: Regenerated.
64029 2012-02-27  David S. Miller  <davem@davemloft.net>
64031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64035         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64036         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64037         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64038         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64040         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64041         manipulate bits before adding and subtracting TWO112[sx].
64042         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64044 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64046         [BZ #13775]
64047         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64048         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64049         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64050         being in POSIX, because they are in 1003.1-2008.
64052         * rt/tst-aio.c: Include <fcntl.h>.
64053         * rt/tst-aio7.c: Likewise.
64054         * rt/tst-aio64.c: Likewise.
64056         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64058 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64060         * manual/install.texi (--with-headers): Describe headers as
64061         interface headers, not private headers.
64062         (Specific advice for GNU/Linux systems): Describe use of headers
64063         from "make headers_install", not private headers from older
64064         kernels.
64065         * INSTALL: Regenerated.
64066         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64067         Change to 2.6.19.
64068         * sysdeps/unix/sysv/linux/configure: Regenerated.
64070         * manual/llio.texi (fclean): Remove documentation.
64072         * manual/Makefile (libc-texi-generated): New variable.  Include
64073         version.texi.
64074         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64075         $(libc-texi-generated), not duplicated list of files.
64076         (version.texi, stamp-version): New rules.
64077         (realclean): Remove $(libc-texi-generated), not individual files
64078         from that list.  Do not remove dir-add.texinfo.
64079         * manual/libc.texinfo: Comment out uses of edition numbers and
64080         references to printed manual.  Remove last-updated dates.
64081         (EDITION): Comment out.
64082         (ISBN): Likewise.
64083         (VERSION, UPDATED): Remove.
64084         (version.texi): Include.
64086 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64088         * sysdeps/posix/spawni.c: Include <signal.h>.
64089         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64090         * sysdeps/pthread/aio_fsync.c: Likewise.
64092 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64094         * conform/Makefile (tests): Run only when not cross-compiling and
64095         when fast-check is not defined.
64097         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64098         * conform/data/limits.h-data: Fixes for POSIX2008.
64099         * conform/run-conformtest.sh: Run all tests.
64100         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64101         headers.
64102         * include/bits/dlfcn.h: Likewise.
64103         * include/langinfo.h: Likewise.
64104         * include/monetary.h: Likewise.
64105         * include/sys/poll.h: Likewise.
64107         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64108         for __USE_GNU.
64109         * posix/spawn.h: Define __need_sigset_t.
64110         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64111         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64112         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64113         to get sigevent_t only.
64114         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64115         only for __USE_GNU.
64116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64117         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64118         process_vm_writev only for __USE_GNU.
64119         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64121         * conform/Makefile: For now ignore errors from run-conformtest.
64122         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64123         POSIX to avoid namespace pollution.  Don't prepend headers.
64124         * conform/data/aio.h-data: Fixes for POSIX testing.
64125         * conform/data/fcntl.h-data: Likewise.
64126         * conform/data/glob.h-data: Likewise.
64127         * conform/data/grp.h-data: Likewise.
64128         * conform/data/pthread.h-data: Likewise.
64129         * conform/data/pwd.h-data: Likewise.
64130         * conform/data/signal.h-data: Likewise.
64131         * conform/data/spawn.h-data: Likewise.
64132         * conform/data/stdio.h-data: Likewise.
64133         * conform/data/stdlib.h-data: Likewise.
64134         * conform/data/stropts.h-data: Likewise.
64135         * conform/data/sys/mman.h-data: Likewise.
64136         * conform/data/sys/stat.h-data: Likewise.
64137         * conform/data/sys/types.h-data: Likewise.
64138         * conform/data/sys/wait.h-data: Likewise.
64139         * conform/data/time.h-data: Likewise.
64140         * conform/data/unistd.h-data: Likewise.
64141         * conform/data/utime.h-data: Likewise.
64143         * io/sys/stat.h: fchmod was always in POSIX.
64144         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64145         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64146         * rt/aio.h: Define __need_timespec before including <time.h>.
64147         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64148         struct.  Add forward declaration of pthread_attr_t and use it in
64149         sigevent.
64150         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64152         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64153         always remove CLK_TCK definition.
64155 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64157         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64159 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64161         * conform/run-conformtest.sh: New file.
64162         * conform/Makefile: Run run-conformtest for tests.
64163         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64164         support.
64166         * conform/data/uchar.h-data: New file.
64167         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64168         * conform/data/arpa/inet.h-data: Likewise.
64169         * conform/data/assert.h-data: Likewise.
64170         * conform/data/complex.h-data: Likewise.
64171         * conform/data/cpio.h-data: Likewise.
64172         * conform/data/ctype.h-data: Likewise.
64173         * conform/data/dirent.h-data: Likewise.
64174         * conform/data/dlfcn.h-data: Likewise.
64175         * conform/data/errno.h-data: Likewise.
64176         * conform/data/fcntl.h-data: Likewise.
64177         * conform/data/float.h-data: Likewise.
64178         * conform/data/fmtmsg.h-data: Likewise.
64179         * conform/data/fnmatch.h-data: Likewise.
64180         * conform/data/ftw.h-data: Likewise.
64181         * conform/data/glob.h-data: Likewise.
64182         * conform/data/grp.h-data: Likewise.
64183         * conform/data/iconv.h-data: Likewise.
64184         * conform/data/inttypes.h-data: Likewise.
64185         * conform/data/langinfo.h-data: Likewise.
64186         * conform/data/libgen.h-data: Likewise.
64187         * conform/data/limits.h-data: Likewise.
64188         * conform/data/locale.h-data: Likewise.
64189         * conform/data/math.h-data: Likewise.
64190         * conform/data/monetary.h-data: Likewise.
64191         * conform/data/mqueue.h-data: Likewise.
64192         * conform/data/ndbm.h-data: Likewise.
64193         * conform/data/net/if.h-data: Likewise.
64194         * conform/data/netdb.h-data: Likewise.
64195         * conform/data/netinet/in.h-data: Likewise.
64196         * conform/data/nl_types.h-data: Likewise.
64197         * conform/data/poll.h-data: Likewise.
64198         * conform/data/pthread.h-data: Likewise.
64199         * conform/data/pwd.h-data: Likewise.
64200         * conform/data/regex.h-data: Likewise.
64201         * conform/data/sched.h-data: Likewise.
64202         * conform/data/search.h-data: Likewise.
64203         * conform/data/semaphore.h-data: Likewise.
64204         * conform/data/setjmp.h-data: Likewise.
64205         * conform/data/signal.h-data: Likewise.
64206         * conform/data/spawn.h-data: Likewise.
64207         * conform/data/stdarg.h-data: Likewise.
64208         * conform/data/stdio.h-data: Likewise.
64209         * conform/data/stdlib.h-data: Likewise.
64210         * conform/data/string.h-data: Likewise.
64211         * conform/data/strings.h-data: Likewise.
64212         * conform/data/stropts.h-data: Likewise.
64213         * conform/data/sys/ipc.h-data: Likewise.
64214         * conform/data/sys/mman.h-data: Likewise.
64215         * conform/data/sys/msg.h-data: Likewise.
64216         * conform/data/sys/resource.h-data: Likewise.
64217         * conform/data/sys/select.h-data: Likewise.
64218         * conform/data/sys/sem.h-data: Likewise.
64219         * conform/data/sys/shm.h-data: Likewise.
64220         * conform/data/sys/socket.h-data: Likewise.
64221         * conform/data/sys/stat.h-data: Likewise.
64222         * conform/data/sys/statvfs.h-data: Likewise.
64223         * conform/data/sys/time.h-data: Likewise.
64224         * conform/data/sys/timeb.h-data: Likewise.
64225         * conform/data/sys/times.h-data: Likewise.
64226         * conform/data/sys/types.h-data: Likewise.
64227         * conform/data/sys/uio.h-data: Likewise.
64228         * conform/data/sys/un.h-data: Likewise.
64229         * conform/data/sys/utsname.h-data: Likewise.
64230         * conform/data/sys/wait.h-data: Likewise.
64231         * conform/data/syslog.h-data: Likewise.
64232         * conform/data/tar.h-data: Likewise.
64233         * conform/data/termios.h-data: Likewise.
64234         * conform/data/utime.h-data: Likewise.
64235         * conform/data/utmpx.h-data: Likewise.
64236         * conform/data/varargs.h-data: Likewise.
64237         * conform/data/wchar.h-data: Likewise.
64238         * conform/data/wctype.h-data: Likewise.
64239         * conform/data/wordexp.h-data: Likewise.
64241         * include/stropts.h: New file.
64242         * include/uchar.h: New file.
64243         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64244         * include/assert.h: Likewise.
64245         * include/ctype.h: Likewise.
64246         * include/dirent.h: Likewise.
64247         * include/dlfcn.h: Likewise.
64248         * include/fcntl.h: Likewise.
64249         * include/fnmatch.h: Likewise.
64250         * include/glob.h: Likewise.
64251         * include/grp.h: Likewise.
64252         * include/libio.h: Likewise.
64253         * include/locale.h: Likewise.
64254         * include/math.h: Likewise.
64255         * include/net/if.h: Likewise.
64256         * include/netdb.h: Likewise.
64257         * include/netinet/in.h: Likewise.
64258         * include/pthread.h: Likewise.
64259         * include/pwd.h: Likewise.
64260         * include/regex.h: Likewise.
64261         * include/sched.h: Likewise.
64262         * include/search.h: Likewise.
64263         * include/setjmp.h: Likewise.
64264         * include/signal.h: Likewise.
64265         * include/stdio.h: Likewise.
64266         * include/stdlib.h: Likewise.
64267         * include/string.h: Likewise.
64268         * include/sys/cdefs.h: Likewise.
64269         * include/sys/mman.h: Likewise.
64270         * include/sys/msg.h: Likewise.
64271         * include/sys/resource.h: Likewise.
64272         * include/sys/select.h: Likewise.
64273         * include/sys/socket.h: Likewise.
64274         * include/sys/stat.h: Likewise.
64275         * include/sys/statvfs.h: Likewise.
64276         * include/sys/time.h: Likewise.
64277         * include/sys/times.h: Likewise.
64278         * include/sys/uio.h: Likewise.
64279         * include/sys/utsname.h: Likewise.
64280         * include/sys/wait.h: Likewise.
64281         * include/termios.h: Likewise.
64282         * include/time.h: Likewise.
64283         * include/ulimit.h: Likewise.
64284         * include/unistd.h: Likewise.
64285         * include/utime.h: Likewise.
64286         * include/wchar.h: Likewise.
64287         * include/wctype.h: Likewise.
64288         * include/wordexp.h: Likewise.
64290         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64292         * time/time.h: TIME_UTC must be a macro.
64293         Make timespec_get available for ISO C11 only as well.
64295 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64297         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64298         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64300 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64302         * configure.in: Use -o not -a in test for unsupported multi-arch.
64304 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64306         * manual/texinfo.tex: Update to version 2012-01-19.16.
64308 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64310         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64312 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64314         [BZ #13738]
64315         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64316         * manual/fdl-1.3.texi: New file.
64317         * manual/fdl-1.1.texi: File removed.
64319         [BZ #13738]
64320         * manual/libc.texinfo (FDL_VERSION): New @set.
64321         Use it for mention of FDL in cover text.
64322         (Documentation License): Use it in @include file name.
64324 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64325             Roland McGrath  <roland@hack.frob.com>
64327         [BZ #5461]
64328         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64329         (not LONG_LONG_MAX and LONG_LONG_MIN.
64330         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64331         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64332         name.
64333         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64335 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64337         [BZ #2547]
64338         [BZ #11365]
64339         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64340         manipulate bits before adding and subtracting TWO23[sx].
64341         * math/libm-test.inc (nearbyint_test): Add more tests.
64343 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64345         [BZ #2548]
64346         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64347         bits before adding and subtracting TWO23[sx].
64348         * math/libm-test.inc (rint_test): Add more tests.
64349         (rint_test_tonearest): Likewise.
64350         (rint_test_towardzero): Likewise.
64351         (rint_test_downward): Likewise.
64352         (rint_test_upward: Likewise.
64354 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64356         [BZ #10110]
64357         * include/stdc-predef.h: New file.  Extracted from features.h.
64358         * include/features.h: Include stdc-predef.h.
64359         * Makefile (headers): Add stdc-predef.h.
64360         * CONFORMANCE (Compiler limitations): Update.
64362 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64364         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64366 2012-02-21  David S. Miller  <davem@davemloft.net>
64368         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64369         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64371 2012-02-20  David S. Miller  <davem@davemloft.net>
64373         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64374         using a normal save/restore sequence, rather than allocating a
64375         dummy stack frame just to store a frame pointer and restore.
64376         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64378 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64380         * manual/install.texi: Fix stray word in line-wrapped comment.
64382 2012-02-20  David S. Miller  <davem@davemloft.net>
64384         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64385         both binutils and gcc support GOTDATA.
64387         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64388         "rd %pc" in the PIC register setup sequences.
64390         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64391         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64392         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64393         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64394         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64396         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64397         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64399         (SYSCALL_ERROR_HANDLER): Likewise.
64400         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64401         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64403         (SYSCALL_ERROR_HANDLER): Likewise.
64405         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64406         (HAVE_GCC_GOTDATA): New.
64407         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64408         relocation support in both binutils and gcc.
64409         * sysdeps/sparc/elf/configure: Regenerate.
64411         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64412         * sysdeps/sparc/sparc32/elf/configure: Delete.
64413         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64414         * sysdeps/sparc/sparc64/elf/configure: Delete.
64415         * sysdeps/sparc/elf/configure.in: New file.
64416         * sysdeps/sparc/elf/configure: Generate.
64418         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64419         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64420         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64421         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64422         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64424 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64426         * manual/install.texi: Do not mention specific glibc version
64427         numbers.
64428         * manual/libc.texinfo (VERSION, UPDATED): Update.
64429         (@copying): Use @copyright{} and range of years.
64431 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64433         [BZ #13695]
64434         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64435         [crti.S not in sysdirs] (generated): Do not append.
64436         [crti.S not in sysdirs] (omit-deps): Likewise.
64437         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64438         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64439         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64440         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64441         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64442         Likewise.
64443         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64444         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64445         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64446         * csu/defs.awk: Remove file.
64447         * sysdeps/generic/initfini.c: Likewise.
64448         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64449         variable.
64450         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64451         Likewise.
64453 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64455         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64456         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64457         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64458         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64459         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64460         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64461         <bits/epoll.h>.
64462         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64463         (__EPOLL_PACKED): Define to empty if not defined by
64464         <bits/epoll.h>.
64465         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64467         bits/epoll.h.
64469 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64471         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64472         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64473         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64474         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64475         <bits/timerfd.h>.
64476         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64478         bits/timerfd.h.
64480 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64482         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64483         in C locale.
64484         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64485         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64486         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64489 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64491         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64492         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64494 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64496         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64497         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64498         defined.
64499         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64500         Likewise.
64501         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64502         entry for 2.16.
64504 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64506         * math/w_acos.c: Use non-signaling floating-point comparisons.
64507         * math/w_acosf.c: Likewise.
64508         * math/w_acosh.c: Likewise.
64509         * math/w_acoshf.c: Likewise.
64510         * math/w_acoshl.c: Likewise.
64511         * math/w_acosl.c: Likewise.
64512         * math/w_asin.c: Likewise.
64513         * math/w_asinf.c: Likewise.
64514         * math/w_asinl.c: Likewise.
64515         * math/w_atanh.c: Likewise.
64516         * math/w_atanhf.c: Likewise.
64517         * math/w_atanhl.c: Likewise.
64518         * math/w_exp2.c: Likewise.
64519         * math/w_exp2f.c: Likewise.
64520         * math/w_exp2l.c: Likewise.
64521         * math/w_j0.c: Likewise.
64522         * math/w_j0f.c: Likewise.
64523         * math/w_j0l.c: Likewise.
64524         * math/w_j1.c: Likewise.
64525         * math/w_j1f.c: Likewise.
64526         * math/w_j1l.c: Likewise.
64527         * math/w_jn.c: Likewise.
64528         * math/w_jnf.c: Likewise.
64529         * math/w_log.c: Likewise.
64530         * math/w_log10.c: Likewise.
64531         * math/w_log10f.c: Likewise.
64532         * math/w_log10l.c: Likewise.
64533         * math/w_log2.c: Likewise.
64534         * math/w_log2f.c: Likewise.
64535         * math/w_log2l.c: Likewise.
64536         * math/w_logf.c: Likewise.
64537         * math/w_logl.c: Likewise.
64538         * math/w_sqrt.c: Likewise.
64539         * math/w_sqrtf.c: Likewise.
64540         * math/w_sqrtl.c: Likewise.
64541         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64542         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64543         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64544         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64545         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64547 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64549         [BZ #9739]
64550         * manual/string.texi (strnlen): Use correct parameter name in
64551         equivalent expression.
64553 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64555         [BZ #11174]
64556         * manual/users.texi (seteuid): Consistently use neweuid for
64557         argument name.
64559 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64561         [BZ #13704]
64562         * manual/nss.texi (Services in the NSS configuration): Correct
64563         list of services in example configuration file.
64565 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64567         [BZ #11322]
64568         * manual/arith.texi: Remove statements about negative zero
64569         behaving identically to zero.
64571 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64573         [BZ #5993]
64574         * manual/install.texi: Do not document upgrading from libc5.
64576 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64578         [BZ #4596]
64579         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64581 2012-02-18  David S. Miller  <davem@davemloft.net>
64583         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64584         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64585         %o7 across the call.
64586         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64587         instead.
64588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64589         SETUP_PIC_REG_LEAF.
64590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64591         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64592         * sysdeps/sparc/crtn.S: Likewise.
64594 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64596         * aout/Makefile: Remove.
64598 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64600         [BZ #13058]
64601         * manual/examples/argp-ex1.c (main): Format definition in GNU
64602         style.
64603         * manual/examples/argp-ex2.c (main): Likewise.
64604         * manual/examples/argp-ex3.c (main): Likewise.
64605         * manual/examples/argp-ex4.c (main): Likewise.
64606         * manual/examples/longopt.c (main): Use new-style prototype
64607         definition.
64608         * manual/examples/strncat.c (main): Specify return type and use
64609         (void) for arguments.
64610         * manual/examples/subopt.c (main): Use char **argv argument.
64612 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64614         [BZ #5077]
64615         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64616         rounding modes.
64618 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64620         [BZ #6907]
64621         * manual/string.texi (strchr): Change when strchrnul is
64622         recommended.
64624 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64626         [BZ #174]
64627         * manual/locale.texi (setlocale): Document LOCPATH.
64629 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64631         [BZ #10210]
64632         * manual/process.texi (execle): Move @dots{} before last argument.
64634 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64636         [BZ #12047]
64637         * manual/charset.texi (Generic Charset Conversion): Fix typo
64638         (LC_TYPE -> LC_CTYPE).
64640 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64642         [BZ #5805]
64643         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64644         (scalbnf): Likewise.
64645         (scalbnl): Likewise.
64646         (scalbln): Likewise.
64647         (scalblnf): Likewise.
64648         (scalblnl): Likewise.
64649         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64650         (vwarnx): Likewise.
64651         (verr): Likewise.
64652         (verrx): Likewise.
64653         * manual/filesys.texi (telldir): Use braces around return type.
64654         * manual/llio.texi (mmap): Add space after comma.
64655         (mmap64): Likewise.
64656         * manual/math.texi (jn): Use @var{} on parameter names.
64657         (jnf): Likewise.
64658         (jnl): Likewise.
64659         (yn): Likewise.
64660         (ynf): Likewise.
64661         (ynl): Likewise.
64662         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64663         line.
64664         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64665         "...".
64666         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64667         (sched_get_priority_max): Likewise.
64668         * manual/signal.texi (sigvec): Add space after comma.
64669         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64670         names.
64671         (if_indextoname): Likewise.
64672         (if_freenameindex): Likewise.
64673         (sendto): Use ',' instead of '.' in prototype.
64674         * manual/startup.texi (syscall): Use @dots{} instead of literal
64675         "...".
64676         * manual/stdio.texi (__fpending): Separate initial words of
64677         paragraph from @deftypefun line.
64678         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64679         "...".
64680         (vsyslog): Use @var{} on parameter names.
64681         * manual/terminal.texi (stty): Use @var{} on parameter names.
64682         * manual/users.texi (getutmp): Use @var{} on parameter names.
64683         (getutmpx): Likewise.
64685 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64687         [BZ #6884]
64688         * manual/stdio.texi (fopen): Fix typos in description of
64689         ",ccs=STRING".
64691 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64693         [BZ #4026]
64694         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64695         get clock_id definition.
64697 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64699         [BZ #4822]
64700         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64701         (madvise): Cast every argument to void on its own.
64703 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64705         [BZ #9902]
64706         * manual/startup.texi (Exit Status): Fix typo.
64708 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64710         [BZ #10140]
64711         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64712         * manual/examples/argp-ex2.c: Likewise.
64713         * manual/examples/argp-ex3.c: Likewise.
64715 2012-02-16  Richard Henderson  <rth@redhat.com>
64717         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64718         * sysdeps/s390/s390-32/initfini.c: Remove.
64719         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64720         * sysdeps/s390/s390-64/initfini.c: Remove.
64722 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64724         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64725         compiler output for sysdeps/generic/initfini.c.
64726         * sysdeps/sh/elf/initfini.c: Remove file.
64728 2012-02-16  David S. Miller  <davem@davemloft.net>
64730         [BZ #11494]
64731         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64733         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64734         * sysdeps/sparc/crti.S: New file.
64735         * sysdeps/sparc/crtn.S: New file.
64736         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64737         * sysdeps/sparc/sparc64/Makefile: Likewise.
64739 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64741         [BZ #3335]
64742         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64744 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64746         [BZ #4822]
64747         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64749         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64750         (write, read, close): Likewise.
64751         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64753 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64755         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64756         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64757         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64758         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64759         <bits/signalfd.h>.
64760         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64762         bits/signalfd.h.
64764 2012-02-14  Marek Polacek  <polacek@redhat.com>
64766         * sysdeps/x86_64/crti.S: New file.
64767         * sysdeps/x86_64/crtn.S: New file.
64768         * sysdeps/x86_64/elf/initfini.c: Remove file.
64770 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64772         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64773         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64774         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64775         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64776         <bits/inotify.h>.
64777         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64779         bits/inotify.h.
64781 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64783         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64784         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64785         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64786         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64787         <bits/eventfd.h>.
64788         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64790         bits/eventfd.h.
64792 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64794         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64795         __feraiseexcept instead of feraiseexcept.
64797         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64798         nanosleep invocations.
64799         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64800         strings, and add error checking for a nanosleep invocations.
64802 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64804         Replace FSF snail mail address with URLs, as per GNU coding standards.
64805         Most of the snail mail addresses were wrong anyway, and omitting
64806         them makes the source code easier to maintain.  Almost all of the
64807         changes are to license notices and to locale LC_IDENTIFICATION
64808         addresses, except for this one:
64809         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64810         not its snail mail address.
64812 2012-02-09  Richard Henderson  <rth@twiddle.net>
64814         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64815         of kernel-features.h.
64817         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64819 2012-02-08  Marek Polacek  <polacek@redhat.com>
64821         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64822         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64823         * sysdeps/gnu/_G_config.h: Likewise.
64824         * sysdeps/generic/_G_config.h: Likewise.
64826 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64828         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64829         tests.
64830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64832         * sysdeps/powerpc/powerpc32/crti.S: New file.
64833         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64834         * sysdeps/powerpc/powerpc64/crti.S: New file.
64835         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64837         * Makeconfig (have-initfini): Don't set.
64838         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64839         * configure.in (nopic_initfini): Don't substitute.
64840         * config.h.in (HAVE_INITFINI): Don't #undef.
64841         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64842         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64844 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64846         Support crti.S and crtn.S provided directly by architectures.
64847         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64848         [crti.S in sysdirs] (omit-deps): Likewise.
64849         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64850         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64851         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64852         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64853         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64854         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64855         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64856         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64857         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64858         compiler output for sysdeps/generic/initfini.c.
64859         * sysdeps/i386/elf/Makefile: Remove file.
64860         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64862 2012-02-07  Marek Polacek  <polacek@redhat.com>
64864         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64865         * sysdeps/gnu/_G_config.h: Likewise.
64866         * sysdeps/mach/hurd/_G_config.h: Likewise.
64868 2012-02-07  Marek Polacek  <polacek@redhat.com>
64870         * math/Makefile (tests): Add tst-CMPLX2.
64871         * math/tst-CMPLX2.c: New file.
64873 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64875         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64877         * math/libm-test.inc (jn_test): Add missing L suffix.
64879 2012-02-06  Marek Polacek  <polacek@redhat.com>
64881         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64882         * sysdeps/i386/fpu/e_powf.S: Likewise.
64883         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64884         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64885         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64886         * sysdeps/i386/fpu/e_pow.S: Likewise.
64887         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64888         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64889         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64890         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64891         * sysdeps/i386/fpu/e_log2.S: Likewise.
64892         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64893         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64894         * sysdeps/i386/fpu/e_powl.S: Likewise.
64895         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64896         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64897         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64898         * sysdeps/i386/fpu/e_logl.S: Likewise.
64899         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64900         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64901         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64902         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64903         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64904         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64905         * sysdeps/i386/fpu/e_log.S: Likewise.
64906         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64908         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64909         * sysdeps/i386/fpu/e_logf.S: Likewise.
64910         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64911         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64912         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64913         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64914         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64915         * sysdeps/i386/fpu/e_log10.S: Likewise.
64916         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64917         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64918         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64919         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64920         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64921         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64922         * sysdeps/i386/asm-syntax.h: Likewise.
64923         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64924         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64925         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64926         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64927         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64928         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64929         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64930         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64931         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64932         * sysdeps/powerpc/sysdep.h: Likewise.
64933         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64934         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64936 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64938         [BZ #411]
64939         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64941 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64943         * sysdeps/i386/sysdep.h: Include <features.h>.
64944         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64945         version.
64947 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64949         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64950         Define.
64951         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64952         LOAD_PIC_REG_STR.
64954 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64956         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64957         (SETUP_PIC_REG): Use GET_PC_THUNK.
64958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64959         macro.
64961 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64963         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64964         for non-PIC compilation.
64965         (SETUP_PIC_REG): Add .p2align directive.
64966         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64967         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64968         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64969         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64970         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64971         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64972         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64973         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64974         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64975         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64976         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64977         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64978         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64979         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64980         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64981         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64982         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64983         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64984         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64985         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64986         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64988         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64989         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64990         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64991         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64992         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64993         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64994         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64995         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64996         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64997         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64998         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64999         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65000         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65001         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65002         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65003         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65004         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65005         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65006         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65008 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65010         * math/tst-CMPLX.c: Include <stdio.h>.
65012 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65014         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65015         float.
65016         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65017         * sysdeps/sparc/bits/mathdef.h: Likewise.
65019 2012-01-31  Marek Polacek  <polacek@redhat.com>
65021         * libio/libio.h: Don't define _PARAMS.
65022         * locale/programs/config.h: Don't define PARAMS.
65023         * stdlib/strtol_l.c: Likewise.
65024         (__strtol_l): Remove PARAMS from the prototype.
65026 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65028         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65029         names.  Just use the correct names.  Remove unnecessary wrapper
65030         functions.
65031         * malloc/arena.c: Likewise.
65032         * malloc/hooks.c: Likewise.
65034         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65035         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65036         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65038 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65040         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65041         into tail calls.
65042         (update_get_addr): New function.
65043         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65044         GET_ADDR_MODULE parameter.
65046 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65048         * crypt/cert.c: Remove __STDC__ conditionals.
65049         * crypt/crypt-entry.c: Likewise.
65050         * crypt/crypt_util.c: Likewise.
65051         * libio/filedoalloc.c: Likewise.
65052         * libio/fileops.c: Likewise.
65053         * libio/genops.c: Likewise.
65054         * libio/iofclose.c: Likewise.
65055         * libio/iofdopen.c: Likewise.
65056         * libio/iofopen.c: Likewise.
65057         * libio/iofopen64.c: Likewise.
65058         * libio/iogetdelim.c: Likewise.
65059         * libio/iopopen.c: Likewise.
65060         * libio/obprintf.c: Likewise.
65061         * libio/oldfileops.c: Likewise.
65062         * libio/oldiofclose.c: Likewise.
65063         * libio/oldiofdopen.c: Likewise.
65064         * libio/oldiofopen.c: Likewise.
65065         * libio/oldiopopen.c: Likewise.
65066         * libio/wfiledoalloc.c: Likewise.
65067         * libio/wgenops.c: Likewise.
65068         * locale/programs/xmalloc.c: Likewise.
65069         * misc/syslog.c: Likewise.
65070         * stdio-common/xbug.c: Likewise.
65071         * string/memchr.c: Likewise.
65072         * string/memcmp.c: Likewise.
65073         * string/memrchr.c: Likewise.
65074         * string/rawmemchr.c: Likewise.
65075         * sysdeps/posix/getcwd.c: Likewise.
65076         * time/strftime_l.c: Likewise.
65078 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65080         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65081         * config.make.in (config-cflags-sse2avx): Define.
65082         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65083         Fix typo.
65085 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65087         * scripts/config.guess: Update from upstream config git repository.
65088         * scripts/config.sub: Likewise.
65090 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65092         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65093         (EM_NUM): Update.
65094         (R_TILEPRO_*, R_TILEGX_*): New macros.
65096         * scripts/firstversions.awk: Fix bug in version range handling.
65098         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65100         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65102         * include/sys/epoll.h: New file.
65103         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65104         libc_hidden_def.
65106 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65108         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65109         Avoid unnecessary __WORDSIZE == 64 test.
65110         (fmaxf): Use VEX format if possible.
65111         (fmax): Likewise.
65112         (fminf): Likewise.
65113         (fmin): Likewise.
65115         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65116         * math/math_private.h: Remove libc_fegetround* and
65117         libc_fesetround*.
65118         * sysdeps/i386/configure.in: Check for -msse2avx.
65119         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65120         also if SSE2AVX is defined.
65121         Remove libc_fegetround* and libc_fesetround*.
65122         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65123         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65125         of HAS_YMM_USABLE.
65126         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65127         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65128         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65129         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65130         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65132         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65134 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65136         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65137         size is not set.
65138         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65140 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65142         [BZ #13618]
65143         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65144         relocation.
65145         * Makeconfig (libm): Define.
65146         * elf/Makefile: Add rules to build and run tst-relsort1.
65147         * elf/tst-relsort1.c: New file.
65148         * elf/tst-relsort1mod1.c: New file.
65149         * elf/tst-relsort1mod2.c: New file.
65151 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65153         * math/s_ldexp.c: Remove __STDC__ conditionals.
65154         * math/s_ldexpf.c: Likewise.
65155         * math/s_ldexpl.c: Likewise.
65156         * math/s_nextafter.c: Likewise.
65157         * math/s_nexttowardf.c: Likewise.
65158         * math/s_significand.c: Likewise.
65159         * math/s_significandf.c: Likewise.
65160         * math/s_significandl.c: Likewise.
65161         * math/w_jnl.c: Likewise.
65162         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65163         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65164         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65165         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65166         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65167         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65168         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65169         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65170         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65171         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65172         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65173         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65174         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65175         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65176         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65177         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65178         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65179         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65181         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65182         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65183         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65184         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65186         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65187         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65188         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65189         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65190         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65191         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65192         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65193         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65194         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65195         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65196         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65197         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65198         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65199         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65200         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65201         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65202         * sysdeps/ieee754/k_standard.c: Likewise.
65203         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65204         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65206         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65207         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65208         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65209         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65210         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65211         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65212         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65214         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65215         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65216         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65217         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65218         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65219         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65220         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65221         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65222         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65223         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65224         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65225         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65226         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65227         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65228         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65232         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65233         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65234         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65235         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65236         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65238         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65239         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65241         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65242         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65243         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65244         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65245         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65246         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65247         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65248         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65252         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65253         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65254         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65256         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65258         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65259         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65260         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65261         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65262         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65263         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65264         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65265         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65266         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65267         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65268         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65269         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65270         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65271         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65272         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65273         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65274         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65275         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65276         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65277         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65278         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65279         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65280         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65281         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65282         * sysdeps/ieee754/s_matherr.c: Likewise.
65283         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65284         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65285         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65286         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65288 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65290         * crypt/md5.h: Remove __STDC__ conditionals.
65291         * libio/libioP.h: Likewise.
65292         * locale/programs/config.h: Likewise.
65293         * sysdeps/generic/sysdep.h: Likewise.
65294         * sysdeps/i386/asm-syntax.h: Likewise.
65295         * sysdeps/s390/asm-syntax.h: Likewise.
65296         * sysdeps/unix/sysdep.h: Likewise.
65297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65300 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65302         * libio/libio.h: Remove __STDC__ conditionals.
65303         * malloc/obstack.h: Likewise.
65304         * math/complex.h: Likewise.
65305         * math/math.h: Likewise.
65306         * sysdeps/generic/_G_config.h: Likewise.
65307         * sysdeps/gnu/_G_config.h: Likewise.
65308         * sysdeps/mach/hurd/_G_config.h: Likewise.
65309         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65310         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65311         * sysdeps/sparc/bits/mathdef.h: Likewise.
65313 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65315         [BZ #13583]
65316         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65317         Clean up HAS_* macros.
65318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65319         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65320         possible.
65321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65322         HAS_AVX.
65323         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65324         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65325         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65326         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65327         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65329 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65331         * elf/tst-unique3.cc (gets): Remove declaration.
65332         * elf/tst-unique3lib.cc (gets): Likewise.
65333         * elf/tst-unique3lib2.cc (gets): Likewise.
65334         * elf/tst-unique4.cc (gets): Likewise.
65336 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65338         * include/stdio.h: Add C++ protection.  Add gets declarations and
65339         definitions.
65340         * debug/tst-chk1.c: Don't declare gets here.
65341         * stdio-common/tst-gets.c: Likewise.
65343 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65345         * posix/glob: Remove directory.
65347 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65349         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65351 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65353         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65354         of the non-standard EPFNOSUPPORT.
65356 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65358         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65359         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65360         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65362 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65364         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65366 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65368         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65369         transient errors.
65370         * nscd/grpcache.c (cache_addgr): Likewise.
65371         * nscd/hstcache.c (cache_addhst): Likewise.
65372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65373         * nscd/pwdcache.c (cache_addpw): Likewise.
65374         * nscd/servicescache.c (cache_addserv): Likewise.
65376 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65378         * malloc/malloc.c: Various cleanups.
65379         * malloc/hooks.c: Likewise.
65381         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65382         * stdlib/bug-fmtmsg1.c: New file.
65384         * stdlib/fmtmsg.c (init): Add missing unlock.
65385         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65387 2012-01-12  Marek Polacek  <polacek@redhat.com>
65389         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65390         and _GNU_SOURCE.
65392 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65394         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65395         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65396         macro to ensure uniqueness of label name.
65397         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65398         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65400 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65402         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65404         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65405         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65406         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65409 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65411         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65413         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65414         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65415         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65417         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65419         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65420         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65422         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65424         * math/bits/math-finite.h: Add ldexp support.
65426 2012-01-10  Marek Polacek  <polacek@redhat.com>
65428         * locale/programs/localedef.h (show_archive_content): Add noreturn
65429         attribute.
65431 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65433         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65435 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65437         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65439         * io/Makefile (headers): Add bits/poll2.h.
65441 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65444         typo #include statement.
65446 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65448         * include/sys/cdefs.h: Define __attribute_alloc_size.
65449         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65450         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65451         * elf/pldd.c: Likewise.
65452         * iconv/iconv_charmap.c: Likewise.
65453         * iconv/iconvconfig.c: Likewise.
65454         * iconv/strtab.c: Likewise.
65455         * locale/programs/locale.c: Likewise.
65456         * locale/programs/localedef.h: Likewise.
65457         * locale/programs/simple-hash.c: Likewise.
65458         * nscd/nscd.h: Likewise.
65459         * nss/makedb.c: Likewise.
65460         * sysdeps/generic/ldconfig.h: Likewise.
65461         * locale/programs/localedef.c: Remove xmalloc prototype.
65462         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65464 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65466         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65467         appropriate.
65469 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65471         * math/Makefile (tests): Add tst-CMPLX.
65472         * math/tst-CMPLX.c: New file.
65474         * math/complex.h (CMPLXL): Fix typo.
65476         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65477         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65478         GLIBC_2.16.
65479         * debug/tst-chk1.c: Add poll and ppoll tests.
65480         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65481         * include/sys/poll.h: Add hidden proto for ppoll.
65482         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65483         * sysdeps/mach/hurd/ppoll.c: Likewise.
65484         * io/ppoll.c: Likewise.
65485         * debug/poll_chk.c: New file.
65486         * debug/ppoll_chk.c: New file.
65487         * include/bits/poll2.h: New file.
65488         * io/bits/poll2.h: New file.
65490         [BZ #1350]
65491         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65493         * configure.in: static is always set to yes.  Remove.
65494         * config.make.in: Don't set build-static.
65495         * Makeconfig: Remove use of build-static.
65496         * dlfcn/Makefile: Likewise.
65497         * elf/Makefile: Likewise.
65498         * math/Makefile: Likewise.
65499         * misc/Makefile: Likewise.
65500         * nptl/Makefile: Likewise.
65501         * sysdeps/mach/hurd/Makefile: Likewise.
65503         * configure.in: PWD_P is not used anymore.
65504         * config.make.in: Remove PWD_P entry.
65506         * configure.in: Remove last remnants of RANLIB.
65507         No need to check for signed size_t anymore.
65508         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65509         and IA-64.
65510         Remove __builtin_expect test because we require at least gcc 3.4.
65511         * aclocal.m4: Likewise.
65513         * wcsmbs/mbrtoc16.c: Implement using towc function.
65514         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65515         * wcsmbs/wcsmbsload.c: Likewise.
65516         * iconv/gconv_simple.c: Likewise.
65517         * iconv/gconv_int.h: Likewise.
65518         * iconv/gconv_builtin.h: Likewise.
65519         * iconv/iconv_prog.c: Remove CHAR16 handling.
65521         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65523         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65525         * configure.in: Remove --with-elf and --enable-bounded options.
65526         Dont set base_machine for ia64.  More non-ELF conditions removed.
65527         Remove testing and setting of leading underscore information.
65528         * config.make.in (build-bounded): Set to no.
65529         * config.h.in: Remove NO_UNDERSCORES entry.
65530         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65531         them.
65532         * csu/start.c: Remove !NO_UNDERSCORE code.
65533         * locale/localeinfo.h: Likewise.
65534         * sysdeps/generic/machine-gmon.h: Likewise.
65535         * sysdeps/generic/sysdep.h: Likewise.
65536         * sysdeps/i386/sysdep.h: Likewise.
65537         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65538         * sysdeps/mach/sysdep.h: Likewise.
65539         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65540         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65541         * sysdeps/sh/sysdep.h: Likewise.
65542         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65543         * sysdeps/unix/i386/sysdep.S: Likewise.
65544         * sysdeps/unix/sparc/start.c: Likewise.
65545         * sysdeps/unix/sparc/sysdep.S: Likewise.
65546         * sysdeps/unix/sparc/sysdep.h: Likewise.
65547         * sysdeps/unix/start.c: Likewise.
65548         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65549         * sysdeps/x86_64/sysdep.h: Likewise.
65551 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65553         [BZ #13553]
65554         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65555         for non-gcc.
65556         * argp/argp-fmtstream.h: Use const instead __const.
65557         * argp/argp.h: Likewise.
65558         * assert/assert.h: Likewise.
65559         * bits/fenv.h: Likewise.
65560         * bits/sched.h: Likewise.
65561         * bits/sigset.h: Likewise.
65562         * bits/sigthread.h: Likewise.
65563         * catgets/nl_types.h: Likewise.
65564         * conform/data/pthread.h-data: Likewise.
65565         * crypt/crypt-private.h: Likewise.
65566         * crypt/crypt.h: Likewise.
65567         * crypt/crypt_util.c: Likewise.
65568         * ctype/ctype.h: Likewise.
65569         * debug/execinfo.h: Likewise.
65570         * debug/mbsnrtowcs_chk.c: Likewise.
65571         * debug/mbsrtowcs_chk.c: Likewise.
65572         * debug/wcsnrtombs_chk.c: Likewise.
65573         * debug/wcsrtombs_chk.c: Likewise.
65574         * debug/wcstombs_chk.c: Likewise.
65575         * dirent/dirent.h: Likewise.
65576         * dlfcn/dlfcn.h: Likewise.
65577         * elf/neededtest4.c: Likewise.
65578         * grp/grp.h: Likewise.
65579         * gshadow/gshadow.h: Likewise.
65580         * iconv/gconv.h: Likewise.
65581         * iconv/gconv_int.h: Likewise.
65582         * iconv/gconv_simple.c: Likewise.
65583         * iconv/iconv.h: Likewise.
65584         * iconv/loop.c: Likewise.
65585         * iconv/skeleton.c: Likewise.
65586         * include/aio.h: Likewise.
65587         * include/aliases.h: Likewise.
65588         * include/argz.h: Likewise.
65589         * include/arpa/inet.h: Likewise.
65590         * include/assert.h: Likewise.
65591         * include/dirent.h: Likewise.
65592         * include/dlfcn.h: Likewise.
65593         * include/execinfo.h: Likewise.
65594         * include/fcntl.h: Likewise.
65595         * include/fenv.h: Likewise.
65596         * include/glob.h: Likewise.
65597         * include/grp.h: Likewise.
65598         * include/libintl.h: Likewise.
65599         * include/mntent.h: Likewise.
65600         * include/netdb.h: Likewise.
65601         * include/pwd.h: Likewise.
65602         * include/rpc/netdb.h: Likewise.
65603         * include/sched.h: Likewise.
65604         * include/search.h: Likewise.
65605         * include/shadow.h: Likewise.
65606         * include/signal.h: Likewise.
65607         * include/stdio.h: Likewise.
65608         * include/stdlib.h: Likewise.
65609         * include/string.h: Likewise.
65610         * include/sys/socket.h: Likewise.
65611         * include/sys/stat.h: Likewise.
65612         * include/sys/statfs.h: Likewise.
65613         * include/sys/statvfs.h: Likewise.
65614         * include/sys/syslog.h: Likewise.
65615         * include/sys/time.h: Likewise.
65616         * include/sys/uio.h: Likewise.
65617         * include/time.h: Likewise.
65618         * include/unistd.h: Likewise.
65619         * include/utmp.h: Likewise.
65620         * include/wchar.h: Likewise.
65621         * include/wctype.h: Likewise.
65622         * inet/aliases.h: Likewise.
65623         * inet/arpa/inet.h: Likewise.
65624         * inet/netinet/ether.h: Likewise.
65625         * inet/netinet/in.h: Likewise.
65626         * intl/libintl.h: Likewise.
65627         * io/bits/fcntl2.h: Likewise.
65628         * io/fcntl.h: Likewise.
65629         * io/ftw.h: Likewise.
65630         * io/sys/poll.h: Likewise.
65631         * io/sys/stat.h: Likewise.
65632         * io/sys/statfs.h: Likewise.
65633         * io/sys/statvfs.h: Likewise.
65634         * io/utime.h: Likewise.
65635         * libio/bits/stdio.h: Likewise.
65636         * libio/bits/stdio2.h: Likewise.
65637         * libio/libio.h: Likewise.
65638         * libio/libioP.h: Likewise.
65639         * libio/stdio.h: Likewise.
65640         * locale/lc-ctype.c: Likewise.
65641         * locale/locale.h: Likewise.
65642         * login/utmp.h: Likewise.
65643         * malloc/arena.c: Likewise.
65644         * malloc/malloc.c: Likewise.
65645         * malloc/malloc.h: Likewise.
65646         * malloc/mcheck.c: Likewise.
65647         * malloc/mtrace.c: Likewise.
65648         * math/bits/mathcalls.h: Likewise.
65649         * math/fenv.h: Likewise.
65650         * math/math_private.h: Likewise.
65651         * misc/bits/error.h: Likewise.
65652         * misc/bits/syslog.h: Likewise.
65653         * misc/err.h: Likewise.
65654         * misc/error.h: Likewise.
65655         * misc/fstab.h: Likewise.
65656         * misc/mntent.h: Likewise.
65657         * misc/regexp.h: Likewise.
65658         * misc/search.h: Likewise.
65659         * misc/sgtty.h: Likewise.
65660         * misc/sys/mman.h: Likewise.
65661         * misc/sys/syslog.h: Likewise.
65662         * misc/sys/uio.h: Likewise.
65663         * misc/sys/xattr.h: Likewise.
65664         * misc/ttyent.h: Likewise.
65665         * nis/rpcsvc/ypclnt.h: Likewise.
65666         * nss/nss.h: Likewise.
65667         * posix/bits/unistd.h: Likewise.
65668         * posix/fnmatch.h: Likewise.
65669         * posix/glob.h: Likewise.
65670         * posix/sched.h: Likewise.
65671         * posix/spawn.h: Likewise.
65672         * posix/sys/wait.h: Likewise.
65673         * posix/unistd.h: Likewise.
65674         * posix/wordexp.h: Likewise.
65675         * pwd/pwd.h: Likewise.
65676         * resolv/netdb.h: Likewise.
65677         * resource/sys/resource.h: Likewise.
65678         * rt/aio.h: Likewise.
65679         * rt/bits/mqueue2.h: Likewise.
65680         * rt/mqueue.h: Likewise.
65681         * shadow/shadow.h: Likewise.
65682         * signal/signal.h: Likewise.
65683         * socket/send.c: Likewise.
65684         * socket/sendto.c: Likewise.
65685         * socket/sys/socket.h: Likewise.
65686         * stdio-common/printf.h: Likewise.
65687         * stdlib/bits/stdlib.h: Likewise.
65688         * stdlib/fmtmsg.h: Likewise.
65689         * stdlib/monetary.h: Likewise.
65690         * stdlib/stdlib.h: Likewise.
65691         * stdlib/ucontext.h: Likewise.
65692         * streams/stropts.h: Likewise.
65693         * string/argz.h: Likewise.
65694         * string/bits/string2.h: Likewise.
65695         * string/string.h: Likewise.
65696         * string/strings.h: Likewise.
65697         * sunrpc/rpc/auth.h: Likewise.
65698         * sunrpc/rpc/auth_des.h: Likewise.
65699         * sunrpc/rpc/clnt.h: Likewise.
65700         * sunrpc/rpc/netdb.h: Likewise.
65701         * sunrpc/rpc/pmap_clnt.h: Likewise.
65702         * sunrpc/rpc/xdr.h: Likewise.
65703         * sysdeps/generic/inttypes.h: Likewise.
65704         * sysdeps/generic/net/if.h: Likewise.
65705         * sysdeps/generic/sys/swap.h: Likewise.
65706         * sysdeps/gnu/net/if.h: Likewise.
65707         * sysdeps/gnu/utmpx.h: Likewise.
65708         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65709         * sysdeps/i386/i486/bits/string.h: Likewise.
65710         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65711         * sysdeps/s390/bits/string.h: Likewise.
65712         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65713         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65714         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65715         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65716         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65717         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65718         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65719         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65720         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65721         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65722         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65723         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65724         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65725         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65726         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65727         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65728         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65729         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65730         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65731         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65732         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65733         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65734         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65735         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65736         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65737         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65738         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65739         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65740         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65741         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65742         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65743         * sysvipc/sys/ipc.h: Likewise.
65744         * sysvipc/sys/msg.h: Likewise.
65745         * sysvipc/sys/sem.h: Likewise.
65746         * sysvipc/sys/shm.h: Likewise.
65747         * termios/termios.h: Likewise.
65748         * time/sys/time.h: Likewise.
65749         * time/time.h: Likewise.
65750         * wcsmbs/bits/wchar2.h: Likewise.
65751         * wcsmbs/uchar.h: Likewise.
65752         * wcsmbs/wchar.h: Likewise.
65753         * wctype/wctype.h: Likewise.
65755         [BZ #13551]
65756         * Makeconfig: Remove all but ELF support including AIX support.
65757         * Makerules: Likewise.
65758         * config.h.in: Likewise.
65759         * config.make.in: Likewise.
65760         * configure: Likewise.
65761         * configure.in: Likewise.
65762         * csu/Makefile: Likewise.
65763         * csu/version.c: Likewise.
65764         * debug/Makefile: Likewise.
65765         * dlfcn/Makefile: Likewise.
65766         * elf/Makefile: Likewise.
65767         * extra-lib.mk: Likewise.
65768         * iconv/Makefile: Likewise.
65769         * include/libc-symbols.h: Likewise.
65770         * include/shlib-compat.h: Likewise.
65771         * resolv/Makefile: Likewise.
65772         * resolv/res_libc.c: Likewise.
65773         * rt/Makefile: Likewise.
65774         * sysdeps/i386/asm-syntax.h: Likewise.
65775         * sysdeps/i386/sysdep.h: Likewise.
65776         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65777         * sysdeps/mach/sysdep.h: Likewise.
65778         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65779         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65780         * sysdeps/s390/asm-syntax.h: Likewise.
65781         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65782         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65783         * sysdeps/sh/sysdep.h: Likewise.
65784         * sysdeps/unix/sparc/sysdep.h: Likewise.
65785         * sysdeps/wordsize-32/divdi3.c: Likewise.
65786         * sysdeps/x86_64/sysdep.h: Likewise.
65788         * argp/Versions: Remove _argp_unlock_xxx.
65790         [BZ #13559]
65791         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65792         * abilist/libBrokenLocale.abilist: Likewise.
65793         * abilist/libanl.abilist: Likewise.
65794         * abilist/libc.abilist: Likewise.
65795         * abilist/libcrypt.abilist: Likewise.
65796         * abilist/libdl.abilist: Likewise.
65797         * abilist/libm.abilist: Likewise.
65798         * abilist/libnsl.abilist: Likewise.
65799         * abilist/libpthread.abilist: Likewise.
65800         * abilist/libresolv.abilist: Likewise.
65801         * abilist/librt.abilist: Likewise.
65802         * abilist/libthread_db.abilist: Likewise.
65803         * abilist/libutil.abilist: Likewise.
65804         * abilist/libnss_db.abilist: New file.
65806         * scripts/abilist.awk: Add support for indirect functions.
65808         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65810         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65812         * shlib-versions: Remove entries for ports architectures.
65814         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65815         files in ports.
65816         * elf/stackguard-macros.h: Remove support for IA-64.
65817         * elf/tst-auditmod1.c: Likewise.
65818         * sysdeps/generic/ldsodefs.h: Likewise.
65820         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65821         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65822         configure files.
65824         [BZ #13552]
65825         * configure.in: Remove --enable-omitfp support.
65826         * FAQ.in: Adjust.
65827         * config.make.in: Likewise.
65828         * Makeconfig: Likewise.
65829         * manual/install.texi: Likewise.
65831         In case anyone cares, the IA-64 architecture could move to ports.
65832         * sysdeps/ia64/*: Removed.
65833         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65834         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65836         [BZ #13555]
65837         * configure.in: Remove entries for unsupported architectures.
65839         [BZ #13533]
65840         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65841         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65842         routines.
65843         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65844         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65845         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65846         fall back to using wcrtomb.
65847         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65848         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65849         renaming.
65850         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65851         * wcsmbs/tst-c16c32-1.c: New file.
65853         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65854         local variable.
65856         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65858         * elf/tst-unique3.cc: Add explicit declaration of gets.
65859         * elf/tst-unique3lib.cc: Likewise.
65860         * elf/tst-unique3lib2.cc: Likewise.
65861         * elf/tst-unique4.cc: Likewise.
65863         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65865 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65867         [BZ #13566]
65868         * assert/assert.h (static_assert): Don't define for C++.
65869         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65870         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65872 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65874         * iconv/loop.c (single loop): Fix assertion in storing of
65875         remaining bytes.
65877         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65879 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65881         * posix/getconf.c: Update copyright year.
65882         * nss/getent.c: Likewise.
65883         * nss/makedb.c: Likewise.
65884         * iconv/iconvconfig.c: Likewise.
65885         * iconv/iconv_prog.c: Likewise.
65886         * elf/ldconfig.c: Likewise.
65887         * elf/pldd.c: Likewise.
65888         * elf/sotruss.ksh: Likewise.
65889         * catgets/gencat.c: Likewise.
65890         * csu/version.c: Likewise.
65891         * elf/ldd.bash.in: Likewise.
65892         * elf/sprof.c (print_version): Likewise.
65893         * locale/programs/locale.c: Likewise.
65894         * locale/programs/localedef.c: Likewise.
65895         * login/programs/pt_chown.c: Likewise.
65896         * nscd/nscd.c (print_version): Likewise.
65897         * debug/xtrace.sh: Likewise.
65898         * malloc/memusage.sh: Likewise.
65899         * malloc/mtrace.pl: Likewise.
65900         * debug/catchsegv.sh: Likewise.
65902 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65904         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65905         pure attribute.
65907 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65909         [BZ #13533]
65910         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65911         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65912         transformations.
65913         * iconv/gconv_int.h: Likewise.
65914         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65915         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65916         from libc for GLIBC_2.16.
65917         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65918         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65919         * wcsmbs/uchar.h: Really define mbstate_t.
65920         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65921         * wcsmbs/c16rtomb.c: New file.
65922         * wcsmbs/mbrtoc16.c: New file.
65923         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65924         for C/POSIX locale.
65925         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65926         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65928         * wcsmbs/wchar.h: Add missing __restrict.
65930 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65932         [BZ #13532]
65933         * time/Makefile (routines): Add timespec_get.
65934         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65935         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65936         timespec for ISO C11.
65937         * time/timespec_get.c: New file.
65938         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65939         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65941         [BZ #13531]
65942         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65943         * stdlib/stdlib.h: Declare aligned_alloc.
65944         * Versions.def: Add GLIBC_2.16 for libc.
65945         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65947         [BZ 13527]
65948         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65949         ISO C11.
65951         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65952         code.
65954         [BZ #13528]
65955         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65957         [BZ #13529]
65958         * assert/assert.h (static_assert): Define.
65960         * version.h: Update for 2.16 development version.
65962         [BZ #13526]
65963         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65964         _ISOC11_SOURCE.
65966         * version.h (RELEASE): Bump for 2.15 release.
65967         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65969         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65970         Patch by Marek Polacek <mpolacek@redhat.com>.
65972         * bits/byteswap.h: Protect long long constants with __extension__.
65973         * sysdeps/i386/bits/byteswap.h: Likewise.
65974         * sysdeps/ia64/bits/byteswap.h: Likewise.
65975         * sysdeps/s390/bits/byteswap.h: Likewise.
65976         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65978 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65980         [BZ #13540]
65981         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65982         destination buffer.
65983         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65985 2011-12-23  Marek Polacek  <polacek@redhat.com>
65987         * elf/dl-addr.c (determine_info): Add inline keyword.
65988         * elf/tst-auditmod4b.c (check_avx): Likewise.
65989         * elf/tst-auditmod6b.c (check_avx): Likewise.
65990         * elf/tst-auditmod6c.c (check_avx): Likewise.
65991         * elf/tst-auditmod7b.c (check_avx): Likewise.
65993 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65995         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65996         !__SSE_MATH__.
65998 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66000         [BZ #13540]
66001         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66002         processing for last bytes.
66004 2011-08-06  Bruno Haible  <bruno@clisp.org>
66006         [BZ #13061]
66007         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66008         U+0385, not to U+1FEE.
66010         [BZ #13062]
66011         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66012         entry for U+00A5 U+0301.
66014 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66016         [BZ #13166]
66017         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66018         buffer for the output is too small.
66020         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66021         optimization.
66023         [BZ #13185]
66024         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66025         SSE flags if possible.
66027 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66029         [BZ #13540]
66030         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66031         processing for last bytes.
66033 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66035         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66036         (syscall-list-default-options, syscall-list-default-condition)
66037         (syscall-list-includes): Define.
66038         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66039         list of ABIs and options and #if conditions for each ABI.  Do not
66040         handle common syscalls between ABIs specially.
66041         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66042         Remove.
66043         (syscall-list-variants, syscall-list-32bit-options)
66044         (syscall-list-32bit-condition, syscall-list-64bit-options)
66045         (syscall-list-64bit-condition): Define.
66046         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66047         (syscall-list-variants, syscall-list-32bit-options)
66048         (syscall-list-32bit-condition, syscall-list-64bit-options)
66049         (syscall-list-64bit-condition): Define.
66050         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66051         Remove.
66052         (syscall-list-variants, syscall-list-32bit-options)
66053         (syscall-list-32bit-condition, syscall-list-64bit-options)
66054         (syscall-list-64bit-condition): Define.
66055         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66056         Remove.
66057         (syscall-list-variants, syscall-list-32bit-options)
66058         (syscall-list-32bit-condition, syscall-list-64bit-options)
66059         (syscall-list-64bit-condition): Define.
66061 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66063         * locale/iso-639.def: Add brx entry.
66065         [BZ #13328]
66066         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66067         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66069         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66070         __feraiseexcept_renamed.
66072 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66074         [BZ #13538]
66075         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66076         EPOLLET with unsigned values.
66077         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66078         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66080         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66081         to large cancellation.
66082         * math/s_cacoshf.c: Likewise.
66083         * math/s_cacoshl.c: Likewise.
66085 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66087         [BZ #13305]
66088         [BZ #12786]
66089         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66090         * math/s_cacoshf.c: Likewise.
66091         * math/s_cacoshl.c: Likewise.
66093 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66095         [BZ #13439]
66096         * iconv/gconv.h: Define __GCONV_SWAP.
66097         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66098         * iconvdata/utf-16.c: Likewise.
66099         * iconvdata/utf-32.c: Likewise.
66101 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66103         [BZ #13524]
66104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66105         numerator after shifting it by one limb.
66107 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66109         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66110         under [__USE_EXTERN_INLINES].
66112 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66114         [BZ #13446]
66115         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66117 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66119         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66120         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66121         optimized code.
66122         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66123         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66124         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66125         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66126         for strncasecmp/strncasecmp_l compilation.
66127         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66128         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66130 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66132         [BZ #13484]
66133         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66134         of __asm__.
66136 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66138         [BZ #13506]
66139         * time/tzfile.c (__tzfile_read): Check values from file header.
66141 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66143         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66144         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66145         * powerpc/powerpc32/dl-start.S: Likewise.
66146         * powerpc/powerpc32/elf/start.S: Likewise.
66147         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66148         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66149         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66150         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66151         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66152         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66153         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66154         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66155         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66156         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66157         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66158         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66159         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66160         * powerpc/powerpc32/memset.S: Likewise.
66161         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66162         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66163         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66164         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66165         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66166         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66167         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66168         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66169         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66170         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66171         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66172         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66173         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66175 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66177         * math/libm-test.inc: Added more nearbyint tests.
66178         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66179         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66181         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66183 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66185         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66186         FD_CLOEXEC.
66188 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66190         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66191         Add wcscpy-ssse3 wcscpy-c.
66192         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66193         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66194         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66195         * sysdeps/x86_64/wcschr.S: New file.
66196         * sysdeps/x86_64/wcsrchr.S: New file.
66197         * string/test-strcmp.c: Remove checking of wcscmp function for
66198         wrong alignments.
66199         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66200         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66201         wcsrchr-sse2 wcsrchr-c.
66202         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66203         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66204         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66205         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66206         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66207         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66208         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66209         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66210         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66211         * wcsmbc/wcschr.c (WCSCHR): New macro.
66213 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66215         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66216         * wcsmbs/test-wcsrchr.c: New file.
66217         * string/test-strrchr.c: Add wcsrchr support.
66218         (WIDE): New macro.
66219         * wcsmbs/test-wcscpy.c: New file.
66220         * string/test-strcpy.c: Add wcscpy support.
66221         (WIDE): New macro.
66223 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66225         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66226         the inner loop.
66228 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66230         [BZ #13472]
66231         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66233 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66235         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66236         Minor optimizations.
66238         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66239         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66240         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66242 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66244         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66245         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66246         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66247         for gcc to avoid warnings.
66248         * inet/Makefile (tests): Add tst-checks.
66249         * inet/tst-checks.c: New file.
66251         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66252         warning.
66254         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66255         __wmemcmp_sse2.
66257         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66258         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66260         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66262 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66264         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66265         problem.
66267         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66269 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66271         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66272         conditional on GCC version.
66273         (__arch_compare_and_exchange_val_8_acq)
66274         (__arch_compare_and_exchange_val_16_acq)
66275         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66276         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66277         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66279 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66281         * sysdeps/sh/backtrace.c: New file.
66283 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66285         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66286         parenthesis.
66288 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66290         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66291         falling back to utime.
66293 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66295         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66296         expectations for float.
66298 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66300         * locale/weight.h (findidx): Add parameter len.
66301         * locale/weightwc.h (findidx): Likewise.
66302         * posix/fnmatch_loop.c (FCT): Adjust caller.
66303         * posix/regcomp.c (build_equiv_class): Likewise.
66304         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66305         * posix/regexec.c (check_node_accept_bytes): Likewise.
66306         * string/strcoll_l.c (STRCOLL): Likewise.
66307         * string/strxfrm_l.c (STRXFRM): Likewise.
66309 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66311         * Makefile.in: Remove CVSOPT handling.
66312         * configure.in: Remove use of AC_REVISION.
66313         * iconvdata/Makefile (distribute): No need to filter out CVS.
66314         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66315         handling.
66317 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66319         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66320         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66321         [USE_AS_STRNCASECMP_L]: Likewise.
66322         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66323         NO_TLS_DIRECT_SEG_REFS.
66324         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66325         Fix argument offsets for non-PIC.
66326         [USE_AS_STRNCASECMP_L]: Likewise.
66327         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66328         NO_TLS_DIRECT_SEG_REFS.
66330 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66332         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66333         O_CLOEXEC.
66334         * locale/loadlocale.c (_nl_load_locale): Likewise.
66336 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66338         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66339         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66340         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66341         (SYSCALL_GETTIME): Set errno on error.
66343         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66344         count references to noai6ai_cached.
66346 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66348         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66350         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66351         FD_CLOEXEC for /proc/self/maps.
66353         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66354         FD_CLOEXEC for /proc/meminfo.
66356         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66357         gai.conf.
66359         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66360         FD_CLOEXEC for given file.
66362         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66364         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66365         FD_CLOEXEC for /etc/hosts.
66366         (_gethtent): Likewise.
66368         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66370         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66371         cancellation and set FD_CLOEXEC for /etc/netgroup.
66373         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66374         reading /etc/publickey.
66376         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66377         allow cancellation when reading /etc/group.
66379         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66380         cancellation.
66381         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66383         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66384         when using data file.
66386         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66388         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66389         (write_nis_obj): Use "c" and "e" in fopen.
66391         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66393         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66395         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66397         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66399         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66400         locale.alias.
66402         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66404         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66406         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66408         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66409         file parsing and set FD_CLOEXEC.
66411 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66413         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66415 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66417         * malloc/arena.c (arena_get2): Don't call reused_arena when
66418         _int_new_arena failed.
66420 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66422         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66423         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66424         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66425         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66426         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66428         to compile strcasecmp and strncasecmp.
66429         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66430         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66434 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66436         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66437         locale-defines.sym to gen-as-const-headers.
66438         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66439         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66440         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66441         to compile strcasecmp and strncasecmp.
66442         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66443         strcasecmp_l and strncasecmp_l.
66444         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66445         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66446         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66447         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66448         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66449         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66450         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66451         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66452         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66453         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66454         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66456 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66458         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66459         result of SYSDEP_GETTIME_CPU to retval.
66460         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66461         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66463         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66464         variable.
66466         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66467         mantissa words.
66468         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66470         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66471         from unused variable.
66473         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66474         DWARF definitions.
66475         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66476         for assembling.
66478         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66479         over namespaces.
66481         * sunrpc/rpc_prot.c (rejected): Fix case value.
66483         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66484         unsigned long long int to avoid warnings in shift.
66486         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66487         of use of trans.
66488         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66489         variable tmp.
66491         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66492         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66493         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66495         * nis/nis_table.c (nis_list): Use variable of correct type for
66496         result of __follow_path call.
66498 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66500         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66501         of math functions ceil, trunc, floor, round, and sqrt, when
66502         avaliable on the platform.
66503         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66504         name clash.
66505         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66506         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66507         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66509 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66511         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66512         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66514 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66516         * include/unistd.h: Fix __readlink return type.
66517         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66519 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66521         * stdlib/ucontext.h: Undo last change for makecontext.
66523 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66525         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66527         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66528         * setjmp/setjmp.h: Mark functions as non-leaf.
66529         * setjmp/bits/setjmp2.h: Likewise.
66530         * stdlib/ucontext.h: Likewise.
66532 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66534         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66535         (reused_arena): Don't check arena limit.
66536         (arena_get2): Atomically check arena limit.
66538 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66540         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66541         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66544         instructions.
66546 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66548         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66549         handler when locking.
66551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66552         Fix size of allocated buffer.
66554 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66556         [BZ #10103]
66557         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66558         declarations for long double functions.
66559         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66561         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66563 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66565         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66566         installed.
66568         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66569         is disabled.
66571 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66573         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66575 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66577         * include/alloca.h (stackinfo_alloca_round): Define.
66578         (extend_alloca): Use it.
66579         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66580         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66581         here.
66583         * scripts/check-local-headers.sh: Ignore libaudit.h.
66585         * nscd/Makefile (extra-objs): Make recursively expanded.
66587 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66589         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66590         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66592         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66593         * posix/tst-rfc3484-2.c: Likewise.
66594         * posix/tst-rfc3484-3.c: Likewise.
66596         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66597         process_vm_writev.
66598         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66599         process_vm_writev.
66600         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66601         process_vm_writev from libc using GLIBC_2.15 version.
66603         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66605 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66607         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66608         stack usage.
66610 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66612         [BZ #13367]
66613         * nss/getent.c (initgroups_keys): Show error message in case no group
66614         names are given.
66616         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66617         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66618         __bump_nl_timestamp.
66619         * nscd/connections (nscd_init): When host database is served open
66620         netlink socket and request notification about configuration changes.
66621         (main_loop_poll): Track netlink file descriptor and bump timestamp
66622         in case data becomes available.
66623         (main_loop_epoll): Likewise.
66624         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66625         (database_pers_head): Add extra_data fileds.
66626         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66627         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66628         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66629         Adjust caller.
66630         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66631         in6ai data, call __free_in6ai.
66632         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66633         Add -DHAVE_NETLINK.
66634         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66635         interface information.  Reuse previous data if netlink timestamp
66636         is not changed.
66637         (__bump_nl_timestamp): New function.
66638         (__free_in6ai): New function.
66640 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66642         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66643         close_not_cancel_no_status here.
66644         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66646 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66648         [BZ #13276]
66649         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66650         return value.
66652         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66653         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66654         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66656 2011-07-03  Andreas Jaeger  <aj@suse.de>
66658         [BZ #10709]
66659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66660         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66661         * math/libm-test.inc (sin_test): Add test case.
66663 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66665         [BZ #13337]
66666         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66667         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66669         * elf/chroot_canon.c (chroot_canon): Cleanups.
66671         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66673         [BZ #13335]
66674         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66675         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66677         * string/test-strchr.c: Make usable for strchrnul testing.
66678         * string/test-strchrnul.c: New file.
66679         * string/Makefile (strop-tests): Add strchrnul.
66681         * po/it.po: Update from translation team.
66682         * po/es.po: Likewise.
66684 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66686         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66687         the three constants needed as parameters.  Drop the others.
66688         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66689         __m128i_strloadu_tolower.
66690         Create and initialize variable zero and use it in all the places
66691         where _mm_setzero_si128 was used.
66693         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66694         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66695         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66696         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66697         anymore.
66698         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66699         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66700         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66701         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66702         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66703         __mpranred, __mptan.
66704         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66705         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66706         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66707         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66708         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66709         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66710         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66711         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66712         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66714 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66716         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66717         redefine if SHARED.
66718         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66721         wide char related routines to wcsmbs subdir.
66723 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66725         [BZ #13344]
66726         * misc/sys/cdefs.h (__THROWNL): Define.
66727         * posix/unistd.h: Use __THREADNL instead of __THREAD
66728         for memory synchronization functions.
66730 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66732         [BZ #13349]
66733         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66734         doesn't exist.
66735         * manual/stdio.texi (Obstack Streams): Node removed.
66737 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66739         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66740         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66741         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66743         * math/math_private.h (math_force_eval): Allow non-addressable
66744         arguments.
66745         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66747 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66749         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66750         file is not needed.
66752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66753         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66754         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66755         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66756         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66757         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66758         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66759         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66760         Add AVX variants.
66761         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66762         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66763         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66764         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66765         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66766         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66767         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66768         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66769         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66770         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66771         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66772         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66773         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66774         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66775         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66776         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66777         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66778         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66779         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66781         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66782         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66784         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66785         place.  Use VEX encoding when compiling for AVX.
66787 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66789         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66790         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66792         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66794 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66796         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66797         useless if() expression.
66798         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66799         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66800         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66801         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66802         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66803         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66804         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66805         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66806         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66807         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66808         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66809         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66810         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66811         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66812         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66813         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66814         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66815         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66816         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66818         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66820 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66822         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66823         condition.
66824         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66826 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66828         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66829         .text section.  Avoid duplicate constants.
66830         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66832         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66834         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66838         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66839         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66840         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66841         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66842         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66843         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66844         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66845         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66846         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66847         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66848         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66849         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66850         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66851         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66852         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66853         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66854         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66855         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66856         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66857         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66858         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66859         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66860         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66861         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66862         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66863         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66864         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66865         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66866         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66867         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66868         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66869         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66870         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66871         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66872         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66873         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66874         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66876 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66878         * sysdeps/x86_64/dla.h: Move to ...
66879         * sysdeps/x86_64/fpu/dla.h: ...here.
66880         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66881         situations.  Use __builtin_fma only for gcc 4.6 and up.
66883         * config.make.in: Add have-mfma4 entry.
66884         * configure.in: Substitute libc_cv_cc_fma4.
66885         * math/Makefile (dbl-only-routines): Add sincostab.
66886         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66887         Use __sincostab not sincos.
66888         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66889         name is a macro.
66890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66893         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66894         using __copysign.
66895         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66896         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66897         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66898         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66899         and __inv.
66900         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66901         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66902         __copysign.
66903         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66904         define aliases when function name is a macro.
66905         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66906         sysdeps/ieee754/dbl-64/sincos.tbl.
66907         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66908         fma4-enabled routines.
66909         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66910         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66911         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66912         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66913         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66914         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66916         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66917         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66918         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66919         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66920         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66921         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66922         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66923         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66924         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66925         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66926         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66927         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66928         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66929         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66930         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66932         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66933         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66934         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66935         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66936         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66937         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66938         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66940         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66941         rename.
66942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66943         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66946         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66947         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66948         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66949         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66951 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66953         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66955 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66957         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66959         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66960         prediction.
66961         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66963         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66964         Remove unused variable magic_bits.
66965         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66967         * string/strnlen.c: Define and use STRNLEN macro.
66968         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66969         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66970         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66971         * wcsmbs/wcslen.c: Define and use WCSLEN.
66972         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66973         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66974         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66975         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66976         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66977         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66978         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66980 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66983         strnlen-sse2-no-bsf.
66984         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66986         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66987         Add strnlen support.
66988         (USE_AS_STRNLEN): New macro.
66989         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66990         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66991         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66992         * sysdeps/x86_64/wcslen.S: New file.
66994 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66997         XMM-moves are used for copying on small sizes.
66999 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67001         * wcsmbs/Makefile (strop-tests): Add wcschr.
67002         * wcsmbs/test-wcschr.c: New file.
67003         * string/test-strchr.c: Update.
67004         Add wcschr support.
67005         (WIDE): New macro.
67007 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67009         * wcsmbs/Makefile (strop-tests): Add wcslen.
67010         * wcsmbs/test-wcslen.c: New file.
67011         * string/test-strlen.c: Update.
67012         Add wcslen support.
67013         (WIDE): New macro.
67015 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67017         * po/it.po: Update from translation team.
67019 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67021         * sysdeps/x86_64/wcscmp.S: Update.
67022         Fix wrong comparison semantics.
67023         wcscmp shall use signed comparison not unsigned.
67024         Don't use substraction to avoid overflow bug.
67025         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67026         * wcsmbc/wcscmp.c: Likewise.
67027         * string/test-strcmp.c: Likewise.
67028         Add new tests to check cases with negative values.
67030 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67032         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67033         * sysdeps/x86_64/dla.h: ...here.  New file.
67034         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67037         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67041         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67044 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67047         __ynl_finite aliases.
67049 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67053         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67054         define DLA_FMA.
67055         [DLA_FMA] (EMULV): Use DLA_FMA.
67056         [DLA_FMA] (MUL12): Use EMULV.
67057         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67058         that are not needed.
67059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67060         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67062         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67063         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67064         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67065         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67067 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67069         * math/s_nan.c: Undef __nan.
67070         * math/s_nanf.c: Undef __nanf.
67071         * math/s_nanl.c: Undef __nanl.
67072         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67073         "math_private.h".
67075 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67077         * math/s_catan.c: Add branch predictions.
67078         * math/s_catanf.c: Likewise.
67079         * math/s_catanh.c: Likewise.
67080         * math/s_catanhf.c: Likewise.
67081         * math/s_catanhl.c: Likewise.
67082         * math/s_catanl.c: Likewise.
67083         * math/s_cexp.c: Likewise.
67084         * math/s_cexpf.c: Likewise.
67085         * math/s_cexpl.c: Likewise.
67086         * math/s_clog.c: Likewise.
67087         * math/s_clog10.c: Likewise.
67088         * math/s_clog10f.c: Likewise.
67089         * math/s_clog10l.c: Likewise.
67090         * math/s_clogf.c: Likewise.
67091         * math/s_clogl.c: Likewise.
67092         * math/s_csqrt.c: Likewise.
67093         * math/s_csqrtf.c: Likewise.
67094         * math/s_csqrtl.c: Likewise.
67095         * math/s_ctanf.c: Likewise.
67096         * math/s_ctanh.c: Likewise.
67097         * math/s_ctanhf.c: Likewise.
67098         * math/s_ctanhl.c: Likewise.
67099         * math/s_ctanl.c: Likewise.
67101         * math/math_private.h: Define __nan, __nanf, __nanl.
67102         * math/s_cacosh.c: Include <math_private.h>.
67103         * math/s_cacoshl.c: Likewise.
67104         * math/s_casinh.c: Likewise.
67105         * math/s_casinhf.c: Likewise.
67106         * math/s_casinhl.c: Likewise.
67107         * math/s_ccos.c: Rely entire on ccosh.
67108         * math/s_ccosf.c: Rely entire on ccoshf.
67109         * math/s_ccosl.c: Rely entirely on ccoshl.
67110         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67111         Remove tests for FE_INVALID.
67112         * math/s_ccoshf.c: Likewise.
67113         * math/s_ccoshl.c: Likewise.
67114         * math/s_csin.c: Likewise.
67115         * math/s_csinf.c: Likewise.
67116         * math/s_csinh.c Likewise.
67117         * math/s_csinhf.c: Likewise.
67118         * math/s_csinhl.c: Likewise.
67119         * math/s_csinl.c: Likewise.
67120         * math/s_ctan.c: Likewise.
67121         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67122         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67123         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67125 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67128         compilation problems.
67130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67131         __builtin_expect.
67133 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67135         * sysdeps/i386/configure.in: Test for -mfma4 option.
67136         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67137         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67138         COMMON_CPUID_INDEX_80000001.
67139         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67140         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67141         use it if FMA3 is not supported.
67142         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67144         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67145         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67147 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67149         [BZ #12892]
67150         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67151         it would create a cycle with a link time dependency.
67153 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67155         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67156         instruction.
67157         * string/Makefile (strop-tests): Add rawmemchr.
67158         * string/test-rawmemchr.c: New file.
67160         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67162         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67163         when compiling str{,n}casecmp and when AVX is available.  Hook up
67164         new optimized code in initializers.
67166 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67168         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67169         __feraiseexcept instead of feraiseexcept.
67171 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67173         * math/math_private.h: Define defaults for libc_fetestexcept and
67174         libc_feupdateenv.
67175         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67176         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67177         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67178         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67179         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67180         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67181         libc_fetestexcept and libc_feupdateenv.
67183         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67184         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67185         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67186         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67187         libc_feholdexcept_setround.
67189         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67190         Add s_nearbyint-c and s_nearbyintf-c.
67191         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67192         nearbyintf inlines.
67193         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67194         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67195         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67196         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67198         * math/math_private.h: Define defaults for libc_fegetround,
67199         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67200         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67201         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67202         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67203         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67204         standard functions.
67205         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67206         Remove comments and hacks for old compiler versions.
67207         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67208         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67209         libc_feholdexceptl.
67211 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67213         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67214         (__feraiseexcept_renamed): Add __NTH.
67215         (feraiseexcept): Add __NTH.  Rename local variables to fix
67216         namespace violations.
67218 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67220         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67222         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67224         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67225         recently added interfaces.
67226         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67228         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67229         about macro parameter expansion.
67231         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67232         __NO_MATH_INLINES is defined.  Cleanups.
67234         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67235         and __floorf is target has SSE4.1.
67236         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67237         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67238         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67239         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67241         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67242         name.
67243         (floorf): Likewise.
67245         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67247 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67249         * misc/sys/cdefs.h: Fix last change.
67251         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67252         database lookup.
67254 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67256         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67258         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67259         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67260         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67261         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67262         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67263         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67264         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67265         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67266         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67267         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67268         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67269         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67270         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67271         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67272         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67273         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67274         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67275         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67276         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67277         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67278         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67279         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67281         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67282         ceil, ceilf, floor, floorf.
67284         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67285         Perform IRELATIVE relocations last.
67287         * elf/do-rel.h: Add another parameter nrelative, replacing the
67288         local variable with the same name.  Change name of the function
67289         to end in Rel or Rela (uppercase).
67290         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67291         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67292         elf_dynamic_do_##reloc function.
67294 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67296         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67297         is sufficient, at least on modern CPUs.
67299         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67301         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67302         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67304         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67305         __expl_finite.
67306         * math/bits/math-finite.h: Add entries for exp.
67307         * math/e_expl.c: Add __*_finite alias.
67308         * sysdeps/i386/fpu/e_exp.S: Likewise.
67309         * sysdeps/i386/fpu/e_expf.S: Likewise.
67310         * sysdeps/i386/fpu/e_expl.c: Likewise.
67311         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67312         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67313         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67314         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67315         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67316         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67317         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67319         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67320         is sufficient, at least on modern CPUs.
67322         * ctype/ctype-info.c (__ctype_init): Define.
67323         * include/ctype.h (__ctype_init): Declare.
67324         (__ctype_b_loc): The variable is always initialized.
67325         (__ctype_toupper_loc): Likewise.
67326         (__ctype_tolower_loc): Likewise.
67327         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67328         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67330 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67332         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67334         * configure.in: Also look in $cxxmachine/include for C++ system
67335         headers.
67337 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67339         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67340         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67341         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67342         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67343         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67344         (USE_AS_WMEMCMP): New macro.
67345         Fixing indents.
67346         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67347         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67348         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67349         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67351         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67352         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67353         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67354         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67355         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67356         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67357         (USE_AS_WMEMCMP): New macro.
67358         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67359         * sysdeps/string/test-memcmp.c: Update.
67360         Fix simple_wmemcmp.
67361         Add new tests.
67362         * wcsmbs/wmemcmp.c: Update.
67363         (WMEMCMP): New macro.
67364         Fix overflow bug.
67366 2011-10-12  Andreas Jaeger  <aj@suse.de>
67368         [BZ #13268]
67369         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67371 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67373         * libio/iofwide.c (do_length): Avoid warning.
67375         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67377 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67379         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67381         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67382         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67383         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67384         * sysdeps/i386/i686/fpu/e_log.S: New file.
67385         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67386         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67388         * ctype/ctype.h: Add support for inlined isXXX functions when
67389         compiling C++ code.
67391 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67393         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67395         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67397 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67399         [BZ #13291]
67400         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67402 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67404         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67405         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67406         feraiseexcept.
67408         * sysdeps/x86_64/memrchr.S: Check for zero size.
67410         * string/stratcliff.c: Add memrchr tests.
67412 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67415         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67416         rawmemchr-sse2 rawmemchr-sse2-bsf.
67417         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67418         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67419         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67420         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67421         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67422         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67423         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67424         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67425         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67426         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67427         * string/memrchr.c (MEMRCHR): New macro.
67429 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67431         Add integration with gcc's -ffinite-math-only and optimize wrapper
67432         functions in libm.
67433         * Versions.def: Define GLIBC_2.15 version for libm.
67434         * math/Makefile (headers): Add bits/math-finite.h.
67435         * math/bits/math-finite.h: New file.
67436         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67437         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67438         * math/e_acoshl.c: Add __*_finite alias.
67439         * math/e_acosl.c: Likewise.
67440         * math/e_asinl.c: Likewise.
67441         * math/e_atan2l.c: Likewise.
67442         * math/e_atanhl.c: Likewise.
67443         * math/e_coshl.c: Likewise.
67444         * math/e_exp10.c: Likewise.
67445         * math/e_exp10f.c: Likewise.
67446         * math/e_exp10l.c: Likewise.
67447         * math/e_exp2l.c: Likewise.
67448         * math/e_fmodl.c: Likewise.
67449         * math/e_gammal_r.c: Likewise.
67450         * math/e_hypotl.c: Likewise.
67451         * math/e_j0l.c: Likewise.
67452         * math/e_j1l.c: Likewise.
67453         * math/e_jnl.c: Likewise.
67454         * math/e_lgammal_r.c: Likewise.
67455         * math/e_log10l.c: Likewise.
67456         * math/e_log2l.c: Likewise.
67457         * math/e_logl.c: Likewise.
67458         * math/e_powl.c: Likewise.
67459         * math/e_sinhl.c: Likewise.
67460         * math/e_sqrtl.c: Likewise.
67461         * math/e_scalb.c: Completely rewritten and optimized.
67462         * math/e_scalbf.c: Likewise.
67463         * math/e_scalbl.c: Likewise.
67464         * math/w_acos.c: Likewise.
67465         * math/w_acosf.c: Likewise.
67466         * math/w_acosl.c: Likewise.
67467         * math/w_acosh.c: Likewise.
67468         * math/w_acoshf.c: Likewise.
67469         * math/w_acoshl.c: Likewise.
67470         * math/w_asin.c: Likewise.
67471         * math/w_asinf.c: Likewise.
67472         * math/w_asinl.c: Likewise.
67473         * math/w_atan2.c: Likewise.
67474         * math/w_atan2f.c: Likewise.
67475         * math/w_atan2l.c: Likewise.
67476         * math/w_atanh.c: Likewise.
67477         * math/w_atanhf.c: Likewise.
67478         * math/w_atanhl.c: Likewise.
67479         * math/w_exp10.c: Likewise.
67480         * math/w_exp10f.c: Likewise.
67481         * math/w_exp10l.c: Likewise.
67482         * math/w_fmod.c: Likewise.
67483         * math/w_fmodf.c: Likewise.
67484         * math/w_fmodl.c: Likewise.
67485         * math/w_j0.c: Likewise.
67486         * math/w_j0f.c: Likewise.
67487         * math/w_j0l.c: Likewise.
67488         * math/w_j1.c: Likewise.
67489         * math/w_j1f.c: Likewise.
67490         * math/w_j1l.c: Likewise.
67491         * math/w_jn.c: Likewise.
67492         * math/w_jnf.c: Likewise.
67493         * math/w_log.c: Likewise.
67494         * math/w_logf.c: Likewise.
67495         * math/w_logl.c: Likewise.
67496         * math/w_log10.c: Likewise.
67497         * math/w_log10f.c: Likewise.
67498         * math/w_log10l.c: Likewise.
67499         * math/w_log2.c: Likewise.
67500         * math/w_log2f.c: Likewise.
67501         * math/w_log2l.c: Likewise.
67502         * math/w_pow.c: Likewise.
67503         * math/w_powf.c: Likewise.
67504         * math/w_powl.c: Likewise.
67505         * math/w_remainder.c: Likewise.
67506         * math/w_remainderf.c: Likewise.
67507         * math/w_remainderl.c: Likewise.
67508         * math/w_scalb.c: Likewise.
67509         * math/w_scalbf.c: Likewise.
67510         * math/w_scalbl.c: Likewise.
67511         * math/w_sqrt.c: Likewise.
67512         * math/w_sqrtf.c: Likewise.
67513         * math/w_sqrtl.c: Likewise.
67514         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67515         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67516         used.
67517         * math/math_private.h: Declare __kernel_standard_f.
67518         * math/w_cosh.c: Remove cruft and optimize a bit.
67519         * math/w_coshf.c: Likewise.
67520         * math/w_coshl.c: Likewise.
67521         * math/w_exp2.c: Likewise.
67522         * math/w_exp2f.c: Likewise.
67523         * math/w_exp2l.c: Likewise.
67524         * math/w_hypot.c: Likewise.
67525         * math/w_hypotf.c: Likewise.
67526         * math/w_hypotl.c: Likewise.
67527         * math/w_lgamma.c: Likewise.
67528         * math/w_lgamma_r.c: Likewise.
67529         * math/w_lgammaf.c: Likewise.
67530         * math/w_lgammaf_r.c: Likewise.
67531         * math/w_lgammal.c: Likewise.
67532         * math/w_lgammal_r.c: Likewise.
67533         * math/w_sinh.c: Likewise.
67534         * math/w_sinhf.c: Likewise.
67535         * math/w_sinhl.c: Likewise.
67536         * math/w_tgamma.c: Likewise.
67537         * math/w_tgammaf.c: Likewise.
67538         * math/w_tgammal.c: Likewise.
67539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67540         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67541         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67542         Minor optimizations.  Pretty printing.  Remove cruft.
67543         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67544         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67545         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67546         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67547         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67548         * sysdeps/i386/fpu/e_asin.S: Likewise.
67549         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67550         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67551         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67552         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67553         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67554         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67555         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67556         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67557         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67558         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67559         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67560         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67561         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67562         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67563         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67564         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67565         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67566         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67567         * sysdeps/i386/fpu/e_log.S: Likewise.
67568         * sysdeps/i386/fpu/e_log10.S: Likewise.
67569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67570         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67571         * sysdeps/i386/fpu/e_log2.S: Likewise.
67572         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67573         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67574         * sysdeps/i386/fpu/e_logf.S: Likewise.
67575         * sysdeps/i386/fpu/e_logl.S: Likewise.
67576         * sysdeps/i386/fpu/e_pow.S: Likewise.
67577         * sysdeps/i386/fpu/e_powf.S: Likewise.
67578         * sysdeps/i386/fpu/e_powl.S: Likewise.
67579         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67580         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67581         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67582         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67583         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67584         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67585         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67586         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67587         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67588         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67589         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67590         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67591         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67592         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67593         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67594         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67595         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67596         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67609         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67610         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67611         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67612         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67613         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67614         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67615         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67616         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67617         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67618         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67619         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67620         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67621         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67622         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67623         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67624         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67625         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67626         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67627         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67628         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67629         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67630         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67631         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67632         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67633         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67634         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67635         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67636         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67638         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67639         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67640         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67641         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67642         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67643         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67644         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67645         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67646         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67652         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67653         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67657         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67658         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67660         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67668         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67676         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67679         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67680         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67681         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67682         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67683         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67684         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67685         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67686         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67687         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67688         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67689         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67690         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67691         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67692         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67693         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67694         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67695         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67696         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67697         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67698         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67699         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67700         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67701         (__isnanf): Likewise.
67702         (__isinf_ns): Likewise.
67703         (__isinf_nsf): Likewise.
67704         (__finite): Likewise.
67705         (__finitef): Likewise.
67706         (__ieee754_sqrt): Define as macro.
67707         (__ieee754_sqrtf): Define as macro.
67708         (__ieee754_sqrtl): Define as macro.
67709         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67710         inlined copy.
67711         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67712         __FINITE_MATH_ONLY__ consistent.
67713         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67715 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67717         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67718         of rawmemchr.
67720         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67722 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67724         * po/ja.po: Update from translation team.
67726 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67728         * locale/programs/locarchive.c (prepare_address_space): New function.
67729         (create_archive, enlarge_archive, open_archive): Use it.
67731         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67732         inside [SHARED], where it is used.
67734         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67736         * nss/getent.c (netgroup_keys): Remove unused variable.
67737         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67739 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67741         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67742         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67743         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67744         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67745         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67746         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67747         * math/Makefile (libm-calls): Add s_isinf_ns.
67748         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67749         * math/multc3.c: Likewise.
67750         * math/s_casin.c: Likewise.
67751         * math/s_casinf.c: Likewise.
67752         * math/s_casinl.c: Likewise.
67753         * math/s_ccos.c: Likewise.
67754         * math/s_ccosf.c: Likewise.
67755         * math/s_ccosl.c: Likewise.
67756         * math/s_ctan.c: Likewise.
67757         * math/s_ctanf.c: Likewise.
67758         * math/s_ctanh.c: Likewise.
67759         * math/s_ctanhf.c: Likewise.
67760         * math/s_ctanhl.c: Likewise.
67761         * math/s_ctanl.c: Likewise.
67762         * math/w_fmod.c: Likewise.
67763         * math/w_fmodf.c: Likewise.
67764         * math/w_fmodl.c: Likewise.
67765         * math/w_remainder.c: Likewise.
67766         * math/w_remainderf.c: Likewise.
67767         * math/w_remainderl.c: Likewise.
67768         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67769         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67770         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67772         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67773         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67774         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67775         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67777         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67778         of the number.
67779         * stdio-common/printf_fphex.c: Likewise.
67780         * stdio-common/printf_size.c: Likewise.
67782         * math/e_exp10.c: Include math_private.h using <...> not "...".
67783         * math/e_exp10f.c: Likewise.
67784         * math/e_exp10l.c: Likewise.
67785         * math/e_exp2l.c: Likewise.
67786         * math/e_j0l.c: Likewise.
67787         * math/e_j1l.c: Likewise.
67788         * math/e_jnl.c: Likewise.
67789         * math/e_lgammal_r.c: Likewise.
67790         * math/e_rem_pio2l.c: Likewise.
67791         * math/e_scalb.c: Likewise.
67792         * math/e_scalbf.c: Likewise.
67793         * math/e_scalbl.c: Likewise.
67794         * math/k_cosl.c: Likewise.
67795         * math/k_sinl.c: Likewise.
67796         * math/k_tanl.c: Likewise.
67797         * math/s_cacoshf.c: Likewise.
67798         * math/s_catan.c: Likewise.
67799         * math/s_catanf.c: Likewise.
67800         * math/s_catanh.c: Likewise.
67801         * math/s_catanhf.c: Likewise.
67802         * math/s_catanhl.c: Likewise.
67803         * math/s_catanl.c: Likewise.
67804         * math/s_ccosh.c: Likewise.
67805         * math/s_ccoshf.c: Likewise.
67806         * math/s_ccoshl.c: Likewise.
67807         * math/s_cexp.c: Likewise.
67808         * math/s_cexpf.c: Likewise.
67809         * math/s_cexpl.c: Likewise.
67810         * math/s_clog.c: Likewise.
67811         * math/s_clog10.c: Likewise.
67812         * math/s_clog10f.c: Likewise.
67813         * math/s_clog10l.c: Likewise.
67814         * math/s_clogf.c: Likewise.
67815         * math/s_clogl.c: Likewise.
67816         * math/s_csin.c: Likewise.
67817         * math/s_csinf.c: Likewise.
67818         * math/s_csinh.c: Likewise.
67819         * math/s_csinhf.c: Likewise.
67820         * math/s_csinhl.c: Likewise.
67821         * math/s_csinl.c: Likewise.
67822         * math/s_csqrt.c: Likewise.
67823         * math/s_csqrtf.c: Likewise.
67824         * math/s_csqrtl.c: Likewise.
67825         * math/s_ctan.c: Likewise.
67826         * math/s_ctanf.c: Likewise.
67827         * math/s_ctanh.c: Likewise.
67828         * math/s_ctanhf.c: Likewise.
67829         * math/s_ctanhl.c: Likewise.
67830         * math/s_ctanl.c: Likewise.
67831         * math/s_ldexp.c: Likewise.
67832         * math/s_ldexpf.c: Likewise.
67833         * math/s_ldexpl.c: Likewise.
67834         * math/s_significand.c: Likewise.
67835         * math/s_significandf.c: Likewise.
67836         * math/s_significandl.c: Likewise.
67837         * math/w_acos.c: Likewise.
67838         * math/w_acosf.c: Likewise.
67839         * math/w_acosh.c: Likewise.
67840         * math/w_acoshf.c: Likewise.
67841         * math/w_acoshl.c: Likewise.
67842         * math/w_acosl.c: Likewise.
67843         * math/w_asin.c: Likewise.
67844         * math/w_asinf.c: Likewise.
67845         * math/w_asinl.c: Likewise.
67846         * math/w_atan2.c: Likewise.
67847         * math/w_atan2f.c: Likewise.
67848         * math/w_atan2l.c: Likewise.
67849         * math/w_atanh.c: Likewise.
67850         * math/w_atanhf.c: Likewise.
67851         * math/w_atanhl.c: Likewise.
67852         * math/w_cosh.c: Likewise.
67853         * math/w_coshf.c: Likewise.
67854         * math/w_coshl.c: Likewise.
67855         * math/w_dremf.c: Likewise.
67856         * math/w_exp10.c: Likewise.
67857         * math/w_exp10f.c: Likewise.
67858         * math/w_exp10l.c: Likewise.
67859         * math/w_exp2.c: Likewise.
67860         * math/w_exp2f.c: Likewise.
67861         * math/w_fmod.c: Likewise.
67862         * math/w_fmodf.c: Likewise.
67863         * math/w_fmodl.c: Likewise.
67864         * math/w_hypot.c: Likewise.
67865         * math/w_hypotf.c: Likewise.
67866         * math/w_hypotl.c: Likewise.
67867         * math/w_j0.c: Likewise.
67868         * math/w_j0f.c: Likewise.
67869         * math/w_j0l.c: Likewise.
67870         * math/w_j1.c: Likewise.
67871         * math/w_j1f.c: Likewise.
67872         * math/w_j1l.c: Likewise.
67873         * math/w_jn.c: Likewise.
67874         * math/w_jnf.c: Likewise.
67875         * math/w_jnl.c: Likewise.
67876         * math/w_lgamma.c: Likewise.
67877         * math/w_lgamma_r.c: Likewise.
67878         * math/w_lgammaf.c: Likewise.
67879         * math/w_lgammaf_r.c: Likewise.
67880         * math/w_lgammal.c: Likewise.
67881         * math/w_lgammal_r.c: Likewise.
67882         * math/w_log.c: Likewise.
67883         * math/w_log10.c: Likewise.
67884         * math/w_log10f.c: Likewise.
67885         * math/w_log10l.c: Likewise.
67886         * math/w_log2.c: Likewise.
67887         * math/w_log2f.c: Likewise.
67888         * math/w_log2l.c: Likewise.
67889         * math/w_logf.c: Likewise.
67890         * math/w_logl.c: Likewise.
67891         * math/w_pow.c: Likewise.
67892         * math/w_powf.c: Likewise.
67893         * math/w_powl.c: Likewise.
67894         * math/w_remainder.c: Likewise.
67895         * math/w_remainderf.c: Likewise.
67896         * math/w_remainderl.c: Likewise.
67897         * math/w_scalb.c: Likewise.
67898         * math/w_scalbf.c: Likewise.
67899         * math/w_scalbl.c: Likewise.
67900         * math/w_sinh.c: Likewise.
67901         * math/w_sinhf.c: Likewise.
67902         * math/w_sinhl.c: Likewise.
67903         * math/w_sqrt.c: Likewise.
67904         * math/w_sqrtf.c: Likewise.
67905         * math/w_sqrtl.c: Likewise.
67906         * math/w_tgamma.c: Likewise.
67907         * math/w_tgammaf.c: Likewise.
67908         * math/w_tgammal.c: Likewise.
67910         * po/ja.po: Update from translation team.
67912 2011-09-29  Andreas Jaeger  <aj@suse.de>
67914         [BZ #13179]
67915         * sunrpc/netname.c (netname2host): Fix logic.
67917         [BZ #6779]
67918         [BZ #6783]
67919         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67920         correctly.
67921         * math/w_remainder.c (__remainder): Likewise.
67922         * math/w_remainderf.c (__remainderf): Likewise.
67923         * math/libm-test.inc (remainder_test): Add test cases.
67925 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67927         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67928         sdiv_qrnnd.
67930 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67932         * string/test-memcmp.c: Avoid unncessary #defines.
67933         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67935 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67937         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67938         Use new sse2 version for core i3 - i7 as it's faster
67939         than sse42 version.
67940         (bit_Prefer_PMINUB_for_stringop): New.
67941         * sysdeps/x86_64/rawmemchr.S: Update.
67942         Replace with faster SSE2 version.
67943         * sysdeps/x86_64/memrchr.S: New file.
67944         * sysdeps/x86_64/memchr.S: Update.
67945         Replace with faster SSE2 version.
67947 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67949         * elf/dl-load.c (lose): Add cast to avoid warning.
67951 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67953         * po/ca.po: Update from translation team.
67955         * inet/getnetgrent_r.c: Hook up nscd.
67956         * nscd/Makefile (routines): Add nscd_netgroup.
67957         (nscd-modules): Add netgroupcache.
67958         (CFLAGS-netgroupcache.c): Define.
67959         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67960         (cache_search): Add const to second parameter.
67961         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67962         INNETGR.
67963         (dbs): Add netgrdb entry.
67964         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67965         (verify_persistent_db): Handle netgrdb.
67966         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67967         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67968         GETFDNETGR.
67969         (netgroup_response_header): Define.
67970         (innetgroup_response_header): Define.
67971         (datahead): Add netgroup_response_header and innetgroup_response_header
67972         elements.
67973         * nscd/nscd.conf: Add entries for netgroup cache.
67974         * nscd/nscd.h (dbtype): Add netgrdb.
67975         (_PATH_NSCD_NETGROUP_DB): Define.
67976         (netgroup_iov_disabled): Declare.
67977         (xmalloc, xcalloc, xrealloc): Move declarations here.
67978         (cache_search): Adjust prototype.
67979         Add netgroup-related prototypes.
67980         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67981         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67982         (__nscd_innetgr): Declare.
67983         * nscd/selinux.c (perms): Use access_vector_t as element type and
67984         add netgroup-related initializers.
67985         * nscd/netgroupcache.c: New file.
67986         * nscd/nscd_netgroup.c: New file.
67987         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67988         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67989         For four parameters use innetgr.
67990         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67991         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67992         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67993         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67995         * nscd/connections.c (register_traced_file): Don't register file
67996         for disabled databases.
67998 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68000         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68002         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68003         from tree and freeing node.
68005 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68007         * nss/nsswitch.c (__nss_database_lookup): Handle
68008         nss_parse_service_list out of memory case.
68010 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68012         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68013         out of memory case.
68015 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68017         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68018         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68019         pass it down.
68020         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68021         elf_machine_rela, elf_machine_lazy_rel.
68022         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68023         (ELF_DYNAMIC_DO_REL): Likewise.
68024         (ELF_DYNAMIC_DO_RELA): Likewise.
68025         (ELF_DYNAMIC_RELOCATE): Likewise.
68026         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68027         to ELF_DYNAMIC_DO_REL.
68028         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68029         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68030         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68031         elf_machine_rela.
68032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68033         skip_ifunc, don't call ifunc function if non-zero.
68034         (elf_machine_rela): Likewise.
68035         (elf_machine_lazy_rel): Likewise.
68036         (elf_machine_lazy_rela): Likewise.
68037         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68038         (elf_machine_lazy_rel): Likewise.
68039         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68040         Likewise.
68041         (elf_machine_lazy_rel): Likewise.
68042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68043         Likewise.
68044         (elf_machine_lazy_rel): Likewise.
68045         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68046         (elf_machine_lazy_rel): Likewise.
68047         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68048         (elf_machine_lazy_rel): Likewise.
68049         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68050         (elf_machine_lazy_rel): Likewise.
68051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68052         (elf_machine_lazy_rel): Likewise.
68053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68054         (elf_machine_lazy_rel): Likewise.
68055         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68056         (elf_machine_lazy_rel): Likewise.
68058 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68060         * nss/nss_files/files-init.c (_nss_files_init): Use static
68061         initialization for all the *_traced_file variables.
68063 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68065         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68067 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68069         [BZ #13226]
68070         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68072 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68074         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68075         Reread the line before reparsing it.
68077 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68079         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68081 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68082             Maxim Kuvyrkov  <maxim@codesourcery.com>
68083             Joseph Myers  <joseph@codesourcery.com>
68085         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68086         if needed for __stack_chk_guard.
68088 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68090         * sysdeps/posix/spawni.c (script_execute): Always define it.
68091         It will be optimized away if unused.
68092         (maybe_script_execute): New function.
68093         (__spawni): Call it.
68095         * Makerules: Don't include tls.make.
68096         (config-tls): Always set to thread.
68097         * tls.make.c: File removed.
68099 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68101         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68102         * config.make.in (CPPFLAGS-config): New substituted variable.
68104 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68106         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68108         [BZ #13192]
68109         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68110         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68112 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68114         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68115         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68116         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68117         (CALL_FAIL): Likewise.
68118         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68119         (CALL_FAIL): Macro removed.
68120         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68122 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68124         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68125         for __FINITE_MATH_ONLY__ == 1.
68127 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68129         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68130         __ieee754_sqrt instead of sqrt.
68131         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68132         __ieee754_sqrtf instead of sqrtf.
68133         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68134         __floorf instead of floorf.
68135         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68136         __floorf, __truncf instead of floorf, truncf.
68138 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68140         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68142         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68143         __extern_always_inline.
68144         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68145         32-bit.
68147 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68149         * elf/rtld.c (dl_main): Also relocate in dependency order when
68150         doing symbol dependency testing.
68152 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68155         Always define `refsym'.
68157 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68159         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68160         (__FD_ELT): Renamed from __FDELT.
68161         * misc/bits/select2.h (__FD_ELT): Likewise.
68162         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68163         __FD_MASK instead of __FDELT, __FDMASK.
68164         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68165         Likewise.
68166         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68167         Likewise.
68169         * elf/Makefile (gen-ldd): Fix pattern.
68171         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68172         (init_tls): Likewise.
68174 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68176         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68178 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68180         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68181         `struct cmsghdr *' instead of `void *'.
68182         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68183         Likewise.
68185 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68187         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68188         if non-absolute.
68189         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68190         ldd_rewrite_script.
68192 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68194         * configure.in: Remove --with-tls option.
68195         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68196         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68197         out in case it is missing.
68198         * sysdeps/ia64/elf/configure.in: Likewise.
68199         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68200         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68201         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68202         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68203         * sysdeps/sh/elf/configure.in: Likewise.
68204         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68205         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68206         * sysdeps/x86_64/elf/configure.in: Likewise.
68207         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68208         * sysdeps/mach/hurd/tls.h: Likewise.
68210         [BZ #13067]
68211         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68213         [BZ #13090]
68214         * configure.in: Fix use of AC_INIT.
68216         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68218 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68220         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68221         __set_errno.
68222         * malloc/hooks.c: Likewise.
68224         [BZ #11929]
68225         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68226         variables statically.
68227         (narenas): Initialize.
68228         (list_lock): Initialize.
68229         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68230         initializtion of main_arena and list_lock.  Small cleanups.
68231         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68232         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68233         Add initializers to main_arena and mp_.
68234         (malloc_state): Remove pagesize member.  Change all users to use
68235         GLRO(dl_pagesize).
68237         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68238         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68239         is always initialized.
68241         * malloc/malloc.c: Removed unused configurations and dead code.
68242         * malloc/arena.c: Likewise.
68243         * malloc/hooks.c: Likewise.
68244         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68246         * include/tls.h: Removed.  USE___THREAD must always be defined.
68247         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68248         * elf/dl-libc.c: Likewise.
68249         * elf/dl-tsd.c: Likewise.
68250         * include/errno.h: Likewise.
68251         * include/netdb.h: Likewise.
68252         * include/resolv.h: Likewise.
68253         * inet/herrno-loc.c: Likewise.
68254         * inet/herrno.c: Likewise.
68255         * malloc/arena.c: Likewise.
68256         * malloc/hooks.c: Likewise.
68257         * malloc/malloc.c: Likewise.
68258         * resolv/res-state.c: Likewise.
68259         * resolv/res_libc.c: Likewise.
68260         * sysdeps/i386/dl-machine.h: Likewise.
68261         * sysdeps/ia64/dl-machine.h: Likewise.
68262         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68263         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68264         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68265         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68266         * sysdeps/sh/dl-machine.h: Likewise.
68267         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68268         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68269         * sysdeps/unix/i386/sysdep.S: Likewise.
68270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68271         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68272         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68276         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68280         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68281         * sysdeps/x86_64/dl-machine.h: Likewise.
68282         * tls.make.c: Likewise.
68284         * configure.in: Remove --with-__thread option.  Make tests for
68285         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68286         tls_model attribute fail if no support is available.  Remove
68287         USE_IN_LIBIO.
68288         * Makeconfig: Adjust for dropped configure option.  All features are
68289         now mandatory.
68290         * Makerules: Likewise.
68291         * Versions.def: Likewise.
68292         * argp/argp-fmtstream.c: Likewise.
68293         * argp/argp-fmtstream.h: Likewise.
68294         * argp/argp-help.c: Likewise.
68295         * assert/assert.c: Likewise.
68296         * config.h.in: Likewise.
68297         * config.make.in: Likewise.
68298         * configure: Likewise.
68299         * configure.in: Likewise.
68300         * csu/Versions: Likewise.
68301         * csu/init.c: Likewise.
68302         * elf/tst-audit2.c: Likewise.
68303         * elf/tst-tls10.c: Likewise.
68304         * elf/tst-tls10.h: Likewise.
68305         * elf/tst-tls11.c: Likewise.
68306         * elf/tst-tls12.c: Likewise.
68307         * elf/tst-tls14.c: Likewise.
68308         * elf/tst-tlsmod11.c: Likewise.
68309         * elf/tst-tlsmod12.c: Likewise.
68310         * elf/tst-tlsmod13.c: Likewise.
68311         * elf/tst-tlsmod13a.c: Likewise.
68312         * elf/tst-tlsmod14a.c: Likewise.
68313         * elf/tst-tlsmod15b.c: Likewise.
68314         * elf/tst-tlsmod16a.c: Likewise.
68315         * elf/tst-tlsmod16b.c: Likewise.
68316         * elf/tst-tlsmod7.c: Likewise.
68317         * elf/tst-tlsmod8.c: Likewise.
68318         * elf/tst-tlsmod9.c: Likewise.
68319         * gmon/gmon.c: Likewise.
68320         * grp/fgetgrent_r.c: Likewise.
68321         * grp/putgrent.c: Likewise.
68322         * hurd/fopenport.c: Likewise.
68323         * include/libc-symbols.h: Likewise.
68324         * include/tls.h: Likewise.
68325         * intl/gettextP.h: Likewise.
68326         * intl/loadinfo.h: Likewise.
68327         * locale/global-locale.c: Likewise.
68328         * locale/localeinfo.h: Likewise.
68329         * mach/devstream.c: Likewise.
68330         * malloc/arena.c: Likewise.
68331         * malloc/set-freeres.c: Likewise.
68332         * misc/err.c: Likewise.
68333         * misc/getttyent.c: Likewise.
68334         * misc/mntent_r.c: Likewise.
68335         * posix/getopt.c: Likewise.
68336         * posix/wordexp.c: Likewise.
68337         * pwd/fgetpwent_r.c: Likewise.
68338         * resolv/Versions: Likewise.
68339         * resolv/res_hconf.c: Likewise.
68340         * shadow/fgetspent_r.c: Likewise.
68341         * shadow/putspent.c: Likewise.
68342         * stdio-common/printf_fphex.c: Likewise.
68343         * stdio-common/tmpfile.c: Likewise.
68344         * stdlib/abort.c: Likewise.
68345         * stdlib/fmtmsg.c: Likewise.
68346         * sunrpc/auth_unix.c: Likewise.
68347         * sunrpc/clnt_perr.c: Likewise.
68348         * sunrpc/clnt_tcp.c: Likewise.
68349         * sunrpc/clnt_udp.c: Likewise.
68350         * sunrpc/clnt_unix.c: Likewise.
68351         * sunrpc/openchild.c: Likewise.
68352         * sunrpc/svc_simple.c: Likewise.
68353         * sunrpc/svc_tcp.c: Likewise.
68354         * sunrpc/svc_udp.c: Likewise.
68355         * sunrpc/svc_unix.c: Likewise.
68356         * sunrpc/xdr.c: Likewise.
68357         * sunrpc/xdr_array.c: Likewise.
68358         * sunrpc/xdr_rec.c: Likewise.
68359         * sunrpc/xdr_ref.c: Likewise.
68360         * sunrpc/xdr_stdio.c: Likewise.
68362 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68364         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68366 2011-07-03  Andreas Jaeger  <aj@suse.de>
68368         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68369         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68370         regenerate with gen-libm-tests.pl.
68372 2010-05-12  Petr Baudis  <pasky@suse.cz>
68374         [BZ #11589]
68375         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68376         around j0() zero points by switching to j1().
68377         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68378         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68380         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68382 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68384         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68385         instead of 0.
68386         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68387         instead of 0.
68388         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68389         Patch in part by Pavel Roskin <proski@gnu.org>.
68391         [BZ #13138]
68392         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68393         realloc.
68394         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68395         Free memory block if necessary.
68397         [BZ #12847]
68398         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68399         be NULL.  Don't lock in this case.
68401 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68403         * elf/elf.h (ELFOSABI_GNU): New macro.
68404         (ELFOSABI_LINUX): Define to that.
68406 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68408         * string/strncat.c (strncat): Undef the symbol in case it has been
68409         defined in bits/string.h.
68411 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68413         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68415         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68416         link map.
68418 2011-08-17  Andreas Jaeger  <aj@suse.de>
68420         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68422 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68423             Ian Lance Taylor  <iant@google.com>
68425         * math/libm-test.inc (lround_test): New testcase.
68426         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68428 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68430         * Makefile: Remove support for automatic cvs check-ins.
68431         * Makerules: Likewise.
68432         * config.make.in: Likewise.
68433         * configure.in: Likewise.
68434         * intl/Makefile: Likewise.
68435         * locale/Makefile: Likewise.
68436         * po/Makefile: Likewise.
68437         * posix/Makefile: Likewise.
68438         * sysdeps/gnu/Makefile: Likewise.
68439         * sysdeps/mach/hurd/Makefile: Likewise.
68440         * sysdeps/sparc/sparc32/Makefile: Likewise.
68442         [BZ #13118]
68443         * posix/Makefile (bug-regex32-ENV): Define.
68444         Patch by John Stanley <jpsinthemix@verizon.net>.
68446         * misc/Makefile (headers): Add bits/select2.h.
68447         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68448         * misc/bits/select2.h: New file.
68449         * include/bits/select2.h: New file.
68450         * debug/Makefile (routines): Add fdelt_chk.
68451         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68452         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68453         FD_ISSET.
68454         * debug/fdelt_chk.c: New file.
68456         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68457         * wcsmbs/test-wmemcmp.c: Likewise.
68458         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68459         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68461 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68463         * string/Makefile (strop-tests): Add memcmp.
68464         * string/test-wmemcmp.c: New file.
68465         * string/test-memcmp.c: Add wmemcmp support.
68467 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68469         [BZ #13153]
68470         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68471         2011-07-19 change.
68473         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68474         garbage value in a __mach_port_mod_refs call in the cases of the
68475         task-self and thread-self ports.
68477 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68479         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68481 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68483         * elf/dl-load.c (lose): Check for non-null L.
68485 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68487         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68489         * elf/dl-libc.c (dlerror_run): Pass back error code from
68490         dl_catch_error.
68492         [BZ #13123]
68493         * elf/dl-load.c (lose): Free l_origin if it is valid.
68495         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68496         names.
68497         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68499         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68500         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68501         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68502         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68504 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68506         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68507         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68508         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68509         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68510         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68511         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68512         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68513         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68514         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68515         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68517 2011-08-15  Alan Modra  <amodra@gmail.com>
68519         [BZ #13092]
68520         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68521         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68522         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68523         ppc_mcount to static-only-routines.
68524         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68525         __mcount_internal.
68526         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68527         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68529 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68531         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68532         for finite and infinity parameters.
68534 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68536         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68537         and add nop instructions for throughput optimization.
68538         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68540 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68542         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68543         aligned copy for power7 with vector-scalar instructions.
68544         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68546 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68548         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68549         AVX check.
68551 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68553         [BZ #13144]
68554         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68555         last change.
68557 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68559         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68560         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68561         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68562         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68563         clock_gettime.
68565 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68567         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68568         Forgot to demangle the pointer.
68570         * sysdeps/i386/sysdep.h: Define atom_text_section.
68571         * sysdeps/x86_64/sysdep.h: Likewise.
68572         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68573         section with atom_text_section.
68574         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68575         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68576         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68577         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68578         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68580         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68581         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68582         already be defined.  Change to take two parameters and don't assign
68583         result to variable.  Adjust all users.
68584         Define INTERNAL_GETTIME if not already defined.
68585         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68586         call.
68587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68588         HAVE_CLOCK_GETTIME_VSYSCALL.
68589         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68592         gettimeofday vsyscall, just use time.
68594 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68596         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68597         <errno.h>.
68599 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68601         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68602         syscall on x86-64.
68603         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68604         syscall.
68605         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68606         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68607         syscall if possible.
68609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68611         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68612         e_ident.  Don't pass to find_mapsXX.
68613         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68615 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68618         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68619         * sysdeps/x86_64/multiarch/strchr.S: Update.
68620         Check bit_slow_BSF bit.
68621         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68622         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68623         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68625 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68627         [BZ #13134]
68628         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68629         before glibc 2.15.
68630         (tryshell): Define.
68631         (__spawni): Change last parameter to be flag.  Test
68632         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68633         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68634         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68635         * posix/spawni.c: Likewise.
68636         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68637         * posix/spawnp.c: Likewise.  Change normal version to use
68638         SPAWN_XFLAGS_USE_PATH.
68639         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68640         SPAWN_XFLAGS_TRY_SHELL.
68642         [BZ #13150]
68643         * posix/glob.h: Remove gcc 1.x support.
68645         [BZ #13068]
68646         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68648 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68651         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68652         strrchr-sse2-bsf
68653         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68654         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68655         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68656         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68657         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68658         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68660 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68662         * sysdeps/x86_64/wcscmp.S: New file.
68664         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68665         wcscmp-c wcscmp-sse2
68666         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68667         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68668         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68669         * wcsmbs/wcscmp.c: Allow renaming.
68671 2011-09-05  David S. Miller  <davem@davemloft.net>
68673         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68674         stack slot, rather than the struct return pointer slot.
68675         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68676         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68678         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68680 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68682         * po/ja.po: Update from translation team.
68684         [BZ #13144]
68685         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68686         kernel in 64-bit binaries.
68688 2011-09-01  David S. Miller  <davem@davemloft.net>
68690         * elf/elf.h (HWCAP_SPARC_*): Move to..
68691         * sysdeps/sparc/sysdep.h: this new file and add new values.
68692         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68693         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68694         _DL_HWCAP_COUNT to 24.
68695         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68696         entries.
68697         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68698         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68699         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68700         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68701         instead of magic constants.
68702         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68704 2011-08-31  David S. Miller  <davem@davemloft.net>
68706         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68708         Reimplement to do errno handling inline.
68709         (SYSCALL_ERROR_HANDLER): New macro.
68710         (__SYSCALL_STRING): Do not do errno handling in asm.
68711         (__CLONE_SYSCALL_STRING): Delete.
68712         (__INTERNAL_SYSCALL_STRING): Delete.
68713         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68714         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68715         (PSEUDO): Reimplement to do errno handling inline.
68716         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68717         (SYSCALL_ERROR_HANDLER): New macro.
68718         (__SYSCALL_STRING): Do not do errno handling in asm.
68719         (__CLONE_SYSCALL_STRING): Delete.
68720         (__INTERNAL_SYSCALL_STRING): Delete.
68721         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68722         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68723         i386.
68724         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68725         (inline_syscall*): Add 'err' argument.
68726         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68727         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68728         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68729         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68731         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68732         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68734 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68736         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68738 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68740         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68741         directive.
68743 2011-08-24  David S. Miller  <davem@davemloft.net>
68745         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68747 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68749         * elf/Makefile: Add rules to build and run unload8 test.
68750         * elf/unload8.c: New file.
68751         * elf/unload8mod1.c: New file.
68752         * elf/unload8mod1x.c: New file.
68753         * elf/unload8mod2.c: New file.
68754         * elf/unload8mod3.c: New file.
68756         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68757         it wasn't used.
68759 2011-08-23  David S. Miller  <davem@davemloft.net>
68761         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68762         subtract stack bias.
68763         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68764         %sp not %fp in calculations.
68765         (_JMPBUF_UNWINDS_ADJ): Likewise.
68767         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68768         (aio_suspend): Call it to force an exception region around the
68769         AIO_MISC_WAIT() invocation.
68771 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68773         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68774         backslash.
68776 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68778         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68779         protection macro.
68780         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68781         and <dl-machine.h>.
68782         (Elf64_FuncDesc): Remove.
68784 2011-08-22  David S. Miller  <davem@davemloft.net>
68786         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68787         sigaltstack check, add missing cfi directives.
68788         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68789         missing cfi directives, and sigaltstack handling.
68791 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68793         [BZ #11724]
68794         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68795         object is seen twice.
68796         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68798         * elf/Makefile (distribute): Add tst-initorder2.c.
68799         (tests): Add tst-initorder2.
68800         (modules-names): Add tst-initorder2a tst-initorder2b
68801         tst-initorder2c tst-initorder2d.  Add rules to build them.
68802         ($(objpfx)tst-initorder2.out): New rule.
68803         * elf/tst-initorder2.c: New file.
68804         * elf/tst-initorder2.exp: New file.
68806 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68808         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68810         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68811         dependencies back to end of function.
68813         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68814         $(elfobjdir)/ld.so.
68816 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68818         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68819         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68820         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68821         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68822         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68823         of __vdso_gettimeofday.
68824         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68825         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68826         attribute_hidden.
68827         (_libc_vdso_platform_setup): Remove initialization of
68828         __vdso_gettimeofday and __vdso_time.
68830 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68832         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68833         and fgetc_unlocked.
68834         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68835         getc_unlocked.
68837         * elf/dl-open.c (add_to_global): Report additions to the global scope
68838         for LD_DEBUG=scopes.
68839         (dl_open_worker): Also print scope of newly loaded dependencies.
68840         (_dl_show_scope): Indicate if there is no scope.
68842         [BZ #13114]
68843         * stdio-common/Makefile (tests): Add bug24.
68844         * stdio-common/bug24.c: New file.
68846 2011-08-19  Andreas Jaeger  <aj@suse.de>
68848         [BZ #13114]
68849         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68850         non-existant file when using close-on-exec mode.
68852 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68855         the very first instruction.
68857         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68858         the CFI state in the end.
68859         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68860         inclusion of dl-trampoline.h.
68861         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68863 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68865         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68866         expectations for long double.
68868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68869         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68871 2011-08-14  David S. Miller  <davem@davemloft.net>
68873         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68874         artificual limit depends upon the system page size.
68876 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68878         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68879         * resolv/Makefile: Define CFLAGS-libresolv.
68881 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68883         * nss/makedb.c (compute_tables): Make variables used in nested
68884         function static.
68886 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68888         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68889         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68890         if buffer was too small.
68892         * elf/pldd.c (main): Attach to all threads in the process.
68893         Rewrite /proc handling to use *at functions.
68895 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68897         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68898         specifies first scope to show.
68899         (dl_open_worker): Update callers.  Move printing scope of new
68900         object to before the relocation.
68901         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68902         * sysdeps/generic/ldsodefs.h: Update declaration.
68904         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68905         string for the scope number.
68907 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68909         * nscd/servicescache.c (cache_addserv): Make sure written is always
68910         initialized.
68912 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68914         * sysdeps/i386/i486/bits/atomic.h
68915         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68916         statement expression, so as to suppress "set but not used" warning.
68917         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68919         * string/strncat.c (STRNCAT): Use prototype definition.
68921         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68922         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68923         -Iprograms here.
68924         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68925         (localedef-modules): Add localedef.
68926         (locale-modules): Add locale.
68928         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68929         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68930         to avoid a warning.
68932 2011-08-14  David S. Miller  <davem@davemloft.net>
68934         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68935         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68937 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68939         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68940         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68941         * elf/rtld.c (dl_main): Set l_name of vDSO.
68942         Call _dl_show_scope when DL_DEBUG_SCOPES.
68943         (process_dl_debug): Recognize scopes flag and also set it for all.
68944         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68945         Declare _dl_show_scope.
68947         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68948         (do_dlopen): Pass caller_dlopen to dl_open.
68949         (__libc_dlopen_mode): Initialize caller_dlopen.
68951         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68952         of libc.  Make tolower call locale-independent.  Optimize a bit by
68953         using isdigit instead of isalnum.
68954         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68956 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68958         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68959         was a dependency or dynamically loaded.
68961 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68963         * intl/l10nflist.c: Allow architecture-specific pop function.
68964         * sysdeps/x86_64/l10nflist.c: New file.
68966         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68967         classification.
68969 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68971         * include/dirent.h: Add libc_hidden_proto for scandirat and
68972         scandirat64.  Don't declare __scandirat64.
68973         * dirent/scandirat.c: Add libc_hidden_def.
68974         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68975         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68977 2011-08-10  David S. Miller  <davem@davemloft.net>
68979         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68980         enum.
68981         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68982         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68983         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68985 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68987         * Versions.def [libc]: Add GLIBC_2.15.
68988         * dirent/Makefile (routines): Add scandirat and scandirat64.
68989         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68990         GLIBC_2.15.
68991         * dirent/dirent.h: Declare scandirat and scandirat64.
68992         * dirent/scandirat.c: New file.
68993         * dirent/scandirat64.c: New file.
68994         * sysdeps/wordsize-64/scandirat.c: New file.
68995         * sysdeps/wordsize-64/scandirat64.c: New file.
68996         * dirent/opendir.c: Define opendirat.
68997         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68998         using scandirat.
68999         * dirent/scandir64.c: Adjust for scandir.c change.
69000         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69001         __scandirat64, and __scandir_cancel_handler.
69002         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69003         additional parameter and use openat instead of open (outside of ld.so).
69004         Add new __opendir as wrapper around __opendirat.
69005         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69006         here without requiring old scandirat implementation.
69008 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69010         * dirent/scandir.c (cancel_handler): Renamed to
69011         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69012         defined.  Adjust users.
69013         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69014         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69016 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69018         * string/test-string.h (IMPL): Use __STRING to expand name and then
69019         stringify it.
69021         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69022         of cleanups.
69024 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69026         * string/Makefile: Update.
69027         (strop-tests): Append strncat.
69028         * string/test-wcscmp.c: New file.
69029         New comprehensive test for wcscmp.
69030         * string/test-strcmp.c: Update.
69031         (WIDE): New define.
69033 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69035         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69036         line.
69038 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69041         encoding to ACE if AI_IDN.
69043 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69045         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69046         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69048 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69050         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69051         Fix overflow bug in strncat.
69052         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69054         * string/test-strncat.c: Update.
69055         Add new tests for checking overflow bugs.
69057 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69060         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69061         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69062         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69063         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69064         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69065         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69066         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69067         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69069         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69070         (USE_AS_STRCAT): Define.
69071         Add strcat and strncat support.
69072         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69074 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69076         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69077         __n bigger than INT_MAX+1.
69078         (__strncmp_g): Likewise.
69080 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69082         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69083         * libio/stido.h: Likewise.
69085         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69086         (AF_NFC): Define.
69087         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69088         (AF_NFC): Define.
69090         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69091         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69092         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69093         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69094         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69096         [BZ #13021]
69097         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69098         installed.
69100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69101         typo.
69102         (_dl_x86_64_save_sse): Likewise.
69104 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69106         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69107         OSXSAVE.
69108         (_dl_x86_64_save_sse): Likewise.
69110         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69112         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69114 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69117         change.
69118         (_dl_x86_64_save_sse): Use correct AVX check.
69120 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69122         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69123         bug in strncpy/strncat.
69124         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69126 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69128         * string/tester.c (test_strcat): Add tests for different alignments
69129         of source and destination.
69130         (test_strncat): Likewise.
69132 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69134         [BZ #12852]
69135         * posix/glob.c (glob): Check passed in values before using them in
69136         expressions to avoid some overflows.
69137         (glob_in_dir): Likewise.
69139         [BZ #13007]
69140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69141         check for AVX enablement so that we don't crash with old kernels and
69142         new hardware.
69143         * elf/tst-audit4.c: Add same checks here.
69144         * elf/tst-audit6.c: Likewise.
69146         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69148 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69150         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69152 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69154         * po/cs.po: Update from translation team.
69155         * po/bg.po: Likewise.
69157 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69159         * misc/sys/cdefs.h: Add support for const attribute.
69160         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69161         to gnu_dev_{major,minor,makedev} functions.
69163 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69165         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69167 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69169         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69170         strlen results.
69172 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69175         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69176         register in order to avoid conflicts with the soft frame pointer
69177         being held in r11 when necessary.
69178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69179         (INTERNAL_VSYSCALL_NCS): Likewise.
69181 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69183         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69184         * elf/dl-fini.c (_dl_fini): Adjust caller.
69185         * elf/dl-close.c (_dl_close_worker): Likewise.
69186         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69188 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69190         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69191         "aux_cache->nlibs < 0".
69193         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69194         in the reload-count case.
69196 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69199         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69200         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69201         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69202         * sysdeps/x86_64/multiarch/strcat.S: New file.
69203         * sysdeps/x86_64/multiarch/strncat.S: New file.
69204         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69205         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69206         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69207         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69208         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69209         (USE_AS_STRCAT): Define.
69210         Add strcat and strncat support.
69211         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69212         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69213         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69214         * string/strncat.c: Update.
69215         (USE_AS_STRNCAT): Define.
69216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69217         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69218         and i7.
69219         * sysdeps/x86_64/multiarch/init-arch.h
69220         (bit_Prefer_PMINUB_for_stringop): New.
69221         (index_Prefer_PMINUB_for_stringop): Likewise.
69222         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69223         bit_Prefer_PMINUB_for_stringop.
69225 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69227         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69228         buffer64.
69229         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69230         of casting of buffer.
69231         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69232         buffer32 and buffer64.
69233         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69234         writes instead of casting of buffer.
69235         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69236         buffer32.
69237         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69238         casting of buffer.
69240 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69242         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69244 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69246         * nscd/nscd.c (termination_handler): Don't do anything for a database
69247         if it has not yet been initialized.
69249 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69251         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69253 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69255         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69257 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69259         * po/nl.po: Update from translation team.
69260         * po/sv.po: Likewise.
69262 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69264         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69265         now disallowed by GCC.
69267         * configure.in (use-default-link): Default to yes if a test -shared
69268         link meets our qualifications.
69269         * configure: Regenerated.
69271         * config.make.in (output-format): New variable.
69272         * configure.in: Check for ld --print-output-format support.
69273         * configure: Regenerated.
69274         * Makerules ($(common-objpfx)format.lds)
69275         [$(output-format) != unknown]: Just use $(output-format),
69276         instead of the linker-script munging.
69278 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69280         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69281         of $(common-objpfx)shlib.lds.
69282         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69284         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69285         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69287         * configure.in (-z relro check): Adjust test code to add a large
69288         writable data section after it.
69289         * configure: Regenerated.
69291 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69293         * configure.in (-z relro check): Fix test code to make the variable
69294         truly const.
69295         * configure: Regenerated.
69297 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69299         * nscd/nscd.h (struct traced_file): Define.
69300         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69301         elements.  Add traced_files.
69302         (inotify_fd): Declare.
69303         (register_traced_file): Declare.
69304         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69305         (inotify_fd): Export.
69306         (resolv_conf_descr): Remove.
69307         (nscd_init): Move inotify descriptor creation to main.
69308         Don't register files for notification here.
69309         (register_traced_file): New function.
69310         (invalidate_cache): Don't use reset_res to determine whether to call
69311         res_init, go through the list of registered files.
69312         (main_loop_poll): The inotify descriptors are now stored in the
69313         structures for the traced files.
69314         (main_loop_epoll): Likewise.
69315         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69316         to __nss_disable_nscd.
69317         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69318         for a database anymore.  Check the records for all the registered
69319         files instead.
69320         * nss/Makefile (libnss_files-routines): Add files-init.
69321         (libnss_db-routines): Add db-init.
69322         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69323         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69324         * nss/nss_db/db-init.c: New file.
69325         * nss/nss_files/files-init.c: New file.
69326         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69327         __nss_lookup_function.
69328         (__nss_lookup_function): Call nss_load_library.
69329         (nss_load_all_libraries): New function.
69330         (__nss_disable_nscd): Take parameter with callback function for files
69331         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69332         used for the cached services.
69333         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69334         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69335         options for features to all the files in nscd.
69337         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69339 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69341         * csu/elf-init.c (__libc_csu_init): Comment typo.
69343 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69345         * po/pl.po: Update from translation team.
69346         * po/ja.po: Likewise.
69347         * po/ru.po: Likewise.
69348         * po/ko.po: Likewise.
69349         * po/fr.po: Likewise.
69351 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69353         * configure.in (.ctors/.dtors header and trailer check):
69354         Use an empirical test on a built program.
69355         * configure: Regenerated.
69357         * configure.in (-z relro check): Use an empirical test on a built DSO.
69358         Detect, but do not require, on ia64.
69359         * configure: Regenerated.
69361         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69362         Update tests that use readelf to use $READELF instead.
69363         * configure: Regenerated.
69365 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69367         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69368         if the result is not used.
69370 2011-07-05  Andreas Jaeger  <aj@suse.de>
69372         [BZ#9696]
69373         * stdlib/tst-strtod.c: Add testcase.
69375 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69377         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69378         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69379         The latter has a higher limit.  Take additional parameter to pass to
69380         the new function.
69381         (__pathconf): Pass file to __statfs_link_max.
69382         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69383         __statfs_link_max.
69384         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69385         __statfs_link_max.
69387         [BZ #12868]
69388         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69389         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69390         Handle Lustre.
69391         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69392         (__statfs_filesize_max): Likewise.
69393         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69395 2011-07-05  Andreas Jaeger  <aj@suse.de>
69397         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69399 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69401         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69402         `status' variable.
69403         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69404         Likewise.
69406 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69408         * Makefile (strop-tests): Add strncat.
69409         * string/test-strncat.c: New file.
69411 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69413         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69415 2011-06-21  Andreas Jaeger  <aj@suse.de>
69417         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69418         Copy rule from iconvdata/Makefile.
69420 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69422         [BZ #12922]
69423         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69424         but no long options are defined, just return 'W'.
69426 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69428         [BZ #9696]
69429         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69431 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69433         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69434         netgroups to read.
69435         (innetgr): Likewise.
69437 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69439         * config.make.in (install_root): Default to $(DESTDIR).
69441 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69443         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69445 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69447         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69449         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69450         containing directory rather than embedding absolute directory names.
69452         * scripts/check-local-headers.sh: Rewritten using awk.
69453         Match by word, not by line.  Print error messages for matches.
69454         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69456         * Makerules [shlib-lds-flags empty]:
69457         ($(common-objpfx)libc_pic.opts): New target.
69458         ($(common-objpfx)libc_pic.os.clean): New target.
69459         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69461         * config.make.in (OBJCOPY): New variable.
69462         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69463         * configure: Regenerated.
69465         * config.make.in (use-default-link): New variable.
69466         * configure.in (use_default_link): Grok --with-default-link to set it.
69467         * configure: Regenerated.
69468         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69469         (shlib-lds, shlib-lds-flags): Define to empty.
69471         * Makerules (shlib-lds): New variable.
69472         (shlib-lds-flags): New variable.
69473         (build-shlib, build-moduile, build-module-asneeded): Use it.
69474         ($(common-objpfx)libc.so): Use $(shlib-lds).
69475         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69476         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69478         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69479         DT_FLAGS/DT_FLAGS_1 with zero flags.
69481         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69482         linker script munging.
69484 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69486         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69487         as 128-bit value.
69488         * crypt/sha512.c (sha512_process_block): Perform total addition using
69489         128-bit if possible.
69490         (__sha512_finish_ctx): Likewise.
69491         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69492         as 64-bit value.
69493         * crypt/sha256.c (SWAP64): Define.
69494         (sha256_process_block): Perform total addition using 64-bit if
69495         possible.
69496         (__sha256_finish_ctx): Likewise.
69498 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69500         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69501         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69502         * nscd/hstcache.c (cache_addhst): Likewise.
69503         * nscd/grpcache.c (cache_addgr): Likewise.
69504         * nscd/aicache.c (addhstaiX): Likewise.
69505         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69507 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69509         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69511         * nscd/hstcache.c (cache_addhst): Likewise.
69512         * nscd/grpcache.c (cache_addgr): Likewise.
69513         * nscd/aicache.c (addhstaiX): Likewise.
69515 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69517         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69518         domain only when needed.
69520 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69523         is always restored.
69525 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69527         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69528         are re-adding the entry.
69529         * nscd/servicescache.c (cache_addserv): Likewise.
69531 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69533         * sysdeps/generic/dl-irel.h: fix protection against multiple
69534         inclusions.
69535         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69537 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69539         [BZ #12935]
69540         * malloc/memusage.sh: Fix quoting in message.
69541         * debug/xtrace.sh: Likewise.
69543         * configure.in: Remove support for --experimental-malloc option, make
69544         it the default.
69545         * config.make.in: Likewise.
69546         * malloc/Makefile: Likewise.
69548 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69550         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69551         two-byte characters.
69553 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69555         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69556         AC_CACHE_CHECK invocation.
69557         * configure: Regenerated.
69559         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69561 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69563         [BZ #12350]
69564         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69565         bit from old_res_options.
69567         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69569         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69570         value type for setfct.
69572 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69574         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69575         __gettimeofday instead of gettimeofday.
69577 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69579         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69581 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69583         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69586         info.
69588 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69591         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69592         strcpy-sse2-unaligned strncpy-sse2-unaligned
69593         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69594         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69595         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69596         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69597         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69598         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69599         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69600         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69601         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69602         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69603         (STRCPY): Support SSE2 and SSSE3 versions.
69605 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69607         [BZ #12874]
69608         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69609         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69610         kernels which artificially limit size of requests.
69612 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69615         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69616         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69617         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69618         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69619         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69620         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69621         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69622         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69623         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69624         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69625         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69626         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69627         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69628         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69630         Enable unaligned load optimization for Intel Core i3, i5 and i7
69631         processors.
69632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69633         Define.
69634         (index_Fast_Unaligned_Load): Define.
69635         (HAS_FAST_UNALIGNED_LOAD): Define.
69637 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69639         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69641 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69643         [BZ #12907]
69644         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69645         until it is clear that the information is realy needed.
69646         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69648 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69652 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69655         /sys/devices/system/cpu/online if it is usable.
69657         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69658         reading the information from the /proc filesystem to once a second.
69660 2011-06-21  Andreas Jaeger  <aj@suse.de>
69662         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69663         NULL after inclusion of kernel headers.
69665 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69667         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69668         calls to internal_setent.
69670         [BZ #12885]
69671         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69672         addresses using gethostbyname4_r ignore IPv4 addresses.
69674         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69675         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69677         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69679 2011-06-20  David S. Miller  <davem@davemloft.net>
69681         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69682         inclusions.
69683         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69685         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69686         (elf_irel): Use it.
69687         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69688         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69689         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69690         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69691         * sysdeps/x86_64/dl-irel.h: Likewise.
69693         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69694         * elf/dl-sym.c: Likewise.
69696 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69698         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69699         need to dereference resplen2.
69701 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69703         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69705 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69707         * Makeconfig: Define vardbdir and inst_vardbdir.
69708         * nss/Makefile: Add rules to install db-Makefile.
69710         * nss/nss_db/db-XXX.c: Cleanup.
69712         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69713         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69714         GLIBC_PRIVATE.
69715         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69716         * nss/makedb.c: Implement -g option to specify that value strings
69717         are generated and should not be added to table iterated over for
69718         get*ent calls.
69719         * nss/nss_db/db-initgroups.c: New file.
69721         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69722         interface.
69724         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69725         (internal_getgrouplist): Adjust to name change.
69726         Update use_initgroups_entry if this is not the first call.
69727         * nss/databases.def: Add initgroups entry.
69729         * nss/makedb.c (compute_tables): Check result of multiple hash table
69730         sizes to minimize maximum chain length.
69732 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69734         * Versions.def: Add entry for libnss_db.
69735         * shlib-versions: Likewise.
69736         * nss/Makefile: Add rules to build libnss_db.
69737         * nss/Versions: Add libnss_db information.  Organize libnss_files
69738         entries better.
69739         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69740         makedb progra.  Some minor improvements to generate smaller files.
69741         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69742         here from...
69743         * nss/makedb.c: ...here.
69744         Improve database format to be smaller and require less memory at
69745         runtime.
69746         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69747         db anymore.
69748         * nss/nss_db/db-netgrp.c: Likewise.
69749         * nss/nss_db/db-open.c: Likewise.
69750         * nss/nss_files/flies-XXX.x: Adjust comments.
69751         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69752         * nss/nss_files/files-grp.c: Likewise.
69753         * nss/nss_files/files-hosts.c: Likewise.
69754         * nss/nss_files/files-network.c: Likewise.
69755         * nss/nss_files/files-proto.c: Likewise.
69756         * nss/nss_files/files-pwd.c: Likewise.
69757         * nss/nss_files/files-rpc.c: Likewise.
69758         * nss/nss_files/files-service.c: Likewise.
69759         * nss/nss_files/files-sgrp.c: Likewise.
69760         * nss/nss_files/files-spwd.c: Likewise.
69761         * nss/nss_db/db-alias.c: Removed.
69762         * nss/nss_db/dummy-db.h: Removed.
69764 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69766         * nss/makedb.c: Rewritten to not use database library.
69767         * nss/Makefile: Update to build new makedb program.
69769 2011-06-14  Andreas Jaeger  <aj@suse.de>
69771         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69772         memset declaration.
69774 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69777         tmpbuf.
69779 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69781         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69782         * elf/Makefile ($(objpfx)ld.so): Likewise.
69784         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69785         Don't list ld.so twice in dependencies.
69787         * posix/bug-regex31.c: Include <stdlib.h>.
69789         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69791         * nis/nss_compat/compat-spwd.c
69792         (getspent_next_nss_netgr): Remove unused variable.
69793         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69795         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69796         nonmembers" output to use the right array.
69798         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69800         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69802         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69803         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69804         * catgets/gencat.c (read_input_file): Likewise.
69805         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69807         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69808         variable definition inside #if's controlling its use.
69810         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69812         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69814         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69816         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69817         unreachable code.
69819         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69821         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69822         * configure: Regenerated.
69824         * Makerules: Revert last change.
69825         * elf/Makefile: Likewise.
69827 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69829         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69830         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69831         (reloc-link): Likewise.
69833 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69835         * elf/Makefile: Add rules to build pldd.
69836         * elf/pldd.c: New file.
69837         * elf/pldd-xx.c: New file.
69839 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69841         * version.h: Update for 2.15 development version.
69843 2011-06-07  David S. Miller  <davem@davemloft.net>
69845         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69846         ifuncs.
69847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69848         elf_machine_lazy_rel): Likewise.
69849         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69851         elf_machine_lazy_rel): Likewise.
69852         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69853         dl_hwcap via passed in argument.
69854         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69855         Likewise.
69857 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69859         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69861 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69863         [BZ #12849]
69864         * manual/fdl-1.1.texi: New file, verbatim from:
69865         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69866         * manual/lgpl-2.1.texi: New file, verbatim from:
69867         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69868         * manual/Makefile (licenses): New variable, list those new file names.
69869         (texis): Use it.
69870         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69872         * manual/fdl.texi: File removed.
69873         * manual/lesser.texi: File removed.
69874         * manual/libc.texinfo (Copying, Documentation License):
69875         Use new @include file names, put @appendix directive before @include.
69877 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69879         [BZ #12841]
69880         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69881         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69882         (mq_open): Add __NTH.
69884 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69887         Assume Intel Core i3/i5/i7 processor if AVX is available.
69889 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69892         typo.
69894 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69896         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69897         memory.  Use alloca_account.  Fix memory leak when retrying.
69899 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69901         * version.h (RELEASE): Bump for 2.14 release.
69902         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69904         * config.make.in (RANLIB): Remove entry.
69906 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69908         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69909         (libc.pot): Work around missing support for .ksh extension in xgettext.
69911         [BZ #12684]
69912         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69913         if both request failed.
69914         (send_dg): In case of server errors clear resplen or *resplen2.
69916         [BZ #12454]
69917         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69918         when there are multiple maps.
69919         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69920         (_dl_fini): Remove test here.
69922         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69924 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69926         [BZ #12350]
69927         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69928         bit from old_res_options.
69929         (gaih_inet): Likewise.
69931         [BZ #11099]
69932         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69933         as signed.
69935         * resolv/res_init.c (res_setoptions): Make the code more compact.
69937         [BZ #11558]
69938         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69939         set RES_USEVC.
69941         [BZ #11634]
69942         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69944         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69946         [BZ #11781]
69947         * malloc/malloc.h: Declare malloc hook variables as volatile.
69949         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69950         in last patch.
69952         [BZ #11799]
69953         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69954         raise in the comment.
69955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69957         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69959 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69961         [BZ #12811]
69962         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69963         grow the buffers more if it already has to be sufficient.
69964         (build_wcs_upper_buffer): Likewise.
69965         * posix/regexec.c (check_matching): Likewise.
69966         (clean_state_log_if_needed): Likewise.
69967         (extend_buffers): Don't enlarge buffers beyond size of the input
69968         buffer.
69969         Patches mostly by Emil Wojak <emil@wojak.eu>.
69970         * posix/bug-regex32.c: New file.
69971         * posix/Makefile (tests): Add bug-regex32.
69973         * locale/findlocale.c (_nl_find_locale): Return right away if
69974         _nl_explode_name failed.
69975         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69977         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69979         * debug/xtrace.sh: Unify messages.
69980         * malloc/memusage.sh: Likewise.
69982         [BZ #12813]
69983         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69984         time symbol from vDSO.  Substitute with vsyscall if not available.
69985         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69986         __vdso_time.
69988         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69989         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69990         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69991         Add sendmmsg and internal_sendmmsg.
69992         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69993         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69996         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69997         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69998         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70000 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70002         [BZ #12813]
70003         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70004         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70005         available.
70006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70007         __vdso_getcpu.
70009         [BZ #12814]
70010         * iconvdata/Makefile (tests): Add bug-iconv9.
70011         * iconvdata/bug-iconv9.c: New file.
70013 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70015         [BZ #12814]
70016         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70018 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70020         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70021         (struct user_regs_struct): Change intcs field back to cs.
70023 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70025         * po/ja.po: Update from translation team.
70027 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70029         [BZ #12795]
70030         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70031         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70033 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70035         * stdlib/longlong.h: Update from GCC.
70037 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70039         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70040         parameter name.
70041         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70042         Add parameter name.
70043         (__sysconf): Pass it down.
70045 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70047         [BZ #12671]
70048         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70049         some situations.
70050         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70051         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70052         add in in __libc_use_alloca calls.  Adjust callers.
70053         (glob): Use malloc in some situations.
70055         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70056         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70057         pltexit.
70059 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70061         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70062         and CLOCK_BOOTTIME_ALARM.
70064         [BZ #12782]
70065         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70066         is returned.
70068         * string/_strerror.c (__strerror_r): Print negative errors as signed
70069         numbers.
70071         [BZ #12777]
70072         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70073         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70074         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70076         * configure.in: Fix typo in redirection and correct removal of test
70077         files in two cases.
70079         [BZ #12788]
70080         * locale/setlocale.c (new_composite_name): Fix test to check for
70081         identical name of all categories.
70083         [BZ #12792]
70084         * libio/filedoalloc.c (local_isatty): New function.
70085         (_IO_file_doallocate): Use local_isatty.
70086         * stdio-common/perror.c (perror): In case a new stream is used
70087         forward the stream error.
70088         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70089         error flag.
70091 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70093         [BZ #11884]
70094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70095         alloca.
70096         * include/alloca.h (extend_alloca_account): Define.
70098         [BZ #11857]
70099         * posix/regex.h: Fix comments with documentation of user-accessible
70100         fields after compilation and describe correct free'ing of pattern
70101         after re_compile_pattern.
70102         Patch by Reuben Thomas <rrt@sc3d.org>.
70104 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70106         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70107         and -mno-altivec to prevent the compiler from using Altivec and/or
70108         VSX instructions when the corresponding registers are not available.
70110 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70112         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70114 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70116         * libio/freopen.c (freopen): Use __dup2, not dup2.
70117         * libio/freopen64.c (freopen64): Likewise.
70119 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70121         [BZ #12775]
70122         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70123         * math/Makefile (tests): Add test-powl.
70124         (CFLAGS-test-powl.c): Define.
70125         * math/test-powl.c: New file.
70127 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70129         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70131 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70133         [BZ #11837]
70134         * iconvdata/gb18030.c: Update to GB18020-2005.
70136 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70138         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70139         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70140         Patch by Aharon Robbins <arnold@skeeve.com>.
70142         [BZ #11892]
70143         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70144         on the stack.
70146         [BZ #11895]
70147         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70148         through underflows.
70150         [BZ #12766]
70151         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70152         point to strings before performing equality test for error_one_per_line
70153         mode.
70155         [BZ #11697]
70156         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70158         [BZ #11820]
70159         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70160         (struct user_fpregs_struct): Avoid __uint*_t types.
70162         [BZ #6420]
70163         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70164         symbol info.  Use it instead of calling _dl_addr locally.
70165         (lock_and_info): New function.
70166         (tr_freehook): Call lock_and_info and pass symbol info as additional
70167         parameter to tr_where.
70168         (tr_mallochook): Likewise.
70169         (tr_reallochook): Likewise.
70170         (tr_memalignhook): Likewise.
70172         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70173         used and couldn't be at all thread-safe.
70175 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70177         * libio/freopen.c (freopen): Don't close old file descriptor
70178         before the new one is opened.  Instead dup the new file descriptor
70179         to the old one after the new stream is created.
70180         * libio/freopen64.c (freopen64): Likewise.
70181         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70182         * libio/fileops.c (_IO_new_file_close_it): Handle new
70183         _IO_FLAGS2_NOCLOSE flag.
70184         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70185         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70186         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70187         _IO_FLAGS2_NOCLOSE flag.
70188         * include/unistd.h: Add hidden_proto for dup3.
70189         Define __have_dup3.
70190         * io/dup3.c: Define hidden symbol.
70191         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70193         [BZ #7101]
70194         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70195         when an incomplete long option is used.
70196         * posix/tst-getopt_long1.c: New file.
70197         * posix/Makefile (tests): Add tst-getopt_long1.
70199         [BZ #10138]
70200         * scripts/config.guess: Update from autoconf-2.68.
70201         * scripts/config.sub: Likewise.
70203         [BZ #10157]
70204         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70205         tests into ...
70206         (has_cpuclock): ...this.  New function.
70207         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70208         macro here based on has_cpuclock code.
70210         [BZ #10149]
70211         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70212         First byte (not low byte) is now always NUL.
70213         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70216         Use non-cancelable interfaces.
70218         [BZ #9809]
70219         * locale/iso-639.def: Add entry for Sorani.
70221         [BZ #11901]
70222         * include/stdlib.h: Move include protection to the right place.
70223         Define abort_msg_s.  Declare __abort_msg with it.
70224         * stdlib/abort.c (__abort_msg): Adjust type.
70225         * assert/assert.c (__assert_fail_base): New function.  Majority
70226         of code from __assert_fail.  Allocate memory for __abort_msg with
70227         mmap.
70228         (__assert_fail): Now call __assert_fail_base.
70229         * assert/assert-perr.c: Remove bulk of implementation.  Use
70230         __assert_fail_base.
70231         * include/assert.hL Declare __assert_fail_base.
70232         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70233         mmap.
70234         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70236 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70238         [BZ #11952]
70239         [BZ #12453]
70240         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70241         until all modules are registered in the DTV.
70242         * elf/Makefile: Add rules to build and run tst-tls19.
70243         * elf/tst-tls19.c: New file.
70244         * elf/tst-tls19mod1.c: New file.
70245         * elf/tst-tls19mod2.c: New file.
70246         * elf/tst-tls19mod3.c: New file.
70247         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70249         [BZ #12083]
70250         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70251         correctly.
70253         [BZ #12601]
70254         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70255         two-byte sequence errors.
70256         * iconvdata/Makefile (tests): Add bug-iconv8.
70257         * iconvdata/bug-iconv8.c: New file.
70259         [BZ #12626]
70260         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70261         buf2 definition.
70263         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70265         [BZ #12432]
70266         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70267         (dummy_getcfa): New function.
70268         (init): Get _Unwind_GetCFA address, use dummy if not found.
70269         (backtrace_helper): In recursion check, also check whether CFA changes.
70270         (__backtrace): Completely initialize arg.
70272         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70273         storing incomplete byte sequence in state object.  Avoid testing for
70274         guaranteed too small input if we know there is enough data available.
70276 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70278         * Makeconfig (+link-pie): Indent.
70279         * Rules (binaries-pie): Define if $(have-fpie) and
70280         $(build-shared).
70281         (binaries-shared): Also filter out $(binaries-pie).
70282         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70283         * nscd/Makefile (others-pie): Add nscd.
70284         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70285         ($(objpfx)nscd): Remove command override.
70286         * login/Makefile (others-pie): Add pt_chown.
70287         ($(objpfx)pt_chown): Remove command override.
70288         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70289         remove command overrides.
70291 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70293         * libio/tst_putwc.c: Fix error messages.
70295         [BZ #12724]
70296         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70297         currently writing and seek to current position when not.
70298         * libio/Makefile (tests): Add bug-fclose1.
70299         * libio/bug-fclose1.c: New file.
70301 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70303         [BZ #12511]
70304         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70305         don't set DF_1_NODELETE here.
70306         (do_lookup_x): When entering new entry test for copy relocation
70307         and if necessary set DF_1_NODELETE flag.
70308         * elf/tst-unique4.cc: New file.
70309         * elf/tst-unique4.h: New file.
70310         * elf/tst-unique4lib.cc: New file.
70311         * elf/Makefile: Add rules to build and run tst-unique4.
70312         Patch by Piotr Bury <pbury@goahead.com>.
70314 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70316         [BZ #12052]
70317         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70319         [BZ #12625]
70320         * misc/mntent_r.c (addmntent): Flush the stream after the output
70322         [BZ #12393]
70323         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70324         (is_trusted_path_normalize): Skip initial colon.  Append slash
70325         to empty buffer.  Duplicate is_trusted_path code but allow
70326         constructed patch to be prefix.
70327         (is_dst): Allow $ORIGIN followed by /.
70328         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70329         Correct testing of result of is_trusted_path_normalize
70330         (decompose_rpath): Fix warning.
70332 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70334         [BZ #11257]
70335         * grp/initgroups.c (internal_getgrouplist): When we found the service
70336         list through the initgroups entry in nsswitch.conf do not always
70337         continue on a successful lookup.  Don't always use the
70338         __nss_group_database value if it is set.
70339         * nss/nsswitch.conf (initgroups): Change action for successful db
70340         lookup to continue for compatibility.
70342 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70344         [BZ #11532]
70345         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70346         and CP774 modules.
70347         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70348         and CP774 modules.
70349         * iconvdata/tst-tables.sh: Likewise.
70350         * iconvdata/cp770.c: New file.
70351         * iconvdata/cp771.c: New file.
70352         * iconvdata/cp772.c: New file.
70353         * iconvdata/cp773.c: New file.
70354         * iconvdata/cp774.c: New file.
70355         * iconvdata/testdata/CP770: New file.
70356         * iconvdata/testdata/CP770..UTF8: New file.
70357         * iconvdata/testdata/CP771: New file.
70358         * iconvdata/testdata/CP771..UTF8: New file.
70359         * iconvdata/testdata/CP772: New file.
70360         * iconvdata/testdata/CP772..UTF8: New file.
70361         * iconvdata/testdata/CP773: New file.
70362         * iconvdata/testdata/CP773..UTF8: New file.
70363         * iconvdata/testdata/CP774: New file.
70364         * iconvdata/testdata/CP774..UTF8: New file.
70366         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70367         END CHARMAP line.
70368         * iconvdata/gen-8bit-gap.sh: Likewise.
70369         * iconvdata/gen-8bit.sh: Likewise.
70371         * locale/iso-639.def: Add ary entry.
70373         [BZ #11258]
70374         * locale/C-translit.h.in: Add U20A1 transliteration.
70376         [BZ #12178]
70377         * locale/iso-639.def: Add wae entry.
70378         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70380         [BZ #12545]
70381         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70382         for n.
70384         [BZ #12711]
70385         * locale/C-translit.h.in: Add entry for U20B9.
70386         Patch by pravin.d.s@gmail.com.
70388 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70390         [BZ #12713]
70391         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70392         ENAMETOOLONG use generic getcwd.
70393         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70394         in rtld.  Use *stat64.
70395         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70396         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70397         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70398         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70399         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70400         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70401         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70402         __fstatat64 macros.
70403         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70404         * dirent/rewinddir.c: Add libc_hidden_def.
70405         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70406         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70408         * include/dirent.h (__alloc_dir): Add flags parameter.
70409         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70410         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70411         __alloc_dir.
70412         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70413         from fdopendir if O_CLOEXEC is already set.
70415 2011-03-15  Alan Modra  <amodra@gmail.com>
70417         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70418         l_tls_firstbyte_offset non-zero.  Save padding offset in
70419         l_tls_firstbyte_offset for later use.
70420         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70421         freeing static tls block.
70423 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70425         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70426         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70427         being defined by the kernel headers.
70429 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70431         [BZ #12734]
70432         * resolv/resolv.h: Define RES_NOTLDQUERY.
70433         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70434         no-tld-query and set RES_NOTLDQUERY.
70435         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70436         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70437         modern BIND to search name as TLD unless forbidden.
70439 2011-05-07  Petr Baudis  <pasky@suse.cz>
70440             Ulrich Drepper  <drepper@gmail.com>
70442         [BZ #12393]
70443         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70444         (is_trusted_path): ...to here.
70445         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70446         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70447         using is_trusted_path_normalize() in setuid scripts.
70449 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70451         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70452         __BEGIN/__END_DECLS.
70454 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70456         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70457         NSS_STATUS_NOTFOUND if no record was found.
70459 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70461         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70462         (headers-not-in-tirpc): Remove rpc/netdb.h
70463         * resolv/netdb.h: Revert last change.
70465 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70467         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70468         circular dependency between libgcc.a and libc.a.
70470 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70472         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70473         * nis/Makefile: Don't install rpcsvc/*.
70474         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70475         instead of <rpc/types.h>.
70476         (MAXHOSTNAMELEN): Define.
70478 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70480         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70482 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70484         [BZ #12714]
70485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70486         gethostbyname4_r when IPv6 results are possible.
70488 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70490         [BZ #12723]
70491         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70492         _PC_PIPE_BUF handling.
70494 2011-04-30  Bruno Haible  <bruno@clisp.org>
70496         [BZ #12717]
70497         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70498         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70499         to 'int'.
70500         * inet/getnameinfo.c (getnameinfo): Likewise.
70502 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70504         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70505         to groups setting in database lookup.
70506         * nss/nsswitch.conf: Add initgroups entry.
70508 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70510         [BZ #12685]
70511         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70512         mode string.
70513         Patch by Eric Blake <eblake@redhat.com>.
70515 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70517         * sunrpc/Makefile (need-export-routines): Add svc_run.
70518         (routines): Remove svc_run.
70519         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70520         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70521         * sunrpc/svc_run.c (svc_run): Likewise.
70522         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70524 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70526         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70527         problem in reallocation in last patch.
70529 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70531         * sunrpc/Makefile: Move inclusion of Rules.
70533 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70535         * nss/nss_files/files-initgroups.c: New file.
70536         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70537         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70538         _nss_files_initgroups_dyn.
70540 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70542         * elf/elf.h (R_ARM_IRELATIVE): Define.
70544 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70546         * po/ru.po: Update from translation team.
70548 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70550         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70551         dependencies.
70553 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70555         [BZ #12653]
70556         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70557         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70558         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70559         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70560         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70562 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70564         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70565         differing bytes.
70566         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70570 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70572         [BZ #12420]
70573         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70574         storing it.
70575         * stdlib/bug-getcontext.c: New file.
70576         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70578 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70580         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70581         instructions into .machine "z9-109".
70582         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70583         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70585 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70587         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70588         between environment variables and auxiliary vector.
70590 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70592         * Makefile: Add rules to build linkobj/libc.so.
70593         * include/libc-symbols.h: Define libc_hidden_nolink.
70594         * include/rpc/auth.h: Mark functions which are to be hidden.
70595         * include/rpc/auth_des.h: Likewise.
70596         * include/rpc/auth_unix.h: Likewise.
70597         * include/rpc/clnt.h: Likewise.
70598         * include/rpc/des_crypt.h: Likewise.
70599         * include/rpc/key_prot.h: Likewise.
70600         * include/rpc/pmap_clnt.h: Likewise.
70601         * include/rpc/pmap_prot.h: Likewise.
70602         * include/rpc/pmap_rmt.h: Likewise.
70603         * include/rpc/rpc_msg.h: Likewise.
70604         * include/rpc/svc.h: Likewise.
70605         * include/rpc/svc_auth.h: Likewise.
70606         * include/rpc/xdr.h: Likewise.
70607         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70608         * nss/Makefile: Likewise.
70609         * sunrpc/Makefile: Don't install headers.  Build library with normal
70610         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70611         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70612         for the compat linking library.  Remove use of INTDEF/INTUSE.
70613         * sunrpc/auth_none.c: Likewise.
70614         * sunrpc/auth_unix.c: Likewise.
70615         * sunrpc/authdes_prot.c: Likewise.
70616         * sunrpc/authuxprot.c: Likewise.
70617         * sunrpc/clnt_gen.c: Likewise.
70618         * sunrpc/clnt_perr.c: Likewise.
70619         * sunrpc/clnt_raw.c: Likewise.
70620         * sunrpc/clnt_simp.c: Likewise.
70621         * sunrpc/clnt_tcp.c: Likewise.
70622         * sunrpc/clnt_udp.c: Likewise.
70623         * sunrpc/clnt_unix.c: Likewise.
70624         * sunrpc/des_crypt.c: Likewise.
70625         * sunrpc/des_soft.c: Likewise.
70626         * sunrpc/get_myaddr.c: Likewise.
70627         * sunrpc/key_call.c: Likewise.
70628         * sunrpc/key_prot.c: Likewise.
70629         * sunrpc/netname.c: Likewise.
70630         * sunrpc/pm_getmaps.c: Likewise.
70631         * sunrpc/pm_getport.c: Likewise.
70632         * sunrpc/pmap_clnt.c: Likewise.
70633         * sunrpc/pmap_prot.c: Likewise.
70634         * sunrpc/pmap_prot2.c: Likewise.
70635         * sunrpc/pmap_rmt.c: Likewise.
70636         * sunrpc/publickey.c: Likewise.
70637         * sunrpc/rpc_cmsg.c: Likewise.
70638         * sunrpc/rpc_common.c: Likewise.
70639         * sunrpc/rpc_dtable.c: Likewise.
70640         * sunrpc/rpc_prot.c: Likewise.
70641         * sunrpc/rpc_thread.c: Likewise.
70642         * sunrpc/rtime.c: Likewise.
70643         * sunrpc/svc.c: Likewise.
70644         * sunrpc/svc_auth.c: Likewise.
70645         * sunrpc/svc_authux.c: Likewise.
70646         * sunrpc/svc_raw.c: Likewise.
70647         * sunrpc/svc_run.c: Likewise.
70648         * sunrpc/svc_simple.c: Likewise.
70649         * sunrpc/svc_tcp.c: Likewise.
70650         * sunrpc/svc_udp.c: Likewise.
70651         * sunrpc/svc_unix.c: Likewise.
70652         * sunrpc/svcauth_des.c: Likewise.
70653         * sunrpc/xcrypt.c: Likewise.
70654         * sunrpc/xdr.c: Likewise.
70655         * sunrpc/xdr_array.c: Likewise.
70656         * sunrpc/xdr_float.c: Likewise.
70657         * sunrpc/xdr_intXX_t.c: Likewise.
70658         * sunrpc/xdr_mem.c: Likewise.
70659         * sunrpc/xdr_rec.c: Likewise.
70660         * sunrpc/xdr_ref.c: Likewise.
70661         * sunrpc/xdr_sizeof.c: Likewise.
70662         * sunrpc/xdr_stdio.c: Likewise.
70664 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70666         [BZ #12650]
70667         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70668         * sysdeps/ia64/dl-tls.h: Likewise.
70669         * sysdeps/powerpc/dl-tls.h: Likewise.
70670         * sysdeps/s390/dl-tls.h: Likewise.
70671         * sysdeps/sh/dl-tls.h: Likewise.
70672         * sysdeps/sparc/dl-tls.h: Likewise.
70673         * sysdeps/x86_64/dl-tls.h: Likewise.
70674         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70676 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70678         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70679         rpath element also skip the following colon.
70680         (expand_dynamic_string_token): Add is_path parameter and pass
70681         down to DL_DST_REQUIRED and _dl_dst_substitute.
70682         (decompose_rpath): Call expand_dynamic_string_token with
70683         non-zero is_path.  Ignore empty rpaths.
70684         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70685         with zero is_path.
70687 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70690         Make cancelable.
70692 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70694         [BZ #12655]
70695         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70696         Patch by Filipe David Manana <fdmanana@apache.org>.
70698 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70701         Maintain aligned stack.
70702         (CHECK_RSP): Remove unused macro.
70704 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70706         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70707         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70709 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70711         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70713         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70715 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70717         [BZ #12518]
70718         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70719         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70720         * sysdeps/x86_64/memmove.c: New file.
70721         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70722         (memcpy): Renamed to ...
70723         (__new_memcpy): This.
70724         (memcpy): Provide GLIBC_2_14 memcpy.
70725         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70726         (memcpy): Provide GLIBC_2_2_5 memcpy.
70728 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70730         [BZ #12631]
70731         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70733 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70735         * misc/syncfs.c: New file.
70736         * misc/Makefile (routines): Add syncfs.
70737         * posix/unistd.h: Declare syncfs.
70738         * sysdeps/unix/syscalls.list: Add syncfs.
70740 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70742         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70743         open_by_handle_at.
70744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70745         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70747         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70748         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70749         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70750         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70752 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70754         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70755         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70756         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70758         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70760         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70762         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70763         sync_file_range.c with -fexceptions.
70764         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70765         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70766         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70767         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70768         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70769         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70770         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70771         sync_file_range as cancellation point
70772         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70773         now a wrapper around __call_sync_file_range with cancellation handling.
70774         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70775         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70776         function name to __call_sync_file_range.
70777         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70778         Add call_sync_file_range.
70780 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70783         bits/timex.h.
70785 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70787         * iconv/iconv.h: Fix typo in comment.
70788         * io/fcntl.h: Likewise.
70789         * libio/stdio.h: Likewise.
70790         * posix/spawn.h: Likewise.
70791         * posix/unistd.h: Likewise.
70792         * stdlib/stdlib.h: Likewise.
70793         * time/time.h: Likewise.
70794         * wcsmbs/wchar.h: Likewise.
70796         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70797         open_by_handle): Add.
70798         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70799         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70800         Augment a few comments.
70801         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70803         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70805         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70806         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70807         open_by_handle.
70809         * io/fcntl.h (AT_EMPTY_PATH): Define.
70811 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70813         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70814         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70815         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70816         to...
70817         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70818         * Versions.def: Add GLIBC_2.14.
70819         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70820         Export.
70822 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70825         round counter.
70826         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70828 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70830         [BZ #12597]
70831         * string/test-strncmp.c (do_page_test): New function.
70832         (check2): Likewise.
70833         (test_main): Call check2.
70834         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70836 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70838         [BZ #12587]
70839         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70840         Handle cache information in CPU leaf 4.
70841         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70843 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70845         [BZ #12583]
70846         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70847         character representation.
70848         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70850 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70852         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70853         END(__isnan) to END(__isnanf) to match function entry point/label
70854         EALIGN(__isnanf,...).
70856 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70858         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70860 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70862         [BZ #12510]
70863         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70864         copy from the symbol referenced in the relocation to initialize the
70865         used variable.
70866         Patch by Piotr Bury <pbury@goahead.com>.
70867         * elf/Makefile: Add rules to build and tst-unique3.
70868         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70869         * elf/tst-unique3.cc: New file.
70870         * elf/tst-unique3.h: New file.
70871         * elf/tst-unique3lib.cc: New file.
70872         * elf/tst-unique3lib2.cc: New file.
70874         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70876 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70878         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70879         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70880         to _start.
70882 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70884         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70885         to-be-loaded object along a path to loader is ld.so.
70887 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70888             Ulrich Drepper  <drepper@gmail.com>
70890         * sysdeps/x86_64/memset.S: After aligning destination, code
70891         branches to different locations depending on the value of
70892         misalignment, when multiarch is enabled. Fix this.
70894 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70896         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70897         Set _x86_64_preferred_memory_instruction for AMD processsors.
70898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70899         Set bit_Prefer_SSE_for_memop for AMD processors.
70901 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70903         * libio/fmemopen.c (fmemopen): Optimize a bit.
70905 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70907         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70909 2011-03-03  Roland McGrath  <roland@redhat.com>
70911         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70913 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70915         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70916         __bzero_ultra1 instead of __memset_ultra1.
70918 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70919             Ulrich Drepper  <drepper@gmail.com>
70921         [BZ #12509]
70922         * include/link.h (struct link_map): Add l_orig_initfini.
70923         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70924         returning unsuccessfully.
70925         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70926         close of a file loaded at startup, restore the original l_initfini
70927         list.
70928         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70929         list, store the pointer.
70930         * elf/Makefile ($(objpfx)noload-mem): New rule.
70931         (noload-ENV): Define.
70932         (tests): Add $(objpfx)noload-mem.
70933         * elf/noload.c: Include <memcheck.h>.
70934         (main): Call mtrace.  Close all opened handles.
70936 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70938         [BZ #12454]
70939         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70940         dependencies are missing.
70942 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70944         Fix __if_freereq crash: Unlike the generic version which uses free,
70945         Hurd needs munmap.
70946         * sysdeps/mach/hurd/ifreq.h: New file.
70948 2011-01-27  Petr Baudis  <pasky@suse.cz>
70949             Ulrich Drepper  <drepper@gmail.com>
70951         [BZ 12445]#
70952         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70953         to extend_alloca().
70954         * stdio-common/bug23.c: New file.
70955         * stdio-common/Makefile (tests): Add bug23.
70957 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70958             Ulrich Drepper  <drepper@gmail.com>
70960         [BZ #12489]
70961         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70962         before performing relro protection.  At old place add assertion
70963         to make sure nothing changed.
70965 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70966             Glauber de Oliveira Costa  <glommer@gmail.com>
70968         * elf/elf.h: Add new ARM TLS relocs.
70970 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70973         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70974         cast from r3.
70975         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70976         'tests' variable.
70977         * sysdeps/wordsize-64/tst-writev.c: New file.
70979 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70981         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70982         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70983         insns in _dl_start to prevent a TOC reference before relocs are
70984         resolved.
70986 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70988         [BZ #12469]
70989         * Makeconfig: Remove RANLIB definition.
70990         * Makerules: Don't use RANLIB.
70991         * aclocal.m4: Remove ranlib test.
70992         * configure.in: No need to check for ranlib.
70993         * elf/rtld-Rules: Don't use RANLIB.
70995 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70997         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70998         protection macro.
70999         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71000         inclusion protection macro.
71002         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71003         SIGRTMIN and SIGRTMAX and print information in that case only when
71004         SIGRTMIN is defined.
71006 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71008         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71009         arginfo fn returning -1.
71011         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71012         and thousands string is zero terminated.
71014 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71016         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71017         sysdeps/unix/sysv/linux/bits/socket.h.
71019 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71021         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71022         (__CPU_COUNT): Remove old macros.
71023         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71024         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71025         (__CPU_ALLOC, __CPU_FREE): Add macros.
71026         (__sched_cpualloc, __sched_cpufree): Add declarations.
71028 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71030         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71031         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71032         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71033         (readdhstai): Return value of addhstaiX call.
71034         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71035         (addgrbyX): Return value returned by cache_addgr.
71036         (readdgrbyname): Return value returned by addgrbyX.
71037         (readdgrbygid): Likewise.
71038         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71039         (addpwbyX): Return value returned by cache_addpw.
71040         (readdpwbyname): Return value returned by addhstbyX.
71041         (readdpwbyuid): Likewise.
71042         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71043         (addservbyX): Return value returned by cache_addserv.
71044         (readdservbyname): Return value returned by addservbyX:
71045         (readdservbyport): Likewise.
71046         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71047         (addhstbyX): Return value returned by cache_addhst.
71048         (readdhstbyname): Return value returned by addhstbyX.
71049         (readdhstbyaddr): Likewise.
71050         (readdhstbynamev6): Likewise.
71051         (readdhstbyaddrv6): Likewise.
71052         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71053         (readdinitgroups): Return value returned by addinitgroupsX.
71054         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71055         (prune_cache): Keep track of timeout value of re-added entries.
71056         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71057         * nscd/nscd.h: Adjust prototypes of readd* functions.
71059 2011-02-04  Roland McGrath  <roland@redhat.com>
71061         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71062         (nis_stats): Likewise.
71063         * nis/nis_modify.c (nis_modify): Likewise.
71064         * nis/nis_remove.c (nis_remove): Likewise.
71065         * nis/nis_add.c (nis_add): Likewise.
71067         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71069         * posix/fnmatch_loop.c: Add some consts.
71071         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71073 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71075         [BZ #12460]
71076         * config.make.in (config-cflags-novzeroupper): Define.
71077         * configure.in: Substitute libc_cv_cc_novzeroupper.
71078         * elf/Makefile (AVX-CFLAGS): Define.
71079         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71080         (CFLAGS-tst-auditmod4a.c): Likewise.
71081         (CFLAGS-tst-auditmod4b.c): Likewise.
71082         (CFLAGS-tst-auditmod6b.c): Likewise.
71083         (CFLAGS-tst-auditmod6c.c): Likewise.
71084         (CFLAGS-tst-auditmod7b.c): Likewise.
71085         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71087 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71089         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71090         function to the callback.
71091         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71093 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71095         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71096         of errno.
71098 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71100         [BZ #11724]
71101         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71102         of constructors.
71103         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71104         of destructors.
71105         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71107         [BZ #11724]
71108         * elf/Makefile: Add rules to build and run new test.
71109         * elf/tst-initorder.c: New file.
71110         * elf/tst-initorder.exp: New file.
71111         * elf/tst-initordera1.c: New file.
71112         * elf/tst-initordera2.c: New file.
71113         * elf/tst-initordera3.c: New file.
71114         * elf/tst-initordera4.c: New file.
71115         * elf/tst-initorderb1.c: New file.
71116         * elf/tst-initorderb2.c: New file.
71117         * elf/tst-order-a1.c: New file.
71118         * elf/tst-order-a2.c: New file.
71119         * elf/tst-order-a3.c: New file.
71120         * elf/tst-order-a4.c: New file.
71121         * elf/tst-order-b1.c: New file.
71122         * elf/tst-order-b2.c: New file.
71123         * elf/tst-order-main.c: New file.
71124         New test case by George Gensure <werkt0@gmail.com>.
71126 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71128         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71129         decoding ACE if AI_CANONIDN.
71131 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71133         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71135 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71137         * version.h (RELEASE): Bump for 2.13 release.
71138         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71140         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71142         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71143         MADV_NOHUGEPAGE.
71144         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71146         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71148         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71149         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71151         * posix/getconf.c: Update copyright year.
71152         * catgets/gencat.c: Likewise.
71153         * csu/version.c: Likewise.
71154         * debug/catchsegv.sh: Likewise.
71155         * debug/xtrace.sh: Likewise.
71156         * elf/ldconfig.c: Likewise.
71157         * elf/ldd.bash.in: Likewise.
71158         * elf/sprof.c (print_version): Likewise.
71159         * iconv/iconv_prog.c: Likewise.
71160         * iconv/iconvconfig.c: Likewise.
71161         * locale/programs/locale.c: Likewise.
71162         * locale/programs/localedef.c: Likewise.
71163         * malloc/memusage.sh: Likewise.
71164         * malloc/mtrace.pl: Likewise.
71165         * nscd/nscd.c (print_version): Likewise.
71166         * nss/getent.c: Likewise.
71168         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71169         PF_CAIF, and PF_ALG.
71170         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71172 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71174         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71175         (modules-names): Use them.
71176         (ifunc-test-modules, ifunc-pie-tests): Define.
71177         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71178         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71179         (test-extras): Likewise.
71180         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71181         $(compile-command.c).
71182         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71183         (all-built-dso): Define.
71184         (check-textrel.out, check-execstack.out): Depend on it.
71186         * configure.in: Don't override --enable-multi-arch.
71188 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71190         [BZ #6812]
71191         * nscd/hstcache.c (tryagain): Define.
71192         (cache_addhst): Return tryagain not notfound for temporary errors.
71193         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71194         failed.
71196 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71198         [BZ #10563]
71199         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71200         to make the syscall.
71201         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71203         [BZ #12378]
71204         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71205         and fall back to matching as normal character if the string ends before
71206         the matching ']' is found.  This is what POSIX requires.
71207         * posix/testfnm.c: Adjust test result.
71208         * posix/globtest.sh: Adjust test result.  Add new test.
71209         * posix/tst-fnmatch.input: Likewise.
71210         * posix/tst-fnmatch2.c: Add new test.
71212 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71214         * elf/Makefile (check-execstack): Revert last change.  Depend on
71215         check-execstack.h.
71216         (check-execstack.h): New target.
71217         (generated): Add check-execstack.h.
71218         * elf/check-execstack.c: Include "check-execstack.h".
71219         (main): Revert last change.
71220         (handle_file): Return zero if GNU_STACK is absent and
71221         DEFAULT_STACK_PERMS doesn't include PF_X.
71223 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71225         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71226         in child fails because the descriptor is already closed.
71227         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71228         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71229         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71231         [BZ #12397]
71232         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71233         syscall.
71235         [BZ #10484]
71236         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71237         temporary buffer used to handle multi lookups locally.
71238         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71240 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71242         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71243         loader is ld.so.
71245 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71247         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71248         alignment for SSE2.
71250 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71252         [BZ #12394]
71253         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71254         characters.  When rounding increased number of integer digits recompute
71255         number of groups.
71256         * stdio-common/tst-grouping.c: New file.
71257         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71259 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71261         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71262         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71264         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71265         void.
71266         * bits/select.h: Likewise.
71268 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71270         * po/ja.po: Update from translation team.
71272 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71274         [BZ #11155]
71275         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71276         implementation just like for lxstat, fxstatat, et al.
71278 2010-12-27  Jim Meyering  <meyering@redhat.com>
71280         [BZ #12348]
71281         * posix/regexec.c (build_trtable): Return failure indication upon
71282         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71284 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71286         [BZ #12201]
71287         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71288         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71289         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71290         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71292         [BZ #12207]
71293         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71295         [BZ #12204]
71296         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71297         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71299 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71301         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71302         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71303         script has SORT_BY_INIT_PRIORITY.
71304         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71305         NO_CTORS_DTORS_SECTIONS is defined.
71306         * elf/soinit.c: Likewise.
71307         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71308         NO_CTORS_DTORS_SECTIONS is defined.
71309         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71310         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71311         * sysdeps/sh/init-first.c: Likewise.
71312         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71314 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71316         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71317         always use the slow path.
71319 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71321         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71322         similar rule which adds the sysdep directories to the header search in
71323         order to pick up the correct platform stackinfo.h.
71324         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71325         perform test if it is, otherwise return successfully without testing.
71326         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71327         DEFAULT_STACK_PERMS define in stackinfo.h.
71328         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71329         defined in stackinfo.h.
71330         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71331         DEFAULT_STACK_PERMS defined in stackinfo.h.
71332         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71333         * sysdeps/ia64/stackinfo.h: Likewise.
71334         * sysdeps/s390/stackinfo.h: Likewise.
71335         * sysdeps/sh/stackinfo.h: Likewise.
71336         * sysdeps/sparc/stackinfo.h: Likewise.
71337         * sysdeps/x86_64/stackinfo.h: Likewise.
71338         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71339         PF_X for powerpc64.  Retain PF_X for powerpc32.
71341 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71343         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71344         accurately.
71345         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71346         GETDENTS_64BIT_ALIGNED.
71348 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71350         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71352 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71354         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71355         _GNU_SOURCE.
71357         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71358         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71359         Remove __restrict.
71360         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71361         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71363 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71365         [BZ #11655]
71366         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71367         are initialized.
71369 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71371         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71373 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71375         * po/it.po: Update from translation team.
71377 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71379         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71380         unused codes.
71382 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71384         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71386 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71388         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71389         specially.
71390         (gaih_getanswer_slice): Likewise.
71392 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71396 2010-05-31  Petr Baudis  <pasky@suse.cz>
71398         [BZ #11149]
71399         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71400         silently even in the chroot mode.
71402 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71404         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71405         last patch a bit.  Pretty printing
71407 2010-05-31  Petr Baudis <pasky@suse.cz>
71409         [BZ #10085]
71410         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71411         initialization of skip_initgroups_dyn.
71413 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71415         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71416         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71418 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71420         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71422 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71424         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71425         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71426         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71427         ($(objpfx)tst-fnmatch-mem): New rule.
71428         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71429         * posix/tst-fnmatch.c (main): Call mtrace.
71431 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71434         Support Intel processor model 6 and model 0x2c.
71436 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71438         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71439           signed comparison.
71441 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71443         [BZ #12205]
71444         * string/test-strncasecmp.c (check_result): New function.
71445         (do_one_test): Use it.
71446         (check1): New function.
71447         (test_main): Use it.
71448         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71449         Support strcasecmp and strncasecmp.
71451 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71453         [BZ #12194]
71454         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71455         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71457 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71459         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71460         IFUNC support.
71461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71462         memset-x86-64.
71463         * sysdeps/x86_64/multiarch/bzero.S: New file.
71464         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71465         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71466         * sysdeps/x86_64/multiarch/memset.S: New file.
71467         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71469         Set bit_Prefer_SSE_for_memop for Intel processors.
71470         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71471         Define.
71472         (index_Prefer_SSE_for_memop): Define.
71473         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71475 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71477         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71478         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71480 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71482         [BZ #12191]
71483         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71484         (__x86_64_raw_data_cache_size_half): Likewise.
71485         (__x86_64_raw_shared_cache_size): Likewise.
71486         (__x86_64_raw_shared_cache_size_half): Likewise.
71488         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71489         (__x86_64_raw_data_cache_size_half): Likewise.
71490         (__x86_64_raw_shared_cache_size): Likewise.
71491         (__x86_64_raw_shared_cache_size_half): Likewise.
71492         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71493         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71494         and __x86_64_raw_shared_cache_size_half.  Round
71495         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71496         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71497         to multiple of 256 bytes.
71499 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71501         [BZ #12167]
71502         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71503         of inacessible symlinks.  Verify result of symlink before returning it.
71504         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71505         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71507 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71509         * math/math.h (isinf): Fix typo in comment.
71511 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71513         * po/da.po: Update from translation team.
71515 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71517         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71518         is added to the list.
71520 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71521             Ulrich Drepper  <drepper@gmail.com>
71523         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71524         the global list here.  Move code to...
71525         (_dl_add_to_namespace_list): ...here.  New function.
71526         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71527         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71528         * elf/dl-load.c (lose): Don't remove the element from the list.
71529         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71530         (_dl_map_object): Likewise.
71532 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71534         [BZ #12159]
71535         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71536         into all bytes of SSE register.
71537         Patch by Richard Li <richardpku@gmail.com>.
71539 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71541         [BZ #12140]
71542         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71543         perturbing.
71545 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71547         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71548         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71549         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71550         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71552         submachine.
71553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71555 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71557         * include/dlfcn.h (__RTLD_SECURE): Define.
71558         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71559         mode & __RTLD_SECURE instead.
71560         (open_path): Rename preloaded parameter to secure.
71561         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71562         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71563         * elf/dl-deps.c (openaux): Likewise.
71564         * elf/rtld.c (struct map_args): Remove is_preloaded.
71565         (map_doit): Don't use it.
71566         (dl_main): Likewise.
71567         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71568         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71570 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71572         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71573         (sysd-rules-targets): Remove duplicates.
71574         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71575         rtld-%.$o dependency.
71577 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71579         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71580         _dl_map_object do it.
71582 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71584         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71585         fast fma builtins, define the macros in the C99 standard.
71586         (FP_FAST_FMAF): Likewise.
71587         (FP_FAST_FMAL): Likewise.
71588         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71590         * bits/mathdef.h: Update copyright year.
71591         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71593 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71595         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71596         builtins, define the macros in the C99 standard.
71597         (FP_FAST_FMAF): Likewise.
71598         (FP_FAST_FMAL): Likewise.
71599         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71600         multiply/add.
71601         (FP_FAST_FMAF): Likewise.
71603 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71605         [BZ #3268]
71606         * math/libm-test.inc (fma_test): Some new testcases.
71607         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71608         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71609         y and infinite z.  Do multiplication by C already in long double.
71610         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71612         y and infinite z.  Do bitwise or of inexact bit into u.d.
71613         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71614         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71615         * sysdeps/i386/fpu/s_fma.S: Removed.
71616         * sysdeps/i386/fpu/s_fmal.S: Removed.
71618 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71620         [BZ #3268]
71621         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71623         computation is not scheduled after fetestexcept.  Fix value
71624         of minimum denormal long double.
71626 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71628         [BZ #3268]
71629         * math/libm-test.inc (fma_test): Add some more tests.
71630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71631         correctly.
71633 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71635         * scripts/data/localplt-s390-linux-gnu.data: New file.
71636         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71638 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71640         [BZ #3268]
71641         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71642         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71643         instead of dbl-64.
71644         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71645         inlines.
71646         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71648         if one of x and y is very large and the other is subnormal.
71649         * sysdeps/s390/fpu/s_fmaf.c: New file.
71650         * sysdeps/s390/fpu/s_fma.c: New file.
71651         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71652         * sysdeps/powerpc/fpu/s_fma.S: New file.
71653         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71654         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71655         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71657 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71659         [BZ #3268]
71660         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71661         fma tests.
71662         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71663         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71664         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71665         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71666         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71667         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71668         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71670 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71672         [BZ #12078]
71673         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71674         * posix/bug-regex31.input: Add test case.
71676 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71678         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71679         * posix/bug-regex31.input: New file.
71681         [BZ #12078]
71682         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71683         (parse_sub_exp): Fix last change, use postorder.
71685         * posix/bug-regex31.c: New file.
71686         * posix/Makefile: Add rules to build and run bug-regex31.
71688         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71690         [BZ #12078]
71691         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71693         [BZ #12108]
71694         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71695         to have entries in sys_siglist.
71697         [BZ #12093]
71698         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71699         be NULL.
71701 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71703         [BZ #3268]
71704         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71705         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71706         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71707         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71708         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71709         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71710         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71711         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71712         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71713         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71714         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71715         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71716         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71717         * math/ftestexcept.c (fetestexcept): Likewise.
71718         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71719         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71720         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71721         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71722         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71723         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71724         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71726 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71728         [BZ #12107]
71729         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71730         newline.
71732 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71734         * string/bug-strstr1.c: New file.
71735         * string/Makefile: Add rules to build and run bug-strstr1.
71737 2010-10-05  Eric Blake  <eblake@redhat.com>
71739         [BZ #12092]
71740         * string/str-two-way.h (two_way_long_needle): Always clear memory
71741         when skipping input due to the shift table.
71743 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71745         [BZ #12005]
71746         * malloc/mcheck.c: Handle large requests.
71748         [BZ #12077]
71749         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71750         for strncmp and strncasecmp.
71751         * string/stratcliff.c: Add tests for strcmp and strncmp.
71752         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71754 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71756         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71757         __set_fpscr.
71759 2010-09-30  Andreas Jaeger  <aj@suse.de>
71761         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71762         (CGROUP_SUPER_MAGIC): Define.
71763         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71764         Handle btrfs and cgroup file systems.
71765         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71766         Likewise.
71768 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71770         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71771         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71773 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71775         [BZ #12067]
71776         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71777         trying to locate the ELF header.
71779 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71781         [BZ #11611]
71782         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71783         Mask out sign-bit copies when constructing f_fsid.
71785 2010-09-24  Petr Baudis <pasky@suse.cz>
71787         * debug/stack_chk_fail_local.c: Add missing licence exception.
71788         * debug/warning-nop.c: Likewise.
71790 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71792         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71793         implementing getdents64 using getdents syscall, set d_type if
71794         __ASSUME_GETDENTS32_D_TYPE.
71796 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71798         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71799         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71801 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71803         [BZ #12037]
71804         * posix/unistd.h: Undo change of feature selection for ftruncate from
71805         2010-01-11.
71807 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71809         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71810         detection.
71812 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71814         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71815         fanotify_mark.
71816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71818 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71820         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71821         variables after CHECK_SP call.
71822         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71824 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71825             Ulrich Drepper  <drepper@redhat.com>
71827         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71828         re-relocationg ld.so.
71829         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71830         _dl_init_paths call.
71831         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71832         here anymore.
71834 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71836         * resolv/res_init.c (__res_vinit): Count the default server we added.
71838 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71839             Ulrich Drepper  <drepper@redhat.com>
71841         [BZ #11968]
71842         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71843         (____longjmp_chk): Use %ebx for saving value across system call.
71844         Add unwind info.
71846 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71848         * manual/Makefile: Don't mix pattern rules with normal rules.
71850 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71852         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71853         operation.
71854         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71855         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71856         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71857         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71859         Likewise.
71861 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71863         [BZ #11979]
71864         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71865         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71867 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71869         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71870         * sysdeps/x86_64/addmul_1.S: Likewise.
71871         * sysdeps/x86_64/lshift.S: Likewise.
71872         * sysdeps/x86_64/mul_1.S: Likewise.
71873         * sysdeps/x86_64/rshift.S: Likewise.
71874         * sysdeps/x86_64/sub_n.S: Likewise.
71875         * sysdeps/x86_64/submul_1.S: Likewise.
71877 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71879         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71880         Define __sched_param instead of SCHED_* and sched_param when
71881         <bits/sched.h> is included with __need_schedparam defined.
71882         * bits/sched.h [__need_schedparam]
71883         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71884         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71885         (__defined_schedparam): Define to 1.
71886         (__sched_param): New structure, identical to sched_param.
71887         (__need_schedparam): Undefine.
71889 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71891         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71892         (epoll_create1): Declare.
71894         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71896 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71898         [BZ #7066]
71899         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71900         shifting retval into place.
71902 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71904         * nis/rpcsvc/nis.h: Update copyright notice.
71905         * nis/rpcsvc/nis.x: Likewise.
71906         * nis/rpcsvc/nis_callback.h: Likewise.
71907         * nis/rpcsvc/nis_callback.x: Likewise.
71908         * nis/rpcsvc/nis_object.x: Likewise.
71909         * nis/rpcsvc/nis_tags.h: Likewise.
71910         * nis/rpcsvc/yp.h: Likewise.
71911         * nis/rpcsvc/yp.x: Likewise.
71912         * nis/rpcsvc/ypupd.h: Likewise.
71913         * nis/yp_xdr.c: Likewise.
71914         * nis/ypupdate_xdr.c: Likewise.
71916         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71917         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71918         (pmap_getport): Use __libc_rpc_getport.
71919         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71920         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71921         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71923 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71926         fanotify_mark.
71928 2010-08-27  Roland McGrath  <roland@redhat.com>
71930         * sysdeps/i386/i686/multiarch/Makefile
71931         (CFLAGS-varshift.c): New variable.
71933 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71935         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71936         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71938         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71940         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71942 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71944         * sysdeps/x86_64/strlen.S: Unroll the loop.
71945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71946         strlen-sse2 strlen-sse2-bsf.
71947         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71948         __strlen_no_bsf if bit_Slow_BSF is set.
71949         (__strlen_sse42): Removed.
71950         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71951         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71953 2010-08-25  Roland McGrath  <roland@redhat.com>
71955         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71956         * sysdeps/x86_64/multiarch/varshift.c: New file.
71957         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71958         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71959         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71960         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71962 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71965         strlen-sse2 strlen-sse2-bsf.
71966         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71967         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71968         (__strlen_sse2): Removed.
71969         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71970         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71972         bit_Slow_BSF for Atom.
71973         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71974         (index_Slow_BSF): Define.
71975         (HAS_SLOW_BSF): Define.
71977 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71979         [BZ #10851]
71980         * resolv/res_init.c (__res_vinit): When no server address at all
71981         is given default to loopback.
71983 2010-08-24  Roland McGrath  <roland@redhat.com>
71985         * configure.in: Remove config-name.h generation.
71986         * configure: Regenerated.
71987         * config-name.in: File removed.
71988         * scripts/config-uname.sh: New file.
71989         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71990         ($(objdir)config-name.h): New target.
71992         * sunrpc/rpc_parse.h: Avoid nested comment.
71994 2010-08-24  Richard Henderson  <rth@redhat.com>
71995             Ulrich Drepper  <drepper@redhat.com>
71996             H.J. Lu  <hongjiu.lu@intel.com>
71998         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72000         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72001         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72002         _mm_alignr_epi8 with _mm_loadu_si128.
72003         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72004         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72005         (__m128i_shift_right): Removed.
72006         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72007         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72008         * sysdeps/x86_64/multiarch/varshift.h: New file.
72009         * sysdeps/x86_64/multiarch/varshift.S: New file.
72011 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72013         * configure.in: Move assembler checks to before sysdep dir checking.
72015 2010-08-20  Petr Baudis  <pasky@suse.cz>
72017         * LICENSES: Sync the sunrpc license.
72019 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72021         * sunrpc/auth_des.c: Update copyright notice once again.
72022         * sunrpc/auth_none.c: Likewise.
72023         * sunrpc/auth_unix.c: Likewise.
72024         * sunrpc/authdes_prot.c: Likewise.
72025         * sunrpc/authuxprot.c: Likewise.
72026         * sunrpc/bindrsvprt.c: Likewise.
72027         * sunrpc/clnt_gen.c: Likewise.
72028         * sunrpc/clnt_perr.c: Likewise.
72029         * sunrpc/clnt_raw.c: Likewise.
72030         * sunrpc/clnt_simp.c: Likewise.
72031         * sunrpc/clnt_tcp.c: Likewise.
72032         * sunrpc/clnt_udp.c: Likewise.
72033         * sunrpc/clnt_unix.c: Likewise.
72034         * sunrpc/des_crypt.c: Likewise.
72035         * sunrpc/des_soft.c: Likewise.
72036         * sunrpc/get_myaddr.c: Likewise.
72037         * sunrpc/getrpcport.c: Likewise.
72038         * sunrpc/key_call.c: Likewise.
72039         * sunrpc/key_prot.c: Likewise.
72040         * sunrpc/openchild.c: Likewise.
72041         * sunrpc/pm_getmaps.c: Likewise.
72042         * sunrpc/pm_getport.c: Likewise.
72043         * sunrpc/pmap_clnt.c: Likewise.
72044         * sunrpc/pmap_prot.c: Likewise.
72045         * sunrpc/pmap_prot2.c: Likewise.
72046         * sunrpc/pmap_rmt.c: Likewise.
72047         * sunrpc/rpc/auth.h: Likewise.
72048         * sunrpc/rpc/auth_unix.h: Likewise.
72049         * sunrpc/rpc/clnt.h: Likewise.
72050         * sunrpc/rpc/des_crypt.h: Likewise.
72051         * sunrpc/rpc/key_prot.h: Likewise.
72052         * sunrpc/rpc/netdb.h: Likewise.
72053         * sunrpc/rpc/pmap_clnt.h: Likewise.
72054         * sunrpc/rpc/pmap_prot.h: Likewise.
72055         * sunrpc/rpc/pmap_rmt.h: Likewise.
72056         * sunrpc/rpc/rpc.h: Likewise.
72057         * sunrpc/rpc/rpc_des.h: Likewise.
72058         * sunrpc/rpc/rpc_msg.h: Likewise.
72059         * sunrpc/rpc/svc.h: Likewise.
72060         * sunrpc/rpc/svc_auth.h: Likewise.
72061         * sunrpc/rpc/types.h: Likewise.
72062         * sunrpc/rpc/xdr.h: Likewise.
72063         * sunrpc/rpc_clntout.c: Likewise.
72064         * sunrpc/rpc_cmsg.c: Likewise.
72065         * sunrpc/rpc_common.c: Likewise.
72066         * sunrpc/rpc_cout.c: Likewise.
72067         * sunrpc/rpc_dtable.c: Likewise.
72068         * sunrpc/rpc_hout.c: Likewise.
72069         * sunrpc/rpc_main.c: Likewise.
72070         * sunrpc/rpc_parse.c: Likewise.
72071         * sunrpc/rpc_parse.h: Likewise.
72072         * sunrpc/rpc_prot.c: Likewise.
72073         * sunrpc/rpc_sample.c: Likewise.
72074         * sunrpc/rpc_scan.c: Likewise.
72075         * sunrpc/rpc_scan.h: Likewise.
72076         * sunrpc/rpc_svcout.c: Likewise.
72077         * sunrpc/rpc_tblout.c: Likewise.
72078         * sunrpc/rpc_util.c: Likewise.
72079         * sunrpc/rpc_util.h: Likewise.
72080         * sunrpc/rpcinfo.c: Likewise.
72081         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72082         * sunrpc/rpcsvc/key_prot.x: Likewise.
72083         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72084         * sunrpc/rpcsvc/mount.x: Likewise.
72085         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72086         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72087         * sunrpc/rpcsvc/rex.x: Likewise.
72088         * sunrpc/rpcsvc/rstat.x: Likewise.
72089         * sunrpc/rpcsvc/rusers.x: Likewise.
72090         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72091         * sunrpc/rpcsvc/spray.x: Likewise.
72092         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72093         * sunrpc/rtime.c: Likewise.
72094         * sunrpc/svc.c: Likewise.
72095         * sunrpc/svc_auth.c: Likewise.
72096         * sunrpc/svc_authux.c: Likewise.
72097         * sunrpc/svc_raw.c: Likewise.
72098         * sunrpc/svc_run.c: Likewise.
72099         * sunrpc/svc_simple.c: Likewise.
72100         * sunrpc/svc_tcp.c: Likewise.
72101         * sunrpc/svc_udp.c: Likewise.
72102         * sunrpc/svc_unix.c: Likewise.
72103         * sunrpc/svcauth_des.c: Likewise.
72104         * sunrpc/xcrypt.c: Likewise.
72105         * sunrpc/xdr.c: Likewise.
72106         * sunrpc/xdr_array.c: Likewise.
72107         * sunrpc/xdr_float.c: Likewise.
72108         * sunrpc/xdr_mem.c: Likewise.
72109         * sunrpc/xdr_rec.c: Likewise.
72110         * sunrpc/xdr_ref.c: Likewise.
72111         * sunrpc/xdr_sizeof.c: Likewise.
72112         * sunrpc/xdr_stdio.c: Likewise.
72114         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72115         handling.
72117 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72119         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72121 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72123         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72124         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72125         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72126         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72127         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72128         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72129         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72130         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72131         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72132         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72133         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72134         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72135         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72136         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72138 2010-07-26  Anton Blanchard  <anton@samba.org>
72140         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72141         * malloc/arena.c (heap_trim): Likewise.
72143 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72145         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72146         here.  Not...
72147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72148         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72150 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72152         * sysdeps/i386/elf/Makefile: New file.
72154 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72156         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72157         from fanotify_init.
72158         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72159         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72161 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72163         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72164         of strncasecmp_l.
72165         * sysdeps/multiarch/strcmp.S: Likewise.
72167 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72169         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72170         strncase_l-nonascii.
72171         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72172         Add strncase_l-ssse3.
72173         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72174         * sysdeps/x86_64/strcmp.S: Likewise.
72175         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72176         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72177         * sysdeps/x86_64/strncase.S: New file.
72178         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72179         * sysdeps/x86_64/strncase_l.S: New file.
72180         * string/Makefile (strop-tests): Add strncasecmp.
72181         * string/test-strncasecmp.c: New file.
72183         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72184         warning.
72186         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72187         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72189 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72191         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72193 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72195         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72196         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72197         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72199 2010-05-01  Alan Modra  <amodra@gmail.com>
72201         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72202         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72203         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72204         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72205         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72206         tidying.  Don't tail-call __sigjmp_save for static lib.
72207         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72208         save location.
72209         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72210         (CALL_MCOUNT): Add eh info, and nop after bl.
72211         (TAIL_CALL_SYSCALL_ERROR): New macro.
72212         (PSEUDO_RET): Use it.
72213         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72214         Correct save location of integer regs and cr.
72215         (_dl_profile_resolve): Correct cr save location.  Delete nops
72216         after bl when SHARED.  Reduce cfi size a little by better
72217         placement of cfi directives.
72218         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72219         make a stack frame.  Instead use parm save area as a temp.
72220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72221         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72223         Don't make a stack frame for parent, use parm save area.
72224         Increase child stack frame to 112 bytes.  Don't save unused reg,
72225         and adjust reg usage.  Set up cfi on error recovery and
72226         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72228         (__makecontext): Add dummy nop after jump to exit.
72229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72230         Use correct parm save area and cr save, reduce stack frame.
72231         Correct cfi for possible PSEUDO_RET frame setup.
72232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72233         Branch to local label emitted by PSEUDO_RET rather than
72234         __syscall_error.
72236 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72238         [BZ #11904]
72239         * locale/programs/locale.c (print_assignment): New function.
72240         (show_locale_vars): Use it.
72242 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72244         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72245         field.
72246         (struct statfs64): Likewise.
72247         (_STATFS_F_FLAGS): Define.
72248         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72249         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72250         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72251         (ST_VALID): Define locally.
72252         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72253         __statvfs_getflags, use the provided value.
72254         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72255         __ASSUME_STATFS_F_FLAGS.
72257         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72259         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72260         Add sys/fanotify.h.
72261         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72262         fanotify_mask for GLIBC_2.13.
72263         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72264         fanotify_init and fanotify_mark.
72265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72266         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72268         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72269         Add prlimit.
72270         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72271         prlimit64 for GLIBC_2.13.
72272         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72273         prlimit64.
72274         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72275         syscall.
72276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72277         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72278         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72279         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72280         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72281         add prlimit alias.
72282         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72284         [BZ #11903]
72285         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72286         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72288         * nss/Makefile: Add rules to build and run tst-nss-test1.
72289         * shlib-versions: Add entry for libnss_test1.
72290         * nss/nss_test1.c: New file.
72291         * nss/tst-nss-test1.c: New file.
72293         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72294         (__nss_configure_lookup): Set appropriate entry in
72295         __nss_configure_lookup to true.
72296         * nss/nsswitch.h: Define enum with indeces of databases in
72297         databases and __nss_database_custom arrays.  Declare
72298         __nss_database_custom.
72299         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72300         to avoid using nscd when custom rules are installed.
72301         * nss/getXXbyYY_r.c: Likewise.
72302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72304         * nss/nss_files/files-parse.c: Whitespace fixes.
72306 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72308         [BZ #11883]
72309         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72310         * posix/fnmatch_loop.c: Likewise.
72312 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72314         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72315         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72316         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72317         * Versions.def [GLIBC_2.13]: Add.
72319 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72321         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72322         Also fail if tpwd after pwuid call is NULL.
72324 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72326         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72327         when converting to ms.
72329 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72331         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72332         EOPNOTSUPP errors with ENOTTY.
72333         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72334         EOPNOTSUPP errors with ENOTTY.
72336 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72338         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72339         Add strcasecmp_l-ssse3.
72340         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72341         strcasecmp.
72342         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72343         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72344         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72346 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72348         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72350         * string/Makefile (strop-tests): Add strcasecmp.
72351         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72352         strcasecmp_l-nonascii.
72353         (gen-as-const-headers): Add locale-defines.sym.
72354         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72355         * sysdeps/x86_64/strcasecmp.S: New file.
72356         * sysdeps/x86_64/strcasecmp_l.S: New file.
72357         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72358         * sysdeps/x86_64/locale-defines.sym: New file.
72359         * string/test-strcasecmp.c: New file.
72361         * string/test-strcasestr.c: Test both ends of the range of characters.
72362         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72364 2010-07-29  Roland McGrath  <roland@redhat.com>
72366         [BZ #11856]
72367         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72369 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72371         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72372         for ld.so.
72374 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72376         * manual/memory.texi (Malloc Tunable Parameters): Document
72377         M_PERTURB.
72379 2010-07-26  Roland McGrath  <roland@redhat.com>
72381         [BZ #11840]
72382         * configure.in (-fgnu89-inline check): Set and substitute
72383         gnu89_inline, not libc_cv_gnu89_inline.
72384         * configure: Regenerated.
72385         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72387 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72389         * string/test-strnlen.c: New file.
72390         * string/Makefile (strop-tests): Add strnlen.
72391         * string/tester.c (test_strnlen): Add a few more test cases.
72392         * string/tst-strlen.c: Better error reporting.
72394         * sysdeps/x86_64/strnlen.S: New file.
72396 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72399         lower-latency instructions.
72401 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72403         * string/test-strcasestr.c: New file.
72404         * string/test-strstr.c: New file.
72405         * string/Makefile (strop-tests): Add strstr and strcasestr.
72406         * string/str-two-way.h: Don't undefine MAX.
72407         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72409 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72412         strcasestr-nonascii.
72413         (CFLAGS-strcasestr-nonascii.c): Define.
72414         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72415         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72416         Remove unused attribute.
72418 2010-07-20  Roland McGrath  <roland@redhat.com>
72420         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72421         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72422         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72423         like LD_HWCAP_MASK can disable hwcaps.
72425 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72427         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72429 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72431         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72432         call in strcasestr.
72433         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72434         __strcasestr_sse42_nonascii.
72435         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72436         strcasestr-nonascii.c.
72437         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72439 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72441         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72442         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72443         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72444         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72446 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72448         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72449         fcntl.
72451 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72453         [BZ #11577]
72454         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72455         dl_signal_cerror.
72457 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72459         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72460         _PC_PIPE_BUF using F_GETPIPE_SZ.
72462 2010-07-05  Roland McGrath  <roland@redhat.com>
72464         * manual/arith.texi (Rounding Functions): Fix rint description
72465         implicit in round description.
72467 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72469         * elf/Makefile: Fix linking for a few tests to make recent linker
72470         happy.
72472 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72474         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72475         $(common-objpfx)libc_nonshared.a.
72477 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72479         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72480         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72481         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72482         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72483         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72484         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72485         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72486         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72501         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72502         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72503         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72504         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72505         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72506         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72507         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72508         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72509         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72510         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72511         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72512         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72528 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72530         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72531         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72532         * string/memmove.c (memmove): Renamed to ...
72533         (MEMMOVE): ...this.  Default to memmove.
72534         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72535         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72536         (END_CHK): Define.
72537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72538         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72539         mempcpy-ssse3-back memmove-ssse3-back.
72540         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72541         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72543         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72544         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72545         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72546         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72547         * sysdeps/x86_64/multiarch/memmove.c: New file.
72548         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72549         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72550         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72551         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72552         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72553         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72554         Define.
72555         (index_Fast_Copy_Backward): Define.
72556         (HAS_ARCH_FEATURE): Define.
72557         (HAS_FAST_REP_STRING): Define.
72558         (HAS_FAST_COPY_BACKWARD): Define.
72560 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72562         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72563         Restore proper fallback handling.
72565 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72567         [BZ #11701]
72568         * posix/group_member.c (__group_member): Correct checking loop.
72570         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72571         OOM in getpwuid_r correctly.  Return error number when the caller
72572         should return, otherwise -1.
72573         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72574         call returning > 0 value.
72575         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72577 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72579         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72580         libc_nonshared.a from targets in modules-names.
72582 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72584         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72585         requires it.
72587 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72589         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72590         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72591         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72592         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72594 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72596         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72598 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72600         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72601         and F_GETPIPE_SZ.
72602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72607         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72609 2010-06-14  Roland McGrath  <roland@redhat.com>
72611         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72613 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72615         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72616         __REDIRECT followed by __THROW.
72617         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72618         * posix/getopt.h (getopt): Likewise.
72620 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72622         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72623         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72624         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72625         in AT_FLAGS.
72626         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72627         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72629 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72631         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72633 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72635         [BZ #11640]
72636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72637         Properly check family and model.
72639 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72641         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72643 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72645         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72647 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72649         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72650         symbol reference.
72652 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72654         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72655         symbol reference.
72657 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72659         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72660         and internal_recvmmsg.
72661         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72662         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72663         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72664         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72666         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72667         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72668         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72670 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72672         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72674 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72676         POWER7 optimizations.
72677         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72678         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72680 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72682         * version.h: Update for 2.13 development version.
72684 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72686         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72687         exceptions.  Return 0.
72689 2010-05-07  Roland McGrath  <roland@redhat.com>
72691         * elf/ldconfig.c (main): Add a const.
72693 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72695         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72696         (args_options): Add no-idn option.
72697         (ahosts_keys_int): Add idn_flags to ai_flags.
72698         (parse_option): Handle 'i' option to clear idn_flags.
72700         * malloc/malloc.c (_int_free): Possible race in the most recently
72701         added check.  Only act on the data if no current modification
72702         happened.
72704 See ChangeLog.17 for earlier changes.